Receipt for package "unbound"
# SliTaz package receipt. PACKAGE="unbound" VERSION="1.10.1" CATEGORY="network" SHORT_DESC="A validating, recursive, and caching DNS resolver." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" WEB_SITE="https://www.unbound.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://www.unbound.net/downloads/$TARBALL" DEPENDS="expat libssl zlib" BUILD_DEPENDS="expat-dev openssl-dev" CONFIG_FILES="/etc/unbound" # What is the latest version available today? current_version() { wget -O - "${WGET_URL%/*}?C=M;O=A" 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | tail -n1 } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib mkdir -p $fs/var/lib/unbound cp -a $install/etc $fs cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/sbin $fs/usr } # Post message when installing. post_install() { chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound chroot "$1/" chown unbound /var/lib/unbound chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)