- update to libgcrypt-1.4.4

works for pea@ on amd64
This commit is contained in:
ajacoutot 2009-04-14 17:22:05 +00:00
parent 5a4c04ee09
commit 872e7f1c8c
3 changed files with 9 additions and 23 deletions

View File

@ -1,15 +1,14 @@
# $OpenBSD: Makefile,v 1.16 2009/04/10 15:30:49 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.17 2009/04/14 17:22:05 ajacoutot Exp $
COMMENT= crypto library based on code used in GnuPG
DISTNAME= libgcrypt-1.4.3
PKGNAME= ${DISTNAME}p0
DISTNAME= libgcrypt-1.4.4
CATEGORIES= security
SHARED_LIBS= gcrypt 14.0
SHARED_LIBS= gcrypt 15.0 # .16.2
HOMEPAGE= http://www.gnu.org/directory/security/libgcrypt.html
# GPLv2
# GPLv2/LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes

View File

@ -1,5 +1,5 @@
MD5 (libgcrypt-1.4.3.tar.gz) = NmCD4NKlZayGgkXwqECInA==
RMD160 (libgcrypt-1.4.3.tar.gz) = WLDkJvZdHFZvMyQPTTCSTABXxR0=
SHA1 (libgcrypt-1.4.3.tar.gz) = PZ1YNQHOlRWW+n3TZnr9NXrH0FY=
SHA256 (libgcrypt-1.4.3.tar.gz) = GZsIr8ibHB39rrGdxMLd+WPEv2iqEtZoBSAF+fIS/OI=
SIZE (libgcrypt-1.4.3.tar.gz) = 1357080
MD5 (libgcrypt-1.4.4.tar.gz) = nm3Pf+8a6WtXIHod6R/apA==
RMD160 (libgcrypt-1.4.4.tar.gz) = ikz/LiXAPNeol9lwwbvowdweEFQ=
SHA1 (libgcrypt-1.4.4.tar.gz) = bxVlk84IM4VrWVgKfUMNClFTsyQ=
SHA256 (libgcrypt-1.4.4.tar.gz) = fAq2LKe72FS5MSTABgD8Uxnx2uu+ATiF8iw/q2hy83Q=
SIZE (libgcrypt-1.4.4.tar.gz) = 1419876

View File

@ -1,13 +0,0 @@
Fix alignment issue on sparc64.
$OpenBSD: patch-src_hmac256_c,v 1.1 2008/10/26 10:39:27 landry Exp $
--- src/hmac256.c.orig Thu Oct 16 13:51:12 2008
+++ src/hmac256.c Thu Oct 16 13:51:40 2008
@@ -271,7 +271,7 @@ finalize (hmac256_context_t hd)
/* Store the digest into hd->buf. */
p = hd->buf;
#ifdef WORDS_BIGENDIAN
-#define X(a) do { *(u32*)p = hd->h##a ; p += 4; } while(0)
+#define X(a) do { memcpy(p, &hd->h##a, sizeof(u32)); p += 4; } while(0)
#else /* little endian */
#define X(a) do { *p++ = hd->h##a >> 24; *p++ = hd->h##a >> 16; \
*p++ = hd->h##a >> 8; *p++ = hd->h##a; } while(0)