ports/85965: Update port: net/ngrep to 1.44
Marcus Alves Grando
marcus at corp.grupos.com.br
Sun Sep 11 05:30:12 UTC 2005
>Number: 85965
>Category: ports
>Synopsis: Update port: net/ngrep to 1.44
>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: Sun Sep 11 05:30:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Marcus Alves Grando
>Release: FreeBSD 6.0-BETA4 i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD marcus.grupos.com.br 6.0-BETA4 FreeBSD 6.0-BETA4 #43: Fri Sep 9 15:54:48 BRT 2005 root at marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386
>Description:
- Update to 1.44
- Update MAINTAINER to @FreeBSD.org
- Use OPTIONS
- Add IPv6 support
>How-To-Repeat:
>Fix:
--- ngrep.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/ngrep/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile 25 Jul 2005 01:30:38 -0000 1.19
+++ Makefile 11 Sep 2005 05:17:41 -0000
@@ -7,21 +7,25 @@
#
PORTNAME= ngrep
-PORTVERSION= 1.43
+PORTVERSION= 1.44
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1
-MAINTAINER= edwin at mavetju.org
+MAINTAINER= edwin at FreeBSD.org
COMMENT= Network grep
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-pcre \
- --disable-pcap-restart \
- --enable-dropprivs-onlyroot \
- --mandir=${PREFIX}/man/
-ALL_TARGET= ngrep
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
USE_BZIP2= yes
+ALL_TARGET= ngrep
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --mandir=${PREFIX}/man/ --disable-pcap-restart
+
+OPTIONS= PCRE "Use PCRE instead of GNU regex" on \
+ PORTS_PCAP "Use ports PCAP instead of system PCAP" off \
+ IPV6 "Enable IPv6 support" off
MAN8= ngrep.8
PLIST_FILES= bin/ngrep
@@ -31,11 +35,19 @@
.include <bsd.port.pre.mk>
+.if defined(WITH_PCRE)
+CONFIGURE_ARGS+= --enable-pcre
+.endif
+
.if !defined(WITH_PORTS_PCAP)
-CONFIGURE_ARGS+=--with-pcap-includes=/usr/include
+CONFIGURE_ARGS+= --with-pcap-includes=/usr/include
.else
-CONFIGURE_ARGS+=--with-pcap-includes=${LOCALBASE}/include
-LIB_DEPENDS= pcap.2:${PORTSDIR}/net/libpcap
+CONFIGURE_ARGS+= --with-pcap-includes=${LOCALBASE}/include
+LIB_DEPENDS+= pcap.2:${PORTSDIR}/net/libpcap
+.endif
+
+.if defined(WITH_IPV6)
+CONFIGURE_ARGS++= --enable-ipv6
.endif
post-install:
@@ -43,9 +55,9 @@
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@if [ -f ${WRKSRC}/${file} ]; then \
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}; \
else \
- ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}; \
fi
.endfor
.endif
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net/ngrep/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo 24 Feb 2005 06:28:20 -0000 1.7
+++ distinfo 11 Sep 2005 05:17:41 -0000
@@ -1,2 +1,2 @@
-MD5 (ngrep-1.43.tar.bz2) = 835e7b52a45c55637f2435a79c7b570c
-SIZE (ngrep-1.43.tar.bz2) = 447819
+MD5 (ngrep-1.44-1.tar.bz2) = c8aed4d0fac077cc09524b3c7d623974
+SIZE (ngrep-1.44-1.tar.bz2) = 451130
--- ngrep.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list