summaryrefslogtreecommitdiffstats
path: root/extra/pptpd
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pptpd')
-rw-r--r--extra/pptpd/.footprint.i68634
-rw-r--r--extra/pptpd/.footprint.x86_6434
-rw-r--r--extra/pptpd/.md5sum.i6862
-rw-r--r--extra/pptpd/.md5sum.x86_642
-rw-r--r--extra/pptpd/Pkgfile40
-rw-r--r--extra/pptpd/pptpd22
6 files changed, 134 insertions, 0 deletions
diff --git a/extra/pptpd/.footprint.i686 b/extra/pptpd/.footprint.i686
new file mode 100644
index 000000000..661651b80
--- /dev/null
+++ b/extra/pptpd/.footprint.i686
@@ -0,0 +1,34 @@
+drwxr-xr-x root/root etc/
+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/pptpd
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K90pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K90pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S20pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S20pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S20pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K90pptpd -> ../init.d/pptpd
+-rw-r--r-- root/root etc/pptpd.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/bcrelay
+-rwxr-xr-x root/root usr/sbin/pptpctrl
+-rwxr-xr-x root/root usr/sbin/pptpd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/pptpd.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/pptpctrl.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pptpd.8.gz
+drwxr-xr-x root/root usr/share/man5/
+-rw-r--r-- root/root usr/share/man5/pptpd.conf.5.gz
+drwxr-xr-x root/root usr/share/man8/
+-rw-r--r-- root/root usr/share/man8/pptpctrl.8.gz
+-rw-r--r-- root/root usr/share/man8/pptpd.8.gz
diff --git a/extra/pptpd/.footprint.x86_64 b/extra/pptpd/.footprint.x86_64
new file mode 100644
index 000000000..661651b80
--- /dev/null
+++ b/extra/pptpd/.footprint.x86_64
@@ -0,0 +1,34 @@
+drwxr-xr-x root/root etc/
+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/pptpd
+drwxr-xr-x root/root etc/rc.d/rc0.d/
+lrwxrwxrwx root/root etc/rc.d/rc0.d/K90pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc1.d/
+lrwxrwxrwx root/root etc/rc.d/rc1.d/K90pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc3.d/
+lrwxrwxrwx root/root etc/rc.d/rc3.d/S20pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc4.d/
+lrwxrwxrwx root/root etc/rc.d/rc4.d/S20pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc5.d/
+lrwxrwxrwx root/root etc/rc.d/rc5.d/S20pptpd -> ../init.d/pptpd
+drwxr-xr-x root/root etc/rc.d/rc6.d/
+lrwxrwxrwx root/root etc/rc.d/rc6.d/K90pptpd -> ../init.d/pptpd
+-rw-r--r-- root/root etc/pptpd.conf
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/bcrelay
+-rwxr-xr-x root/root usr/sbin/pptpctrl
+-rwxr-xr-x root/root usr/sbin/pptpd
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-rw-r--r-- root/root usr/share/man/man5/pptpd.conf.5.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/pptpctrl.8.gz
+-rw-r--r-- root/root usr/share/man/man8/pptpd.8.gz
+drwxr-xr-x root/root usr/share/man5/
+-rw-r--r-- root/root usr/share/man5/pptpd.conf.5.gz
+drwxr-xr-x root/root usr/share/man8/
+-rw-r--r-- root/root usr/share/man8/pptpctrl.8.gz
+-rw-r--r-- root/root usr/share/man8/pptpd.8.gz
diff --git a/extra/pptpd/.md5sum.i686 b/extra/pptpd/.md5sum.i686
new file mode 100644
index 000000000..f2d7a03a1
--- /dev/null
+++ b/extra/pptpd/.md5sum.i686
@@ -0,0 +1,2 @@
+93fe7e9f93563d3c21e4d9f4de65db5f pptpd
+b38df9c431041922c997c1148bedf591 pptpd-1.3.4.tar.gz
diff --git a/extra/pptpd/.md5sum.x86_64 b/extra/pptpd/.md5sum.x86_64
new file mode 100644
index 000000000..f2d7a03a1
--- /dev/null
+++ b/extra/pptpd/.md5sum.x86_64
@@ -0,0 +1,2 @@
+93fe7e9f93563d3c21e4d9f4de65db5f pptpd
+b38df9c431041922c997c1148bedf591 pptpd-1.3.4.tar.gz
diff --git a/extra/pptpd/Pkgfile b/extra/pptpd/Pkgfile
new file mode 100644
index 000000000..0e6aa35d8
--- /dev/null
+++ b/extra/pptpd/Pkgfile
@@ -0,0 +1,40 @@
+# Description: Serveur Poptop vpn léger et simple à mettre en place
+# URL: http://www.poptop.org/
+# Maintainer: Cobex4
+# Packager: cobex4 at gmail dot com
+
+name=pptpd
+version=1.3.4
+release=1
+source=(http://downloads.sourceforge.net/sourceforge/poptop/$name-$version.tar.gz\
+ pptpd)
+
+build() {
+ cd $name-$version
+
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+ make DESTDIR=$PKG install
+
+ autoreconf -i
+ ./configure --prefix=/usr --libdir=/usr/lib --exec-prefix=/usr --mandir=/usr/share
+
+ make
+ make DESTDIR=$PKG install
+
+ mkdir -p $PKG/etc/
+ echo "# Lisez le manuel et écrivé la configuration de votre pptpd ici" > $PKG/etc/pptpd.conf
+
+ # Installation du service
+ mkdir -v -p $PKG/etc/rc.d/init.d
+ mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d
+ install -m755 ../pptpd $PKG/etc/rc.d/init.d/
+ ln -svf ../init.d/pptpd $PKG/etc/rc.d/rc3.d/S20pptpd
+ ln -svf ../init.d/pptpd $PKG/etc/rc.d/rc5.d/S20pptpd
+ ln -svf ../init.d/pptpd $PKG/etc/rc.d/rc4.d/S20pptpd
+ ln -svf ../init.d/pptpd $PKG/etc/rc.d/rc0.d/K90pptpd
+ ln -svf ../init.d/pptpd $PKG/etc/rc.d/rc1.d/K90pptpd
+ ln -svf ../init.d/pptpd $PKG/etc/rc.d/rc6.d/K90pptpd
+
+
+}
diff --git a/extra/pptpd/pptpd b/extra/pptpd/pptpd
new file mode 100644
index 000000000..f21451059
--- /dev/null
+++ b/extra/pptpd/pptpd
@@ -0,0 +1,22 @@
+#!/bin/sh
+. /etc/sysconfig/rc
+. $rc_functions
+
+pidfile=/var/run/pptpd.pid
+
+case "$1" in
+ start)
+ boot_mesg "Starting PPTPD Server..."
+ loadproc /usr/sbin/pptpd -d;;
+
+ stop)
+ boot_mesg "Stopping PPTPD Server..."
+ killproc /usr/sbin/pptpd
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop}"
+ exit 1
+ ;;
+esac
+