]> git.pld-linux.org Git - packages/cryptopp.git/commitdiff
- updated to 8.0.0 (fixes CVE-2017-9434 CVE-2016-9939, new soname) auto/th/cryptopp-8.0.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Dec 2018 18:51:28 +0000 (19:51 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Dec 2018 18:51:28 +0000 (19:51 +0100)
- removed outdated opt patch

cryptopp-opt.patch [deleted file]
cryptopp.spec

diff --git a/cryptopp-opt.patch b/cryptopp-opt.patch
deleted file mode 100644 (file)
index 180ce73..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
---- cryptopp-5.6.5/GNUmakefile.orig    2017-10-17 02:56:28.000000000 +0200
-+++ cryptopp-5.6.5/GNUmakefile 2017-12-23 23:15:44.213704213 +0100
-@@ -127,9 +127,9 @@
- # Guard use of -march=native
- ifeq ($(GCC42_OR_LATER)$(IS_NETBSD),10)
--   CXXFLAGS += -march=native
-+   #CXXFLAGS += -march=native
- else ifneq ($(CLANG_COMPILER)$(INTEL_COMPILER),00)
--   CXXFLAGS += -march=native
-+   #CXXFLAGS += -march=native
- else
-   # GCC 3.3 and "unknown option -march="
-   # Ubuntu GCC 4.1 compiler crash with -march=native
index 807c1961410b076c0b722f79422ca52d724b2278..02f525290572ea075b835791ddf76ff55ea96b2e 100644 (file)
@@ -5,15 +5,15 @@
 Summary:       Cryptopp Library - a free C++ class library of cryptographic schemes
 Summary(pl.UTF-8):     Cryptopp - biblioteka klas C++ dostarczająca narzędzia do kryptografii
 Name:          cryptopp
-Version:       5.6.5
-%define         f_ver  %(echo %{version} | tr -d .)
+Version:       8.0.0
+%define        tag_ver %(echo %{version} | tr . _)
 Release:       1
 License:       Boost v1.0 (BSD-like)
 Group:         Libraries
-Source0:       http://downloads.sourceforge.net/cryptopp/%{name}%{f_ver}.zip
-# Source0-md5: 839aa27c70fa70037185ae7be8d8d24d
+#Source0Download: https://github.com/weidai11/cryptopp/releases
+Source0:       https://github.com/weidai11/cryptopp/archive/CRYPTOPP_%{tag_ver}/%{name}-%{tag_ver}.tar.gz
+# Source0-md5: df7f9974d48806e8aaabcabfbfcdbb61
 Source1:       %{name}.pc
-Patch0:                %{name}-opt.patch
 URL:           http://www.cryptopp.com/
 BuildRequires: libstdc++-devel
 BuildRequires: unzip
@@ -52,8 +52,7 @@ Static Cryptopp library.
 Statyczna biblioteka Cryptopp.
 
 %prep
-%setup -q -c
-%patch0 -p1
+%setup -q -n %{name}-CRYPTOPP_%{tag_ver}
 
 %build
 CXXFLAGS="%{rpmcxxflags}" \
@@ -97,7 +96,7 @@ rm -f %{_libdir}/libcryptopp.so.5.6
 %defattr(644,root,root,755)
 %doc License.txt Readme.txt
 %attr(755,root,root) %{_libdir}/libcryptopp.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libcryptopp.so.5.6
+%attr(755,root,root) %ghost %{_libdir}/libcryptopp.so.8
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.12065 seconds and 4 git commands to generate.