diff --git a/pkg/libevent/build b/pkg/libevent/build deleted file mode 100755 index 8fb1cda..0000000 --- a/pkg/libevent/build +++ /dev/null @@ -1,35 +0,0 @@ -VERSION="2.1.8" -SRCDIR="libevent-${VERSION}-stable" -TARBALL="${SRCDIR}.tar.gz" -URL="https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/" -SHA256SUM="965cc5a8bb46ce4199a47e9b2c9e1cae3b137e8356ffdad6d94d3b9069b71dc2" -DEPENDS="toolchain" - -prepare() { - return -} - -build() { - $1/configure --prefix="" --host="$TARGET" --disable-static - - make -j $NUMJOBS -} - -deploy() { - local SOURCE="$1" - local DEPLOY="$2" - local DEVDEPLOY="$3" - - make DESTDIR="$DEPLOY" install - - rm -r "$DEPLOY/bin" - - split_dev_deploy "$DEPLOY" "$DEVDEPLOY" - strip_files ${DEPLOY}/lib/* -} - -check_update() { - curl --silent -L https://github.com/libevent/libevent/releases | \ - grep -o "libevent-[0-9.]*-stable" | grep -o "[0-9.]*" | \ - verson_find_greatest "$VERSION" -} \ No newline at end of file diff --git a/pkg/unbound/build b/pkg/unbound/build index 24f9ed6..206a512 100644 --- a/pkg/unbound/build +++ b/pkg/unbound/build @@ -3,7 +3,7 @@ SRCDIR="unbound-${VERSION}" TARBALL="${SRCDIR}.tar.gz" URL="https://www.unbound.net/downloads" SHA256SUM="56e085ef582c5372a20207de179d0edb4e541e59f87be7d4ee1d00d12008628d" -DEPENDS="libevent openssl expat" +DEPENDS="openssl expat libbsd" prepare() { return @@ -27,15 +27,9 @@ deploy() { rm -r "$DEPLOY/share" - mkdir -p "$DEPLOY/etc/unbound/unbound.conf.d" mkdir -p "$DEPLOY/var/lib/unbound" - cat > "$DEPLOY/etc/unbound/unbound.conf" << _EOF -include: "/etc/unbound/unbound.conf.d/*.conf" -_EOF - - cat_file_override "unbound.conf" > \ - "$DEPLOY/etc/unbound/unbound.conf.d/server.conf" + cat_file_override "unbound.conf" > "$DEPLOY/etc/unbound/unbound.conf" split_dev_deploy "$DEPLOY" "$DEVDEPLOY" strip_files ${DEPLOY}/{bin,lib}/*