mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
community/unbound to 1.6.0-2
This commit is contained in:
parent
4dd05f0ee3
commit
15a04ce743
3 changed files with 15 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
pkgname=unbound
|
pkgname=unbound
|
||||||
pkgver=1.6.0
|
pkgver=1.6.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Validating, recursive, and caching DNS resolver'
|
pkgdesc='Validating, recursive, and caching DNS resolver'
|
||||||
url='http://unbound.net/'
|
url='http://unbound.net/'
|
||||||
license=('custom:BSD')
|
license=('custom:BSD')
|
||||||
|
@ -20,10 +20,12 @@ backup=('etc/unbound/unbound.conf')
|
||||||
validpgpkeys=('EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D')
|
validpgpkeys=('EDFAA3F2CA4E6EB05681AF8E9F6F1C2D7E045F8D')
|
||||||
source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc}
|
source=("http://unbound.net/downloads/${pkgname}-${pkgver}.tar.gz"{,.asc}
|
||||||
'service'
|
'service'
|
||||||
|
'hook'
|
||||||
'conf')
|
'conf')
|
||||||
sha1sums=('9b7606b016b447dc837efc108cee94f3fecf4ede'
|
sha1sums=('9b7606b016b447dc837efc108cee94f3fecf4ede'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'63fcc187cec6f262d81600e66c6747285c72ad15'
|
'b543ae6f8b87423bec095fca6b335a9ee43739a8'
|
||||||
|
'098d680a06e730330e3ccbdd58234d07ad1837dc'
|
||||||
'98515708441cb831890a0b6d1986fd40649646c0')
|
'98515708441cb831890a0b6d1986fd40649646c0')
|
||||||
|
|
||||||
install=install
|
install=install
|
||||||
|
@ -54,5 +56,6 @@ package() {
|
||||||
install -Dm644 doc/example.conf.in "${pkgdir}/etc/unbound/unbound.conf.example"
|
install -Dm644 doc/example.conf.in "${pkgdir}/etc/unbound/unbound.conf.example"
|
||||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/unbound.service"
|
install -Dm644 ../service "${pkgdir}/usr/lib/systemd/system/unbound.service"
|
||||||
|
install -Dm644 ../hook "${pkgdir}/usr/share/libalpm/hooks/unbound-key.hook"
|
||||||
install -Dm644 ../conf "${pkgdir}/etc/unbound/unbound.conf"
|
install -Dm644 ../conf "${pkgdir}/etc/unbound/unbound.conf"
|
||||||
}
|
}
|
||||||
|
|
10
community/unbound/hook
Normal file
10
community/unbound/hook
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Trigger]
|
||||||
|
Type = File
|
||||||
|
Target = /etc/trusted-key.key
|
||||||
|
Operation = Install
|
||||||
|
Operation = Upgrade
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Updating trusted-key.key for unbound...
|
||||||
|
When = PostTransaction
|
||||||
|
Exec = /bin/cp -f /etc/trusted-key.key /etc/unbound/
|
|
@ -3,7 +3,6 @@ Description=Unbound DNS Resolver
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=/bin/cp -f /etc/trusted-key.key /etc/unbound/
|
|
||||||
PIDFile=/run/unbound.pid
|
PIDFile=/run/unbound.pid
|
||||||
ExecStart=/usr/bin/unbound -d
|
ExecStart=/usr/bin/unbound -d
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
|
Loading…
Reference in a new issue