From 68ab5d8f3594f49c51340a81a90390b38fd54f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 24 Sep 2013 09:54:07 +0000 Subject: [PATCH] Don't include the build date or command-line arguments in the binary. Approved by: re (blanket) --- contrib/unbound/configure.ac | 13 ------------- contrib/unbound/daemon/unbound.c | 2 -- 2 files changed, 15 deletions(-) diff --git a/contrib/unbound/configure.ac b/contrib/unbound/configure.ac index d69b9ff03b84..180b9d7e3b63 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 4ad6ffd4af3c..6539b9eb5170 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); }