mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
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.
This commit is contained in:
parent
258d2a92f1
commit
2a0e1389ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316321
@ -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
|
||||
|
13
dns/bind98/pkg-install
Normal file
13
dns/bind98/pkg-install
Normal file
@ -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
|
18
dns/bind98/pkg-message
Normal file
18
dns/bind98/pkg-message
Normal file
@ -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. *
|
||||
* *
|
||||
*************************************************************************
|
@ -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
|
||||
|
13
dns/bind99/pkg-install
Normal file
13
dns/bind99/pkg-install
Normal file
@ -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
|
18
dns/bind99/pkg-message
Normal file
18
dns/bind99/pkg-message
Normal file
@ -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. *
|
||||
* *
|
||||
*************************************************************************
|
Loading…
Reference in New Issue
Block a user