summaryrefslogtreecommitdiffstats
path: root/main/dhcp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-18 08:31:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-18 08:31:39 +0000
commitdb5d9d6dcaa35ca33f48383464e0be66903f1bfa (patch)
treee2823274e66adeb815833bf81dfdc43eae88fc7e /main/dhcp/APKBUILD
parentec2a7df9bc61e5f83762f23a3ad7f670d0b8ca92 (diff)
downloadaports-db5d9d6dcaa35ca33f48383464e0be66903f1bfa.tar.bz2
aports-db5d9d6dcaa35ca33f48383464e0be66903f1bfa.tar.xz
main/dhcp: fix for non-existing ipv6
Patch from here: https://lists.isc.org/pipermail/dhcp-hackers/2008-October/001761.html
Diffstat (limited to 'main/dhcp/APKBUILD')
-rw-r--r--main/dhcp/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index 284e15ee..c73f9455 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -2,7 +2,7 @@
pkgname=dhcp
pkgver=4.1.0_p1
_realver=4.1.0p1
-pkgrel=1
+pkgrel=2
pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)"
url="https://www.isc.org/"
license="GPL"
@@ -11,12 +11,13 @@ makedepends=
install="dhcp.pre-install dhcp.pre-upgrade dhcp.post-upgrade"
subpackages="$pkgname-doc $pkgname-dev dhclient"
source="http://ftp.isc.org/isc/dhcp/$pkgname-$_realver.tar.gz
- $install
+ linux_ipv6_discover.patch
dhcpd.confd
dhcpd.initd"
build() {
cd "$srcdir/$pkgname-$_realver"
+ patch -p1 -i ../linux_ipv6_discover.patch || return 1
./configure --prefix=/usr \
--sysconfdir=/etc/dhcp \
@@ -49,8 +50,6 @@ dhclient() {
}
md5sums="325ff8338c5a21f89d5304ac13ffebdf dhcp-4.1.0p1.tar.gz
-19b28380eaae7d26027c29b623aeee07 dhcp.pre-install
-6cc49497f3c30ccd37fc7c032f7810c6 dhcp.pre-upgrade
-36d562e5b0e55a36e4224fd7cb843f6a dhcp.post-upgrade
+37abf1fb047a353e91b022fafdabf39a linux_ipv6_discover.patch
df32707f5bbe5363306420b5dc6e6b40 dhcpd.confd
6ed5ddba2b445ef60d27a8b7f5a0ee0b dhcpd.initd"