diff options
author | Alex Dupre <ale@FreeBSD.org> | 2017-01-12 09:16:11 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2017-01-12 09:16:11 +0000 |
commit | 8bda21fcf132746288a5e7ec2040a9c98c94c252 (patch) | |
tree | eb48037de7c652bd783b9f344ae9835c6c9aff11 /security/cryptlib | |
parent | - Fix LICENSE (diff) |
Update to 3.4.3 release.
PR: 215983
Submitted by: Yuri Victorovich <yuri@rawbw.com>
Notes
Notes:
svn path=/head/; revision=431239
Diffstat (limited to 'security/cryptlib')
-rw-r--r-- | security/cryptlib/Makefile | 3 | ||||
-rw-r--r-- | security/cryptlib/distinfo | 5 | ||||
-rw-r--r-- | security/cryptlib/files/patch-makefile | 22 | ||||
-rw-r--r-- | security/cryptlib/files/patch-misc_config.h | 10 | ||||
-rw-r--r-- | security/cryptlib/files/patch-misc_os_spec.h | 25 |
5 files changed, 29 insertions, 36 deletions
diff --git a/security/cryptlib/Makefile b/security/cryptlib/Makefile index 14ca85711ab6..a2b223253098 100644 --- a/security/cryptlib/Makefile +++ b/security/cryptlib/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= cryptlib -PORTVERSION= 3.4.1 +PORTVERSION= 3.4.3 CATEGORIES= security MASTER_SITES= ftp://ftp.franken.de/pub/crypt/cryptlib/ DISTNAME= cl${PORTVERSION:S/.//g} @@ -21,6 +21,7 @@ MAKEFILE= makefile ALL_TARGET= default FreeBSD shared USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes +CFLAGS+= -DUSE_PKCS11 PLIST_FILES= include/cryptlib.h \ lib/libcl.a lib/libcl.so \ diff --git a/security/cryptlib/distinfo b/security/cryptlib/distinfo index 1575e92b128d..86cae6841b04 100644 --- a/security/cryptlib/distinfo +++ b/security/cryptlib/distinfo @@ -1,2 +1,3 @@ -SHA256 (cl341.zip) = d3057acbf4bc7d45694d8ec2621ee4027f9303d36cebdfe2af770567ec912c94 -SIZE (cl341.zip) = 5704337 +TIMESTAMP = 1484210997 +SHA256 (cl343.zip) = 08b104442bb5c7281a3299853d5585cc63bd928454dff3150569c02b957427ad +SIZE (cl343.zip) = 5703258 diff --git a/security/cryptlib/files/patch-makefile b/security/cryptlib/files/patch-makefile index 7d43b72fadc0..ed4afc3aa397 100644 --- a/security/cryptlib/files/patch-makefile +++ b/security/cryptlib/files/patch-makefile @@ -1,11 +1,11 @@ ---- makefile.orig 2010-11-19 04:08:54.000000000 +0100 -+++ makefile 2011-03-04 15:30:09.000000000 +0100 -@@ -1651,7 +1651,7 @@ FreeBSD: - @if uname -m | grep "i[3,4,5,6]86" > /dev/null; then \ - ./tools/buildasm.sh $(AS) $(OBJPATH) ; \ - make $(DEFINES) EXTRAOBJS="$(ASMOBJS)" CFLAGS="$(CFLAGS) -DUSE_ASM \ -- -fomit-frame-pointer -pthread" ; \ -+ %%CFLAGS%%" ; \ - else \ - make $(DEFINES) CFLAGS="$(CFLAGS) -fomit-frame-pointer -pthread" ; \ - fi +--- makefile.orig 2016-03-25 04:33:28.000000000 +0100 ++++ makefile 2017-01-12 10:10:40.481484000 +0100 +@@ -1626,7 +1626,7 @@ + @make $(DEFINES) CFLAGS="$(CFLAGS) -DUSE_ASM -fomit-frame-pointer -O3" + + FreeBSD: +- make $(DEFINES) CFLAGS="$(CFLAGS) -fomit-frame-pointer -pthread" ++ make $(DEFINES) CFLAGS="$(CFLAGS) %%CFLAGS%%" + + NetBSD: + make $(DEFINES) CFLAGS="$(CFLAGS) -fomit-frame-pointer -pthread" diff --git a/security/cryptlib/files/patch-misc_config.h b/security/cryptlib/files/patch-misc_config.h deleted file mode 100644 index c933a4244052..000000000000 --- a/security/cryptlib/files/patch-misc_config.h +++ /dev/null @@ -1,10 +0,0 @@ ---- misc/config.h.orig 2011-08-14 01:40:52.000000000 +0200 -+++ misc/config.h 2012-01-10 12:45:17.000000000 +0100 -@@ -280,6 +280,7 @@ - - /* General device usage */ - -+#define USE_PKCS11 - #if defined( USE_PKCS11 ) || defined( USE_CRYPTOAPI ) - #define USE_DEVICES - #endif /* Device types */ diff --git a/security/cryptlib/files/patch-misc_os_spec.h b/security/cryptlib/files/patch-misc_os_spec.h index 6ec00a5663ca..8d229ccc8a28 100644 --- a/security/cryptlib/files/patch-misc_os_spec.h +++ b/security/cryptlib/files/patch-misc_os_spec.h @@ -1,22 +1,23 @@ ---- misc/os_spec.h.orig 2011-08-02 23:52:50.000000000 +0000 -+++ misc/os_spec.h 2015-02-19 11:32:33.126607217 +0000 -@@ -606,9 +606,7 @@ - support for the change was added in gcc 4.4, so any newer version with - ARM_EABI defined will have a scalar va_list */ +--- misc/os_spec.h.orig 2016-03-25 02:49:10.000000000 +0100 ++++ misc/os_spec.h 2017-01-12 10:03:32.170180000 +0100 +@@ -761,9 +761,8 @@ + variants, this presumably extends to SH5 as well so we treat va_lists on + Super-H as scalars */ --#if defined( __GNUC__ ) && \ -- ( ( __GNUC__ == 4 && __GNUC_MINOR__ >= 4 ) || ( __GNUC__ > 4 ) ) && \ -- defined( __ARM_EABI__ ) -+#if defined( __ARM_EABI__ ) +-#if defined( __GNUC__ ) +- #if( defined( __ARM_EABI__ ) && \ +- ( __GNUC__ == 4 && __GNUC_MINOR__ >= 4 ) || ( __GNUC__ > 4 ) ) ++#if 1 ++ #if defined( __ARM_EABI__ ) /* In theory we could check __ap but in practice it's too risky to rely on the type and state of hidden internal fields, and in any case it's only a sanity check, not a hard requirement, so we just no-op the -@@ -666,7 +664,7 @@ +@@ -839,7 +838,7 @@ #if defined( __WINDOWS__ ) || \ ( defined( __UNIX__ ) && \ - ( ( defined( sun ) && OSVERSION > 4 ) || defined( __linux__ ) || \ + ( ( defined( sun ) && OSVERSION > 4 ) || defined( __linux__ ) || defined(__FreeBSD__) || \ - defined( _AIX ) || ( defined( __APPLE__ ) && !defined( __MAC__ ) ) ) ) + defined( _AIX ) || ( defined( __APPLE__ ) && !defined( __MAC__ ) ) ) ) || \ + defined( __ANDROID__ ) #define DYNAMIC_LOAD - |