diff options
author | tcely <tcely@users.noreply.github.com> | 2019-03-08 15:28:43 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-03 19:05:59 +0200 |
commit | 6155386b395d476ccc519538e48432f5fa213b80 (patch) | |
tree | d4a934ec0b880b83d2233bbd8c1c6ac9c919bbfd /main | |
parent | bc1bb5c883f92dba9d21723535f515f4649e0243 (diff) | |
download | aports-6155386b395d476ccc519538e48432f5fa213b80.tar.bz2 aports-6155386b395d476ccc519538e48432f5fa213b80.tar.xz |
main/dhcp: spruce up depends variables
Diffstat (limited to 'main')
-rw-r--r-- | main/dhcp/APKBUILD | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD index 2408113309..26d87fc608 100644 --- a/main/dhcp/APKBUILD +++ b/main/dhcp/APKBUILD @@ -7,12 +7,20 @@ pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" url="https://www.isc.org/" arch="all" license="MPL-2.0" -depends="dhcp-server" +depends="$pkgname-server" +depends_server_empty="$pkgname-server-vanilla" depends_server_ldap="!$pkgname-server-vanilla $pkgname" depends_server_vanilla="!$pkgname-server-ldap $pkgname" +# # busybox utils are not sufficient for dhclient #depends_dhclient_optional="bash iputils net-tools sed util-linux" depends_dhclient="coreutils iproute2 run-parts $depends_dhclient_optional" +# +# do not inherit depends from $pkgname +depends_dbg="" +depends_dhcrelay="" +depends_openrc="" +# pkgusers="dhcp" pkggroups="dhcp" makedepends="krb5-dev linux-headers openldap-dev perl $depends_dhclient" @@ -133,7 +141,7 @@ openrc() { server_empty() { pkgdesc="ISC dhcpd server (virtual)" - depends="dhcp-server-vanilla" + depends="$depends_server_empty" provider_priority=0 install -d "$subpkgdir" |