Skip to content

Commit

Permalink
Merge pull request #2133 from mariux64/update-unbound-from-1.11.0-to-…
Browse files Browse the repository at this point in the history
…1.13.1

Update Unbound from 1.11.0 to 1.13.1
  • Loading branch information
pmenzel authored May 31, 2021
2 parents f935c2c + c9508b7 commit e0cf14c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions unbound.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION unbound-1.11.0-0
# BEE_VERSION unbound-1.13.1-0

## this file was created by bee init and should be executed to build a
## bee-package. (Additional hints are located at the end of this file.)
Expand Down Expand Up @@ -56,8 +56,9 @@ SRCURL[0]="https://www.unbound.net/downloads/unbound-${PKGVERSION}.tar.gz"
mee_configure() {
bee_configure \
--disable-static \
--with-pidfile="/var/unbound/unbound.pid" \
--with-rootkey-file="/var/unbound/root.key"
--enable-systemd \
--with-pidfile="/run/unbound.pid" \
--with-rootkey-file="/var/lib/unbound/root.key"
}

mee_build() {
Expand All @@ -73,6 +74,10 @@ mee_build() {

mee_install_post() {
start_cmd mv ${D}/etc/unbound/unbound.conf{,.sample}
start_cmd install -m 644 -D -t ${D}/lib/systemd/system ${B}/contrib/unbound.{service,socket}
start_cmd sed -i '/^ReadWritePaths=/ s,$, /var/lib/unbound,' ${B}/contrib/unbound.service

start_cmd install -o unbound -m 755 -d ${D}/var/lib/unbound
}

###############################################################################
Expand Down

0 comments on commit e0cf14c

Please sign in to comment.