diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-09-15 13:49:23 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2013-09-15 13:49:23 +0000 |
commit | e0f0c857db2d5c622fa4f8f03bb52a5666a628ff (patch) | |
tree | 457c7bed275dfb8d7040617d1ae66fa525fd8c89 /contrib/unbound | |
parent | 16efed0220febd61bd444a70ced345a2a9a1c93d (diff) | |
download | src-test2-e0f0c857db2d5c622fa4f8f03bb52a5666a628ff.tar.gz src-test2-e0f0c857db2d5c622fa4f8f03bb52a5666a628ff.zip |
Notes
Diffstat (limited to 'contrib/unbound')
-rw-r--r-- | contrib/unbound/config.h | 4 | ||||
-rwxr-xr-x | contrib/unbound/configure | 9 | ||||
-rwxr-xr-x | contrib/unbound/smallapp/unbound-control-setup.sh | 3 |
3 files changed, 7 insertions, 9 deletions
diff --git a/contrib/unbound/config.h b/contrib/unbound/config.h index 945f5776ba0f..ada7355b6c6c 100644 --- a/contrib/unbound/config.h +++ b/contrib/unbound/config.h @@ -8,10 +8,10 @@ #define CONFIGFILE "/etc/unbound/unbound.conf" /* configure flags */ -#define CONFIGURE_BUILD_WITH " '--with-conf-file=/etc/unbound/unbound.conf' '--with-run-dir=/var/unbound' '--with-username=unbound'" +#define CONFIGURE_BUILD_WITH " '--prefix=' '--exec-prefix=/usr' '--with-conf-file=/etc/unbound/unbound.conf' '--with-run-dir=/var/unbound' '--with-username=unbound'" /* configure date */ -#define CONFIGURE_DATE "Sun Sep 15 02:01:38 CEST 2013" +#define CONFIGURE_DATE "Sun Sep 15 15:38:41 CEST 2013" /* configure target system */ #define CONFIGURE_TARGET "x86_64-unknown-freebsd10.0" diff --git a/contrib/unbound/configure b/contrib/unbound/configure index 90deeca297a6..e5baf473e51b 100755 --- a/contrib/unbound/configure +++ b/contrib/unbound/configure @@ -12552,14 +12552,10 @@ fi # before this can be enabled. hardcode_into_libs=yes - # Add ABI-specific directories to the system library path. - sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" - # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` - sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" - + sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on @@ -18180,7 +18176,7 @@ _ACEOF -ac_config_files="$ac_config_files Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8" +ac_config_files="$ac_config_files Makefile doc/example.conf doc/libunbound.3 doc/unbound.8 doc/unbound-anchor.8 doc/unbound-checkconf.8 doc/unbound.conf.5 doc/unbound-control.8 smallapp/unbound-control-setup.sh" ac_config_headers="$ac_config_headers config.h" @@ -19169,6 +19165,7 @@ do "doc/unbound-checkconf.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-checkconf.8" ;; "doc/unbound.conf.5") CONFIG_FILES="$CONFIG_FILES doc/unbound.conf.5" ;; "doc/unbound-control.8") CONFIG_FILES="$CONFIG_FILES doc/unbound-control.8" ;; + "smallapp/unbound-control-setup.sh") CONFIG_FILES="$CONFIG_FILES smallapp/unbound-control-setup.sh" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; diff --git a/contrib/unbound/smallapp/unbound-control-setup.sh b/contrib/unbound/smallapp/unbound-control-setup.sh index aca62ac8cdf5..690f45478842 100755 --- a/contrib/unbound/smallapp/unbound-control-setup.sh +++ b/contrib/unbound/smallapp/unbound-control-setup.sh @@ -36,7 +36,8 @@ # settings: # directory for files -DESTDIR=/usr/local/etc/unbound +prefix= +DESTDIR=${prefix}/etc/unbound # issuer and subject name for certificates SERVERNAME=unbound |