summaryrefslogtreecommitdiffstats
path: root/ppp
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
committertnut <tnut at nutyx dot com>2012-01-08 12:15:45 +0100
commit3f57a7f93b3e7550cbd73036f6a56654e17d1d5c (patch)
tree819b14ab0377fe2054fe59866669d904e9e0b4b5 /ppp
parentc9972ec7f32bf9d37388e853fe9bf633e242d05a (diff)
downloadnutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.gz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.bz2
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.tar.xz
nutyx-extra-3f57a7f93b3e7550cbd73036f6a56654e17d1d5c.zip
split de git pakxe et NuTyX-extra
Diffstat (limited to 'ppp')
-rw-r--r--ppp/.footprint.i68657
-rw-r--r--ppp/.footprint.x86_6457
-rw-r--r--ppp/.md5sum.i6862
-rw-r--r--ppp/.md5sum.x86_642
-rw-r--r--ppp/Pkgfile26
-rwxr-xr-xppp/pppd49
-rwxr-xr-xppp/pre-install6
7 files changed, 199 insertions, 0 deletions
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