opt/ppp/Pkgfile

30 lines
908 B
Plaintext
Raw Normal View History

# Description: A daemon which implements the PPP protocol for internetworking over dialup lines
2017-02-04 08:27:39 +01:00
# 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
2019-01-17 15:40:46 +01:00
release=4
2017-02-05 05:05:31 +01:00
source=(https://ppp.samba.org/ftp/ppp/$name-$version.tar.gz \
$name-nofilter.patch \
2019-01-17 15:40:46 +01:00
0029-pppoe-include-netinet-in.h-before-linux-in.h.patch \
glibc-2.28.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
2019-01-17 15:40:46 +01:00
# from https://dev.gentoo.org/~polynomial-c/ppp-2.4.7-patches-7.tar.xz
patch -p1 -i $SRC/glibc-2.28.patch
./configure --prefix=/usr --sysconfdir=/etc
make
make -j1 INSTROOT=$PKG install install-etcppp
chmod +w -R $PKG
}