diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-04-01 15:44:16 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-04-01 15:55:12 +0200 |
commit | 6a1452d60ee04ffce3f9c9fd3b10680b59971182 (patch) | |
tree | e8cbc809532942ecacfe7a82a19375b93378a8e2 | |
parent | 87da10ccc418d5e80b23dce087e50efa67db5112 (diff) | |
download | aports-6a1452d60ee04ffce3f9c9fd3b10680b59971182.tar.bz2 aports-6a1452d60ee04ffce3f9c9fd3b10680b59971182.tar.xz |
main/dhcp: upgrade to 4.3.4
-rw-r--r-- | main/dhcp/APKBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD index c55f3c871d..ad07c5fda1 100644 --- a/main/dhcp/APKBUILD +++ b/main/dhcp/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dhcp -pkgver=4.3.3_p1 +pkgver=4.3.4 _realver=${pkgver/_p/-P} pkgrel=0 pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" @@ -20,8 +20,9 @@ source="http://ftp.isc.org/isc/dhcp/${_realver}/$pkgname-$_realver.tar.gz dhcpd.confd dhcpd.initd" +_builddir="$srcdir"/$pkgname-$_realver prepare() { - cd "$srcdir/$pkgname-$_realver" + cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -30,7 +31,7 @@ prepare() { } build() { - cd "$srcdir/$pkgname-$_realver" + cd "$_builddir" # fix ipv6 export CFLAGS="$CFLAGS -D_GNU_SOURCE" ./configure \ @@ -52,7 +53,7 @@ build() { } package() { - cd "$srcdir/$pkgname-$_realver" + cd "$_builddir" make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/dhcpd.initd "$pkgdir"/etc/init.d/dhcpd @@ -83,19 +84,19 @@ dhcrelay() { "$subpkgdir"/etc/conf.d/dhcrelay } -md5sums="60f330a69566c52d841ddaab9d7a2662 dhcp-4.3.3-P1.tar.gz +md5sums="0138319fe2b788cf4bdf34fbeaf9ff54 dhcp-4.3.4.tar.gz a9eaf182dae3984670da52f20ae10fba dhcp-3.0-fix-perms.patch 7ee16a915141699d6ad72c0ef5fb9e3c dhcrelay.initd db84514fe15fd7d81136afbaae738f55 dhcrelay.confd 026570f93fe76d2cdb0bbe6782b3ea5a dhcpd.confd 7308aa60c4e3e92c4bd8165b50995114 dhcpd.initd" -sha256sums="c11e896dffa1bfbc49462965d3f6dec45534e34068603546d9a236f2aa669921 dhcp-4.3.3-P1.tar.gz +sha256sums="f5115aee3dd3e6925de4ba47b80ab732ba48b481c8364b6ebade2d43698d607e dhcp-4.3.4.tar.gz 7482f93ec9140aa86b20d3fcc8cf336f1f2babf6217a909522c30a7947b0327d dhcp-3.0-fix-perms.patch e7e024344cf0459794f6454d4a3788c83b945b5b0c06c5c29439e19d358c100c dhcrelay.initd 409b895ed489e75c1a08f72961b45d641b93fd9357f528abc78b1fd036b7f730 dhcrelay.confd e8a413e9102948b336f60041fc3cade33125faf56d8319ee65d9f3c63199a8e7 dhcpd.confd bf243bb24822306385df9f133ade625e145f3d7a6cfb190a7023392b2617f6e9 dhcpd.initd" -sha512sums="7e14268b4acaa82c807af9d956f76f4327a9a75d36273a244fef74dbd54e7506e8b38ce6035e56f61ab09a19bfc0a40599f76c89dc342514f1048b5ac3b2a0eb dhcp-4.3.3-P1.tar.gz +sha512sums="411c3f0e1effedb2a95f00539d13164530a56b50830008eb78906b3c8bf4070c331cf54a431770aed5d1b6ba214840446964210060674f746781cc97842ad706 dhcp-4.3.4.tar.gz d5697a56fbbff25199962608986e7ffb533ed4afd3e344e3c79d2010dda73cc0b088f06c454e9f0c69eb054e09a374455fa71d3f73306e0c98fa76df4dd321b7 dhcp-3.0-fix-perms.patch 0c3eee11ee9771a3bd7f8076827e57296136a36e6c00c3149e7274fb7a479feae4dc7d744f3c66ac78ffc96f036e14a7a5a0806095495441f98d76737a34faa6 dhcrelay.initd fd15dbaa4c61c3c26f407bf13dde859470a1adba134da064b653ccc152ce42635ee8de2fe113ae21ba8470e97e3caad8c1a47b69eb25e5e92b40e26790b96f6d dhcrelay.confd |