[153797] trunk/dports/devel/libcryptopp
raphael at macports.org
raphael at macports.org
Tue Oct 11 18:09:22 CEST 2016
Revision: 153797
https://trac.macports.org/changeset/153797
Author: raphael at macports.org
Date: 2016-10-11 09:09:22 -0700 (Tue, 11 Oct 2016)
Log Message:
-----------
libcryptopp: update to 5.6.5
Modified Paths:
--------------
trunk/dports/devel/libcryptopp/Portfile
trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff
Removed Paths:
-------------
trunk/dports/devel/libcryptopp/files/patch-config.h.diff
Modified: trunk/dports/devel/libcryptopp/Portfile
===================================================================
--- trunk/dports/devel/libcryptopp/Portfile 2016-10-11 15:28:41 UTC (rev 153796)
+++ trunk/dports/devel/libcryptopp/Portfile 2016-10-11 16:09:22 UTC (rev 153797)
@@ -4,8 +4,7 @@
PortSystem 1.0
name libcryptopp
-version 5.6.4
-revision 1
+version 5.6.5
categories devel security
platforms darwin
maintainers raphael openmaintainer
@@ -20,18 +19,13 @@
${homepage}
distname cryptopp[strsed ${version} {g/\.//}]
-checksums rmd160 09c9ef991f3931e22ab5633c33d890fb0ba9429e \
- sha256 be430377b05c15971d5ccb6e44b4d95470f561024ed6d701fe3da3a188c84ad7
+checksums rmd160 4c13bb99dd205d54598527386e88b0dd436fc524 \
+ sha256 a75ef486fe3128008bbb201efee3dcdcffbe791120952910883b26337ec32c34
use_zip yes
extract.mkdir yes
-patchfiles patch-config.h.diff \
- patch-GNUmakefile.diff
-post-patch {
- # render the asserts inert; fixes CVE-2016-7420 (see <https://groups.google.com/forum/#!topic/cryptopp-users/NhWvEAMKcsU>)
- reinplace "s|assert\[\[:space:\]\]*(|CRYPTOPP_UNUSED(|g" {*}[glob ${worksrcpath}/*.h ${worksrcpath}/*.cpp]
-}
+patchfiles patch-GNUmakefile.diff
use_configure no
Modified: trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff
===================================================================
--- trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff 2016-10-11 15:28:41 UTC (rev 153796)
+++ trunk/dports/devel/libcryptopp/files/patch-GNUmakefile.diff 2016-10-11 16:09:22 UTC (rev 153797)
@@ -1,11 +1,11 @@
---- GNUmakefile.orig 2016-09-12 09:03:56.000000000 +0200
-+++ GNUmakefile 2016-09-12 09:04:44.000000000 +0200
-@@ -644,7 +644,7 @@
+--- GNUmakefile.orig 2016-10-11 01:49:54.000000000 +0200
++++ GNUmakefile 2016-10-11 17:56:50.000000000 +0200
+@@ -638,7 +638,7 @@
endif
libcryptopp.dylib: $(LIBOBJS)
- $(CXX) -dynamiclib -o $@ $(CXXFLAGS) -install_name "$@" -current_version "$(LIB_MAJOR).$(LIB_MINOR).$(LIB_PATCH)" -compatibility_version "$(LIB_MAJOR).$(LIB_MINOR)" -headerpad_max_install_names $(LDFLAGS) $(LIBOBJS)
+ $(CXX) -dynamiclib -o $@ $(CXXFLAGS) -install_name "$(PREFIX)/lib/$@" -current_version "$(LIB_MAJOR).$(LIB_MINOR).$(LIB_PATCH)" -compatibility_version "$(LIB_MAJOR).$(LIB_MINOR)" -headerpad_max_install_names $(LDFLAGS) $(LIBOBJS)
- cryptest.exe: libcryptopp.a $(TESTOBJS) | config_warning
+ cryptest.exe: libcryptopp.a $(TESTOBJS)
$(CXX) -o $@ $(CXXFLAGS) $(TESTOBJS) ./libcryptopp.a $(LDFLAGS) $(LDLIBS)
Deleted: trunk/dports/devel/libcryptopp/files/patch-config.h.diff
===================================================================
--- trunk/dports/devel/libcryptopp/files/patch-config.h.diff 2016-10-11 15:28:41 UTC (rev 153796)
+++ trunk/dports/devel/libcryptopp/files/patch-config.h.diff 2016-10-11 16:09:22 UTC (rev 153797)
@@ -1,29 +0,0 @@
---- config.h.orig 2016-09-19 18:03:02.000000000 +0200
-+++ config.h 2016-09-19 18:04:26.000000000 +0200
-@@ -57,7 +57,7 @@
- // Define this to ensure C/C++ standard compliance and respect for GCC aliasing rules and other alignment fodder. If you
- // experience a break with GCC at -O3, you should try this first. Guard it in case its set on the command line (and it differs).
- #ifndef CRYPTOPP_NO_UNALIGNED_DATA_ACCESS
--// # define CRYPTOPP_NO_UNALIGNED_DATA_ACCESS
-+# define CRYPTOPP_NO_UNALIGNED_DATA_ACCESS
- #endif
-
- // ***************** Less Important Settings ***************
-@@ -127,7 +127,7 @@
- // Under GCC, the library uses init_priority attribute in the range
- // [CRYPTOPP_INIT_PRIORITY, CRYPTOPP_INIT_PRIORITY+100]. Under Windows,
- // CRYPTOPP_INIT_PRIORITY enlists "#pragma init_seg(lib)".
--// #define CRYPTOPP_INIT_PRIORITY 250
-+#define CRYPTOPP_INIT_PRIORITY 250
-
- // CRYPTOPP_USER_PRIORITY is for other libraries and user code that is using Crypto++
- // and managing C++ static object creation. It is guaranteed not to conflict with
-@@ -737,7 +737,7 @@
-
- // Portable way to suppress warnings.
- // Moved from misc.h due to circular depenedencies.
--#define CRYPTOPP_UNUSED(x) ((void)x)
-+#define CRYPTOPP_UNUSED(x) ((void)(x))
-
- // ************** Deprecated ***************
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161011/b1fb696c/attachment-0002.html>
More information about the macports-changes
mailing list