From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 2 23:00:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 5548759E for ; Wed, 2 Oct 2013 23:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (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 34611209A for ; Wed, 2 Oct 2013 23:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r92N02Ss000634 for ; Wed, 2 Oct 2013 23:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r92N02iw000633; Wed, 2 Oct 2013 23:00:02 GMT (envelope-from gnats) Resent-Date: Wed, 2 Oct 2013 23:00:02 GMT Resent-Message-Id: <201310022300.r92N02iw000633@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joe Greco 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 69D51F3 for ; Wed, 2 Oct 2013 22:55:40 +0000 (UTC) (envelope-from jgreco@aurora.sol.net) Received: from mail1.sol.net (mail1.sol.net [206.55.64.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3DEDB2075 for ; Wed, 2 Oct 2013 22:55:39 +0000 (UTC) Received: from aurora.sol.net (IDENT:jgreco@aurora.sol.net [206.55.70.98]) by mail1.sol.net (8.14.4/8.14.4/SNNS-1.04) with ESMTP id r92M4glq069988 for ; Wed, 2 Oct 2013 17:04:43 -0500 (CDT) Received: (from jgreco@localhost) by aurora.sol.net (8.14.3/8.14.3/Submit) id r92LpZtm039994; Wed, 2 Oct 2013 16:51:35 -0500 (CDT) Message-Id: <201310022151.r92LpZtm039994@aurora.sol.net> Date: Wed, 2 Oct 2013 16:51:35 -0500 (CDT) From: Joe Greco To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/182587: Patch for build problems, amd64 compat, minor other updates X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Joe Greco List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Oct 2013 23:00:02 -0000 >Number: 182587 >Category: ports >Synopsis: Patch for build problems, amd64 compat, minor other updates >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Oct 02 23:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Joe Greco >Release: FreeBSD 9.2-RELEASE amd64 >Organization: sol.net Network Services >Environment: >Description: port directory: /usr/ports/security/tripwire12 building for: FreeBSD 91amd64-default-job-24 9.1-RELEASE FreeBSD 9.1-RELEASE amd64 maintained by: jgreco@ns.sol.net Log URL: http://beefy2.isc.freebsd.org/bulk/91amd64-default/2013-10-02_14h38m51s/logs/tripwire-1.2_1.log Build URL: http://beefy2.isc.freebsd.org/bulk/91amd64-default/2013-10-02_14h38m51s >How-To-Repeat: >Fix: diff -rupN tripwire12-old/Makefile tripwire12/Makefile --- tripwire12-old/Makefile 2013-09-26 19:03:31.000000000 +0000 +++ tripwire12/Makefile 2013-10-02 21:00:09.000000000 +0000 @@ -16,6 +16,7 @@ MAN8= siggen.8 tripwire.8 NO_CDROM= cannot be redistributed for more than the cost of duplication NO_PACKAGE= requires local database to be built USE_PERL5_BUILD=yes +MAKE_JOBS_UNSAFE=yes TWCONFIG?= ${FILESDIR}/tw.conf.freebsd8 @@ -29,7 +30,7 @@ post-patch: 's|bs_ntohl|ntohl|g;s|bs_htonl|htonl|g' pre-configure: - @ ${CP} ${FILESDIR}/conf-freebsd2.h ${WRKSRC}/configs + @ ${CP} ${FILESDIR}/conf-freebsd8.h ${WRKSRC}/configs @ ${CP} ${TWCONFIG} ${WRKSRC}/configs/tw.conf.freebsd8 post-install: diff -rupN tripwire12-old/files/conf-freebsd8.h tripwire12/files/conf-freebsd8.h --- tripwire12-old/files/conf-freebsd8.h 1970-01-01 00:00:00.000000000 +0000 +++ tripwire12/files/conf-freebsd8.h 2013-10-02 21:15:15.000000000 +0000 @@ -0,0 +1,57 @@ +/* $FreeBSD$ */ + +/* + * conf-freebsd8.h + * + * Tripwire configuration file + * + * Joe Greco + * sol.net Network Services + * Derived from the other BSD config.h's + */ + +/*** + *** Operating System specifics + *** + *** If the answer to a question in the comment is "Yes", then + *** change the corresponding "#undef" to a "#define" + ***/ + +/* + * is your OS a System V derivitive? if so, what version? + * (e.g., define SYSV 4) + */ + +#undef SYSV + +/* + * does your system have a like System V? + */ + +#undef MALLOCH + +/* + * does your system have a like POSIX says you should? + */ + +#define STDLIBH + +/* + * does your system use readdir(3) that returns (struct dirent *)? + */ + +#define DIRENT + +/* + * is #include ok? (as opposed to ) + */ + +#define STRINGH + +/* + * does your system have gethostname(2) (instead of uname(2))? + */ + +#define GETHOSTNAME + +#define TW_TYPE32 int diff -rupN tripwire12-old/files/patch-aa tripwire12/files/patch-aa --- tripwire12-old/files/patch-aa 2013-09-26 19:03:31.000000000 +0000 +++ tripwire12/files/patch-aa 2013-10-02 20:59:12.000000000 +0000 @@ -13,7 +13,7 @@ *** file that corresponds with your operating system. ***/ -! #include "../configs/conf-freebsd2.h" +! #include "../configs/conf-freebsd8.h" #ifdef TW_TYPE32 typedef TW_TYPE32 int32; diff -rupN tripwire12-old/files/tw.conf.freebsd8 tripwire12/files/tw.conf.freebsd8 --- tripwire12-old/files/tw.conf.freebsd8 2013-09-26 19:03:31.000000000 +0000 +++ tripwire12/files/tw.conf.freebsd8 2013-10-02 21:27:40.000000000 +0000 @@ -82,7 +82,6 @@ /.forward R # may not exist # Unix itself -/kernel R /boot R /boot.config R @@ -115,10 +114,6 @@ # /libexec /libexec R-2 -# /lkm and /modules -/lkm R-2 -/modules R-2 - # /boot /boot R-2 >Release-Note: >Audit-Trail: >Unformatted: