ports/139441: [PATCH] security/pscan: Fix problem with site, changed Makefile and patch file. Take maintainership.

Sylvio Cesar scjamorim at bsd.com.br
Thu Oct 8 19:50:02 UTC 2009


>Number:         139441
>Category:       ports
>Synopsis:       [PATCH] security/pscan: Fix problem with site, changed Makefile and patch file. Take maintainership.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 08 19:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD fbsd9i386.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Fri Oct  2 01:38:34 BRT
>Description:
- Changed MASTER_SITES
- Changed pkg-descr
- Rename patch file
- Added pkg-plist in Makefile. Pkg-plist < 6 files

Added file(s):
- files/patch-Makefile

Removed file(s):
- pkg-plist
- files/patch-aa

You can see the log in my tinderbox:

i386
http://www.scjamorim.org/Home/pscan-1.3-6i386.log
http://www.scjamorim.org/Home/pscan-1.3-7i386.log
http://www.scjamorim.org/Home/pscan-1.3-8i386.log
http://www.scjamorim.org/Home/pscan-1.3-9i386.log

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- pscan-1.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/pscan/Makefile,v
retrieving revision 1.6
diff -u -u -r1.6 Makefile
--- Makefile	12 Jul 2003 10:30:32 -0000	1.6
+++ Makefile	8 Oct 2009 19:46:16 -0000
@@ -8,13 +8,17 @@
 PORTNAME=	pscan
 PORTVERSION=	1.3
 CATEGORIES=	security devel
-MASTER_SITES=	http://www.striker.ottawa.on.ca/~aland/pscan/
+MASTER_SITES=	http://deployingradius.com/pscan/
 DISTNAME=	${PORTNAME}
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	scjamorim at bsd.com.br
 COMMENT=	Security C code scanner for misuse of format strings
 
 ALL_TARGET=	#empty
+WRKSRC=		${WRKDIR}
+
+PLIST_FILES=	bin/pscan \
+		bin/find_formats
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/pscan ${PREFIX}/bin
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/pscan/distinfo,v
retrieving revision 1.5
diff -u -u -r1.5 distinfo
--- distinfo	25 Nov 2005 18:01:09 -0000	1.5
+++ distinfo	8 Oct 2009 19:46:16 -0000
@@ -1,3 +1,3 @@
-MD5 (pscan.tar.gz) = 9a83db546f0398d2eb7162b9c3f7cecc
-SHA256 (pscan.tar.gz) = 0f3a9f5b91ddba5363d77734a717f541260b2154c964b9ce63511b3ff50272ee
-SIZE (pscan.tar.gz) = 14555
+MD5 (pscan.tar.gz) = 07083eade2dbd7a9b394189cb2ee400e
+SHA256 (pscan.tar.gz) = 00124fa09150ceffaeed222ffee9959b2dd698336a232567fd536c463441f659
+SIZE (pscan.tar.gz) = 17332
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/security/pscan/pkg-descr,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-descr
--- pkg-descr	3 Sep 2000 00:57:53 -0000	1.1
+++ pkg-descr	8 Oct 2009 19:46:16 -0000
@@ -9,4 +9,4 @@
   variable = "%s";                   /* or malicious user input */
   sprintf(buffer, variable);         /* BAD! */
 
-WWW: http://www.striker.ottawa.on.ca/~aland/pscan/
+WWW: http://deployingradius.com/pscan/
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	22 Sep 2000 23:13:31 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-bin/pscan
-bin/find_formats
Index: files/patch-Makefile
===================================================================
RCS file: files/patch-Makefile
diff -N files/patch-Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile	8 Oct 2009 19:46:16 -0000
@@ -0,0 +1,18 @@
+--- 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 -pipe
++
+ 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
Index: files/patch-aa
===================================================================
RCS file: files/patch-aa
diff -N files/patch-aa
--- files/patch-aa	3 Sep 2000 00:57:53 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
---- 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 -pipe
-+
- 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
--- pscan-1.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list