info:ppp.spec -(devel+stable)

Wojtek Slusarczyk wojtek w SHADOW.EU.ORG
Wto, 1 Wrz 1998, 11:37:57 CEST


Czesc,

Sorrki ale ostatnimi czasy mialem problemy z siecia na PS, wiec magellan
nie byl dostepny ...;( Teraz mam nadzieje ze wszystko bedzie juz ok. Z ppp
to sie dziwne rzeczy wyprawialy.... raz nie potrafil znalesc buildroota
raz mu nie pasowal %defattr cuda, cuda... wiec teraz jest skaladany "by
hand" ....

Summary: ppp daemon package for linux 1.3.xx and greater
Name: ppp
Version: 2.3.5
Release: 1d 
Copyright: distributable
Group: Networking/Daemons
Source0: ftp://cs.anu.edu.au/pub/software/ppp/%{name}-%{version}.tar.gz
Source1: ppp-2.3.5-pamd.conf
Patch0: ppp-2.3.5-glibc.diff
Patch1: ppp.patch
Patch2: chap_ms.patch
Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
Requires: glibc >= 2.0.94
Summary(de): ppp-Dämonpaket für Linux 1.3.xx und höher 
Summary(fr): Paquetage du démon ppp pour Linux 1.3.xx et supérieur
Summary(tr): PPP sunucu süreci
Summary(pl): Demon PPP dla Linux 1.3.x i wyższych

%description
This is the daemon and documentation for PPP support.  It requires a kernel
greater than 2.0 which is built with PPP support. The default Red Hat
kernels include PPP support as a module.

%description -l de
Dies ist der Dämon und die Dokumentation für PPP-Support. Erfordert
einen Kernel höher als 2.0, der mit PPP-Support gebaut ist. Die Standard-
Red-Hat-Kernel schließen PPP-Support als Modul ein.

%description -l fr
Ceci est le démon et la documentation pour le support PPP. Cela réclame
un noyau supérieur au 2.0 et construit avec le support PPP. Le noyau par
défaut de Red Hat contient le support PPP sous forme de module.

%description -l tr
Bu paket PPP desteđi için belgeler ve sunucu sürecini içerir. Çekirdek
sürümünun 2.0'dan daha yüksek olmasýný gerektirir. Öntanýmlý Red Hat
çekirdeđi PPP desteđini bir modül olarak içerir.

%description -l pl
Pakiet zawiera demona i dokumentację umożliwiającą korzystanie z protokołu
PPP. Wymaga jadra 2.0 - lub wyższych - z wkompilowaną obsługą protokołu PPP. 
Standardowe jądro z dytrybucji zawiera wsparcie dla PPP skompilowane jako 
moduł.

%prep
%setup -q 
%patch0 -p1 
%patch1 -p1 
%patch2 -p1 

%build
./configure
make 

%install
mkdir -p $RPM_BUILD_ROOT/usr/{sbin,man/man8}
mkdir -p $RPM_BUILD_ROOT/etc/ppp
cd $RPM_BUILD_DIR/%{name}-%{version}
install -m 711 chat/chat $RPM_BUILD_ROOT/usr/sbin
install -m 644 chat/chat.8 $RPM_BUILD_ROOT/usr/man/man8
install -m 644 etc.ppp/* $RPM_BUILD_ROOT/etc/ppp
install -m 711 pppd/pppd $RPM_BUILD_ROOT/usr/sbin
install -m 644 pppd/pppd.8 $RPM_BUILD_ROOT/usr/man/man8
install -m 711 pppstats/pppstats $RPM_BUILD_ROOT/usr/sbin
install -m 644 pppstats/pppstats.8 $RPM_BUILD_ROOT/usr/man/man8

strip $RPM_BUILD_ROOT/usr/sbin/* || : 
rm -f scripts/README
chmod 644 scripts/*
mkdir -p $RPM_BUILD_ROOT/etc/pam.d
install -m 644 $RPM_SOURCE_DIR/ppp-2.3.5-pamd.conf \
	$RPM_BUILD_ROOT/etc/pam.d/ppp

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,bin)
%doc README.linux scripts/*
%attr(0711,root,bin) /usr/sbin/*
%attr(0644,root,bin) /usr/man/man8/*
%config %verify(not size mtime md5) /etc/ppp/*
%config %verify(not size mtime md5) /etc/pam.d/*

%changelog

* Mon Aug 31 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[2.3.5-1d]
- build against glibc-2.1,
- changed permissions of all binaries to 711,
- build from non root's account,
- build with PAM support,
- added md5 support.

* Wed Aug 26 1998 Krzysztof G. Baranowski <kgb w knm.org.pl>
[2.3.5-1]
- build against glibc-2.0.7,
- translations modified for pl,
- added small patch to solve problems with glibc.

* Fri Apr 24 1998 Prospector System <bugs w redhat.com>

- translations modified for de, fr, tr

* Wed Mar 18 1998 Cristian Gafton <gafton w redhat.com>
- requires glibc 2.0.6 or later

* Wed Mar 18 1998 Michael K. Johnson <johnsonm w redhat.com>
- updated PAM patch to not turn off wtmp/utmp/syslog logging.

* Wed Jan  7 1998 Cristian Gafton <gafton w redhat.com>
- added the /etc/pam.d config file
- updated PAM patch to include session support

* Tue Jan  6 1998 Cristian Gafton <gafton w redhat.com>
- updated to ppp-2.3.3, build against glibc-2.0.6 - previous patches not
  required any more.
- added buildroot
- fixed the PAM support, which was really, completely broken and against any
  standards (session support is still not here... :-( )
- we build against running kernel and pray that it will work
- added a samples patch; updated glibc patch

* Thu Dec 18 1997 Erik Troan <ewt w redhat.com>
- added a patch to use our own route.h, rather then glibc's (which has
  alignment problems on Alpha's) -- I only applied this patch on the Alpha,
  though it should be safe everywhere

* Fri Oct 10 1997 Erik Troan <ewt w redhat.com>
- turned off the execute bit for scripts in /usr/doc

* Fri Jul 18 1997 Erik Troan <ewt w redhat.com>
- built against glibc

* Tue Mar 25 1997 Erik Troan <ewt w redhat.com>
- Integrated new patch from David Mosberger
- Improved description

Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu



Więcej informacji o liście dyskusyjnej pld-devel-pl