diff options
author | kevlo <kevlo@FreeBSD.org> | 2001-05-07 23:41:33 +0800 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2001-05-07 23:41:33 +0800 |
commit | a95cce19a773ebac5803fbd94d727358a52ac5d3 (patch) | |
tree | 4319c13648d5accce184151077bf809bab17392d /net | |
parent | ee9c944da2560e01f777c3892900425907af7da9 (diff) | |
download | freebsd-ports-gnome-a95cce19a773ebac5803fbd94d727358a52ac5d3.tar.gz freebsd-ports-gnome-a95cce19a773ebac5803fbd94d727358a52ac5d3.tar.zst freebsd-ports-gnome-a95cce19a773ebac5803fbd94d727358a52ac5d3.zip |
Upgrade to version 1.1
PR: 27060
Submitted by: MAINTAINER
Diffstat (limited to 'net')
-rw-r--r-- | net/sing/Makefile | 9 | ||||
-rw-r--r-- | net/sing/distinfo | 2 | ||||
-rw-r--r-- | net/sing/files/patch-Makefile.in (renamed from net/sing/files/patch-aa) | 22 | ||||
-rw-r--r-- | net/sing/files/patch-ab | 13 | ||||
-rw-r--r-- | net/sing/files/patch-configure | 53 |
5 files changed, 72 insertions, 27 deletions
diff --git a/net/sing/Makefile b/net/sing/Makefile index 051d68ebf840..7030ac1b979f 100644 --- a/net/sing/Makefile +++ b/net/sing/Makefile @@ -6,7 +6,7 @@ # PORTNAME= sing -PORTVERSION= 1.0 +PORTVERSION= 1.1 CATEGORIES= net security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,10 +15,15 @@ EXTRACT_SUFX= .tgz MAINTAINER= roman@xpert.com +BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet \ + +CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS+= --with-libnet-prefix=${LOCALBASE} --with-libpcap-prefix=/usr GNU_CONFIGURE= yes MAN8= sing.8 post-extract: - @${RM} -rf ${WRKSRC}/libpcap* + @${RM} -rf ${WRKSRC}/libpcap-* ;\ + ${RM} -rf ${WRKSRC}/Libnet-* .include <bsd.port.mk> diff --git a/net/sing/distinfo b/net/sing/distinfo index e9dbbf324f85..f0b9313ded0c 100644 --- a/net/sing/distinfo +++ b/net/sing/distinfo @@ -1 +1 @@ -MD5 (SING-1.0.tgz) = 0e478a271068eefc6e26e45d236e7694 +MD5 (SING-1.1.tgz) = f9f649c4b40174a983601d46e4a3daac diff --git a/net/sing/files/patch-aa b/net/sing/files/patch-Makefile.in index 40c157d9c527..89198ecd6a7b 100644 --- a/net/sing/files/patch-aa +++ b/net/sing/files/patch-Makefile.in @@ -1,24 +1,24 @@ ---- Makefile.in.orig Sat Sep 16 13:03:43 2000 -+++ Makefile.in Fri Oct 6 01:17:29 2000 -@@ -72,7 +72,7 @@ - getopt_SOURCES = @getopt_SOURCES@ +--- Makefile.in.orig Wed Apr 18 14:11:06 2001 ++++ Makefile.in Thu May 3 16:01:19 2001 +@@ -76,7 +76,7 @@ + libnetdir = @libnetdir@ libpcapdir = @libpcapdir@ --INCLUDES = -I$(includedir) -I$(libpcapdir) -+INCLUDES = -I$(includedir) # -I$(libpcapdir) +-INCLUDES = -I$(includedir) -I$(libpcapdir) -I$(libnetdir)/include ++INCLUDES = -I$(includedir) #-I$(libpcapdir) -I$(libnetdir)/include - LIBS = @LIBS@ -lpcap + LIBS = @LIBS@ -lpcap -lnet -@@ -108,7 +108,7 @@ +@@ -111,7 +111,7 @@ SOURCES = $(sing_SOURCES) OBJECTS = $(sing_OBJECTS) --all: libpcap all-redirect +-all: libpcap libnet all-redirect +all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .o .s -@@ -149,11 +149,11 @@ +@@ -152,11 +152,11 @@ install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @@ -33,7 +33,7 @@ else :; fi; \ done -@@ -223,8 +223,7 @@ +@@ -226,8 +226,7 @@ help.o: help.c config.h diff --git a/net/sing/files/patch-ab b/net/sing/files/patch-ab deleted file mode 100644 index 2934e7389816..000000000000 --- a/net/sing/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- configure.orig Fri Oct 6 01:19:57 2000 -+++ configure Fri Oct 6 01:20:05 2000 -@@ -1097,10 +1097,6 @@ - fi - fi - --if test -n "$GCC"; then -- CFLAGS="-O3 -Wall" --fi -- - echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 - echo "configure:1104: checking how to run the C preprocessor" >&5 - # On Suns, sometimes $CPP names a directory. diff --git a/net/sing/files/patch-configure b/net/sing/files/patch-configure new file mode 100644 index 000000000000..44c0c18a9355 --- /dev/null +++ b/net/sing/files/patch-configure @@ -0,0 +1,53 @@ +--- configure.orig Thu May 3 17:44:18 2001 ++++ configure Thu May 3 16:33:56 2001 +@@ -11,6 +11,10 @@ + ac_help= + ac_default_prefix=/usr/local + # Any additions from configure.in: ++ac_help="$ac_help ++ --with-libnet-prefix=PATH path for libnet-config" ++ac_help="$ac_help ++ --with-libpcap-prefix=PATH path for libpcap" + + # Initialize some variables set by options. + # The variables have the same names as the options, with +@@ -526,8 +530,23 @@ + + + +-libpcapdir=libpcap-0.4 +-libnetdir=Libnet-1.0.1b ++# Check whether --with-libnet-prefix or --without-libnet-prefix was given. ++if test "${with_libnet_prefix+set}" = set; then ++ withval="$with_libnet_prefix/bin" ++ libnetdir="$withval" ++else ++ libnetdir="Libnet-1.0.1b" ++fi ++ ++ ++# Check whether --with-libpcap-prefix or --without-libpcap-prefix was given. ++if test "${with_libpcap_prefix+set}" = set; then ++ withval="$with_libpcap_prefix" ++ libpcapdir="$withval" ++else ++ libpcapdir="libpcap-0.4" ++fi ++ + + + +@@ -1097,12 +1116,9 @@ + fi + fi + +-if test -n "$GCC"; then +- CFLAGS="-O3 -Wall" +-fi + + echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 +-echo "configure:1106: checking how to run the C preprocessor" >&5 ++echo "configure:1122: checking how to run the C preprocessor" >&5 + # On Suns, sometimes $CPP names a directory. + if test -n "$CPP" && test -d "$CPP"; then + CPP= |