From owner-svn-src-head@FreeBSD.ORG Tue Sep 24 09:54:08 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 95FC049D; Tue, 24 Sep 2013 09:54:08 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 834B92F36; Tue, 24 Sep 2013 09:54:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8O9s8xt082053; Tue, 24 Sep 2013 09:54:08 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8O9s8CO082043; Tue, 24 Sep 2013 09:54:08 GMT (envelope-from des@svn.freebsd.org) Message-Id: <201309240954.r8O9s8CO082043@svn.freebsd.org> From: Dag-Erling Smørgrav Date: Tue, 24 Sep 2013 09:54:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255838 - in head/contrib/unbound: . daemon X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2013 09:54:08 -0000 Author: des Date: Tue Sep 24 09:54:07 2013 New Revision: 255838 URL: http://svnweb.freebsd.org/changeset/base/255838 Log: Don't include the build date or command-line arguments in the binary. Approved by: re (blanket) Modified: head/contrib/unbound/configure.ac head/contrib/unbound/daemon/unbound.c Modified: head/contrib/unbound/configure.ac ============================================================================== --- head/contrib/unbound/configure.ac Tue Sep 24 09:33:31 2013 (r255837) +++ head/contrib/unbound/configure.ac Tue Sep 24 09:54:07 2013 (r255838) @@ -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 Modified: head/contrib/unbound/daemon/unbound.c ============================================================================== --- head/contrib/unbound/daemon/unbound.c Tue Sep 24 09:33:31 2013 (r255837) +++ head/contrib/unbound/daemon/unbound.c Tue Sep 24 09:54:07 2013 (r255838) @@ -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); }