Date: Thu, 3 May 2001 17:30:38 +0300 (IDT) From: roman@xpert.com To: FreeBSD-gnats-submit@freebsd.org Subject: ports/27060: [MAINTAINER UPDATE] net/sing 1.0->1.1 Message-ID: <200105031430.f43EUcm81304@alchemy.oven.org>
next in thread | raw e-mail | index | archive | help
>Number: 27060 >Category: ports >Synopsis: [MAINTAINER UPDATE] net/sing 1.0->1.1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu May 03 07:40:03 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Roman Shterenzon >Release: FreeBSD 4.3-RELEASE i386 >Organization: >Environment: System: FreeBSD alchemy.oven.org 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Wed May 2 00:58:34 IDT 2001 root@alchemy.oven.org:/local/src/sys/compile/ALCHEMY i386 >Description: >How-To-Repeat: >Fix: diff -urN /usr/ports/net/sing/Makefile sing/Makefile --- /usr/ports/net/sing/Makefile Mon Oct 16 04:28:01 2000 +++ sing/Makefile Thu May 3 17:51:52 2001 @@ -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 @@ 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 -urN /usr/ports/net/sing/distinfo sing/distinfo --- /usr/ports/net/sing/distinfo Mon Oct 16 04:28:01 2000 +++ sing/distinfo Thu May 3 15:18:45 2001 @@ -1 +1 @@ -MD5 (SING-1.0.tgz) = 0e478a271068eefc6e26e45d236e7694 +MD5 (SING-1.1.tgz) = f9f649c4b40174a983601d46e4a3daac diff -urN /usr/ports/net/sing/files/patch-Makefile.in sing/files/patch-Makefile.in --- /usr/ports/net/sing/files/patch-Makefile.in Thu Jan 1 02:00:00 1970 +++ sing/files/patch-Makefile.in Thu May 3 16:01:42 2001 @@ -0,0 +1,45 @@ +--- 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) -I$(libnetdir)/include ++INCLUDES = -I$(includedir) #-I$(libpcapdir) -I$(libnetdir)/include + + LIBS = @LIBS@ -lpcap -lnet + +@@ -111,7 +111,7 @@ + SOURCES = $(sing_SOURCES) + OBJECTS = $(sing_OBJECTS) + +-all: libpcap libnet all-redirect ++all: all-redirect + .SUFFIXES: + .SUFFIXES: .S .c .o .s + +@@ -152,11 +152,11 @@ + + install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) +- $(mkinstalldirs) $(DESTDIR)$(bindir) ++ $(mkinstalldirs) $(DESTDIR)$(sbindir) + @list='$(bin_PROGRAMS)'; for p in $$list; do \ + if test -f $$p; then \ +- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ +- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ ++ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ ++ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ + else :; fi; \ + done + +@@ -226,8 +226,7 @@ + + + help.o: help.c config.h +-sing.o: sing.c config.h libpcap-0.4/pcap.h libpcap-0.4/net/bpf.h \ +- sing.h ipcompat.h misc.h packet.h dev_struct.h ++sing.o: sing.c config.h sing.h ipcompat.h misc.h packet.h dev_struct.h + ip_options.o: ip_options.c config.h ip_options.h ipcompat.h packet.h \ + misc.h + device.o: device.c config.h device.h misc.h packet.h dev_struct.h diff -urN /usr/ports/net/sing/files/patch-aa sing/files/patch-aa --- /usr/ports/net/sing/files/patch-aa Mon Oct 16 04:28:03 2000 +++ sing/files/patch-aa Thu Jan 1 02:00:00 1970 @@ -1,45 +0,0 @@ ---- 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@ - libpcapdir = @libpcapdir@ - --INCLUDES = -I$(includedir) -I$(libpcapdir) -+INCLUDES = -I$(includedir) # -I$(libpcapdir) - - LIBS = @LIBS@ -lpcap - -@@ -108,7 +108,7 @@ - SOURCES = $(sing_SOURCES) - OBJECTS = $(sing_OBJECTS) - --all: libpcap all-redirect -+all: all-redirect - .SUFFIXES: - .SUFFIXES: .S .c .o .s - -@@ -149,11 +149,11 @@ - - install-binPROGRAMS: $(bin_PROGRAMS) - @$(NORMAL_INSTALL) -- $(mkinstalldirs) $(DESTDIR)$(bindir) -+ $(mkinstalldirs) $(DESTDIR)$(sbindir) - @list='$(bin_PROGRAMS)'; for p in $$list; do \ - if test -f $$p; then \ -- echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ -- $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ -+ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ -+ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(sbindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ - else :; fi; \ - done - -@@ -223,8 +223,7 @@ - - - help.o: help.c config.h --sing.o: sing.c config.h libpcap-0.4/pcap.h libpcap-0.4/net/bpf.h \ -- sing.h ipcompat.h misc.h packet.h dev_struct.h -+sing.o: sing.c config.h sing.h ipcompat.h misc.h packet.h dev_struct.h - ip_options.o: ip_options.c config.h ip_options.h ipcompat.h packet.h \ - misc.h - device.o: device.c config.h device.h misc.h packet.h dev_struct.h diff -urN /usr/ports/net/sing/files/patch-ab sing/files/patch-ab --- /usr/ports/net/sing/files/patch-ab Mon Oct 16 04:28:03 2000 +++ sing/files/patch-ab Thu Jan 1 02:00:00 1970 @@ -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 -urN /usr/ports/net/sing/files/patch-configure sing/files/patch-configure --- /usr/ports/net/sing/files/patch-configure Thu Jan 1 02:00:00 1970 +++ sing/files/patch-configure Thu May 3 17:49:47 2001 @@ -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= >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105031430.f43EUcm81304>