diff options
author | Michael Landin <mich@FreeBSD.org> | 2003-06-02 15:17:13 +0000 |
---|---|---|
committer | Michael Landin <mich@FreeBSD.org> | 2003-06-02 15:17:13 +0000 |
commit | a2c29a16caf45cae0a2e803e8693deb3c5759e8a (patch) | |
tree | 8d7c87e0c41c3e0bccb93ad35de8bb0f7d09adce /net/nast | |
parent | c3006d849108bd4ff9f44a155662013df0b674fc (diff) | |
download | ports-a2c29a16caf45cae0a2e803e8693deb3c5759e8a.tar.gz ports-a2c29a16caf45cae0a2e803e8693deb3c5759e8a.zip |
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)
Notes
Notes:
svn path=/head/; revision=82011
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 579594cc2a36..7cec87fbbc79 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 ac3143a65bde..26f49d38ac36 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 488fb07edd7c..000000000000 --- 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 053ba63c93e8..000000000000 --- 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 3c1f2e8ebbea..ef6d0529015c 100644 --- a/net/nast/pkg-plist +++ b/net/nast/pkg-plist @@ -1 +1,2 @@ bin/nast +%%PORTDOCS%%%%DOCSDIR%%/README |