wok-next view unbound/receipt @ rev 20912
Remove ruby-enterprise
https://old.blog.phusion.nl/2012/02/21/ruby-enterprise-edition-1-8-7-2012-02-released-end-of-life-imminent/
https://old.blog.phusion.nl/2012/02/21/ruby-enterprise-edition-1-8-7-2012-02-released-end-of-life-imminent/
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 20 08:19:43 2018 +0300 (2018-08-20) |
parents | 10df65db91ad |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="unbound"
4 VERSION="1.7.3"
5 CATEGORY="network"
6 SHORT_DESC="A validating, recursive, and caching DNS resolver"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.unbound.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.unbound.net/downloads/$TARBALL"
14 BUILD_DEPENDS="openssl-dev expat-dev"
15 SPLIT="unbound-dev"
17 compile_rules() {
18 # Do we need static libraries?
19 # Their presence leads to an error on post-compilation stage while stripping:
20 # strip: alloc.o: plugin needed to handle lto object
21 # (and so many linies, moved to /dev/null)
22 # ar: alloc.o: plugin needed to handle lto object
23 # (and so on...)
24 # Actual commands in the modules/compressor:
25 # find $fs -name '*.a' -exec $STRIP -d '{}' 2>/dev/null \;
26 # ar -x $i; ar -crD $(basename $i) *
28 ./configure \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 unbound)
39 copy @std
40 DEPENDS="expat openssl"
41 CONFIG_FILES="/etc/unbound/"
42 ;;
43 *-dev)
44 copy @dev
45 DEPENDS="unbound openssl-dev"
46 ;;
47 esac
48 }
50 post_install_unbound() {
51 [ -d "$1/var/lib/unbound" ] || mkdir -p "$1/var/lib/unbound"
52 chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound 2>/dev/null
53 chroot "$1/" chown unbound /var/lib/unbound
54 chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key
55 :
56 }