pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel Add a distribution patch (by Thomas Dickey) cont...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7d11ab7fccf1
branches: trunk
changeset: 536331:7d11ab7fccf1
user: bjs <bjs%pkgsrc.org@localhost>
date: Tue Dec 11 05:27:05 2007 +0000
description:
Add a distribution patch (by Thomas Dickey) containing Coverity fixes.
Bump revisions of both ncurses and ncursesw packages.
fixes based on Coverity report:
------------------------------
- remove dead code in test/bs.c
- remove dead code in test/demo_defkey.c
- remove an unused assignment in progs/infocmp.c
- fix a limit check in tack/ansi.c tools_charset()
- fix tack/ansi.c tools_status() to perform the VT320/VT420
tests in request_cfss(). The function had exited too soon.
- fix a memory leak in tic.c's make_namelist()
- fix a couple of places in tack/output.c which did not check for
EOF.
- fix a loop-condition in test/bs.c
- add index checks in lib_color.c for color palettes
- add index checks in progs/dump_entry.c for version_filter()
handling of V_BSD case.
- fix a possible null-pointer dereference in copywin()
- fix a possible null-pointer dereference in waddchnstr()
- add a null-pointer check in _nc_expand_try()
- add a null-pointer check in tic.c's make_namelist()
- add a null-pointer check in _nc_expand_try()
- add null-pointer checks in test/cardfile.c
- fix a double-free in ncurses/tinfo/trim_sgr0.c
- fix a double-free in ncurses/base/wresize.c
- add try/catch block to c++/cursesmain.cc
other fixes prompted by inspection for Coverity report:
------------------------------------------------------
- modify ifdef's for c++ binding to use try/catch/throw statements
- add a null-pointer check in tack/ansi.c request_cfss()
- fix a memory leak in ncurses/base/wresize.c
- corrected check for valid memu/meml capabilities in
progs/dump_entry.c when handling V_HPUX case.
diffstat:
devel/ncurses/Makefile | 4 ++--
devel/ncurses/Makefile.common | 6 +++++-
devel/ncurses/distinfo | 5 ++++-
devel/ncursesw/Makefile | 4 ++--
4 files changed, 13 insertions(+), 6 deletions(-)
diffs (61 lines):
diff -r f9e3c4d9458f -r 7d11ab7fccf1 devel/ncurses/Makefile
--- a/devel/ncurses/Makefile Tue Dec 11 02:28:18 2007 +0000
+++ b/devel/ncurses/Makefile Tue Dec 11 05:27:05 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.80 2007/09/25 10:07:05 hira Exp $
+# $NetBSD: Makefile,v 1.81 2007/12/11 05:27:05 bjs Exp $
.include "Makefile.common"
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= CRT screen handling and optimization package
diff -r f9e3c4d9458f -r 7d11ab7fccf1 devel/ncurses/Makefile.common
--- a/devel/ncurses/Makefile.common Tue Dec 11 02:28:18 2007 +0000
+++ b/devel/ncurses/Makefile.common Tue Dec 11 05:27:05 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2007/07/02 02:08:20 tnn Exp $
+# $NetBSD: Makefile.common,v 1.7 2007/12/11 05:27:05 bjs Exp $
DISTNAME= ncurses-${NC_VERS}
NC_VERS= 5.6
@@ -7,6 +7,10 @@
ftp://dickey.his.com/ncurses/ \
ftp://dickey.his.com/ncurses/${NC_VERS}/
+PATCH_SITES= ${MASTER_SITES:M*${NC_VERS}*}
+PATCHFILES= ${DISTNAME}-coverity.patch.gz
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= http://dickey.his.com/ncurses/ncurses.html
diff -r f9e3c4d9458f -r 7d11ab7fccf1 devel/ncurses/distinfo
--- a/devel/ncurses/distinfo Tue Dec 11 02:28:18 2007 +0000
+++ b/devel/ncurses/distinfo Tue Dec 11 05:27:05 2007 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.15 2007/01/08 11:01:05 adam Exp $
+$NetBSD: distinfo,v 1.16 2007/12/11 05:27:05 bjs Exp $
+SHA1 (ncurses-5.6-coverity.patch.gz) = fee27bdd55c1c316248643e168865b55235d79c7
+RMD160 (ncurses-5.6-coverity.patch.gz) = b11682ae9e043be8d6c50f040d8531f80fc26ce8
+Size (ncurses-5.6-coverity.patch.gz) = 6196 bytes
SHA1 (ncurses-5.6.tar.gz) = 4d54d8ad0b90fffa2780a0a45edb6fcb027ef18d
RMD160 (ncurses-5.6.tar.gz) = 1a878819c43e6426500fd74ccedf0a032ef399d8
Size (ncurses-5.6.tar.gz) = 2402592 bytes
diff -r f9e3c4d9458f -r 7d11ab7fccf1 devel/ncursesw/Makefile
--- a/devel/ncursesw/Makefile Tue Dec 11 02:28:18 2007 +0000
+++ b/devel/ncursesw/Makefile Tue Dec 11 05:27:05 2007 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2007/10/30 05:33:07 bjs Exp $
+# $NetBSD: Makefile,v 1.4 2007/12/11 05:27:05 bjs Exp $
.include "../../devel/ncurses/Makefile.common"
PKGNAME= ${DISTNAME:S/ncurses/ncursesw/}
-PKGREVISION= 1
+PKGREVISION= 2
COMMENT= Wide character CRT screen handling and optimization package
PATCHDIR= ${.CURDIR}/../../devel/ncurses/patches
Home |
Main Index |
Thread Index |
Old Index