003 File Manager
Current Path:
/usr/src/contrib/unbound
usr
/
src
/
contrib
/
unbound
/
📁
..
📄
.gitattributes
(40 B)
📁
.github
📄
.travis.yml
(9.43 KB)
📄
LICENSE
(1.46 KB)
📄
Makefile.in
(115.51 KB)
📄
README
(467 B)
📄
README-Travis.md
(14.54 KB)
📄
README.md
(1.77 KB)
📄
ac_pkg_swig.m4
(6.46 KB)
📄
aclocal.m4
(337.25 KB)
📄
acx_nlnetlabs.m4
(42.35 KB)
📄
acx_python.m4
(4.1 KB)
📄
ax_pthread.m4
(13.44 KB)
📁
cachedb
📁
compat
📄
config.guess
(48.12 KB)
📄
config.h.in
(35.46 KB)
📄
config.sub
(33.41 KB)
📄
configure
(659.67 KB)
📄
configure.ac
(66.71 KB)
📁
contrib
📁
daemon
📁
dns64
📁
dnscrypt
📁
dnstap
📁
doc
📁
dynlibmod
📁
edns-subnet
📄
freebsd-configure.sh
(1.06 KB)
📄
freebsd-sources.pl
(2.29 KB)
📄
install-sh
(14.33 KB)
📁
ipsecmod
📁
ipset
📁
iterator
📁
libunbound
📄
ltmain.sh
(316.55 KB)
📁
respip
📁
services
📁
sldns
📁
smallapp
📄
systemd.m4
(1.05 KB)
📁
util
📁
validator
Editing: freebsd-configure.sh
#!/bin/sh # # $FreeBSD$ # set -e error() { echo "$@" >&2 exit 1 } unbound=$(dirname $(realpath $0)) cd $unbound # Run autotools before we drop LOCALBASE out of PATH (cd $unbound && libtoolize --copy && autoheader && autoconf) # Ensure we use the correct toolchain and clean our environment export CC=$(echo ".include <bsd.lib.mk>" | make -f /dev/stdin -VCC) export CPP=$(echo ".include <bsd.lib.mk>" | make -f /dev/stdin -VCPP) unset CFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH LIBS export PATH=/bin:/sbin:/usr/bin:/usr/sbin ldnssrc=$(realpath $unbound/../ldns) [ -f $ldnssrc/ldns/ldns.h ] || error "can't find LDNS sources" export CFLAGS="-I$ldnssrc" ldnsbld=$(realpath $unbound/../../lib/libldns) [ -f $ldnsbld/Makefile ] || error "can't find LDNS build directory" ldnsobj=$(realpath $(make -C$ldnsbld -V.OBJDIR)) [ -f $ldnsobj/libprivateldns.a ] || error "can't find LDNS object directory" export LDFLAGS="-L$ldnsobj" cd $unbound ./configure \ --prefix= --exec-prefix=/usr \ --with-conf-file=/var/unbound/unbound.conf \ --with-run-dir=/var/unbound \ --with-username=unbound
Upload File
Create Folder