1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Update to 3.4.3 release.

PR:		215983
Submitted by:	Yuri Victorovich <yuri@rawbw.com>
This commit is contained in:
Alex Dupre 2017-01-12 09:16:11 +00:00
parent 4f36d0729d
commit 8bda21fcf1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431239
5 changed files with 29 additions and 36 deletions

View File

@ -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 \

View File

@ -1,2 +1,3 @@
SHA256 (cl341.zip) = d3057acbf4bc7d45694d8ec2621ee4027f9303d36cebdfe2af770567ec912c94
SIZE (cl341.zip) = 5704337
TIMESTAMP = 1484210997
SHA256 (cl343.zip) = 08b104442bb5c7281a3299853d5585cc63bd928454dff3150569c02b957427ad
SIZE (cl343.zip) = 5703258

View File

@ -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"

View File

@ -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 */

View File

@ -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