summaryrefslogtreecommitdiffstats
path: root/contrib/unbound
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-09-24 09:54:07 +0000
committerdes <des@FreeBSD.org>2013-09-24 09:54:07 +0000
commit7a2a1b7d7f1a93ffbde01c1c61c298ca15551f29 (patch)
treea46c7b85211819df4a1fd6e6ae79bdd023b26e3b /contrib/unbound
parent22453ebd122d5a687b8a4239b30e6f9e5f2a93aa (diff)
downloadFreeBSD-src-7a2a1b7d7f1a93ffbde01c1c61c298ca15551f29.zip
FreeBSD-src-7a2a1b7d7f1a93ffbde01c1c61c298ca15551f29.tar.gz
Don't include the build date or command-line arguments in the binary.
Approved by: re (blanket)
Diffstat (limited to 'contrib/unbound')
-rw-r--r--contrib/unbound/configure.ac13
-rw-r--r--contrib/unbound/daemon/unbound.c2
2 files changed, 0 insertions, 15 deletions
diff --git a/contrib/unbound/configure.ac b/contrib/unbound/configure.ac
index d69b9ff..180b9d7 100644
--- a/contrib/unbound/configure.ac
+++ b/contrib/unbound/configure.ac
@@ -69,19 +69,6 @@ AC_SUBST(LIBUNBOUND_CURRENT)
AC_SUBST(LIBUNBOUND_REVISION)
AC_SUBST(LIBUNBOUND_AGE)
-pretty_cmdline() {
- cmdline=""
- while test -n "$1"; do
- cmdline="$cmdline '"`echo $1 | sed -e 's/\\\\/\\\\\\\\/g' | sed -e 's/"/\\\\"/g' `"'"
- shift
- done
-}
-pretty_cmdline $@
-AC_DEFINE_UNQUOTED(CONFIGURE_BUILD_WITH, ["$cmdline"], [configure flags])
-AC_CANONICAL_TARGET
-AC_DEFINE_UNQUOTED(CONFIGURE_TARGET, ["$target"], [configure target system])
-AC_DEFINE_UNQUOTED(CONFIGURE_DATE, ["`date`"], [configure date])
-
CFLAGS="$CFLAGS"
AC_AIX
diff --git a/contrib/unbound/daemon/unbound.c b/contrib/unbound/daemon/unbound.c
index 4ad6ffd..6539b9e 100644
--- a/contrib/unbound/daemon/unbound.c
+++ b/contrib/unbound/daemon/unbound.c
@@ -177,8 +177,6 @@ static void usage()
for(m = module_list_avail(); *m; m++)
printf(" %s", *m);
printf("\n");
- printf("configured for %s on %s with options:%s\n",
- CONFIGURE_TARGET, CONFIGURE_DATE, CONFIGURE_BUILD_WITH);
printf("BSD licensed, see LICENSE in source package for details.\n");
printf("Report bugs to %s\n", PACKAGE_BUGREPORT);
}
OpenPOWER on IntegriCloud