sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (54ff4ccf83ed00a6760987517a54531a917ed33d)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (54ff4ccf83ed00a6760987517a54531a917ed33d)
- Date: Sat, 5 Nov 2016 17:41:38 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
crypto/cryptopp/BUILD | 3 +--
crypto/cryptopp/DEPENDS | 1 +
crypto/cryptopp/DETAILS | 10 ++++++----
crypto/cryptopp/HISTORY | 9 +++++++++
crypto/cryptopp/INSTALL | 6 ++++++
crypto/cryptopp/PRE_BUILD | 2 +-
crypto/cryptopp/files/libcrypto++.pc.in | 9 +++++++++
7 files changed, 33 insertions(+), 7 deletions(-)
New commits:
commit 54ff4ccf83ed00a6760987517a54531a917ed33d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
cryptopp: => 5.6.5 [security]
diff --git a/crypto/cryptopp/BUILD b/crypto/cryptopp/BUILD
index 38b4c74..c0ab337 100755
--- a/crypto/cryptopp/BUILD
+++ b/crypto/cryptopp/BUILD
@@ -1,2 +1 @@
-#sedit "s:^CXXFLAGS:# CXXFLAGS:" GNUmakefile &&
-make
+make libcryptopp.a libcryptopp.so
diff --git a/crypto/cryptopp/DEPENDS b/crypto/cryptopp/DEPENDS
index f148724..da6d38b 100755
--- a/crypto/cryptopp/DEPENDS
+++ b/crypto/cryptopp/DEPENDS
@@ -1 +1,2 @@
+depends unzip &&
depends -sub CXX gcc
diff --git a/crypto/cryptopp/DETAILS b/crypto/cryptopp/DETAILS
index fd3bf02..fcc0db2 100755
--- a/crypto/cryptopp/DETAILS
+++ b/crypto/cryptopp/DETAILS
@@ -1,13 +1,15 @@
SPELL=cryptopp
- VERSION=564
-
SOURCE_HASH=sha512:d9f0ce92f5f95794b5a43d5ae865bfe7bae555f1565210dd4fd9fa9d44b2f801d947e216042099f7d40dd83e3d385a6346343b05431f05bf04276ba85b7ff63f
+ VERSION=565
+ VERSIONX=`echo ${VERSION} | sed -r "s:([0-9])([0-9]):\1.\2.:"`
+ SECURITY_PATCH=1
+
SOURCE_HASH=sha512:f13718d02ca69b0129aaf9e767c9d2e0333aa7538355f9c63d9eaf1ff369062084a18dc01489439ebf37797b3ea81b01beb072057d47ec962bfb824ddc72abc7
SOURCE=$SPELL$VERSION.zip
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL$VERSION
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL$VERSION"
SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
SOURCE_URL[1]=http://www.cryptopp.com/$SOURCE
LICENSE[0]=BSD
WEB_SITE=http://cryptopp.com
- DOCS="usage.dat"
+ DOCS="Install.txt License.txt Readme.txt"
ENTERED=20040730
KEYWORDS="crypto"
SHORT="C++ class library of cryptographic schemes"
diff --git a/crypto/cryptopp/HISTORY b/crypto/cryptopp/HISTORY
index 000d2b1..a69fa6c 100644
--- a/crypto/cryptopp/HISTORY
+++ b/crypto/cryptopp/HISTORY
@@ -1,3 +1,12 @@
+2016-11-05 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 5.6.5; SECURITY_PATCH=1; quoting paths;
+ updated DOCS
+ * DEPENDS: added unzip
+ * BUILD: build shared library
+ * PRE_BUILD: fixed compilation on modern CPUs
+ * INSTALL: added, for proper installation
+ * files/libcrypto++.pc.in: added, pkg-config manifest
+
2016-09-17 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* DETAILS: version 564
diff --git a/crypto/cryptopp/INSTALL b/crypto/cryptopp/INSTALL
new file mode 100755
index 0000000..6518b6d
--- /dev/null
+++ b/crypto/cryptopp/INSTALL
@@ -0,0 +1,6 @@
+install -vm 755 -d "${INSTALL_ROOT}/usr/include/cryptopp" &&
+install -vm 644 *.h "${INSTALL_ROOT}/usr/include/cryptopp" &&
+
+cp -v -d libcryptopp.* "${INSTALL_ROOT}/usr/lib/" &&
+
+sed "s:%%VERSION%%:${VERSIONX}:"
"${SPELL_DIRECTORY}/files/libcrypto++.pc.in" >
"${INSTALL_ROOT}/usr/lib/pkgconfig/libcrypto++.pc"
diff --git a/crypto/cryptopp/PRE_BUILD b/crypto/cryptopp/PRE_BUILD
index 471a8ec..da8b4ff 100755
--- a/crypto/cryptopp/PRE_BUILD
+++ b/crypto/cryptopp/PRE_BUILD
@@ -3,4 +3,4 @@ cd $SOURCE_DIRECTORY &&
unpack_file &&
-sed -i '/*.so/ d' GNUmakefile
+sedit "s:-march=native::" GNUmakefile
diff --git a/crypto/cryptopp/files/libcrypto++.pc.in
b/crypto/cryptopp/files/libcrypto++.pc.in
new file mode 100644
index 0000000..1eb842f
--- /dev/null
+++ b/crypto/cryptopp/files/libcrypto++.pc.in
@@ -0,0 +1,9 @@
+prefix=/usr
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: libcrypto++-%%VERSION%%
+Description: Class library of cryptographic schemes
+Version: %%VERSION%%
+Libs: -L${libdir} -lcryptopp
+Cflags: -I${includedir}
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (54ff4ccf83ed00a6760987517a54531a917ed33d), Vlad Glagolev, 11/05/2016
Archive powered by MHonArc 2.6.24.