diff options
author | Erwin Lansing <erwin@FreeBSD.org> | 2013-04-23 08:26:48 +0000 |
---|---|---|
committer | Erwin Lansing <erwin@FreeBSD.org> | 2013-04-23 08:26:48 +0000 |
commit | 2a0e1389ad51a074077fba1dd5720eb937335b42 (patch) | |
tree | 6bdde20c05c3016f9811111101b78d93871401e0 /dns | |
parent | Update to 5.4.14 release. (diff) |
Make pkg-message and pkg-install a local file to the bind98 and bind99
ports and not include the one from the deprecated bind97 port, which is
to be removed.
Notes
Notes:
svn path=/head/; revision=316321
Diffstat (limited to 'dns')
-rw-r--r-- | dns/bind98/Makefile | 2 | ||||
-rw-r--r-- | dns/bind98/pkg-install | 13 | ||||
-rw-r--r-- | dns/bind98/pkg-message | 18 | ||||
-rw-r--r-- | dns/bind99/Makefile | 2 | ||||
-rw-r--r-- | dns/bind99/pkg-install | 13 | ||||
-rw-r--r-- | dns/bind99/pkg-message | 18 |
6 files changed, 62 insertions, 4 deletions
diff --git a/dns/bind98/Makefile b/dns/bind98/Makefile index d38396ba7db9..1d0a8cc63c17 100644 --- a/dns/bind98/Makefile +++ b/dns/bind98/Makefile @@ -221,8 +221,6 @@ post-patch: .if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif -PKGMESSAGE= ${.CURDIR}/../bind97/pkg-message -PKGINSTALL= ${.CURDIR}/../bind97/pkg-install post-install: ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ ${BIND_DESTETC}/rndc.conf.sample diff --git a/dns/bind98/pkg-install b/dns/bind98/pkg-install new file mode 100644 index 000000000000..fef4dba0bd3c --- /dev/null +++ b/dns/bind98/pkg-install @@ -0,0 +1,13 @@ +#!/bin/sh + +[ "$2" = 'POST-INSTALL' ] || exit 0 + +/bin/mkdir -p /var/named${PKG_PREFIX}/etc + +for DIR in ${PKG_PREFIX}/etc /var/named${PKG_PREFIX}/etc; do + for FILE in named.conf rndc.key; do + /bin/ln -sf /etc/namedb/${FILE} ${DIR}/${FILE} + done +done + +exit 0 diff --git a/dns/bind98/pkg-message b/dns/bind98/pkg-message new file mode 100644 index 000000000000..bb713abdd1d3 --- /dev/null +++ b/dns/bind98/pkg-message @@ -0,0 +1,18 @@ +************************************************************************* +* _ _____ _____ _____ _ _ _____ ___ ___ _ _ * +* / \|_ _|_ _| ____| \ | |_ _|_ _/ _ \| \ | | * +* / _ \ | | | | | _| | \| | | | | | | | | \| | * +* / ___ \| | | | | |___| |\ | | | | | |_| | |\ | * +* /_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_| \_| * +* * +* If you are running BIND 9 in a chroot environment, make * +* sure that there is a /dev/random device in the chroot. * +* * +* BIND 9 also requires configuration of rndc, including a * +* "secret" key. The easiest, and most secure way to configure * +* rndc is to run 'rndc-confgen -a' to generate the proper conf * +* file, with a new random key, and appropriate file permissions. * +* * +* The /etc/rc.d/named script in the base will do both for you. * +* * +************************************************************************* diff --git a/dns/bind99/Makefile b/dns/bind99/Makefile index 4f3a3f6b6ca8..58f9bbc96958 100644 --- a/dns/bind99/Makefile +++ b/dns/bind99/Makefile @@ -223,8 +223,6 @@ post-patch: .if ${PORT_OPTIONS:MDOCS} PORTDOCS= * .endif -PKGMESSAGE= ${.CURDIR}/../bind97/pkg-message -PKGINSTALL= ${.CURDIR}/../bind97/pkg-install post-install: ${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \ ${BIND_DESTETC}/rndc.conf.sample diff --git a/dns/bind99/pkg-install b/dns/bind99/pkg-install new file mode 100644 index 000000000000..fef4dba0bd3c --- /dev/null +++ b/dns/bind99/pkg-install @@ -0,0 +1,13 @@ +#!/bin/sh + +[ "$2" = 'POST-INSTALL' ] || exit 0 + +/bin/mkdir -p /var/named${PKG_PREFIX}/etc + +for DIR in ${PKG_PREFIX}/etc /var/named${PKG_PREFIX}/etc; do + for FILE in named.conf rndc.key; do + /bin/ln -sf /etc/namedb/${FILE} ${DIR}/${FILE} + done +done + +exit 0 diff --git a/dns/bind99/pkg-message b/dns/bind99/pkg-message new file mode 100644 index 000000000000..bb713abdd1d3 --- /dev/null +++ b/dns/bind99/pkg-message @@ -0,0 +1,18 @@ +************************************************************************* +* _ _____ _____ _____ _ _ _____ ___ ___ _ _ * +* / \|_ _|_ _| ____| \ | |_ _|_ _/ _ \| \ | | * +* / _ \ | | | | | _| | \| | | | | | | | | \| | * +* / ___ \| | | | | |___| |\ | | | | | |_| | |\ | * +* /_/ \_\_| |_| |_____|_| \_| |_| |___\___/|_| \_| * +* * +* If you are running BIND 9 in a chroot environment, make * +* sure that there is a /dev/random device in the chroot. * +* * +* BIND 9 also requires configuration of rndc, including a * +* "secret" key. The easiest, and most secure way to configure * +* rndc is to run 'rndc-confgen -a' to generate the proper conf * +* file, with a new random key, and appropriate file permissions. * +* * +* The /etc/rc.d/named script in the base will do both for you. * +* * +************************************************************************* |