diff options
author | cjs <cjs@pkgsrc.org> | 2002-08-06 01:49:07 +0000 |
---|---|---|
committer | cjs <cjs@pkgsrc.org> | 2002-08-06 01:49:07 +0000 |
commit | 57beeb4962000174a7abcff4cb6fccb24eaa33cd (patch) | |
tree | 9732e9b301efa716199453b8fbd02eea0d65d68e | |
parent | 2bc32823729fe9ad72d589803d948e6c540b2d78 (diff) | |
download | pkgsrc-57beeb4962000174a7abcff4cb6fccb24eaa33cd.tar.gz |
Move pscan from net to security.
-rw-r--r-- | net/Makefile | 3 | ||||
-rw-r--r-- | net/pscan/DESCR | 12 | ||||
-rw-r--r-- | net/pscan/Makefile | 19 | ||||
-rw-r--r-- | net/pscan/PLIST | 3 | ||||
-rw-r--r-- | net/pscan/distinfo | 5 | ||||
-rw-r--r-- | net/pscan/patches/patch-aa | 20 | ||||
-rw-r--r-- | security/Makefile | 3 |
7 files changed, 3 insertions, 62 deletions
diff --git a/net/Makefile b/net/Makefile index 18af8bfb7f9..faf5718fc15 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.327 2002/08/05 08:49:00 cjs Exp $ +# $NetBSD: Makefile,v 1.328 2002/08/06 01:49:07 cjs Exp $ # COMMENT= Networking tools @@ -184,7 +184,6 @@ SUBDIR+= ppp SUBDIR+= ppp-mppe SUBDIR+= pptp SUBDIR+= proftpd -SUBDIR+= pscan SUBDIR+= publicfile SUBDIR+= pureftpd SUBDIR+= pxe diff --git a/net/pscan/DESCR b/net/pscan/DESCR deleted file mode 100644 index 3b180bc5d44..00000000000 --- a/net/pscan/DESCR +++ /dev/null @@ -1,12 +0,0 @@ -PScan is a C source code security scanner, which looks for misuse of -libc functions which use varargs and printf-style formatting -operators. In many situations these can cause security vulnerabilities -in the application if it runs with privileges (setugid, or listening -to a network socket, etc). - -An example of the kind of situation pscan looks for is the following: - - variable = "%s"; /* or malicious user input */ - sprintf(buffer, variable); /* BAD! */ - -WWW: http://www.striker.ottawa.on.ca/~aland/pscan/ diff --git a/net/pscan/Makefile b/net/pscan/Makefile deleted file mode 100644 index e96b4ee756e..00000000000 --- a/net/pscan/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# $NetBSD: Makefile,v 1.1 2002/08/05 08:09:27 cjs Exp $ -# FreeBSD Id: ports/security/pscan/Makefile,v 1.4 2001/08/23 09:07:29 kris Exp - -DISTNAME= pscan -PKGNAME= pscan-1.3 -CATEGORIES= security devel -MASTER_SITES= http://www.striker.ottawa.on.ca/~aland/pscan/ - -MAINTAINER= packages@netbsd.org -HOMEPAGE= http://www.striker.ottawa.on.ca/~aland/pscan/ -COMMENT= Security C code scanner for misuse of format strings - -ALL_TARGET= pscan - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pscan ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/find_formats.sh ${PREFIX}/bin/find_formats - -.include "../../mk/bsd.pkg.mk" diff --git a/net/pscan/PLIST b/net/pscan/PLIST deleted file mode 100644 index fb0f66fdd5f..00000000000 --- a/net/pscan/PLIST +++ /dev/null @@ -1,3 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2002/08/05 08:09:27 cjs Exp $ -bin/pscan -bin/find_formats diff --git a/net/pscan/distinfo b/net/pscan/distinfo deleted file mode 100644 index b6c11ca282e..00000000000 --- a/net/pscan/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -$NetBSD: distinfo,v 1.1 2002/08/05 08:09:27 cjs Exp $ - -SHA1 (pscan.tar.gz) = 7844cabcc1fa014d5d2d192d94565133d60cd51b -Size (pscan.tar.gz) = 14555 bytes -SHA1 (patch-aa) = f9b62f12372392bbe65dd97e441037eceb02c622 diff --git a/net/pscan/patches/patch-aa b/net/pscan/patches/patch-aa deleted file mode 100644 index e84b351fd06..00000000000 --- a/net/pscan/patches/patch-aa +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2002/08/05 08:09:27 cjs Exp $ - ---- Makefile.orig Sat Sep 2 17:47:37 2000 -+++ Makefile Sat Sep 2 17:48:38 2000 -@@ -13,11 +13,14 @@ - #CC=gcc -Wall -g - #LEX=flex - -+CC ?= gcc -+CFLAGS ?= -O -+ - pscan: scanner.yy.o pscan.o - $(CC) scanner.yy.o pscan.o -o pscan - - scanner.yy.o: scanner.yy.c -- $(CC) -c scanner.yy.c -o scanner.yy.o -+ $(CC) $(CFLAGS) -c scanner.yy.c -o scanner.yy.o - - scanner.yy.c: scanner.l - $(LEX) -t scanner.l > scanner.yy.c diff --git a/security/Makefile b/security/Makefile index 90c2f5f74c2..107362dd7eb 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.113 2002/08/06 00:56:37 seb Exp $ +# $NetBSD: Makefile,v 1.114 2002/08/06 01:49:07 cjs Exp $ # COMMENT= Security tools @@ -85,6 +85,7 @@ SUBDIR+= php4-mhash SUBDIR+= pks SUBDIR+= portsentry SUBDIR+= priv +SUBDIR+= pscan SUBDIR+= py-amkCrypto SUBDIR+= py-cryptkit SUBDIR+= py-gnupg |