1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
A tool to create and send IP packets with a graphical GTK front-end

PR:		32597
Submitted by:	Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
This commit is contained in:
Ying-Chieh Liao 2001-12-08 20:05:26 +00:00
parent e022cdbdc5
commit 3a887ab7f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51233
8 changed files with 75 additions and 0 deletions

View File

@ -169,6 +169,7 @@
SUBDIR += ipfm
SUBDIR += ipfw-graph
SUBDIR += iplog
SUBDIR += ipsorc
SUBDIR += ipw
SUBDIR += isc-dhcp2
SUBDIR += isc-dhcp3

35
net/ipsorc/Makefile Normal file
View File

@ -0,0 +1,35 @@
# New ports collection makefile for: ipsorc
# Date created: 02 December, 2001
# Whom: Nicolas.Jombart@hsc-labs.com
#
# $FreeBSD$
#
PORTNAME= ipsorc
PORTVERSION= 1.4
CATEGORIES= net security
MASTER_SITES= http://www.legions.org/~phric/
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= Nicolas.Jombart@hsc-labs.com
USE_GTK= yes
post-patch:
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
@${SED} s,gtk-config,${GTK_CONFIG}, < ${WRKSRC}/Makefile.old \
> ${WRKSRC}/Makefile
@${RM} ${WRKSRC}/Makefile.old
do-install:
.for file in ipmagic magic
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

1
net/ipsorc/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ipsorc-1.4.tar.gz) = 1a5472ae897b289ba07953386d26d1b3

15
net/ipsorc/files/patch-aa Normal file
View File

@ -0,0 +1,15 @@
--- spellbook.c Sun Dec 2 09:22:58 2001
+++ ../ipsorc-1.4.patch/spellbook.c Sun Dec 2 13:04:07 2001
@@ -114,10 +114,10 @@
{ type = ICMP_ECHOREPLY; }
else if(strstr(type_name, "Destination Unreachable"))
- { type = ICMP_DEST_UNREACH; }
+ { type = ICMP_UNREACH_PORT; }
else if(strstr(type_name, "Source Quench"))
- { type = ICMP_SOURCE_QUENCH; }
+ { type = ICMP_SOURCEQUENCH; }
else if(strstr(type_name, "Redirect"))
{ type = ICMP_REDIRECT; }

11
net/ipsorc/files/patch-ab Normal file
View File

@ -0,0 +1,11 @@
--- Makefile.orig Sun Dec 2 14:25:31 2001
+++ Makefile Sun Dec 2 14:25:45 2001
@@ -6,6 +6,8 @@
CON = sorcery.c spells.c ipsorcery.c
#OBJS = $(SRC:.c=.o)
+all: con gtk
+
con:
$(CC) -g -O2 -Wall -ansi $(CON) -o ipmagic

1
net/ipsorc/pkg-comment Normal file
View File

@ -0,0 +1 @@
A tool to create and send IP packets with a graphical GTK front-end

8
net/ipsorc/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
IP Sorcery (ajs023@motorola.com) is a program that can generate IP packets
(TCP, UDP, ICMP), with total control to fields, bits and data. It can work
whitin the command line or a graphical frond-end written in GTK.
IP Sorcery is useful to test program, firewalls, routers, etc.
WWW: http://www.legions.org/~phric/ipsorcery.html
--Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>

3
net/ipsorc/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
bin/ipmagic
bin/magic
%%PORTDOCS%%share/doc/ipsorc/README