diff options
Diffstat (limited to 'main/ppp/APKBUILD')
-rw-r--r-- | main/ppp/APKBUILD | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/main/ppp/APKBUILD b/main/ppp/APKBUILD index c3907106ca..162d6da0f9 100644 --- a/main/ppp/APKBUILD +++ b/main/ppp/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ppp pkgver=2.4.5 -pkgrel=6 +pkgrel=7 pkgdesc="A daemon which implements the PPP protocol for dial-up networking" url="http://www.samba.org/ppp/" arch="all" @@ -10,6 +10,7 @@ depends= makedepends="libpcap-dev" subpackages="$pkgname-dev $pkgname-doc" source="ftp://ftp.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz + defaultroute-metric.3.patch options pon poff @@ -19,6 +20,16 @@ source="ftp://ftp.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz ip-down" _builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + build () { cd "$_builddir" @@ -58,6 +69,7 @@ package() { mkdir -p "$pkgdir"/etc/ppp/peers } md5sums="4621bc56167b6953ec4071043fe0ec57 ppp-2.4.5.tar.gz +e26f807a61490fedbc9a7632caebd973 defaultroute-metric.3.patch 9185f645bb433b22a9951d9d12f79c35 options 48c024f73a80c8b69c4def22f86902cc pon 2d811f8470ccdea3b8c4505a438483e9 poff |