From owner-freebsd-ports Sun Nov 10 13:30: 7 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B2F437B401 for ; Sun, 10 Nov 2002 13:30:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 529D243E42 for ; Sun, 10 Nov 2002 13:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAALU2x3033652 for ; Sun, 10 Nov 2002 13:30:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAALU2fu033651; Sun, 10 Nov 2002 13:30:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB54437B401 for ; Sun, 10 Nov 2002 13:26:41 -0800 (PST) Received: from itesec.hsc.fr (itesec.hsc.fr [192.70.106.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58D3B43E3B for ; Sun, 10 Nov 2002 13:26:40 -0800 (PST) (envelope-from ecu@hsc.fr) Received: from silver.hsc.fr (silver.hsc.fr [192.70.106.98]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "silver.hsc.fr", Issuer "HSC CA" (verified OK)) by itesec.hsc.fr (Postfix) with ESMTP id 2FB7E20F3A for ; Sun, 10 Nov 2002 22:26:38 +0100 (CET) Received: by silver.hsc.fr (Postfix, from userid 1000) id 0E8D056F5; Sun, 10 Nov 2002 22:26:34 +0100 (CET) Message-Id: <20021110212634.0E8D056F5@silver.hsc.fr> Date: Sun, 10 Nov 2002 22:26:34 +0100 (CET) From: Nicolas Jombart Reply-To: Nicolas Jombart To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/45197: Update port: net/ipsorc to 1.7.5 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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