unbound: initial release
This commit is contained in:
parent
351aa58bf8
commit
936b8ccb36
21
unbound/.footprint
Normal file
21
unbound/.footprint
Normal file
@ -0,0 +1,21 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/unbound
|
||||
drwxr-xr-x root/root etc/unbound/
|
||||
-rw-r--r-- root/root etc/unbound/unbound.conf
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-rw-r--r-- root/root usr/man/man1/unbound-host.1.gz
|
||||
drwxr-xr-x root/root usr/man/man5/
|
||||
-rw-r--r-- root/root usr/man/man5/unbound.conf.5.gz
|
||||
drwxr-xr-x root/root usr/man/man8/
|
||||
-rw-r--r-- root/root usr/man/man8/unbound-checkconf.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/unbound-control.8.gz
|
||||
-rw-r--r-- root/root usr/man/man8/unbound.8.gz
|
||||
drwxr-xr-x root/root usr/sbin/
|
||||
-rwxr-xr-x root/root usr/sbin/unbound
|
||||
-rwxr-xr-x root/root usr/sbin/unbound-checkconf
|
||||
-rwxr-xr-x root/root usr/sbin/unbound-control
|
||||
-rwxr-xr-x root/root usr/sbin/unbound-control-setup
|
||||
-rwxr-xr-x root/root usr/sbin/unbound-host
|
2
unbound/.md5sum
Normal file
2
unbound/.md5sum
Normal file
@ -0,0 +1,2 @@
|
||||
c6f00a730330cb5a47a72538817aea78 unbound
|
||||
f1f6c97b90b15ca503a80b888c311d6c unbound-1.4.5.tar.gz
|
27
unbound/Pkgfile
Normal file
27
unbound/Pkgfile
Normal file
@ -0,0 +1,27 @@
|
||||
# Description: Validating, recursive, and caching DNS resolver
|
||||
# URL: http://unbound.net/index.html
|
||||
# Maintainer: Juergen Daubert, jue at crux dot nu
|
||||
# Depends on: openssl
|
||||
|
||||
name=unbound
|
||||
version=1.4.5
|
||||
release=1
|
||||
source=(http://unbound.net/downloads/$name-$version.tar.gz
|
||||
unbound)
|
||||
|
||||
build () {
|
||||
cd $name-$version
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--sysconfdir=/etc \
|
||||
--with-pidfile=/var/run/unbound.pid \
|
||||
--disable-shared \
|
||||
--with-username=nobody
|
||||
make -C ldns-src
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/{lib,include,man/man3}
|
||||
install -D -m 755 $SRC/unbound $PKG/etc/rc.d/unbound
|
||||
}
|
23
unbound/unbound
Normal file
23
unbound/unbound
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/crond: start/stop unbound daemon
|
||||
#
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
/usr/sbin/unbound
|
||||
;;
|
||||
stop)
|
||||
killall -q /usr/sbin/unbound
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
Loading…
x
Reference in New Issue
Block a user