summaryrefslogtreecommitdiffstats
path: root/ppp/Pkgfile
blob: 38f1eb21cf47c0328892810457af5886465c2524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
description="A daemon which implements the PPP protocol for internetworking over dialup lines"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://www.samba.org/ppp/"
depends=(zlib openssl)

name=ppp
version=2.4.5
release=2
source=(http://ppp.samba.org/ftp/ppp/ppp-2.4.5.tar.gz ppp-nofilter.patch ppp-2.4.5-pppol2tp.patch)
build () 
{ 
    cd $name-$version;
    patch -p1 -i $SRC/$name-nofilter.patch;
    patch -p1 -i $SRC/$name-$version-pppol2tp.patch;
    ./configure --prefix=/usr --sysconfdir=/etc;
    make;
    make -j1 INSTROOT=$PKG install install-etcppp;
    mv $PKG/usr/{share/man,man} && rm -r $PKG/usr/share;
    chmod +w -R $PKG
}