summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortron <tron>2006-09-28 16:21:46 +0000
committertron <tron>2006-09-28 16:21:46 +0000
commit3319c74dcae1096d745b1f578f53933dddd83e26 (patch)
tree3c0b74ea00a23dbad98224906f14c7d4b87aa54d /security
parentfff8c69481969871acf9a7d7303a0e0d10e45713 (diff)
downloadpkgsrc-3319c74dcae1096d745b1f578f53933dddd83e26.tar.gz
Always use "unsigned int" for a 32 bit unsigned integer which is correct
on all platforms supported by pkgsrc. This should fix LP64 problems reported in PR pkg/19765 by John Heasley.
Diffstat (limited to 'security')
-rw-r--r--security/pgp2/Makefile3
-rw-r--r--security/pgp2/distinfo5
-rw-r--r--security/pgp2/patches/patch-af18
-rw-r--r--security/pgp2/patches/patch-ah16
4 files changed, 35 insertions, 7 deletions
diff --git a/security/pgp2/Makefile b/security/pgp2/Makefile
index 677441644c1..15ad97d2a40 100644
--- a/security/pgp2/Makefile
+++ b/security/pgp2/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.47 2006/03/04 21:30:37 jlam Exp $
+# $NetBSD: Makefile,v 1.48 2006/09/28 16:21:46 tron Exp $
DISTNAME= pgp263is
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.ifi.uio.no/pub/pgp/2.x/src/ \
ftp://ftp.kiarchive.ru/pub/unix/crypto/pgp/
diff --git a/security/pgp2/distinfo b/security/pgp2/distinfo
index fa51678e3f9..8744f0fc462 100644
--- a/security/pgp2/distinfo
+++ b/security/pgp2/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2005/12/08 17:36:56 joerg Exp $
+$NetBSD: distinfo,v 1.6 2006/09/28 16:21:46 tron Exp $
SHA1 (pgp263is.tar.gz) = 031e061ba1d62d7db35f1f854c489867e88f421d
RMD160 (pgp263is.tar.gz) = b1cba2be918cecc8b9062272d43626c8876fa7f4
@@ -8,5 +8,6 @@ SHA1 (patch-ab) = d210fadf6ef45ecce20381174ec1b55615dc3490
SHA1 (patch-ac) = 32e69f1335c3aa7b974dc7fa4100d1f9ebf358ec
SHA1 (patch-ad) = 93f72f3e4f91f478429da8fda4671e171eb167ac
SHA1 (patch-ae) = 307dddd61ef0ee3257a11822fc7bd423c5fd784f
-SHA1 (patch-af) = 33802b9f8d875293ea8e5e58a1e1eafd8cde7afe
+SHA1 (patch-af) = 6f58d2b26a16886947f2e5681a672a7cf9979f42
SHA1 (patch-ag) = 377b17bc3783737c492708de57d6f4259e358a66
+SHA1 (patch-ah) = 15fe0597566ad8bf3123a54d3697e104e85ee425
diff --git a/security/pgp2/patches/patch-af b/security/pgp2/patches/patch-af
index b293f371659..b1fb440a6a3 100644
--- a/security/pgp2/patches/patch-af
+++ b/security/pgp2/patches/patch-af
@@ -1,8 +1,8 @@
-$NetBSD: patch-af,v 1.1 2005/12/01 20:19:57 wiz Exp $
+$NetBSD: patch-af,v 1.2 2006/09/28 16:21:46 tron Exp $
---- usuals.h.orig 1995-09-15 14:18:52.000000000 +0200
-+++ usuals.h
-@@ -3,6 +3,13 @@
+--- usuals.h.orig 1995-09-15 13:18:52.000000000 +0100
++++ usuals.h 2006-09-28 17:16:56.000000000 +0100
+@@ -3,16 +3,19 @@
#ifndef USUALS /* Assures no redefinitions of usual types...*/
#define USUALS
@@ -16,3 +16,13 @@ $NetBSD: patch-af,v 1.1 2005/12/01 20:19:57 wiz Exp $
typedef unsigned char boolean; /* values are TRUE or FALSE */
typedef unsigned char byte; /* values are 0-255 */
typedef byte *byteptr; /* pointer to byte */
+ typedef char *string; /* pointer to ASCII character string */
+ typedef unsigned short word16; /* values are 0-65535 */
+-#ifdef __alpha
+ typedef unsigned int word32; /* values are 0-4294967295 */
+-#else
+-typedef unsigned long word32; /* values are 0-4294967295 */
+-#endif
+
+ #ifndef TRUE
+ #define FALSE 0
diff --git a/security/pgp2/patches/patch-ah b/security/pgp2/patches/patch-ah
new file mode 100644
index 00000000000..e9e77ecc29c
--- /dev/null
+++ b/security/pgp2/patches/patch-ah
@@ -0,0 +1,16 @@
+$NetBSD: patch-ah,v 1.1 2006/09/28 16:21:46 tron Exp $
+
+--- md5.h.orig 1994-08-01 16:12:18.000000000 +0100
++++ md5.h 2006-09-28 17:16:02.000000000 +0100
+@@ -1,11 +1,7 @@
+ #ifndef MD5_H
+ #define MD5_H
+
+-#ifdef __alpha
+ typedef unsigned int uint32;
+-#else
+-typedef unsigned long uint32;
+-#endif
+
+ struct MD5Context {
+ uint32 buf[4];