[net-dns/bind] sync

This commit is contained in:
Robert Förster 2024-09-04 01:46:38 +02:00
parent 8993dd075b
commit 602417250d
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="MPL-2.0" LICENSE="MPL-2.0"
SLOT="0" SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" 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 )" RESTRICT="!test? ( test )"
DEPEND=" DEPEND="
@ -141,7 +141,7 @@ src_install() {
fperms 0750 /etc/bind /var/bind/pri fperms 0750 /etc/bind /var/bind/pri
fperms 0770 /var/log/named /var/bind/{,sec,dyn} 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 dotmpfiles "${FILESDIR}"/named.conf
exeinto /usr/libexec exeinto /usr/libexec
doexe "${FILESDIR}/generate-rndc-key.sh" doexe "${FILESDIR}/generate-rndc-key.sh"

View File

@ -4,7 +4,7 @@ After=network.target
[Service] [Service]
ExecStartPre=/usr/libexec/generate-rndc-key.sh 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 ExecStart=/usr/sbin/named -f -u named
ExecReload=/usr/sbin/rndc reload ExecReload=/usr/sbin/rndc reload
ExecStop=/usr/sbin/rndc stop ExecStop=/usr/sbin/rndc stop