diff options
author | cobex4 <cobex4 at gmail dot com> | 2010-11-06 20:38:19 +0100 |
---|---|---|
committer | cobex4 <cobex4 at gmail dot com> | 2010-11-06 20:38:19 +0100 |
commit | 2927c441e6f86447e35c8e3a760aef8315244b03 (patch) | |
tree | a1ac17abfff004e977b1f99e82673dbb56b0a6d4 /base/pptpd/Pkgfile | |
parent | 5b1b01086284b18a85e795d2ba18ec8d3d21a7e7 (diff) | |
download | nutyx-extra-2927c441e6f86447e35c8e3a760aef8315244b03.tar.gz nutyx-extra-2927c441e6f86447e35c8e3a760aef8315244b03.tar.bz2 nutyx-extra-2927c441e6f86447e35c8e3a760aef8315244b03.tar.xz nutyx-extra-2927c441e6f86447e35c8e3a760aef8315244b03.zip |
pptpd, nouveau port 1.3.4-1
Diffstat (limited to 'base/pptpd/Pkgfile')
-rw-r--r-- | base/pptpd/Pkgfile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/base/pptpd/Pkgfile b/base/pptpd/Pkgfile new file mode 100644 index 000000000..0e6aa35d8 --- /dev/null +++ b/base/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 + + +} |