summaryrefslogtreecommitdiff
path: root/ppp/Pkgfile
blob: 9aa0533e2ce758ef0778b1f07292c627679ff9a4 (plain)
    1 # Description: A daemon which implements the PPP protocol for internetworking over dialup lines
    2 # URL:         https://www.samba.org/ppp/
    3 # Maintainer:  CRUX System Team, core-ports at crux dot nu
    4 # Depends on:  zlib, openssl
    5 
    6 name=ppp
    7 version=2.4.7
    8 release=4
    9 source=(https://ppp.samba.org/ftp/ppp/$name-$version.tar.gz \
   10         $name-nofilter.patch \
   11         0029-pppoe-include-netinet-in.h-before-linux-in.h.patch \
   12         glibc-2.28.patch)
   13 
   14 build () {
   15     cd $name-$version
   16 
   17     patch -p1 -i $SRC/$name-nofilter.patch
   18 
   19     # http://pkgs.fedoraproject.org/cgit/rpms/ppp.git/tree/
   20     patch -p1 -i $SRC/0029-pppoe-include-netinet-in.h-before-linux-in.h.patch
   21 
   22     # from https://dev.gentoo.org/~polynomial-c/ppp-2.4.7-patches-7.tar.xz
   23     patch -p1 -i $SRC/glibc-2.28.patch
   24 
   25     ./configure --prefix=/usr --sysconfdir=/etc
   26     make
   27     make -j1 INSTROOT=$PKG install install-etcppp
   28     chmod +w -R $PKG
   29 }

Generated by cgit