pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libgcrypt Update to 1.4.0:
details: https://anonhg.NetBSD.org/pkgsrc/rev/a2c1c34370a7
branches: trunk
changeset: 539493:a2c1c34370a7
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Mar 07 16:16:22 2008 +0000
description:
Update to 1.4.0:
Noteworthy changes in version 1.4.0 (2007-12-10)
------------------------------------------------
* New configure option --disable-padlock-support which is mostly
useful in case of build problems.
Noteworthy changes in version 1.3.2 (2007-12-03)
------------------------------------------------
* The visibility attribute is now used if supported by the toolchain.
* The ACE engine of VIA processors is now used for AES-128.
* The ASN.1 DER template for SHA-224 has been fixed.
Noteworthy changes in version 1.3.1 (2007-10-26)
------------------------------------------------
* The entire library is now under the LGPL. The helper programs and
the manual are under the GPL. Kudos to Peter Gutmann for giving
permissions to relicense the rndw32 and rndunix modules.
* The Camellia cipher is now under the LGPL and included by default.
* Fixed a bug in the detection of symbol prefixes which inhibited the
build of optimzied assembler code on certain systems.
* Updated the entropy gatherer for W32.
Noteworthy changes in version 1.3.0 (2007-05-04)
------------------------------------------------
* Changed the way the RNG gets initialized. This allows to keep it
uninitialized as long as no random numbers are used. To override
this, the new macro gcry_fast_random_poll may be used. It is in
general a good idea to spread this macro into the application code
to make sure that these polls happen often enough.
* Made the RNG immune against fork without exec.
* Reading and writing the random seed file is now protected by a
fcntl style file lock on systems that provide this function.
* Support for SHA-224 and HMAC using SHA-384 and SHA-512.
* Support for the SEED cipher.
* Support for the Camellia cipher. Note that Camellia is disabled by
default, and that enabling it changes the license of libgcrypt from
LGPL to GPL.
* Support for OFB encryption mode.
* gcry_mpi_rshift does not anymore truncate the shift count.
* Reserved algorithm ranges for use by applications.
* Support for DSA2.
* The new function gcry_md_debug should be used instead of the
gcry_md_start_debug and gcry_md_stop_debug macros.
* New configure option --enable-random-daemon to support a system
wide random daemon. The daemon code is experimental and not yet
very well working. It will eventually allow to keep a global
random pool for the sake of short living processes.
* Non executable stack support is now used by default on systems
supporting it.
* Support for Microsoft Windows.
* Assembler support for the AMD64 architecture.
* New configure option --enable-mpi-path for optimized builds.
* Experimental support for ECDSA; should only be used for testing.
* New control code GCRYCTL_PRINT_CONFIG to print the build
configuration.
* Minor changes to some function declarations. Buffer arguments are
now typed as void pointer. This should not affect any compilation.
Fixed two bugs in return values and clarified documentation.
* Interface changes relative to the 1.2.0 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcry_fast_random_poll NEW
gcry_md_debug NEW
gcry_sexp_nth_string NEW
GCRY_MD_SHA224 NEW
GCRY_PK_USAGE_CERT NEW
GCRY_PK_USAGE_AUTH NEW
GCRY_PK_USAGE_UNKN NEW
GCRY_PK_ECDSA NEW
GCRY_CIPHER_SEED NEW
GCRY_CIPHER_CAMELLIA128 NEW
GCRY_CIPHER_CAMELLIA192 NEW
GCRY_CIPHER_CAMELLIA256 NEW
GCRYCTL_FAKED_RANDOM_P NEW
GCRYCTL_PRINT_CONFIG NEW
GCRYCTL_SET_RNDEGD_SOCKET NEW.
gcry_mpi_scan CHANGED: Argument BUFFER is now void*.
gcry_pk_algo_name CHANGED: Returns "?" instead of NULL.
gcry_cipher_algo_name CHANGED: Returns "?" instead of "".
gcry_pk_spec_t CHANGED: Element ALIASES is now const ptr.
gcry_md_write_t CHANGED: Argument BUF is now a const void*.
gcry_md_ctl CHANGED: Argument BUFFER is now void*.
gcry_cipher_encrypt CHANGED: Arguments IN and OUT are now void*.
gcry_cipher_decrypt CHANGED: Arguments IN and OUT are now void*.
gcry_sexp_sprint CHANGED: Argument BUFFER is now void*.
gcry_create_nonce CHANGED: Argument BUFFER is now void*.
gcry_randomize CHANGED: Argument BUFFER is now void*.
gcry_cipher_register CHANGED: Argument ALGORITHM_ID is now int*.
diffstat:
security/libgcrypt/Makefile | 6 ++++--
security/libgcrypt/PLIST | 3 ++-
security/libgcrypt/distinfo | 16 ++++++----------
security/libgcrypt/patches/patch-ac | 18 +++++++++---------
security/libgcrypt/patches/patch-ae | 6 +++---
security/libgcrypt/patches/patch-ai | 13 -------------
6 files changed, 24 insertions(+), 38 deletions(-)
diffs (124 lines):
diff -r 63a4cf5c4176 -r a2c1c34370a7 security/libgcrypt/Makefile
--- a/security/libgcrypt/Makefile Fri Mar 07 16:11:39 2008 +0000
+++ b/security/libgcrypt/Makefile Fri Mar 07 16:16:22 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2007/08/29 23:11:37 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2008/03/07 16:16:22 wiz Exp $
-DISTNAME= libgcrypt-1.2.4
+DISTNAME= libgcrypt-1.4.0
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/gcrypt/libgcrypt/ \
http://gd.tuwien.ac.at/privacy/gnupg/libgcrypt/
@@ -20,6 +20,8 @@
TEXINFO_REQD= 4.0
INFO_FILES= yes # PLIST
+#LICENSE= gnu-gpl-v2 gnu-lgpl-v21
+
.include "../../mk/bsd.prefs.mk"
.if empty(MACHINE_PLATFORM:MNetBSD-*-i386) && \
diff -r 63a4cf5c4176 -r a2c1c34370a7 security/libgcrypt/PLIST
--- a/security/libgcrypt/PLIST Fri Mar 07 16:11:39 2008 +0000
+++ b/security/libgcrypt/PLIST Fri Mar 07 16:16:22 2008 +0000
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.8 2006/03/31 23:56:29 jlam Exp $
+@comment $NetBSD: PLIST,v 1.9 2008/03/07 16:16:22 wiz Exp $
+bin/dumpsexp
bin/libgcrypt-config
include/gcrypt-module.h
include/gcrypt.h
diff -r 63a4cf5c4176 -r a2c1c34370a7 security/libgcrypt/distinfo
--- a/security/libgcrypt/distinfo Fri Mar 07 16:11:39 2008 +0000
+++ b/security/libgcrypt/distinfo Fri Mar 07 16:16:22 2008 +0000
@@ -1,16 +1,12 @@
-$NetBSD: distinfo,v 1.21 2007/08/29 23:11:38 wiz Exp $
+$NetBSD: distinfo,v 1.22 2008/03/07 16:16:22 wiz Exp $
-SHA1 (libgcrypt-1.2.4-idea.diff.bz2) = 092458ed8ed3e5fd2230c25b384f05ba99db6d1e
-RMD160 (libgcrypt-1.2.4-idea.diff.bz2) = 199cfb4224b6cebc940f4cfb876deb700e9dc044
-Size (libgcrypt-1.2.4-idea.diff.bz2) = 2924 bytes
-SHA1 (libgcrypt-1.2.4.tar.gz) = d279e7a4464cccf0cc4e29c374a1e8325fc65b9a
-RMD160 (libgcrypt-1.2.4.tar.gz) = 6a5ba284efe48c6963e21d8558a69096aea03d84
-Size (libgcrypt-1.2.4.tar.gz) = 1013625 bytes
+SHA1 (libgcrypt-1.4.0.tar.gz) = 69183b7100b60da8eb1648f49836a611454541bb
+RMD160 (libgcrypt-1.4.0.tar.gz) = e40d171e5dcc9344ae1a0a92fa0ea0013cc305cb
+Size (libgcrypt-1.4.0.tar.gz) = 1204533 bytes
SHA1 (patch-aa) = d8f659e4aac872abb152252731fd29bdaac635e3
SHA1 (patch-ab) = bd713f7cbc6782ced8c2fd2b5541ac52d2a10fbe
-SHA1 (patch-ac) = 7c0db64d351c3bdd8b9763d94714db84f05b0a96
+SHA1 (patch-ac) = e264795e3f0f5bcbcb0979cf8f7b22f6b2ef2438
SHA1 (patch-ad) = f32281612b51c5bb3788cf03c6f5615bdfc0d3e8
-SHA1 (patch-ae) = 7285281151403af32837e24b795959899d6a3bcb
+SHA1 (patch-ae) = 4606cff84fe77c7799081883dd9b3f25d54a5868
SHA1 (patch-af) = f62f9f5b8ebc9e5f3a2570ec609de66e2d77e587
SHA1 (patch-ag) = 104bbbbb20317e9b12a7d2f645f31fa039294b41
-SHA1 (patch-ai) = 95e72bf9ba6980f0509f2bcd8ad4e0a6cf9e7b41
diff -r 63a4cf5c4176 -r a2c1c34370a7 security/libgcrypt/patches/patch-ac
--- a/security/libgcrypt/patches/patch-ac Fri Mar 07 16:11:39 2008 +0000
+++ b/security/libgcrypt/patches/patch-ac Fri Mar 07 16:16:22 2008 +0000
@@ -1,16 +1,16 @@
-$NetBSD: patch-ac,v 1.5 2007/02/03 00:08:51 wiz Exp $
+$NetBSD: patch-ac,v 1.6 2008/03/07 16:16:22 wiz Exp $
---- src/gcrypt.h.orig 2007-02-01 18:43:13.000000000 +0000
+--- src/gcrypt.h.orig 2007-12-10 09:05:46.000000000 +0000
+++ src/gcrypt.h
-@@ -171,6 +171,11 @@ enum gcry_thread_option
- #define _GCRY_PTH_SOCKADDR void
- #define _GCRY_PTH_SOCKLEN_T int
- #define _GCRY_PTH_MSGHDR void
+@@ -171,6 +171,11 @@ gcry_err_code_t gcry_error_from_errno (i
+
+
+ enum gcry_thread_option
+#elif defined(__INTERIX)
+#define _GCRY_PTH_FD_SET fd_set
+#define _GCRY_PTH_SOCKADDR struct sockaddr
+#define _GCRY_PTH_SOCKLEN_T int
+#define _GCRY_PTH_MSGHDR void
- #else
- #define _GCRY_PTH_FD_SET fd_set
- #define _GCRY_PTH_SOCKADDR struct sockaddr
+ {
+ GCRY_THREAD_OPTION_DEFAULT = 0,
+ GCRY_THREAD_OPTION_USER = 1,
diff -r 63a4cf5c4176 -r a2c1c34370a7 security/libgcrypt/patches/patch-ae
--- a/security/libgcrypt/patches/patch-ae Fri Mar 07 16:11:39 2008 +0000
+++ b/security/libgcrypt/patches/patch-ae Fri Mar 07 16:16:22 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.3 2005/10/06 12:20:41 wiz Exp $
+$NetBSD: patch-ae,v 1.4 2008/03/07 16:16:22 wiz Exp $
---- src/ath.h.orig 2005-07-29 15:45:42.000000000 +0200
+--- src/ath.h.orig 2007-02-22 11:15:20.000000000 +0000
+++ src/ath.h
@@ -31,6 +31,12 @@
@@ -16,7 +16,7 @@
/* Define _ATH_EXT_SYM_PREFIX if you want to give all external symbols
a prefix. */
@@ -83,6 +89,14 @@ struct ath_ops
- int (*connect) (int s, void *addr, socklen_t length);
+ int (*connect) (int s, void *addr, int length);
int (*sendmsg) (int s, const void *msg, int flags);
int (*recvmsg) (int s, void *msg, int flags);
+#elif defined(__INTERIX)
diff -r 63a4cf5c4176 -r a2c1c34370a7 security/libgcrypt/patches/patch-ai
--- a/security/libgcrypt/patches/patch-ai Fri Mar 07 16:11:39 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ai,v 1.1 2007/02/03 00:08:51 wiz Exp $
-
---- autogen.sh.orig 2007-02-01 15:45:43.000000000 +0000
-+++ autogen.sh
-@@ -30,7 +30,7 @@ check_version () {
-
- DIE=no
- FORCE=
--if test "$1" == "--force"; then
-+if test "$1" = "--force"; then
- FORCE=" --force"
- shift
- fi
Home |
Main Index |
Thread Index |
Old Index