[Midnightbsd-cvs] mports: devel/splint: Update to 3.1.2.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Nov 15 10:21:11 EST 2007
Log Message:
-----------
Update to 3.1.2. Add GPL license.
Modified Files:
--------------
mports/devel/splint:
Makefile (r1.1 -> r1.2)
distinfo (r1.1 -> r1.2)
pkg-plist (r1.1 -> r1.2)
mports/devel/splint/files:
patch-src::Headers::constants.h (r1.1 -> r1.2)
Removed Files:
-------------
mports/devel/splint/files:
patch-src::cpplib.c
-------------- next part --------------
Index: pkg-plist
===================================================================
RCS file: /home/cvs/mports/devel/splint/pkg-plist,v
retrieving revision 1.1
retrieving revision 1.2
diff -L devel/splint/pkg-plist -L devel/splint/pkg-plist -u -r1.1 -r1.2
--- devel/splint/pkg-plist
+++ devel/splint/pkg-plist
@@ -1,55 +1,55 @@
bin/splint
-share/splint/imports/assert.lcl
-share/splint/imports/assert.lcs
-share/splint/imports/ctype.lcl
-share/splint/imports/ctype.lcs
-share/splint/imports/errno.lcl
-share/splint/imports/errno.lcs
-share/splint/imports/limits.lcl
-share/splint/imports/limits.lcs
-share/splint/imports/locale.lcl
-share/splint/imports/locale.lcs
-share/splint/imports/math.lcl
-share/splint/imports/math.lcs
-share/splint/imports/setjmp.lcl
-share/splint/imports/setjmp.lcs
-share/splint/imports/signal.lcl
-share/splint/imports/signal.lcs
-share/splint/imports/stdarg.lcl
-share/splint/imports/stdarg.lcs
-share/splint/imports/stdio.lcl
-share/splint/imports/stdio.lcs
-share/splint/imports/stdlib.lcl
-share/splint/imports/stdlib.lcs
-share/splint/imports/string.lcl
-share/splint/imports/string.lcs
-share/splint/imports/strings.lcl
-share/splint/imports/strings.lcs
-share/splint/imports/time.lcl
-share/splint/imports/time.lcs
-share/splint/lib/CTrait.syms
-share/splint/lib/CTraitGen.lcl
-share/splint/lib/bool.h
-share/splint/lib/file.mts
-share/splint/lib/file.xh
-share/splint/lib/filerw.mts
-share/splint/lib/filerw.xh
-share/splint/lib/lclinit.lci
-share/splint/lib/linux.h
-share/splint/lib/lslinit.lsi
-share/splint/lib/posix.h
-share/splint/lib/posix.lcd
-share/splint/lib/posixstrict.lcd
-share/splint/lib/standard.h
-share/splint/lib/standard.lcd
-share/splint/lib/standardstrict.lcd
-share/splint/lib/stdio.h
-share/splint/lib/stdlib.h
-share/splint/lib/tainted.mts
-share/splint/lib/tainted.xh
-share/splint/lib/unix.h
-share/splint/lib/unix.lcd
-share/splint/lib/unixstrict.lcd
- at dirrm share/splint/lib
- at dirrm share/splint/imports
- at dirrm share/splint
+%%DATADIR%%/imports/assert.lcl
+%%DATADIR%%/imports/assert.lcs
+%%DATADIR%%/imports/ctype.lcl
+%%DATADIR%%/imports/ctype.lcs
+%%DATADIR%%/imports/errno.lcl
+%%DATADIR%%/imports/errno.lcs
+%%DATADIR%%/imports/limits.lcl
+%%DATADIR%%/imports/limits.lcs
+%%DATADIR%%/imports/locale.lcl
+%%DATADIR%%/imports/locale.lcs
+%%DATADIR%%/imports/math.lcl
+%%DATADIR%%/imports/math.lcs
+%%DATADIR%%/imports/setjmp.lcl
+%%DATADIR%%/imports/setjmp.lcs
+%%DATADIR%%/imports/signal.lcl
+%%DATADIR%%/imports/signal.lcs
+%%DATADIR%%/imports/stdarg.lcl
+%%DATADIR%%/imports/stdarg.lcs
+%%DATADIR%%/imports/stdio.lcl
+%%DATADIR%%/imports/stdio.lcs
+%%DATADIR%%/imports/stdlib.lcl
+%%DATADIR%%/imports/stdlib.lcs
+%%DATADIR%%/imports/string.lcl
+%%DATADIR%%/imports/string.lcs
+%%DATADIR%%/imports/strings.lcl
+%%DATADIR%%/imports/strings.lcs
+%%DATADIR%%/imports/time.lcl
+%%DATADIR%%/imports/time.lcs
+%%DATADIR%%/lib/CTrait.syms
+%%DATADIR%%/lib/CTraitGen.lcl
+%%DATADIR%%/lib/bool.h
+%%DATADIR%%/lib/file.mts
+%%DATADIR%%/lib/file.xh
+%%DATADIR%%/lib/filerw.mts
+%%DATADIR%%/lib/filerw.xh
+%%DATADIR%%/lib/lclinit.lci
+%%DATADIR%%/lib/linux.h
+%%DATADIR%%/lib/lslinit.lsi
+%%DATADIR%%/lib/posix.h
+%%DATADIR%%/lib/posix.lcd
+%%DATADIR%%/lib/posixstrict.lcd
+%%DATADIR%%/lib/standard.h
+%%DATADIR%%/lib/standard.lcd
+%%DATADIR%%/lib/standardstrict.lcd
+%%DATADIR%%/lib/stdio.h
+%%DATADIR%%/lib/stdlib.h
+%%DATADIR%%/lib/tainted.mts
+%%DATADIR%%/lib/tainted.xh
+%%DATADIR%%/lib/unix.h
+%%DATADIR%%/lib/unix.lcd
+%%DATADIR%%/lib/unixstrict.lcd
+ at dirrm %%DATADIR%%/lib
+ at dirrm %%DATADIR%%/imports
+ at dirrm %%DATADIR%%
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/devel/splint/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -L devel/splint/Makefile -L devel/splint/Makefile -u -r1.1 -r1.2
--- devel/splint/Makefile
+++ devel/splint/Makefile
@@ -7,14 +7,14 @@
#
PORTNAME= splint
-PORTVERSION= 3.1.1
-PORTREVISION= 2
+PORTVERSION= 3.1.2
CATEGORIES= devel security
MASTER_SITES= http://www.splint.org/downloads/
EXTRACT_SUFX= .src.tgz
MAINTAINER= ports at MidnightBSD.org
COMMENT= A tool for statically checking sourcecode for security vulnerabilities
+LICENSE= gpl2
USE_GMAKE= yes
GNU_CONFIGURE= yes
@@ -26,4 +26,7 @@
@${REINPLACE_CMD} -e \
's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/src/Headers/constants.h
+ ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
+ ${REINPLACE_CMD} -e '/^pkgdatadir =/s|=.*|=${DATADIR}|'
+
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/cvs/mports/devel/splint/distinfo,v
retrieving revision 1.1
retrieving revision 1.2
diff -L devel/splint/distinfo -L devel/splint/distinfo -u -r1.1 -r1.2
--- devel/splint/distinfo
+++ devel/splint/distinfo
@@ -1,3 +1,3 @@
-MD5 (splint-3.1.1.src.tgz) = 91635d98644312302f6f16abe73c2474
-SHA256 (splint-3.1.1.src.tgz) = 410b34890c63468e9ee238ff661d8c6f145c8708b2af303eeb6e7e962e8f54d6
-SIZE (splint-3.1.1.src.tgz) = 2425108
+MD5 (splint-3.1.2.src.tgz) = 25f47d70bd9c8bdddf6b03de5949c4fd
+SHA256 (splint-3.1.2.src.tgz) = c78db643df663313e3fa9d565118391825dd937617819c6efc7966cdf444fb0a
+SIZE (splint-3.1.2.src.tgz) = 2284033
--- devel/splint/files/patch-src::cpplib.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/cpplib.c.orig Fri Jan 9 16:44:23 2004
-+++ src/cpplib.c Fri Jan 9 16:44:51 2004
-@@ -2828,7 +2828,7 @@
- else if (hp->type == T_CONST)
- ok = !CPPOPTIONS (pfile)->done_initializing;
- else {
-- BADBRANCH;
-+ ok = FALSE; /* Redefining anything else is bad. */
- }
-
- /* Print the warning if it's not ok. */
Index: patch-src::Headers::constants.h
===================================================================
RCS file: /home/cvs/mports/devel/splint/files/patch-src::Headers::constants.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -L devel/splint/files/patch-src::Headers::constants.h -L devel/splint/files/patch-src::Headers::constants.h -u -r1.1 -r1.2
--- devel/splint/files/patch-src::Headers::constants.h
+++ devel/splint/files/patch-src::Headers::constants.h
@@ -1,11 +1,11 @@
---- src/Headers/constants.h.orig Wed Oct 30 16:08:45 2002
-+++ src/Headers/constants.h Wed Oct 30 16:09:42 2002
-@@ -97,7 +97,7 @@
- # define PPMRCODE "@@MR@@"
-
+--- src/Headers/constants.h.orig 2004-08-01 03:04:28.000000000 +0800
++++ src/Headers/constants.h 2007-07-25 21:58:56.000000000 +0800
+@@ -101,7 +101,7 @@
+ # define DEFAULT_SYSTEMDIR "/os2/"
+ # else
/*@constant observer char *DEFAULT_SYSTEMDIR; @*/
-# define DEFAULT_SYSTEMDIR "/usr/"
+# define DEFAULT_SYSTEMDIR "/usr/include/:/usr/lib/:%%PREFIX%%/include/:%%PREFIX%%/lib/"
+ # endif
/*@constant char DEFAULT_COMMENTCHAR; @*/
- # define DEFAULT_COMMENTCHAR '@'
More information about the Midnightbsd-cvs
mailing list