Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 May 2008 22:56:51 +0900 (JST)
From:      Tomoyuki Sakurai <cherry@trombik.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        se@FreeBSD.org
Subject:   ports/123955: [PATCH] net-mgmt/argus-clients: enable DEBUG
Message-ID:  <20080524135651.0A411175C39@spica.trombik.org>
Resent-Message-ID: <200805241400.m4OE026f092345@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         123955
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/argus-clients: enable DEBUG
>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 May 24 14:00:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Tomoyuki Sakurai
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD spica.trombik.org 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 11 18:07:51 JST 2008
>Description:
- add DEBUG to OPTIONS
- remove a tab
- use $LOCALBASE in configure

Added file(s):

Removed file(s):

Port maintainer (se@freebsd.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- argus-clients-3.0.0.patch begins here ---
diff -Nru /usr/ports/net-mgmt/argus3-clients/Makefile argus3-clients/Makefile
--- /usr/ports/net-mgmt/argus3-clients/Makefile	2008-04-21 02:33:41.000000000 +0900
+++ argus3-clients/Makefile	2008-05-24 22:40:58.000000000 +0900
@@ -14,12 +14,13 @@
 MAINTAINER=	se@freebsd.org
 COMMENT=	Client programs for the argus IP network transaction auditing tool
 
-OPTIONS+=	SASL "SASL authentication support 1" on
+OPTIONS+=	SASL "SASL authentication support 1" on \
+			DEBUG	"enable debug option" off
 
 .include <bsd.port.pre.mk>
 
 .if defined(WITH_SASL)
-PKGNAMESUFFIX=	-sasl
+PKGNAMESUFFIX+=	-sasl
 LIB_DEPENDS+=	sasl2.2:${PORTSDIR}/security/cyrus-sasl2
 .endif
 
@@ -27,7 +28,7 @@
 GNU_CONFIGURE=	true
 
 .if defined(WITH_SASL)
-CONFIGURE_ARGS+= --with-sasl=${PREFIX}
+CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
 .endif
 
 MAN1=	ra.1 rabins.1 racluster.1 racount.1 ragraph.1 ragrep.1 rahisto.1 \
@@ -35,6 +36,11 @@
 MAN5=	racluster.5 radium.conf.5 rarc.5
 MAN8=	radium.8
 
+pre-configure:
+.if defined(WITH_DEBUG)
+	${TOUCH} ${WRKSRC}/.debug
+.endif
+
 do-install:
 .for i in ra rabins racluster racount radump rafilteraddr \
 		ragrep rahisto ralabel ranonymize rapath rapolicy \
--- argus-clients-3.0.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080524135651.0A411175C39>