diff options
author | mich <mich@FreeBSD.org> | 2003-06-02 15:17:13 +0000 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2003-06-02 15:17:13 +0000 |
commit | 32704e053d93b5ef17051b3fc54833ac8977fa35 (patch) | |
tree | 8560b92e530e2d991d5071025a878f3b12a86371 /net/nast | |
parent | cb1f3d00b918e1f07992840f13afb2b2d6278ca4 (diff) | |
download | FreeBSD-ports-32704e053d93b5ef17051b3fc54833ac8977fa35.zip FreeBSD-ports-32704e053d93b5ef17051b3fc54833ac8977fa35.tar.gz |
Update nast: 0.1.7d -> 0.1.7e
- Set promisc mode as default in sniffer
- Fixed a serious memory lack bug in map_lan()
- now it compiles on sparc64
Removed patch files, as they are no longer needed.
PR: 52622
Submitted by: maintainer
Approved by: roberto(mentor)
Diffstat (limited to 'net/nast')
-rw-r--r-- | net/nast/Makefile | 12 | ||||
-rw-r--r-- | net/nast/distinfo | 2 | ||||
-rw-r--r-- | net/nast/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | net/nast/files/patch-configure | 71 | ||||
-rw-r--r-- | net/nast/pkg-plist | 1 |
5 files changed, 12 insertions, 85 deletions
diff --git a/net/nast/Makefile b/net/nast/Makefile index 579594c..7cec87f 100644 --- a/net/nast/Makefile +++ b/net/nast/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nast -PORTVERSION= 0.1.7d +PORTVERSION= 0.1.7e CATEGORIES= net MASTER_SITES= http://nast.berlios.de/src/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -19,6 +19,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet-devel LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet-config MAN8= nast.8 +DOC_FILES= README GNU_CONFIGURE= yes USE_GMAKE= yes @@ -36,11 +37,18 @@ pre-everything:: @${ECHO_MSG} "" post-patch: - @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8/ +.ifndef (NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME} +.for doc in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} +.endfor +.endif post-install: ${CHMOD} 0755 ${PREFIX}/bin/${PORTNAME} diff --git a/net/nast/distinfo b/net/nast/distinfo index ac3143a..26f49d3 100644 --- a/net/nast/distinfo +++ b/net/nast/distinfo @@ -1 +1 @@ -MD5 (nast-0.1.7d.tar.gz) = 9470ca94be6cd7a359212f1d5888b58e +MD5 (nast-0.1.7e.tar.gz) = 76471efb15a328fb3cc090bbf7915316 diff --git a/net/nast/files/patch-Makefile.in b/net/nast/files/patch-Makefile.in deleted file mode 100644 index 488fb07..0000000 --- a/net/nast/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Sat May 10 02:15:34 2003 -+++ Makefile.in Sat May 10 02:15:43 2003 -@@ -7,7 +7,7 @@ - CPPFLAGS = @CPPFLAGS@ - LDFLAGS = @LDFLAGS@ - LIBS = @LIBS@ --DEFS = -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -+DEFS = -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H - INSTALL = @INSTALL@ - - prefix = @prefix@ diff --git a/net/nast/files/patch-configure b/net/nast/files/patch-configure deleted file mode 100644 index 053ba63..0000000 --- a/net/nast/files/patch-configure +++ /dev/null @@ -1,71 +0,0 @@ ---- configure.orig Wed Apr 23 20:24:51 2003 -+++ configure Sat May 10 02:19:00 2003 -@@ -252,7 +252,7 @@ - # - # Initializations. - # --ac_default_prefix=/usr/local -+ac_default_prefix=${PREFIX} - ac_config_libobj_dir=. - cross_compiling=no - subdirs= -@@ -273,7 +273,7 @@ - PACKAGE_BUGREPORT='embyte@madlab.it' - - ac_unique_file="main.c" --ac_default_prefix=/usr/local -+ac_default_prefix=${PREFIX} - # Factoring default headers for most tests. - ac_includes_default="\ - #include <stdio.h> -@@ -320,11 +320,11 @@ - # The variables have the same names as the options, with - # dashes changed to underlines. - cache_file=/dev/null --exec_prefix=NONE -+exec_prefix=${PREFIX} - no_create= - no_recursion= --prefix=NONE --program_prefix=NONE -+prefix=${PREFIX} -+program_prefix=${PREFIX} - program_suffix=NONE - program_transform_name=s,x,x, - silent= -@@ -1157,7 +1157,7 @@ - # Let the site file select an alternate cache file if it wants to. - # Prefer explicitly selected file to automatically selected ones. - if test -z "$CONFIG_SITE"; then -- if test "x$prefix" != xNONE; then -+ if test "x$prefix" != x${PREFIX}; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -@@ -1443,17 +1443,6 @@ - ;; - esac - -- --################ --# Setup prefix # --################ -- -- --if test "$prefix" = "NONE"; then -- prefix="/usr/local" -- fi -- -- - ####################### - # Checks for compiler # - ####################### -@@ -5354,7 +5343,7 @@ - O.S. .......... : `uname -rs` (`uname -n`) - COMPILER ...... : ${CC} - CFLAGS ........ : ${CFLAGS} --DEFINES ....... : -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -+DEFINES ....... : -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H - CPPFLAGS ...... : ${CPPFLAGS} - LDFLAGS ....... : ${LDFLAGS} - LIBS .......... : ${LIBS} diff --git a/net/nast/pkg-plist b/net/nast/pkg-plist index 3c1f2e8..ef6d052 100644 --- a/net/nast/pkg-plist +++ b/net/nast/pkg-plist @@ -1 +1,2 @@ bin/nast +%%PORTDOCS%%%%DOCSDIR%%/README |