26 lines
766 B
Plaintext
26 lines
766 B
Plaintext
# Description: A daemon which implements the PPP protocol for internetworking over dialup lines
|
|
# URL: https://www.samba.org/ppp/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: zlib, openssl
|
|
|
|
name=ppp
|
|
version=2.4.7
|
|
release=3
|
|
source=(https://ppp.samba.org/ftp/ppp/$name-$version.tar.gz \
|
|
$name-nofilter.patch \
|
|
0029-pppoe-include-netinet-in.h-before-linux-in.h.patch)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/$name-nofilter.patch
|
|
|
|
# http://pkgs.fedoraproject.org/cgit/rpms/ppp.git/tree/
|
|
patch -p1 -i $SRC/0029-pppoe-include-netinet-in.h-before-linux-in.h.patch
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc
|
|
make
|
|
make -j1 INSTROOT=$PKG install install-etcppp
|
|
chmod +w -R $PKG
|
|
}
|