aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkp <markp@FreeBSD.org>2001-06-08 12:23:40 +0800
committermarkp <markp@FreeBSD.org>2001-06-08 12:23:40 +0800
commitb6ae960c15d2843c5a16eacabe5d124295d84fc7 (patch)
tree93b928943baead114de34fc02761274e4c96d31c
parenta8b83f09eddeea9322228f42d049ca305c7d3643 (diff)
downloadfreebsd-ports-gnome-b6ae960c15d2843c5a16eacabe5d124295d84fc7.tar.gz
freebsd-ports-gnome-b6ae960c15d2843c5a16eacabe5d124295d84fc7.tar.zst
freebsd-ports-gnome-b6ae960c15d2843c5a16eacabe5d124295d84fc7.zip
Add cgichk 2.60, a web site vulnerability scanner.
PR: 27808 Submitted by: Mark Pulford <mark@kyne.com.au> Reviewed by: will
-rw-r--r--www/Makefile1
-rw-r--r--www/cgichk/Makefile33
-rw-r--r--www/cgichk/distinfo1
-rw-r--r--www/cgichk/pkg-comment1
-rw-r--r--www/cgichk/pkg-descr2
-rw-r--r--www/cgichk/pkg-message1
-rw-r--r--www/cgichk/pkg-plist2
7 files changed, 41 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 6e9644dc58c2..46b1f4482058 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -36,6 +36,7 @@
SUBDIR += cgi-lib
SUBDIR += cgic
SUBDIR += cgicc
+ SUBDIR += cgichk
SUBDIR += cgihtml
SUBDIR += cgiparse
SUBDIR += cgiwrap
diff --git a/www/cgichk/Makefile b/www/cgichk/Makefile
new file mode 100644
index 000000000000..906dd5b8dc01
--- /dev/null
+++ b/www/cgichk/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: cgichk
+# Date created: Jun 8, 2001
+# Whom: Mark Pulford <mark@kyne.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cgichk
+PORTVERSION= 2.60
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= markp@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+ALL_TARGET= cgichk
+
+pre-patch:
+ ${PERL} -pi -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile
+ ${PERL} -pi -e "s@/etc/@${PREFIX}/etc/@g; s/#include <getopt.h>//g; \
+ s@^(?=.+sys/socket.h)@#include <sys/types.h>\n@g;" \
+ ${WRKSRC}/cgichk.h
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cgichk ${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/cgichk.cfg ${PREFIX}/etc/cgichk.cfg.sample
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/www/cgichk/distinfo b/www/cgichk/distinfo
new file mode 100644
index 000000000000..e168eae3e988
--- /dev/null
+++ b/www/cgichk/distinfo
@@ -0,0 +1 @@
+MD5 (cgichk_2.60.tar.gz) = 7356d93d0f8b19b226f84fc0e91da66f
diff --git a/www/cgichk/pkg-comment b/www/cgichk/pkg-comment
new file mode 100644
index 000000000000..b4c326a3d16e
--- /dev/null
+++ b/www/cgichk/pkg-comment
@@ -0,0 +1 @@
+A web site vulnerability scanner
diff --git a/www/cgichk/pkg-descr b/www/cgichk/pkg-descr
new file mode 100644
index 000000000000..ca2fd5333344
--- /dev/null
+++ b/www/cgichk/pkg-descr
@@ -0,0 +1,2 @@
+cgichk is a security utility which can scan web sites for potential
+vulnerabilities.
diff --git a/www/cgichk/pkg-message b/www/cgichk/pkg-message
new file mode 100644
index 000000000000..dff4a171d7e9
--- /dev/null
+++ b/www/cgichk/pkg-message
@@ -0,0 +1 @@
+Copy etc/cgichk.cfg.sample to etc/cgichk.cfg before using cgichk
diff --git a/www/cgichk/pkg-plist b/www/cgichk/pkg-plist
new file mode 100644
index 000000000000..8d9bf0993b74
--- /dev/null
+++ b/www/cgichk/pkg-plist
@@ -0,0 +1,2 @@
+bin/cgichk
+etc/cgichk.cfg.sample