Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2008 08:09:42 +0900 (JST)
From:      Tomoyuki Sakurai <cherry@trombik.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/123880: [PATCH] net-mgmt/argus3: broken SASL2 support
Message-ID:  <20080521230942.CA14C175C39@spica.trombik.org>
Resent-Message-ID: <200805212310.m4LNA3ia088542@freefall.freebsd.org>

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

>Number:         123880
>Category:       ports
>Synopsis:       [PATCH] net-mgmt/argus3: broken SASL2 support
>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:   Wed May 21 23:10:02 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:
if argus3 is build with SASL2 support, argus doesn't work:

    argus[37157]: looking for plugins in '/usr/lib/sasl2', failed to open
    directory, error: No such file or directory

also, remove a space and use LOCALBASE in CONFIGURE_ARGS.

>How-To-Repeat:
	build argus3 with SASL, run argus
>Fix:


diff -Nru /usr/ports/net-mgmt/argus3/Makefile ../argus3/Makefile
--- /usr/ports/net-mgmt/argus3/Makefile	2008-04-21 02:24:09.000000000 +0900
+++ ../argus3/Makefile	2008-05-22 07:47:28.000000000 +0900
@@ -28,12 +28,15 @@
 USE_BISON=	build
 GNU_CONFIGURE=	true
 .if defined(WITH_SASL)
-CONFIGURE_ARGS+= --with-sasl=${PREFIX}
+CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
 .endif
 
 MAN5=		argus.conf.5
 MAN8=		argus.8
 
+post-patch:
+	@${REINPLACE_CMD} -e 's#/usr/lib/sasl2#${PREFIX}/lib/sasl2#' ${WRKSRC}/argus/ArgusOutput.c
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/argus ${PREFIX}/sbin/argus
 #	${INSTALL_SCRIPT} ${WRKSRC}/bin/argusbug ${PREFIX}/bin/argusbug

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



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