Update to version 1.2

This commit is contained in:
Chris Piazza 1999-09-17 17:35:06 +00:00
parent 59cc0ca756
commit 18e85d1a29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=21684
4 changed files with 13 additions and 12 deletions

View file

@ -1,20 +1,20 @@
# New ports collection makefile for: gtkportscan
# Version required: 1.1
# Version required: 1.2
# Date created: 11 March 1999
# Whom: Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#
DISTNAME= gtkportscan-1.1
DISTNAME= gtkportscan-1.2
CATEGORIES= security net
MASTER_SITES= http://www.calpoly.edu/~rbarrero/
MASTER_SITES= http://armageddon.splorg.org/gtkportscan/
MAINTAINER= cpiazza@FreeBSD.org
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
WRKSRC= ${WRKDIR}/gtkscan
WRKSRC= ${WRKDIR}/gtkportscan
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gtkportscan ${PREFIX}/bin

View file

@ -1 +1 @@
MD5 (gtkportscan-1.1.tar.gz) = d628dcc761713165d7883d6472a09147
MD5 (gtkportscan-1.2.tar.gz) = 3de4832a19eaeaec90fe0fe4be65faaf

View file

@ -1,19 +1,20 @@
--- Makefile.orig Thu Mar 11 18:58:41 1999
+++ Makefile Thu Mar 18 17:22:45 1999
--- Makefile.orig Thu Mar 11 01:58:41 1999
+++ Makefile Sun Sep 12 20:59:30 1999
@@ -1,21 +1,21 @@
CC=gcc
-CC=gcc
-GTK_FLAGS=`gtk-config --cflags` `gtk-config --libs`
+CC?=gcc
+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}
+ $(CC) $(CFLAgS) -Wall portscan.c -o portscan ${CFLAGS}
gtkportscan: gtkportscan.c
- $(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan -g
+ $(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan -g ${CFLAGS}
+ $(CC) -Wall $(GTK_FLAGS) gtkportscan.c -o gtkportscan ${CFLAGS}
install:
- cp portscan /usr/local/bin
@ -26,6 +27,6 @@
uninstall:
- rm -f /usr/local/bin/portscan
+ rm -f ${PREFIX}/bin/portscan
- rm -f /usr/X11/bin/gtkportscan
+ rm -f ${PREFIX}/bin/portscan
+ rm -f ${PREFIX}/bin/gtkportscan

View file

@ -2,5 +2,5 @@ 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.
WWW: http://www.calpoly.edu/~rbarrero/gtkportscan.html
WWW: http://armageddon.splorg.org/gtkportscan/
Author: Rafael Barrero, Jr. <rbarrero@polymail.calpoly.edu>