diff options
author | James E. Housley <jeh@FreeBSD.org> | 2000-10-16 02:28:03 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2000-10-16 02:28:03 +0000 |
commit | 596452271cd954e9a495fddf9566e52bb017b747 (patch) | |
tree | 6a0c4faaddf8483ec871aadc05c0a4efd2dc06af /net-mgmt/sing | |
parent | a2d509b35965d2158421e3ed3b73e196b74f42d6 (diff) | |
download | ports-596452271cd954e9a495fddf9566e52bb017b747.tar.gz ports-596452271cd954e9a495fddf9566e52bb017b747.zip |
Add new port net/sing v1.0
Tool for sending customized ICMP packets
PR: 21776
Submitted by: Roman Shterenzon <roman@xpert.com>
Notes
Notes:
svn path=/head/; revision=33877
Diffstat (limited to 'net-mgmt/sing')
-rw-r--r-- | net-mgmt/sing/Makefile | 24 | ||||
-rw-r--r-- | net-mgmt/sing/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/sing/files/patch-aa | 45 | ||||
-rw-r--r-- | net-mgmt/sing/files/patch-ab | 13 | ||||
-rw-r--r-- | net-mgmt/sing/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/sing/pkg-descr | 20 | ||||
-rw-r--r-- | net-mgmt/sing/pkg-plist | 1 |
7 files changed, 105 insertions, 0 deletions
diff --git a/net-mgmt/sing/Makefile b/net-mgmt/sing/Makefile new file mode 100644 index 000000000000..051d68ebf840 --- /dev/null +++ b/net-mgmt/sing/Makefile @@ -0,0 +1,24 @@ +# Ports collection makefile for: sing +# Date created: Oct 6 2000 +# Whom: Roman Shterenzon <roman@xpert.com> +# +# $FreeBSD$ +# + +PORTNAME= sing +PORTVERSION= 1.0 +CATEGORIES= net security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= SING-${PORTVERSION} +EXTRACT_SUFX= .tgz + +MAINTAINER= roman@xpert.com + +GNU_CONFIGURE= yes +MAN8= sing.8 + +post-extract: + @${RM} -rf ${WRKSRC}/libpcap* + +.include <bsd.port.mk> diff --git a/net-mgmt/sing/distinfo b/net-mgmt/sing/distinfo new file mode 100644 index 000000000000..e9dbbf324f85 --- /dev/null +++ b/net-mgmt/sing/distinfo @@ -0,0 +1 @@ +MD5 (SING-1.0.tgz) = 0e478a271068eefc6e26e45d236e7694 diff --git a/net-mgmt/sing/files/patch-aa b/net-mgmt/sing/files/patch-aa new file mode 100644 index 000000000000..40c157d9c527 --- /dev/null +++ b/net-mgmt/sing/files/patch-aa @@ -0,0 +1,45 @@ +--- 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 --git a/net-mgmt/sing/files/patch-ab b/net-mgmt/sing/files/patch-ab new file mode 100644 index 000000000000..2934e7389816 --- /dev/null +++ b/net-mgmt/sing/files/patch-ab @@ -0,0 +1,13 @@ +--- 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-mgmt/sing/pkg-comment b/net-mgmt/sing/pkg-comment new file mode 100644 index 000000000000..0d8947d23727 --- /dev/null +++ b/net-mgmt/sing/pkg-comment @@ -0,0 +1 @@ +Tool for sending customized ICMP packets diff --git a/net-mgmt/sing/pkg-descr b/net-mgmt/sing/pkg-descr new file mode 100644 index 000000000000..d53357cb5ff9 --- /dev/null +++ b/net-mgmt/sing/pkg-descr @@ -0,0 +1,20 @@ +Sing is a little tool that sends ICMP packets fully customized from command +line. The main purpose is to replace/complement the niceful ping command +with certain enhancements as: + + - Send fragmented packets (Linux and BSD). + - Send monster packets > 65534 (Linux and BSD). + - Send/read spoofed packets. + - Send many ICMP Information types in addition to the ECHO REQUEST type sent + by default as Address Mask Request, Timestamp, Information Request, Router + Solicitation and Router Advertisement. + - Send many ICMP error types: Redirect, Source Quench, Time Exceeded, + Destination Unreach and Parameter Problem. + - Send to host with Loose or Strict Source Routing. + - Use little fingerprinting techniques to discover Windows or Solaris boxes. + - Send ICMP packets emulating certain OS: Cisco, Solaris, Linux, Shiva, + Unix and Windows at the moment. + +WWW: http://sourceforge.net/projects/sing/ + +--Roman <roman@xpert.com> diff --git a/net-mgmt/sing/pkg-plist b/net-mgmt/sing/pkg-plist new file mode 100644 index 000000000000..8c8ba8603195 --- /dev/null +++ b/net-mgmt/sing/pkg-plist @@ -0,0 +1 @@ +sbin/sing |