summaryrefslogtreecommitdiff
path: root/security/mhash
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-11-08 12:55:21 +0000
committerbjs <bjs@pkgsrc.org>2008-11-08 12:55:21 +0000
commit47da9b30ccd69258d608edced628ed8f33c29ead (patch)
tree8fa6bbe553351d2c1709bcc094bb4dff3813a4e6 /security/mhash
parentff46659398d5dc10a8541dc879b4fd5edbae5859 (diff)
downloadpkgsrc-47da9b30ccd69258d608edced628ed8f33c29ead.tar.gz
Patch out definition of VERSION in mhash_config.h. Code could
rely on this--and *not* define it in installed headers! PKGREVISION++
Diffstat (limited to 'security/mhash')
-rw-r--r--security/mhash/Makefile3
-rw-r--r--security/mhash/distinfo3
-rw-r--r--security/mhash/patches/patch-aa18
3 files changed, 22 insertions, 2 deletions
diff --git a/security/mhash/Makefile b/security/mhash/Makefile
index 838c9561561..cabe9005c3e 100644
--- a/security/mhash/Makefile
+++ b/security/mhash/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2008/07/14 12:56:12 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2008/11/08 12:55:21 bjs Exp $
DISTNAME= mhash-0.9.9
+PKGREVISION= 1
CATEGORIES= security devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mhash/}
EXTRACT_SUFX= .tar.bz2
diff --git a/security/mhash/distinfo b/security/mhash/distinfo
index 6a318708d19..4101ec73b5b 100644
--- a/security/mhash/distinfo
+++ b/security/mhash/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2007/04/30 19:06:47 adam Exp $
+$NetBSD: distinfo,v 1.9 2008/11/08 12:55:21 bjs Exp $
SHA1 (mhash-0.9.9.tar.bz2) = cd72ea80a58bbcc4b1ef96268d03d508ab082529
RMD160 (mhash-0.9.9.tar.bz2) = bd5ced522314ba559d4a04d33f07df8e6aec2887
Size (mhash-0.9.9.tar.bz2) = 634563 bytes
+SHA1 (patch-aa) = be09dcc2072cfa25affb6f4af35e8e684207a818
diff --git a/security/mhash/patches/patch-aa b/security/mhash/patches/patch-aa
new file mode 100644
index 00000000000..84ec7bca687
--- /dev/null
+++ b/security/mhash/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2008/11/08 12:55:21 bjs Exp $
+
+Code could rely on the definition of 'VERSION'--and *not* define
+it in installed headers!
+
+If this patch causes a problem, something is not right.
+
+--- include/mutils/mhash_config.h.in.orig 2007-04-04 22:21:23.000000000 -0400
++++ include/mutils/mhash_config.h.in
+@@ -224,7 +224,7 @@
+ #undef USE_DMALLOC
+
+ /* Version number of package */
+-#undef VERSION
++/* #undef VERSION */
+
+ /* Define if using the dmalloc debugging malloc package */
+ #undef WITH_DMALLOC