3 # _with_pppoatm - with PPPoATM support (which requires kernel 2.4 and atm-devel)
6 Summary: ppp daemon package for Linux
7 Summary(de): ppp-Dämonpaket für Linux
8 Summary(es): Servidor ppp para Linux
9 Summary(fr): Paquetage du démon ppp pour Linux
10 Summary(pl): Demon PPP dla Linuksa
11 Summary(pt_BR): Servidor ppp para Linux
12 Summary(ru): äÅÍÏÎ ppp
13 Summary(tr): PPP sunucu süreci
14 Summary(zh_CN): PPP ÅäÖú͹ÜÀíÈí¼þ°ü.
19 License: distributable
20 Group: Networking/Daemons
21 Source0: cvs://pserver.samba.org/ppp/%{name}-%{version}-%{snap}.tar.bz2
22 # Source0-md5: cd1aeae556f6c2d61cb99d219eb32eac
26 Source4: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
27 # Source4-md5: 3801b59005bef8f52856300fe3167a64
28 Source5: %{name}.logrotate
29 Patch0: %{name}-make.patch
30 Patch1: %{name}-expect.patch
31 Patch2: %{name}-debian_scripts.patch
32 Patch3: %{name}-static.patch
33 #http://www.sfgoth.com/~mitch/linux/atm/pppoatm/pppoatm-pppd-vs-2.4.0b2+240600.diff.gz
34 Patch4: %{name}-pppoatm.patch
35 Patch5: %{name}-pidfile-owner.patch
36 Patch6: %{name}-rp-pppoe-update.patch
37 Patch7: %{name}-rp-pppoe-macaddr.patch
38 URL: http://www.samba.org/ppp/
39 BuildRequires: automake
40 %{?_with_pppoatm:BuildRequires: linux-atm-devel}
41 BuildRequires: pam-devel
42 Requires: pam >= 0.77.3
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 This is the daemon and documentation for PPP support. It requires a
47 kernel greater than 2.2.11 which is built with PPP support. The
48 default kernels include PPP support as a module. This version supports
52 Dies ist der Dämon und die Dokumentation für PPP-Support. Erfordert
53 einen Kernel höher als 2.2.11, der mit PPP-Support gebaut ist. Die
54 Standard- Red-Hat-Kernel schließen PPP-Support als Modul ein. (IPv6)
57 Este es el servidor y la documentación para soporte PPP. Requiere un
58 kernel superior al 2.0. Los kernels padrón de la Conectiva incluyen
59 soporte PPP como módulo.
62 Ceci est le démon et la documentation pour le support PPP. Cela
63 réclame un noyau supérieur au 2.2.11 et construit avec le support PPP.
64 Le noyau par défaut de Red Hat contient le support PPP sous forme de
68 Pakiet zawiera demona i dokumentacjê umo¿liwiaj±c± korzystanie z
69 protoko³u PPP. Wymaga j±dra 2.2.11 - lub pó¼niejszego - z wkompilowan±
70 obs³ug± protoko³u PPP. Standardowe j±dro z dystrybucji zawiera
71 wsparcie dla PPP skompilowane jako modu³. (IPv6)
74 Este é o servidor e a documentação para suporte PPP. Ele requer um
75 kernel superior ao 2.0. Os kernels-padrão da Conectiva incluem suporte
79 äÅÍÏÎ, ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÅ ÆÁÊÌÙ É ÄÏËÕÍÅÎÔÁÃÉÑ ÄÌÑ ÐÏÄÄÅÒÖËÉ PPP.
82 Bu paket PPP desteði için belgeler ve sunucu sürecini içerir. Çekirdek
83 sürümünun 2.2.11'dan daha yüksek olmasýný gerektirir. Öntanýmlý Red
84 Hat çekirdeði PPP desteðini bir modül olarak içerir. (IPv6)
87 Summary: Stuff needed to build plugins for pppd
88 Summary(pl): Rzeczy potrzebne do budowania wtyczek dla pppd
89 Group: Development/Libraries
90 Requires: %{name} = %{epoch}:%{version}
92 %description plugin-devel
93 Development files needed to build plugins for pppd.
95 %description plugin-devel -l pl
96 Pliki nag³ówkowe potrzebne do budowania wtyczek dla pppd.
99 %setup -q -n %{name}-%{version}-%{snap}
104 %{?_with_pppoatm:%patch4 -p1}
110 cd pppd/plugins/radius/radiusclient
111 # touch seems no longer needed?
112 #find . -exec touch "{}" ";"
113 cp -f /usr/share/automake/config.* .
118 # note: not autoconf configure
121 OPT_FLAGS="%{rpmcflags}" \
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_bindir},%{_mandir}/man{1,8}} \
127 $RPM_BUILD_ROOT{%{_sysconfdir}/{pam.d,ppp/peers},/var/log} \
128 $RPM_BUILD_ROOT/etc/logrotate.d
131 DESTDIR=$RPM_BUILD_ROOT
133 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/pon
134 install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/poff
135 install debian/plog $RPM_BUILD_ROOT%{_bindir}
137 install etc.ppp/chap-secrets $RPM_BUILD_ROOT%{_sysconfdir}/ppp
138 install debian/pap-secrets $RPM_BUILD_ROOT%{_sysconfdir}/ppp
139 install debian/options $RPM_BUILD_ROOT%{_sysconfdir}/ppp
140 install debian/options.ttyXX $RPM_BUILD_ROOT%{_sysconfdir}/ppp
142 bzip2 -dc %{SOURCE4} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
144 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/ppp
145 > $RPM_BUILD_ROOT/var/log/ppp.log
149 install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/ppp
151 cd $RPM_BUILD_ROOT%{_libdir}/pppd/
152 ln -s %{version}* plugins
155 rm -rf $RPM_BUILD_ROOT
157 %post -p /sbin/ldconfig
158 %postun -p /sbin/ldconfig
161 %defattr(644,root,root,755)
162 %doc README.linux debian/README.debian scripts
163 %doc debian/win95.ppp README.MSCHAP8* FAQ debian/ppp-2.3.0.STATIC.README
164 %doc README.MPPE README.pppoe README.cbcp README.pwfd TODO
165 %attr(755,root,root) %{_bindir}/*
166 %attr(755,root,root) %{_sbindir}/chat
167 %attr(755,root,root) %{_sbindir}/ppp*
169 %dir %{_libdir}/pppd/*.*
170 %{_libdir}/pppd/plugins
171 %attr(755,root,root) %{_libdir}/pppd/*.*/minconn.so
172 %attr(755,root,root) %{_libdir}/pppd/*.*/pass*.so
173 %attr(755,root,root) %{_libdir}/pppd/*.*/rp-pppoe.so
174 %attr(755,root,root) %{_libdir}/pppd/*.*/rad*.so
175 %{?_with_pppoatm:%attr(755,root,root) %{_libdir}/pppd/*.*/pppoatm.so}
178 %lang(fr) %{_mandir}/fr/man8/*
179 %lang(ja) %{_mandir}/ja/man8/*
180 %lang(ko) %{_mandir}/ko/man8/*
181 %lang(pl) %{_mandir}/pl/man8/*
183 %attr(600,root,root) %config(missingok,noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ppp/*-secrets
184 %attr(644,root,root) %config(missingok,noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ppp/options*
185 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/ppp
186 %attr(640,root,root) /etc/logrotate.d/ppp
187 %attr(640,root,root) %ghost /var/log/ppp.log
189 %dir %{_sysconfdir}/ppp/peers
192 %defattr(644,root,root,755)
193 %dir %{_includedir}/pppd
194 %{_includedir}/pppd/pppd.h
195 %{_includedir}/pppd/patchlevel.h