diff --git a/unbound-1.5.1-0.bee b/unbound.be0 similarity index 84% rename from unbound-1.5.1-0.bee rename to unbound.be0 index 6aaed530f..db4cc87d2 100755 --- a/unbound-1.5.1-0.bee +++ b/unbound.be0 @@ -1,5 +1,7 @@ #!/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.) @@ -7,7 +9,7 @@ ## 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. @@ -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: