summaryrefslogtreecommitdiffstats
path: root/ppp/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 06:16:03 +0100
committerLukc <lukc@upyum.com>2010-12-12 06:16:03 +0100
commit9af5eb18376199510ecbb280d0b574107e36bd82 (patch)
treeff17dea55a39dc366e9a113f6a0e079893d9e7ce /ppp/Pkgfile
parentf9d4e81eb31075ca9b73b431a08a173e13507fcf (diff)
downloadopt-9af5eb18376199510ecbb280d0b574107e36bd82.tar.gz
opt-9af5eb18376199510ecbb280d0b574107e36bd82.tar.bz2
opt-9af5eb18376199510ecbb280d0b574107e36bd82.tar.xz
opt-9af5eb18376199510ecbb280d0b574107e36bd82.zip
Recette de ppp ajoutée.
Diffstat (limited to 'ppp/Pkgfile')
-rw-r--r--ppp/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/ppp/Pkgfile b/ppp/Pkgfile
new file mode 100644
index 0000000..7a46b18
--- /dev/null
+++ b/ppp/Pkgfile
@@ -0,0 +1,25 @@
+description="A daemon which implements the PPP protocol for internetworking over dialup lines."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.samba.org/ppp/"
+depends=(zlib openssl)
+
+name=ppp
+version=2.4.5
+release=2
+source=(
+ http://ppp.samba.org/ftp/$name/$name-$version.tar.gz
+ file://$name-nofilter.patch
+ file://$name-$version-pppol2tp.patch
+)
+build ()
+{
+ cd $name-$version;
+ patch -p1 -i $SRC/$name-nofilter.patch;
+ patch -p1 -i $SRC/$name-$version-pppol2tp.patch;
+ ./configure --prefix=$prefix --sysconfdir=$sysconfdir;
+ make;
+ make -j1 INSTROOT=$PKG install install-etcppp;
+ #mv $PKG/usr/{share/man,man} && rm -r $PKG/usr/share;
+ chmod +w -R $PKG
+}