Summary: The PPP (Point-to-Point Protocol) daemon. Summary(ja): PPP (Point-to-Point Protocol) デーモン Name: ppp Version: 2.4.3 Release: 0vl1 Copyright: distributable Group: System Environment/Daemons Source0: ftp://ftp.samba.org/pub/ppp/ppp-%{version}.tar.gz Source1: ppp-2.3.5-pamd.conf Patch0: ppp-2.4.3-make.patch Patch1: ppp-2.3.6-sample.patch Patch2: ppp-2.3.9-wtmp.patch #Patch3: ppp-2.4.0-reap.patch #Patch4: ppp-2.3.11-pam_session.patch #Patch5: ppp-2.4.1-cbcp_dos.patch Patch6: ppp-2.4.3-expect.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root #Requires: glibc >= 2.0.6, /etc/pam.d/system-auth Requires: glibc >= 2.0.6, pam >= 0.72 expect >= 5.28 %description The ppp package contains the PPP (Point-to-Point Protocol) daemon and documentation for PPP support. The PPP protocol provides a method for transmitting datagrams over serial point-to-point links. PPP is usually used to dial in to an ISP (Internet Service Provider) or other organization over a modem and phone line. %description -l ja ppp パッケージには PPP (Point-to-Point Protocol) デーモンと PPP を使う為のドキュメントが収められています.PPP プロトコルを 使うとシリアルな point-to-point 接続上でデータグラムを転送する 事が出来ます.この PPP は一般的には ISP (Internet Service Provider) 等に モデムを介した電話回線で接続する際に使われます. %package devel Summary: Header and object files for pppd development Group: System Environment/Daemons Requires: %{name} = %{version}-%{release} %description devel The ppp-devel package contains the header files neccessary for developing PPP-API and ppp applications. %prep %setup -q %patch0 -p1 -b .make %patch1 -p1 -b .sample # patch 2 depends on the -lutil in patch 0 %patch2 -p1 -b .wtmp #%patch3 -p1 -b .reap #%patch4 -p1 -b .pam_session #%patch5 -p1 -b .cbcp %patch6 -p1 -b .expect find . -type f -name "*.sample" | xargs %__rm -f find . -type f -name "*.expect" | xargs %__rm -f %build #./configure \ # --prefix=%{_prefix} \ # --sysconfdir=%{_sysconfdir} %configure %__make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install [ "$RPM_BUILD_ROOT" != "/" ] && %__rm -rf $RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT MANDIR=$RPM_BUILD_ROOT%{_mandir}/man8 BINDIR=$RPM_BUILD_ROOT%{_sbindir} INCDIR=$RPM_BUILD_ROOT%{_includedir} LIBDIR=$RPM_BUILD_ROOT%{_libdir}/pppd/%{version} %__make install-etcppp DESTDIR=$RPM_BUILD_ROOT ETCDIR=$RPM_BUILD_ROOT%{_sysconfdir}/ppp ## it shouldn't be SUID root be default #chmod 755 $RPM_BUILD_ROOT/usr/sbin/pppd %__mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d %__install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/ppp %__mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/radiusclient %__cp pppd/plugins/radius/etc/* $RPM_BUILD_ROOT%{_sysconfdir}/radiusclient %__rm $RPM_BUILD_ROOT%{_sysconfdir}/radiusclient/radiusclient.conf.in %__mv $RPM_BUILD_ROOT%{_sysconfdir}/radiusclient/radiusclient.conf $RPM_BUILD_ROOT%{_sysconfdir} %__perl -pi -e 's|/usr/local||g' $RPM_BUILD_ROOT%{_sysconfdir}/radiusclient.conf %__mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ppp/plugins for i in $RPM_BUILD_ROOT%{_libdir}/pppd/%{version}/*.so ; do ln -sf ../../..%{_libdir}/pppd/%{version}/`basename $i` $RPM_BUILD_ROOT%{_sysconfdir}/ppp/plugins/`basename $i` done %clean %__rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_sbindir}/chat %{_sbindir}/pppd %{_sbindir}/pppdump %{_sbindir}/pppoe-discovery %{_sbindir}/pppstats %dir %{_libdir}/pppd/%{version} %{_libdir}/pppd/%{version}/*.so %{_mandir}/man8/chat.8* %{_mandir}/man8/pppd.8* %{_mandir}/man8/pppdump.8* %{_mandir}/man8/pppstats.8* %dir %{_sysconfdir}/ppp %config %{_sysconfdir}/ppp/* %config %{_sysconfdir}/pam.d/ppp %config %{_sysconfdir}/radiusclient.conf %config %{_sysconfdir}/radiusclient/* %doc README README.linux scripts sample %files devel %defattr(-,root,root) %dir %{_includedir}/pppd %{_includedir}/pppd/*.h %changelog * Sun Dec 19 2004 NOGUCHI Shoji 2.4.3-0vl1 - 2.4.3-0vl1: update to 2.4.3 * Sun Nov 28 2004 IKEDA Katsumi 2.4.1-0vl3 - Added a security patch. - Patch5: ppp-2.4.1-cbcp_dos.patch cf. http://cvs.samba.org/cgi-bin/cvsweb/ppp/pppd/cbcp.c (1.16) * Sat Mar 15 2003 2.4.1-0vl2 - rebuild with new toolchains * Sun Jun 10 2001 - 2.4.1-0vl1: update to 2.4.1 * Thu Jan 25 2001 MATSUBAYASHI 'Shaolin' Kohji - 2.4.0-2vl1 - based on 2.4.0-2 from Rawhide - added Japanese summary and description - Requires: /etc/pam.d/system-auth -> pam >= 0.72 (for better compatibility with apt for rpm) * Fri Dec 1 2000 Nalin Dahyabhai - rebuild in new environment * Thu Nov 9 2000 Nalin Dahyabhai - update to 2.4.0 * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 5 2000 Nalin Dahyabhai - move man pages to %{_mandir} * Thu Jun 1 2000 Nalin Dahyabhai - change perms using defattr - modify PAM setup to use system-auth * Sun Mar 26 2000 Florian La Roche - change to root:root perms * Mon Mar 06 2000 Nalin Dahyabhai - reaper bugs verified as fixed - check pam_open_session result code (bug #9966) * Mon Feb 07 2000 Nalin Dahyabhai - take a shot at the wrong reaper bugs (#8153, #5290) * Thu Feb 03 2000 Nalin Dahyabhai - free ride through the build system (release 2) * Tue Jan 18 2000 Nalin Dahyabhai - Update to 2.3.11 * Sat Nov 06 1999 Michael K. Johnson - Better fix for both problems * Fri Nov 05 1999 Michael K. Johnson - fix for double-dial problem - fix for requiring a controlling terminal problem * Sun Sep 19 1999 Preston Brown - 2.3.10 bugfix release * Fri Aug 13 1999 Michael K. Johnson - New version 2.3.9 required for kernel 2.3.13 and will be required for new initscripts. auth patch removed; 2.3.9 does the same thing more readably than the previous patch. * Thu Jun 24 1999 Cristian Gafton - add pppdump * Fri Apr 09 1999 Cristian Gafton - force pppd use the glibc's logwtmp instead of implementing its own * Wed Apr 01 1999 Preston Brown - version 2.3.7 bugfix release * Tue Mar 23 1999 Cristian Gafton - version 2.3.6 * Mon Mar 22 1999 Michael Johnson - auth patch * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Thu Jan 07 1999 Cristian Gafton - build for glibc 2.1 * Fri Jun 5 1998 Jeff Johnson - updated to 2.3.5. * Tue May 19 1998 Prospector System - translations modified for de * Fri May 8 1998 Jakub Jelinek - make it run with kernels 2.1.100 and above. * Fri Apr 24 1998 Prospector System - translations modified for de, fr, tr * Wed Mar 18 1998 Cristian Gafton - requires glibc 2.0.6 or later * Wed Mar 18 1998 Michael K. Johnson - updated PAM patch to not turn off wtmp/utmp/syslog logging. * Wed Jan 7 1998 Cristian Gafton - added the /etc/pam.d config file - updated PAM patch to include session support * Tue Jan 6 1998 Cristian Gafton - 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 - 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 - turned off the execute bit for scripts in /usr/doc * Fri Jul 18 1997 Erik Troan - built against glibc * Tue Mar 25 1997 Erik Troan - Integrated new patch from David Mosberger - Improved description