[net-dns/bind] sync
This commit is contained in:
parent
8993dd075b
commit
602417250d
@ -20,7 +20,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="+caps dnsrps dnstap doc doh fixed-rrset idn +jemalloc geoip gssapi lmdb selinux static-libs test xml"
|
||||
IUSE="+caps dnsrps dnstap doc doh fixed-rrset idn jemalloc geoip gssapi lmdb selinux static-libs test xml"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
@ -141,7 +141,7 @@ src_install() {
|
||||
fperms 0750 /etc/bind /var/bind/pri
|
||||
fperms 0770 /var/log/named /var/bind/{,sec,dyn}
|
||||
|
||||
systemd_newunit "${FILESDIR}/named.service-r1" named.service
|
||||
systemd_newunit "${FILESDIR}/named.service-r2" named.service
|
||||
dotmpfiles "${FILESDIR}"/named.conf
|
||||
exeinto /usr/libexec
|
||||
doexe "${FILESDIR}/generate-rndc-key.sh"
|
@ -4,7 +4,7 @@ After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStartPre=/usr/libexec/generate-rndc-key.sh
|
||||
ExecStartPre=/usr/sbin/named-checkconf -z /etc/bind/named.conf
|
||||
ExecStartPre=/usr/bin/named-checkconf -z /etc/bind/named.conf
|
||||
ExecStart=/usr/sbin/named -f -u named
|
||||
ExecReload=/usr/sbin/rndc reload
|
||||
ExecStop=/usr/sbin/rndc stop
|
Loading…
Reference in New Issue
Block a user