Skip to content

Commit

Permalink
Merge pull request #405 from mariux64/update-unbound-from-1.5.1-to-1.6.3
Browse files Browse the repository at this point in the history
Update Unbound from 1.5.1 to 1.6.3
  • Loading branch information
donald authored Jan 18, 2018
2 parents 7bd8596 + 491b4a8 commit df92ad9
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions unbound-1.5.1-0.bee → unbound.be0
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/usr/bin/env beesh

# BEE_VERSION unbound-1.6.3-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.)

###############################################################################
## The source URL(s) define the location of the sources that will be
## downloaded. Version variables may be used to simplify reuse of this bee-file.

SRCURL[0]="http://www.unbound.net/downloads/unbound-${PKGVERSION}.tar.gz"
SRCURL[0]="https://www.unbound.net/downloads/unbound-${PKGVERSION}.tar.gz"

###############################################################################
## Add URLs/pathes to patch files to the PATCHURL array.
Expand Down Expand Up @@ -51,19 +53,28 @@ SRCURL[0]="http://www.unbound.net/downloads/unbound-${PKGVERSION}.tar.gz"
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}
mee_configure() {
bee_configure \
--disable-static \
--with-pidfile="/var/unbound/unbound.pid" \
--with-rootkey-file="/var/unbound/root.key"
}

#mee_build() {
# bee_build
#}
mee_build() {
bee_build
ln -sf ${S}/testdata ${B}/testdata
start_cmd make check
}

#mee_install() {
# bee_install
#}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {
start_cmd mv ${D}/etc/unbound/unbound.conf{,.sample}
}

###############################################################################
##
## Additional hints:
Expand Down

0 comments on commit df92ad9

Please sign in to comment.