From owner-freebsd-ports Fri Jun 1 0:10:11 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 161D237B423 for ; Fri, 1 Jun 2001 00:10:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f517A3J81059; Fri, 1 Jun 2001 00:10:03 -0700 (PDT) (envelope-from gnats) Received: from hamster.kyne.com.au (kyneso.lnk.telstra.net [139.130.137.83]) by hub.freebsd.org (Postfix) with ESMTP id 9EF8C37B423 for ; Fri, 1 Jun 2001 00:02:23 -0700 (PDT) (envelope-from mark@aeris.kyne.com.au) Received: from aeris.kyne.com.au (root@aeris.kyne.com.au [203.38.180.166]) by hamster.kyne.com.au (8.9.3/8.9.3) with ESMTP id QAA31616 for ; Fri, 1 Jun 2001 16:32:21 +0930 Received: (from mark@localhost) by aeris.kyne.com.au (8.11.3/8.11.3) id f5176Sa04944; Fri, 1 Jun 2001 16:36:28 +0930 (CST) (envelope-from mark) Message-Id: <200106010706.f5176Sa04944@aeris.kyne.com.au> Date: Fri, 1 Jun 2001 16:36:28 +0930 (CST) From: mark@kyne.com.au Reply-To: mark@kyne.com.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/27808: New port: www/cgichk: A web site vulnerability scanner Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27808 >Category: ports >Synopsis: New port: www/cgichk: A web site vulnerability scanner >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 01 00:10:02 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Mark Pulford >Release: FreeBSD 4.3-STABLE i386 >Organization: none >Environment: System: FreeBSD aeris.kyne.com.au 4.3-STABLE FreeBSD 4.3-STABLE #0: Fri Jun 1 14:44:38 CST 2001 root@aeris.kyne.com.au:/usr/obj/usr/src/sys/MAIN i386 >Description: cgichk is a security utility which can scan web sites for potential vulnerabilities. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # cgichk # cgichk/Makefile # cgichk/distinfo # cgichk/pkg-message # cgichk/files # cgichk/files/patch-cgichk.h # cgichk/pkg-plist # cgichk/pkg-comment # cgichk/pkg-descr # echo c - cgichk mkdir -p cgichk > /dev/null 2>&1 echo x - cgichk/Makefile sed 's/^X//' >cgichk/Makefile << 'END-of-cgichk/Makefile' X# New ports collection makefile for: cgichk X# Date created: Jun 1, 2001 X# Whom: Mark Pulford X# X# $FreeBSD$ X# X XPORTNAME= cgichk XPORTVERSION= 2.60 XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= ${PORTNAME}_${PORTVERSION} X XMAINTAINER= mark@kyne.com.au X XWRKSRC= ${WRKDIR}/${PORTNAME} XALL_TARGET= cgichk X Xpre-patch: X ${PERL} -pi -e "s/^(CC|CFLAGS).+//g" ${WRKSRC}/Makefile X ${PERL} -pi -e "s@/etc/@${PREFIX}/etc/@g" ${WRKSRC}/cgichk.h X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/cgichk ${PREFIX}/bin X ${INSTALL_DATA} ${WRKSRC}/cgichk.cfg ${PREFIX}/etc/cgichk.cfg.sample X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-cgichk/Makefile echo x - cgichk/distinfo sed 's/^X//' >cgichk/distinfo << 'END-of-cgichk/distinfo' XMD5 (cgichk_2.60.tar.gz) = 7356d93d0f8b19b226f84fc0e91da66f END-of-cgichk/distinfo echo x - cgichk/pkg-message sed 's/^X//' >cgichk/pkg-message << 'END-of-cgichk/pkg-message' XCopy etc/cgichk.cfg.sample to etc/cgichk.cfg before using cgichk END-of-cgichk/pkg-message echo c - cgichk/files mkdir -p cgichk/files > /dev/null 2>&1 echo x - cgichk/files/patch-cgichk.h sed 's/^X//' >cgichk/files/patch-cgichk.h << 'END-of-cgichk/files/patch-cgichk.h' X--- cgichk.h.orig Fri Jun 1 15:58:21 2001 X+++ cgichk.h Fri Jun 1 15:58:53 2001 X@@ -19,11 +19,11 @@ X X #include X #include X+#include X #include X #include X #include X #include X-#include X #include X #include X END-of-cgichk/files/patch-cgichk.h echo x - cgichk/pkg-plist sed 's/^X//' >cgichk/pkg-plist << 'END-of-cgichk/pkg-plist' Xbin/cgichk Xetc/cgichk.cfg.sample END-of-cgichk/pkg-plist echo x - cgichk/pkg-comment sed 's/^X//' >cgichk/pkg-comment << 'END-of-cgichk/pkg-comment' XA web site vulnerability scanner END-of-cgichk/pkg-comment echo x - cgichk/pkg-descr sed 's/^X//' >cgichk/pkg-descr << 'END-of-cgichk/pkg-descr' Xcgichk is a security utility which can scan web sites for potential Xvulnerabilities. END-of-cgichk/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message