Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2006 21:26:32 +0330
From:      "Babak Farrokhi" <babak@farrokhi.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/93446: update port net-mgmt/nefu to 1.2
Message-ID:  <1140112592.9999@home.farrokhi.net>
Resent-Message-ID: <200602161800.k1GI0KIf055661@freefall.freebsd.org>

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

>Number:         93446
>Category:       ports
>Synopsis:       update port net-mgmt/nefu to 1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 16 18:00:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Babak Farrokhi
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.1-PRERELEASE #0: Thu Feb  9 17:54:38 IRST 2006
    farrokhi@home.farrokhi.net:/usr/obj/usr/src/sys/HOME



>Description:


- update to 1.2
- take maintainership
- add OPTIONS


>How-To-Repeat:





>Fix:


--- nefu.patch begins here ---
diff -ruN nefu.orig/Makefile nefu/Makefile
--- nefu.orig/Makefile	Tue Feb 14 18:54:21 2006
+++ nefu/Makefile	Thu Feb 16 21:23:28 2006
@@ -6,28 +6,44 @@
 #
 
 PORTNAME=	nefu
-PORTVERSION=	0.9.6
+PORTVERSION=	1.2
 CATEGORIES=	net-mgmt
 MASTER_SITES=	http://rsug.itd.umich.edu/software/nefu/files/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	babak@farrokhi.net
 COMMENT=	A network monitoring daemon
 
+EXTRACT_SUFX=	.tgz
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS+=	--with-ssl=${OPENSSLBASE} --disable-html
+		LIBS="-L${LOCALBASE}/lib" \
+		YACC=${YACC}
+CONFIGURE_ARGS+=	--with-ssl=${OPENSSLBASE} --without-html --without-shelltests
 USE_OPENSSL=	yes
 USE_AUTOTOOLS=	libtool:15
+OPTIONS=	LDAP "Enable OpenLDAP support" off
 
 MAN1=		nefu.1
 MAN4=		nefu.conf.4
 PLIST_FILES=	bin/nefu
 
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LDAP)
+USE_OPENLDAP=	yes
+CONFIGURE_ARGS+=	--with-ldap=${LOCALBASE}/lib
+.else
+CONFIGURE_ARGS+=	--without-ldap
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-lsasl2||' \
+	    ${WRKSRC}/Makefile.in
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/nefu.1 ${PREFIX}/man/man1
 	${INSTALL_MAN} ${WRKSRC}/nefu.conf.4 ${PREFIX}/man/man4
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN nefu.orig/distinfo nefu/distinfo
--- nefu.orig/distinfo	Tue Feb 14 18:54:21 2006
+++ nefu/distinfo	Thu Feb 16 20:26:27 2006
@@ -1,3 +1,3 @@
-MD5 (nefu-0.9.6.tar.gz) = 430f9a3d2ea52f865c47895c93375ca3
-SHA256 (nefu-0.9.6.tar.gz) = e4795728c79fbb2ec14c82cb4a6da1441550fb1337cc899b74bc1b6af3630c09
-SIZE (nefu-0.9.6.tar.gz) = 231745
+MD5 (nefu-1.2.tgz) = 93491f365a27f05da389a95d0255a45c
+SHA256 (nefu-1.2.tgz) = 9edd4bcb702fe7335abad9393b6bbe6df9200512de30517eee75da1e832b2247
+SIZE (nefu-1.2.tgz) = 308978
--- nefu.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?1140112592.9999>