aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authortaoka <taoka@FreeBSD.org>1999-03-18 16:53:23 +0800
committertaoka <taoka@FreeBSD.org>1999-03-18 16:53:23 +0800
commit51ae9a7e64e6575a5499b70d8b5293e5ddfa2afc (patch)
treee71efe90a17b52f89eae7418589e7a0878fa78b9 /security
parent281db6c83850339200d6fc7f101cf952beacb082 (diff)
downloadfreebsd-ports-gnome-51ae9a7e64e6575a5499b70d8b5293e5ddfa2afc.tar.gz
freebsd-ports-gnome-51ae9a7e64e6575a5499b70d8b5293e5ddfa2afc.tar.zst
freebsd-ports-gnome-51ae9a7e64e6575a5499b70d8b5293e5ddfa2afc.zip
a simple portscanner
PR: ports/10551 Submitted by: Chris Piazza cpiazza@home.net
Diffstat (limited to 'security')
-rw-r--r--security/gtkportscan/Makefile23
-rw-r--r--security/gtkportscan/distinfo1
-rw-r--r--security/gtkportscan/files/patch-aa30
-rw-r--r--security/gtkportscan/pkg-comment1
-rw-r--r--security/gtkportscan/pkg-descr11
-rw-r--r--security/gtkportscan/pkg-plist2
6 files changed, 68 insertions, 0 deletions
diff --git a/security/gtkportscan/Makefile b/security/gtkportscan/Makefile
new file mode 100644
index 000000000000..a2fc6b9e07f3
--- /dev/null
+++ b/security/gtkportscan/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: gtkportscan
+# Version required: 1.1
+# Date created: 11 March 1999
+# Whom: Chris Piazza <cpiazza@home.net>
+#
+# $Id$
+#
+
+DISTNAME= gtkportscan-1.1
+CATEGORIES= security net
+MASTER_SITES= http://www.calpoly.edu/~rbarrero/
+
+MAINTAINER= cpiazza@home.net
+
+LIB_DEPENDS= gtk12.1:${PORTSDIR}/x11-toolkits/gtk12
+
+WRKSRC= ${WRKDIR}/gtkscan
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/gtkportscan ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/portscan ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/security/gtkportscan/distinfo b/security/gtkportscan/distinfo
new file mode 100644
index 000000000000..82d7c1c30b15
--- /dev/null
+++ b/security/gtkportscan/distinfo
@@ -0,0 +1 @@
+MD5 (gtkportscan-1.1.tar.gz) = d628dcc761713165d7883d6472a09147
diff --git a/security/gtkportscan/files/patch-aa b/security/gtkportscan/files/patch-aa
new file mode 100644
index 000000000000..077a2c39ee91
--- /dev/null
+++ b/security/gtkportscan/files/patch-aa
@@ -0,0 +1,30 @@
+--- Makefile.orig Thu Mar 11 18:58:41 1999
++++ Makefile Thu Mar 18 17:22:45 1999
+@@ -1,21 +1,21 @@
+ CC=gcc
+-GTK_FLAGS=`gtk-config --cflags` `gtk-config --libs`
++GTK_FLAGS=`gtk12-config --cflags` `gtk12-config --libs`
+
+ all: gtkportscan portscan
+
+ portscan: portscan.c
+- $(CC) -O2 -Wall portscan.c -o portscan -g
++ $(CC) -O2 -Wall portscan.c -o portscan -g ${CFLAGS}
+
+ gtkportscan: gtkportscan.c
+- $(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan -g
++ $(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan -g ${CFLAGS}
+
+ install:
+- cp portscan /usr/local/bin
+- cp gtkportscan /usr/X11/bin
++ ${BSD_INSTALL_PROGRAM} portscan /usr/local/bin
++ ${BSD_INSTALL_PROGRAM} gtkportscan /usr/local/bin
+
+ clean:
+ rm -f portscan gtkportscan
+
+ uninstall:
+ rm -f /usr/local/bin/portscan
+- rm -f /usr/X11/bin/gtkportscan
++ rm -f /usr/local/bin/gtkportscan
diff --git a/security/gtkportscan/pkg-comment b/security/gtkportscan/pkg-comment
new file mode 100644
index 000000000000..2a16b652243a
--- /dev/null
+++ b/security/gtkportscan/pkg-comment
@@ -0,0 +1 @@
+A simple port scanner that prints out open ports.
diff --git a/security/gtkportscan/pkg-descr b/security/gtkportscan/pkg-descr
new file mode 100644
index 000000000000..f619b67c3921
--- /dev/null
+++ b/security/gtkportscan/pkg-descr
@@ -0,0 +1,11 @@
+A simple port scanner written in Gtk+. It does simple scanning
+and printing of the open ports on the machine you are scanning.
+Includes a command-line and GUI port scanner.
+
+Homepage:
+http://www.calpoly.edu/~rbarrero/gtkportscan.html
+Author:
+Rafael Barrero, Jr. <rbarrero@polymail.calpoly.edu>
+
+-Chris Piazza
+cpiazza@home.net
diff --git a/security/gtkportscan/pkg-plist b/security/gtkportscan/pkg-plist
new file mode 100644
index 000000000000..ab4e906bfaa0
--- /dev/null
+++ b/security/gtkportscan/pkg-plist
@@ -0,0 +1,2 @@
+bin/gtkportscan
+bin/portscan