Summary: The PPP (Point-to-Point Protocol) daemon. Summary(ja): PPP (Point-to-Point Protocol) デーモン Name: ppp Version: 2.4.5 Release: 3%{?_dist_release} License: BSD and LGPLv2+ and GPLv2+ and Public Domain Group: System Environment/Daemons URL: http://www.samba.org/ppp Source0: ftp://ftp.samba.org/pub/ppp/ppp-%{version}.tar.gz Source1: ppp-2.4.4-pamd.conf Patch0: ppp-2.4.3-make.patch Patch1: ppp-2.3.6-sample.patch Patch2: ppp-2.4.2-libutil.patch Patch3: ppp-2.4.1-varargs.patch Patch4: ppp-2.4.4-lib64.patch Patch7: ppp-2.4.2-pie.patch Patch8: ppp-2.4.3-fix.patch Patch9: ppp-2.4.3-fix64.patch Patch11: ppp-2.4.2-change_resolv_conf.patch Patch13: ppp-2.4.4-no_strip.patch Patch17: ppp-2.4.2-pppoatm-make.patch Patch19: ppp-2.4.3-local.patch Patch20: ppp-2.4.3-ipv6-accept-remote.patch Patch21: ppp-2.4.3-usepeerdns-var_run_ppp_resolv.conf.patch Patch22: ppp-2.4.4-cbcp.patch Patch23: ppp-2.4.2-dontwriteetc.patch Patch24: ppp-2.4.4-fd_leak.patch Patch25: ppp-2.4.5-var_run_ppp.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libpcap >= 0.8.3, pam-devel #Requires: glibc >= 2.0.6, /etc/pam.d/system-auth Requires: glibc >= 2.0.6, pam >= 1.0 Vendor: Project Vine Distribution: Vine Linux Packager: daisuke %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: Headers for ppp plugin development SUmmary(ja): ppp プラグイン開発用ヘッダファイル Group: Development/Libraries %description devel This package contains the header files for building plugins for ppp. %description -l ja devel このパッケージには ppp のプラグインを開発するためのヘッダファイルが 含まれています。 %prep %setup -q %patch0 -p1 -b .make %patch1 -p1 -b .sample %patch2 -p1 -b .libutil %patch3 -p1 -b .varargs %patch4 -p1 -b .lib64 %patch7 -p1 -b .pie %patch8 -p1 -b .fix %patch9 -p1 -b .fix64 %patch11 -p1 -b .change_resolv_conf %patch13 -p1 -b .no_strip %patch17 -p1 -b .atm-make %patch19 -p1 -b .local %patch20 -p1 -b .ipv6cp %patch21 -p1 -b .usepeerdns-var_run_ppp_resolv %patch22 -p1 -b .cbcp %patch23 -p1 -b .dontwriteetc %patch24 -p1 -b .fd_leak %patch25 -p1 -b .var_run_ppp rm -f scripts/*.local rm -f scripts/*.change_resolv_conf rm -f scripts/*.usepeerdns-var_run_ppp_resolv rm -f scripts/*.ppp_resolv find . -type f -name "*.sample" | xargs rm -f rm -f include/linux/if_pppol2tp.h %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -Wall" ./configure make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} export INSTROOT=$RPM_BUILD_ROOT %ifarch x86_64 make install install-etcppp LIBDIR=$RPM_BUILD_ROOT%{_libdir}/pppd/%{version} %else make install install-etcppp %endif ## it shouldn't be SUID root be default #chmod 755 %{buildroot}/usr/sbin/pppd chmod go+r scripts/* mkdir -p %{buildroot}/etc/pam.d install -m 644 %{SOURCE1} %{buildroot}/etc/pam.d/ppp mkdir -p %{buildroot}/etc/ppp cp etc.ppp/* %{buildroot}/etc/ppp chmod 600 %{buildroot}/etc/ppp/*-secrets mkdir -p %{buildroot}/etc/radiusclient cp pppd/plugins/radius/etc/* %{buildroot}/etc/radiusclient mv %{buildroot}/etc/radiusclient/radiusclient.conf %{buildroot}/etc/ perl -pi -e 's|/usr/local||g' %{buildroot}/etc/radiusclient/radiusclient.conf find scripts -type f | xargs chmod 644 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_sbindir}/* %{_libdir}/pppd %{_mandir}/man8/chat.8* %{_mandir}/man8/pppd.8* %{_mandir}/man8/pppdump.8* %{_mandir}/man8/pppstats.8* %{_mandir}/man8/pppd-radattr.8* %{_mandir}/man8/pppd-radius.8* %dir /etc/ppp %config(noreplace) /etc/ppp/* %config(noreplace) /etc/pam.d/ppp %config(noreplace) /etc/radiusclient/* %config(noreplace) /etc/radiusclient.conf %doc README README.linux scripts sample %files devel %defattr(-,root,root) %{_includedir}/pppd %doc PLUGINS %changelog * Mon Apr 25 2011 Daisuke SUZUKI 2.4.5-3 - remove include/linux/if_pppol2tp.h to build pppoe plugin - update License tag * Fri Apr 08 2011 Tomohiro "Tomo-p" KATO 2.4.5-2 - rebuilt with new toolchain. * Mon Mar 08 2010 Tomohiro "Tomo-p" KATO 2.4.5-1 - new upstream release. - replaced all patches with Fedora's. - replaced 'BuildPreReq:' with 'BuildRequires:'. * Sun Aug 23 2009 Satoshi IWAMOTO 2.4.4-4 - update pam.d/ppp to fix pam-1.0 * Thu Aug 14 2008 Shu KONNO 2.4.4-3 - added option LIBDIR at makeinstall for x86_64 * Thu Jul 31 2008 Daisuke SUZUKI 2.4.4-2 - add -devel subpackage to develop ppp plugins * Wed Jun 25 2008 MATSUBAYASHI Kohji - 2.4.4-1 - update Source1 for pam-1.0.1 - import several patches from Fedora 2.4.4-7 * Sat Jul 7 2007 Ryoichi INAGAKI 2.4.4-0vl1 - new upstream release - rebuilt with new toolchain and environment - added URL (also URL of Source0) * Fri Nov 17 2006 NAKAMURA Kenta 2.4.3-0vl2 - use License: instead of Copyright: * Mon Jan 24 2005 Tomohiro 'Tomo-p' KATO 2.4.3-0vl1 - new upstream release. - replace patch0. * Wed Aug 11 2004 Tomohiro 'Tomo-p' KATO 2.4.2-0vl0 - new upstream release. - remove patch 2-4 (no longer needed). * 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