From 559a1649ef5dab5af3ff13d719c56057b3e24e3f Mon Sep 17 00:00:00 2001 From: tnut Date: Wed, 11 Nov 2009 22:18:39 +0100 Subject: ajout de ppp#2.4.4-1 --- extra/ppp/.footprint | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ extra/ppp/.md5sum | 2 ++ extra/ppp/Pkgfile | 21 +++++++++++++++++++ extra/ppp/pppd | 49 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 129 insertions(+) create mode 100644 extra/ppp/.footprint create mode 100644 extra/ppp/.md5sum create mode 100644 extra/ppp/Pkgfile create mode 100755 extra/ppp/pppd (limited to 'extra/ppp') diff --git a/extra/ppp/.footprint b/extra/ppp/.footprint new file mode 100644 index 000000000..7eff204a0 --- /dev/null +++ b/extra/ppp/.footprint @@ -0,0 +1,57 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/ppp/ +-rw------- root/root etc/ppp/chap-secrets +-rw-r--r-- root/root etc/ppp/options +-rw------- root/root etc/ppp/pap-secrets +drwxr-xr-x root/root etc/rc.d/ +drwxr-xr-x root/root etc/rc.d/init.d/ +-rwxr-xr-x root/root etc/rc.d/init.d/pppd +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/pppd/ +-rw-r--r-- root/root usr/include/pppd/ccp.h +-rw-r--r-- root/root usr/include/pppd/chap-new.h +-rw-r--r-- root/root usr/include/pppd/chap_ms.h +-rw-r--r-- root/root usr/include/pppd/eap.h +-rw-r--r-- root/root usr/include/pppd/ecp.h +-rw-r--r-- root/root usr/include/pppd/fsm.h +-rw-r--r-- root/root usr/include/pppd/ipcp.h +-rw-r--r-- root/root usr/include/pppd/ipxcp.h +-rw-r--r-- root/root usr/include/pppd/lcp.h +-rw-r--r-- root/root usr/include/pppd/magic.h +-rw-r--r-- root/root usr/include/pppd/md4.h +-rw-r--r-- root/root usr/include/pppd/md5.h +-rw-r--r-- root/root usr/include/pppd/patchlevel.h +-rw-r--r-- root/root usr/include/pppd/pathnames.h +-rw-r--r-- root/root usr/include/pppd/pppcrypt.h +-rw-r--r-- root/root usr/include/pppd/pppd.h +-rw-r--r-- root/root usr/include/pppd/sha1.h +-rw-r--r-- root/root usr/include/pppd/spinlock.h +-rw-r--r-- root/root usr/include/pppd/tdb.h +-rw-r--r-- root/root usr/include/pppd/upap.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/pppd/ +drwxr-xr-x root/root usr/lib/pppd/2.4.4/ +-rwxr-xr-x root/root usr/lib/pppd/2.4.4/minconn.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.4/passprompt.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.4/passwordfd.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.4/radattr.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.4/radius.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.4/radrealms.so +-r-sr-x--- root/root usr/lib/pppd/2.4.4/rp-pppoe.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.4/winbind.so +drwxr-xr-x root/root usr/sbin/ +-rwxr-xr-x root/root usr/sbin/chat +-r-sr-x--- root/pppusers usr/sbin/pppd +-rwxr-xr-x root/root usr/sbin/pppdump +-r-xr-xr-x root/root usr/sbin/pppoe-discovery +-rwxr-xr-x root/root usr/sbin/pppstats +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/chat.8.gz +-r--r--r-- root/root usr/share/man/man8/pppd-radattr.8.gz +-r--r--r-- root/root usr/share/man/man8/pppd-radius.8.gz +-r--r--r-- root/root usr/share/man/man8/pppd.8.gz +-r--r--r-- root/root usr/share/man/man8/pppdump.8.gz +-r--r--r-- root/root usr/share/man/man8/pppstats.8.gz diff --git a/extra/ppp/.md5sum b/extra/ppp/.md5sum new file mode 100644 index 000000000..12246dd82 --- /dev/null +++ b/extra/ppp/.md5sum @@ -0,0 +1,2 @@ +183800762e266132218b204dfb428d29 ppp-2.4.4.tar.gz +2213d9a6b4f99183bc04ec36d8598252 pppd diff --git a/extra/ppp/Pkgfile b/extra/ppp/Pkgfile new file mode 100644 index 000000000..c31f6cb71 --- /dev/null +++ b/extra/ppp/Pkgfile @@ -0,0 +1,21 @@ +# Description: Service (Démon) permettant la gestion des ligne téléphonique pour la communication internet +# URL: http://samba.org/ppp +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: libpcap + +name=ppp +version=2.4.4 +release=1 +source=(http://samba.org/ftp/$name/$name-$version.tar.gz + pppd) + +build() { + cd $name-$version + ./configure --prefix=/usr + make + make INSTROOT=$PKG install-etcppp + make INSTROOT=$PKG install + mkdir -p $PKG/etc/rc.d/init.d/ + install -m755 ../pppd $PKG/etc/rc.d/init.d/ +} diff --git a/extra/ppp/pppd b/extra/ppp/pppd new file mode 100755 index 000000000..8fc4cad81 --- /dev/null +++ b/extra/ppp/pppd @@ -0,0 +1,49 @@ +#!/bin/sh +# Begin $rc_base/init.d/sshd + +# Based on sysklogd script from LFS-3.1 and earlier. +# Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org +# Add create user and Groups - thierryn1@hispeed.ch + +# $Id: pppd,v 1.2 2008/02/03 10:08:07 root Exp $ + +. /etc/sysconfig/rc +. $rc_functions +newgroup=pppusers +newid=52 +getent group $newgroup > /dev/null || /usr/sbin/groupadd -g $newid $newgroup + +case "$1" in + start) + mknod /dev/ppp c 108 0 + boot_mesg "Starting PPP Daemon..." + loadproc /usr/sbin/pppd > /dev/null + ;; + + stop) + boot_mesg "Stopping PPP Daemon..." + killproc /usr/sbin/pppd + ;; + + reload) + boot_mesg "Reloading PPP Daemon..." + reloadproc /usr/sbin/pppd > /dev/null + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + status) + statusproc /usr/sbin/pppd + ;; + + *) + echo "Usage: $0 {start|stop|reload|restart|status}" + exit 1 + ;; +esac + +# End $rc_base/init.d/sshd -- cgit v1.2.3-54-g00ecf