Date: Sun, 10 Nov 2002 22:26:34 +0100 (CET) From: Nicolas Jombart <Nicolas.Jombart@hsc-labs.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45197: Update port: net/ipsorc to 1.7.5 Message-ID: <20021110212634.0E8D056F5@silver.hsc.fr>
next in thread | raw e-mail | index | archive | help
>Number: 45197 >Category: ports >Synopsis: Update port: net/ipsorc to 1.7.5 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Nov 10 13:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Nicolas Jombart >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD silver.hsc.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Fri Aug 16 16:29:38 CEST 2002 ecu@silver.hsc.fr:/usr/obj/usr/src/sys/SILVER i386 >Description: Finally upgrade net/ipsorc to 1.7.5 . Upgrade . Change MASTER_SITES . Fix Makefile tabs . Make use of bz2 Committer: files/patch-ab added (fix socket(2) parameters) >How-To-Repeat: >Fix: --- ipsorc.diff begins here --- diff -ruN /usr/ports/net/ipsorc/Makefile ipsorc/Makefile --- /usr/ports/net/ipsorc/Makefile Wed Sep 4 09:17:15 2002 +++ ipsorc/Makefile Sun Nov 10 21:34:44 2002 @@ -5,16 +5,17 @@ # $FreeBSD: ports/net/ipsorc/Makefile,v 1.6 2002/09/03 01:06:24 lioux Exp $ # -PORTNAME= ipsorc -PORTVERSION= 1.6 -CATEGORIES= net security -MASTER_SITES= http://www.legions.org/~phric/ -MASTER_SITE_SUBDIR= ${PORTNAME} +PORTNAME= ipsorc +PORTVERSION= 1.7.5 +CATEGORIES= net security +MASTER_SITES= http://www.informony.com/ipsorc/ +#MASTER_SITE_SUBDIR= ${PORTNAME} -MAINTAINER= Nicolas.Jombart@hsc-labs.com +MAINTAINER= Nicolas.Jombart@hsc-labs.com USE_GNOMENG= yes USE_GNOME= gtk12 +USE_BZIP2= yes post-patch: @${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old @@ -28,7 +29,7 @@ .endfor .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} -.for i in README +.for i in README HOWTO ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif diff -ruN /usr/ports/net/ipsorc/distinfo ipsorc/distinfo --- /usr/ports/net/ipsorc/distinfo Tue May 7 22:18:03 2002 +++ ipsorc/distinfo Sun Nov 10 21:02:16 2002 @@ -1 +1 @@ -MD5 (ipsorc-1.6.tar.gz) = 9a5470ee8a9e1e2b3e01ad0b5f7cd07b +MD5 (ipsorc-1.7.5.tar.bz2) = 2178f7e286cb3d0f5ec2794fd819e379 diff -ruN /usr/ports/net/ipsorc/files/patch-aa ipsorc/files/patch-aa --- /usr/ports/net/ipsorc/files/patch-aa Mon Apr 1 19:20:17 2002 +++ ipsorc/files/patch-aa Sun Nov 10 21:09:21 2002 @@ -1,31 +1,28 @@ ---- Makefile.orig Fri Mar 29 16:12:20 2002 -+++ Makefile Mon Apr 1 12:15:29 2002 +--- Makefile.orig Sun Nov 10 19:38:17 2002 ++++ Makefile Sun Nov 10 21:08:50 2002 @@ -1,6 +1,5 @@ - ## Makefile for IPMagic ## + ## Makefile for IP Sorcery ## -CC = cc SPELL = magic SRC = ipmagic.c spellbook.c cauldron.c spells.c tcp.c icmp.c udp.c - CON = sorcery.c spells.c ipsorcery.c icmp.c -@@ -9,16 +8,18 @@ - default: - @echo "Usage: make[gtk|con] then make [gtk-install|con-install]" + CON = sorcery.c spells.c route.c ip.c tcp.c udp.c ipsorcery.c icmp.c +@@ -12,15 +11,15 @@ + all: con gtk -+all: con gtk -+ con: -- $(CC) -g -O2 -Wall -ansi -D_CON_ $(CON) -o ipmagic -+ $(CC) $(CFLAGS) -Wall -ansi -D_CON_ $(CON) -o ipmagic +- $(CC) -g -O2 -Wall -ansi -D_VERSION_=\"1.7.5\" -D_CON_ $(CON) -o ipmagic ++ $(CC) $(CFLAGS) -Wall -ansi -D_VERSION_=\"1.7.5\" -D_CON_ $(CON) -o ipmagic gtk: - $(CC) -g -O2 -Wall -ansi -D_GTK_ $(SRC) -o $(SPELL) `gtk-config --cflags --libs` -+ $(CC) $(CFLAGS) -Wall -ansi -D_GTK_ $(SRC) -o $(SPELL) `/usr/X11R6/bin/gtk12-config --cflags --libs` ++ $(CC) $(CFLAGS) -Wall -ansi -D_GTK_ $(SRC) -o $(SPELL) `$(GTK_CONFIG) --cflags --libs` solaris: -- $(CC) -g -O2 -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl -+ $(CC) $(CFLAGS) -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl +- $(CC) -g -O2 -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl ++ $(CC) $(CFLAGS) -Wall -ansi -D_CON_ $(CON) -o $(SPELL) -lsocket -lnsl install: con-install diff -ruN /usr/ports/net/ipsorc/files/patch-ab ipsorc/files/patch-ab --- /usr/ports/net/ipsorc/files/patch-ab Thu Jan 1 01:00:00 1970 +++ ipsorc/files/patch-ab Sun Nov 10 21:14:26 2002 @@ -0,0 +1,11 @@ +--- sorcery.c.orig Sun Nov 10 21:13:36 2002 ++++ sorcery.c Sun Nov 10 21:14:18 2002 +@@ -152,7 +152,7 @@ + if(exi.READ_IT) { + + /* open second socket for snooping them packets */ +- if((snoop = socket(PF_PACKET, SOCK_PACKET, ETH_P_ALL)) == -1) ++ if((snoop = socket(PF_INET, SOCK_RAW, 0)) == -1) + { + perror("snoop socket"); + exit(snoop); diff -ruN /usr/ports/net/ipsorc/pkg-plist ipsorc/pkg-plist --- /usr/ports/net/ipsorc/pkg-plist Sat Dec 8 21:28:34 2001 +++ ipsorc/pkg-plist Sun Nov 10 21:26:50 2002 @@ -1,4 +1,5 @@ bin/ipmagic bin/magic %%PORTDOCS%%share/doc/ipsorc/README +%%PORTDOCS%%share/doc/ipsorc/HOWTO %%PORTDOCS%%@dirrm share/doc/ipsorc --- ipsorc.diff ends here --- >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?20021110212634.0E8D056F5>