From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 5 09:30:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED5EA1065670 for ; Sat, 5 Dec 2009 09:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AF18D8FC0C for ; Sat, 5 Dec 2009 09:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nB59U2Dg014735 for ; Sat, 5 Dec 2009 09:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nB59U2lE014728; Sat, 5 Dec 2009 09:30:02 GMT (envelope-from gnats) Resent-Date: Sat, 5 Dec 2009 09:30:02 GMT Resent-Message-Id: <200912050930.nB59U2lE014728@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, olli hauer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C956106568B for ; Sat, 5 Dec 2009 09:21:50 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 754C08FC1C for ; Sat, 5 Dec 2009 09:21:49 +0000 (UTC) Received: (qmail invoked by alias); 05 Dec 2009 09:21:47 -0000 Received: from u18-124.dsl.vianetworks.de (EHLO u18-124.dsl.vianetworks.de) [194.231.39.124] by mail.gmx.net (mp037) with SMTP; 05 Dec 2009 10:21:47 +0100 Received: by u18-124.dsl.vianetworks.de (Postfix, from userid 1100) id E235B2614B; Sat, 5 Dec 2009 10:21:42 +0100 (CET) Message-Id: <20091205092142.E235B2614B@u18-124.dsl.vianetworks.de> Date: Sat, 5 Dec 2009 10:21:42 +0100 (CET) From: olli hauer To: FreeBSD-gnats-submit@FreeBSD.org, miwi@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ohauer@gmx.de Subject: ports/141186: [patch] port ports-mgmt/tinderbox add missing option LSOF X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: olli hauer List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2009 09:30:03 -0000 >Number: 141186 >Category: ports >Synopsis: [patch] port ports-mgmt/tinderbox add missing option LSOF >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Dec 05 09:30:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: olli hauer >Release: >Organization: >Environment: >Description: The tinderbox port is missing the option for lsof from tinderbox-devel. This feature is usefull if tinderbox runs with nullfs mounts. >How-To-Repeat: >Fix: --- patch_tinderbox-3.3.txt begins here --- --- Makefile +++ Makefile @@ -23,7 +23,8 @@ WEBUI "Install web interface" On \ APACHE "Use Apache for web interface" On \ LIGHTTPD "Use LightHTTPD for web interface" Off \ - CHECK_FOR_ROOT "Check it ./tc is run by uid 0" On + CHECK_FOR_ROOT "Check if ./tc is run by uid 0" On \ + LSOF "For killMountProcesses() when using nullfs" On NO_BUILD= yes WANT_PERL= yes @@ -83,6 +84,10 @@ RUN_DEPENDS+= lighttpd:${PORTSDIR}/www/lighttpd .endif +.if defined(WITH_LSOF) +RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof +.endif + pre-everything:: .if (!defined(WITHOUT_APACHE) || defined(WITH_LIGHTTPD)) && !defined(WITH_WEBUI) @${ECHO_CMD} "It doesn't make sense to depend on Apache or LightHTTPD if not using either web interface." @@ -97,7 +102,7 @@ post-patch: .ifdef WITHOUT_CHECK_FOR_ROOT ${REINPLACE_CMD} -e 's/^if \[ `id -u` != 0 \]; then/if false; then/' \ - ${WRKSRC}/tc + ${WRKSRC}/tc .endif @cd ${WRKSRC} && ${FIND} -E . -regex '.*(orig|bak)' -exec ${RM} {} \; --- patch_tinderbox-3.3.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: