diff options
Diffstat (limited to 'main/dhcp/APKBUILD')
-rw-r--r-- | main/dhcp/APKBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD index 93f14a1d15..ccd7393937 100644 --- a/main/dhcp/APKBUILD +++ b/main/dhcp/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=dhcp -pkgver=4.2.4 +pkgver=4.2.4_p1 _realver=${pkgver/_p/-P} pkgrel=0 pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" @@ -8,8 +8,10 @@ url="https://www.isc.org/" arch="all" license="ISC" depends= +pkgusers="dhcp" +pkggroups="dhcp" makedepends="perl" -install="dhcp.pre-install dhcp.post-install dhcp.pre-upgrade dhcp.post-upgrade" +install="dhcp.pre-install dhcp.pre-upgrade dhcp.post-upgrade" subpackages="$pkgname-doc $pkgname-dev dhclient dhcrelay" source="http://ftp.isc.org/isc/dhcp/${_realver}/$pkgname-$_realver.tar.gz linux_ipv6_discover.patch @@ -55,8 +57,8 @@ package() { dhclient() { pkgdesc="ISC dhcp client" - install -d "$subpkgdir"/var/lib/dhcp - install -d "$subpkgdir"/var/run/dhcp + install -d -o dhcp -g dhcp "$subpkgdir"/var/lib/dhcp + install -d -o dhcp -g dhcp "$subpkgdir"/var/run/dhcp install -d "$subpkgdir"/usr/sbin install -d "$subpkgdir"/etc/dhcp mv "$pkgdir"/usr/sbin/dhclient "$subpkgdir"/usr/sbin/ @@ -75,7 +77,7 @@ dhcrelay() { "$subpkgdir"/etc/conf.d/dhcrelay } -md5sums="c244cefe663d43100af757d8ff625a1f dhcp-4.2.4.tar.gz +md5sums="0ca7181024651f6323951d5498c8020b dhcp-4.2.4-P1.tar.gz 37abf1fb047a353e91b022fafdabf39a linux_ipv6_discover.patch a9eaf182dae3984670da52f20ae10fba dhcp-3.0-fix-perms.patch 1597c012bb1a2c0828254c87f0a904ad dhcrelay.initd |