mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/bind to 9.11.0.P3-2
This commit is contained in:
parent
687cd64428
commit
921740a791
3 changed files with 3 additions and 15 deletions
|
@ -12,7 +12,7 @@ pkgbase=bind
|
|||
pkgname=(bind bind-tools)
|
||||
_pkgver=9.11.0-P3
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
url='https://www.isc.org/software/bind/'
|
||||
license=('custom:ISC')
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -37,7 +37,7 @@ sha1sums=('87d604061b23757dd746902ee66cd95545d5872f'
|
|||
'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11'
|
||||
'9537f4835a1f736788d0733c7996a10db2d4eee4'
|
||||
'c017aae379c32c7cb1aa1ad84776b83e3a5c139f'
|
||||
'cb2e81b4cbf9efafb3e81e3752f0154e779cc7ec'
|
||||
'62b06487323dd0d515a4dc659b8ecd193c29107b'
|
||||
'6704303a6ed431a29b1d8fe7b12decd4d1f2f50f'
|
||||
'52da8f1c0247a11b16daa4e03d920e8f09315cbe'
|
||||
'9c33726088342207ad06d33b2c13408290a0c8ad'
|
||||
|
@ -84,7 +84,6 @@ package_bind() {
|
|||
'var/named/localhost.zone'
|
||||
'var/named/localhost.ip6.zone'
|
||||
'var/named/empty.zone')
|
||||
install=$pkgname.install
|
||||
|
||||
cd "bind-$_pkgver"
|
||||
install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
post_install() {
|
||||
# create an rndc.key if it doesn't already exist
|
||||
if [[ ! -s etc/rndc.key ]]; then
|
||||
rndc-confgen -r /dev/urandom -b 256 | head -n 5 >>etc/rndc.key
|
||||
chown root:named etc/rndc.key
|
||||
chmod 640 etc/rndc.key
|
||||
fi
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
|
@ -4,8 +4,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/named -f -u named
|
||||
ExecReload=/usr/bin/rndc reload
|
||||
ExecStop=/usr/bin/rndc stop
|
||||
ExecReload=/usr/bin/kill -HUP $MAINPID
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue