summaryrefslogtreecommitdiff
path: root/package/bind/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/bind/Makefile')
-rw-r--r--package/bind/Makefile32
1 files changed, 19 insertions, 13 deletions
diff --git a/package/bind/Makefile b/package/bind/Makefile
index 2e44d787b..8e5a66e46 100644
--- a/package/bind/Makefile
+++ b/package/bind/Makefile
@@ -14,15 +14,21 @@ PKG_BUILDDEP:= openssl libxml2
PKG_URL:= https://www.isc.org/software/bind/
PKG_SITES:= ftp://ftp.isc.org/isc/bind9/${PKG_VERSION}/
-PKG_SUBPKGS:= BIND_SERVER BIND_CLIENT LIBBIND BIND_RNDC BIND_CHECK BIND_DNSSEC BIND_HOST BIND_DIG
-PKGSD_LIBBIND:= library for the bind software suite
-PKGSC_LIBBIND:= libs
-PKGSD_BIND_CLIENT:= dynamic dns client (nsupdate utility)
+PKG_SUBPKGS:= BIND_SERVER BIND_NSUPDATE LIBBIND BIND_RNDC BIND_CHECK BIND_DNSSEC BIND_HOST BIND_DIG
+PKGSD_BIND_NSUPDATE:= nsupdate utility
+PKGSC_BIND_NSUPDATE:= dns
PKGSD_BIND_RNDC:= rndc & rndc-confgen utilities
+PKGSC_BIND_RNDC:= dns
PKGSD_BIND_CHECK:= check utilities
+PKGSC_BIND_CHECK:= dns
PKGSD_BIND_DNSSEC:= dnssec utilities
+PKGSC_BIND_DNSSEC:= dns
PKGSD_BIND_HOST:= host utility
+PKGSC_BIND_HOST:= dns
PKGSD_BIND_DIG:= dig utility
+PKGSC_BIND_DIG:= dns
+PKGSD_LIBBIND:= library for the bind software suite
+PKGSC_LIBBIND:= libs
PKG_FLAVOURS_BIND_SERVER:= WITH_IPV6
PKGFD_WITH_IPV6:= enable IPv6 support
@@ -30,13 +36,13 @@ PKGFD_WITH_IPV6:= enable IPv6 support
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,BIND_SERVER,bind-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,BIND_CLIENT,bind-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_CLIENT},${PKG_SECTION}))
+$(eval $(call PKG_template,BIND_CLIENT,bind-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_NSUPDATE},${PKGSC_BIND_NSUPDATE}))
+$(eval $(call PKG_template,BIND_RNDC,bind-rndc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_RNDC},${PKGSC_BIND_RNDC}))
+$(eval $(call PKG_template,BIND_CHECK,bind-check,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_CHECK},${PKGSC_BIND_CHECK}))
+$(eval $(call PKG_template,BIND_DNSSEC,bind-dnssec,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_DNSSEC},${PKGSC_BIND_DNSSEC}))
+$(eval $(call PKG_template,BIND_HOST,bind-host,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_HOST},${PKGSC_BIND_HOST}))
+$(eval $(call PKG_template,BIND_DIG,bind-dig,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_DIG},${PKGSC_BIND_DIG}))
$(eval $(call PKG_template,LIBBIND,libbind,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBBIND},${PKGSC_LIBBIND}))
-$(eval $(call PKG_template,BIND_RNDC,bind-rndc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_RNDC},${PKG_SECTION}))
-$(eval $(call PKG_template,BIND_CHECK,bind-check,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_CHECK},${PKG_SECTION}))
-$(eval $(call PKG_template,BIND_DNSSEC,bind-dnssec,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_DNSSEC},${PKG_SECTION}))
-$(eval $(call PKG_template,BIND_HOST,bind-host,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_HOST},${PKG_SECTION}))
-$(eval $(call PKG_template,BIND_DIG,bind-dig,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_BIND_DIG},${PKG_SECTION}))
CONFIGURE_ARGS+= --with-randomdev=/dev/urandom \
--disable-threads \
@@ -58,9 +64,9 @@ bind-server-install:
${INSTALL_BIN} ${WRKINST}/usr/sbin/named ${IDIR_BIND_SERVER}/usr/sbin/
${CP} ./files/bind ${IDIR_BIND_SERVER}/etc
-bind-client-install:
- ${INSTALL_DIR} ${IDIR_BIND_CLIENT}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/nsupdate ${IDIR_BIND_CLIENT}/usr/bin/
+bind-nsupdate-install:
+ ${INSTALL_DIR} ${IDIR_BIND_NSUPDATE}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/nsupdate ${IDIR_BIND_NSUPDATE}/usr/bin/
bind-rndc-install:
${INSTALL_DIR} ${IDIR_BIND_RNDC}/usr/sbin