aboutsummaryrefslogtreecommitdiffstats
path: root/main/ppp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-09-09 16:39:20 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-09-09 16:54:33 +0000
commit6d925ded4d1801635b579b2a644a5495c87f1a8b (patch)
treebdd1d96059d297a650e5311fe2c8e8d02d7fe9fb /main/ppp/APKBUILD
parentc79d7c4cc29899e40fb538aaaeb3a0eb3a6a530d (diff)
downloadaports-6d925ded4d1801635b579b2a644a5495c87f1a8b.tar.bz2
aports-6d925ded4d1801635b579b2a644a5495c87f1a8b.tar.xz
main/ppp: add patch that allows set defaultroute-metric
fixes #748
Diffstat (limited to 'main/ppp/APKBUILD')
-rw-r--r--main/ppp/APKBUILD14
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