From 3f57a7f93b3e7550cbd73036f6a56654e17d1d5c Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 8 Jan 2012 12:15:45 +0100 Subject: split de git pakxe et NuTyX-extra --- ppp/.footprint.i686 | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ ppp/.footprint.x86_64 | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ ppp/.md5sum.i686 | 2 ++ ppp/.md5sum.x86_64 | 2 ++ ppp/Pkgfile | 26 +++++++++++++++++++++++ ppp/pppd | 49 +++++++++++++++++++++++++++++++++++++++++++ ppp/pre-install | 6 ++++++ 7 files changed, 199 insertions(+) create mode 100644 ppp/.footprint.i686 create mode 100644 ppp/.footprint.x86_64 create mode 100644 ppp/.md5sum.i686 create mode 100644 ppp/.md5sum.x86_64 create mode 100644 ppp/Pkgfile create mode 100755 ppp/pppd create mode 100755 ppp/pre-install (limited to 'ppp') diff --git a/ppp/.footprint.i686 b/ppp/.footprint.i686 new file mode 100644 index 000000000..97ddb8f16 --- /dev/null +++ b/ppp/.footprint.i686 @@ -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/session.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.5/ +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/minconn.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/passprompt.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/passwordfd.so +-r-sr-x--- root/root usr/lib/pppd/2.4.5/pppoatm.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/radattr.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/radius.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/radrealms.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/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 +-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/ppp/.footprint.x86_64 b/ppp/.footprint.x86_64 new file mode 100644 index 000000000..97ddb8f16 --- /dev/null +++ b/ppp/.footprint.x86_64 @@ -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/session.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.5/ +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/minconn.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/passprompt.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/passwordfd.so +-r-sr-x--- root/root usr/lib/pppd/2.4.5/pppoatm.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/radattr.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/radius.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/radrealms.so +-rwxr-xr-x root/root usr/lib/pppd/2.4.5/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 +-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/ppp/.md5sum.i686 b/ppp/.md5sum.i686 new file mode 100644 index 000000000..29f375d88 --- /dev/null +++ b/ppp/.md5sum.i686 @@ -0,0 +1,2 @@ +4621bc56167b6953ec4071043fe0ec57 ppp-2.4.5.tar.gz +2213d9a6b4f99183bc04ec36d8598252 pppd diff --git a/ppp/.md5sum.x86_64 b/ppp/.md5sum.x86_64 new file mode 100644 index 000000000..29f375d88 --- /dev/null +++ b/ppp/.md5sum.x86_64 @@ -0,0 +1,2 @@ +4621bc56167b6953ec4071043fe0ec57 ppp-2.4.5.tar.gz +2213d9a6b4f99183bc04ec36d8598252 pppd diff --git a/ppp/Pkgfile b/ppp/Pkgfile new file mode 100644 index 000000000..05e16e204 --- /dev/null +++ b/ppp/Pkgfile @@ -0,0 +1,26 @@ +# 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 +# Run on: libpcap + +name=ppp +version=2.4.5 +release=1 +source=(http://samba.org/ftp/$name/$name-$version.tar.gz + pppd) + +build() { + unset MAKEFLAGS + export CFLAGS="$CFLAGS -D_GNU_SOURCE" + 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/ppp/pppd b/ppp/pppd new file mode 100755 index 000000000..8fc4cad81 --- /dev/null +++ b/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 diff --git a/ppp/pre-install b/ppp/pre-install new file mode 100755 index 000000000..387dcf54d --- /dev/null +++ b/ppp/pre-install @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ -z "`grep '^pppusers:' /etc/group`" ] +then + /usr/sbin/groupadd -g 52 pppusers +fi -- cgit v1.2.3-54-g00ecf