|
|
0841eb1 |
Name: cryptopp
|
|
|
fcd5b6b |
Version: 5.6.3
|
|
|
0ea020f |
Release: 5%{?dist}
|
|
|
07ddf35 |
Summary: C++ class library of cryptographic schemes
|
|
|
07ddf35 |
License: Boost
|
|
|
0841eb1 |
Group: System Environment/Libraries
|
|
|
0841eb1 |
URL: http://www.cryptopp.com/
|
|
|
bf814d4 |
Source0: http://www.cryptopp.com/cryptopp563.zip
|
|
|
62c3039 |
Source1: cryptopp.pc
|
|
|
07ddf35 |
Patch0: cryptopp-autotools.patch
|
|
|
9a12c8d |
# Debian patch installs TestVectors and TestData in /usr/share/cryptopp/
|
|
|
9a12c8d |
# http://groups.google.com/group/cryptopp-users/browse_thread/thread/6fe2192340f07e5d
|
|
|
a7df5ae |
Patch1: cryptopp-data-files-location.patch
|
|
|
9790768 |
Patch2: cryptopp-fix_the_Rijndael_timing_attack_counter_measure.patch
|
|
|
9790768 |
Patch3: cryptopp-improve_constant_propagation.patch
|
|
|
0841eb1 |
BuildRequires: doxygen, autoconf, libtool
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%description
|
|
|
aff87fe |
Crypto++ Library is a free C++ class library of cryptographic schemes.
|
|
|
0841eb1 |
See http://www.cryptopp.com/ for a list of supported algorithms.
|
|
|
0841eb1 |
|
|
|
aff87fe |
One purpose of Crypto++ is to act as a repository of public domain
|
|
|
aff87fe |
(not copyrighted) source code. Although the library is copyrighted as a
|
|
|
aff87fe |
compilation, the individual files in it are in the public domain.
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%package devel
|
|
|
0841eb1 |
Summary: Header files and development documentation for %{name}
|
|
|
0841eb1 |
Group: Development/Libraries
|
|
|
0841eb1 |
Requires: %{name} = %{version}-%{release}
|
|
|
4a06c79 |
Requires: pkgconfig
|
|
|
0841eb1 |
%description devel
|
|
|
0841eb1 |
Crypto++ Library is a free C++ class library of cryptographic schemes.
|
|
|
0841eb1 |
|
|
|
0841eb1 |
This package contains the header files and development documentation
|
|
|
0841eb1 |
for %{name}.
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%package doc
|
|
|
0841eb1 |
Summary: Documentation for %{name}
|
|
|
0841eb1 |
Group: Documentation
|
|
|
5c4f6f4 |
BuildArch: noarch
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%description doc
|
|
|
0841eb1 |
Crypto++ Library is a free C++ class library of cryptographic schemes.
|
|
|
0841eb1 |
|
|
|
0841eb1 |
This package contains documentation for %{name}.
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%package progs
|
|
|
0841eb1 |
Summary: Programs for manipulating %{name} routines
|
|
|
0841eb1 |
Group: Development/Tools
|
|
|
62c3039 |
Requires: %{name} = %{version}-%{release}
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%description progs
|
|
|
0841eb1 |
Crypto++ Library is a free C++ class library of cryptographic schemes.
|
|
|
0841eb1 |
|
|
|
0841eb1 |
This package contains programs for manipulating %{name} routines.
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%prep
|
|
|
5c4f6f4 |
%setup -q -c
|
|
|
0841eb1 |
rm -f GNUmakefile
|
|
|
0841eb1 |
%patch0 -p1
|
|
|
a7df5ae |
%patch1 -p1
|
|
|
9790768 |
%patch2 -p1
|
|
|
9790768 |
%patch3 -p1
|
|
|
0841eb1 |
autoreconf --verbose --force --install
|
|
|
0841eb1 |
perl -pi -e 's/\r$//g' License.txt Readme.txt
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%build
|
|
|
9a12c8d |
%configure --disable-static
|
|
|
9a12c8d |
|
|
|
0841eb1 |
make %{?_smp_mflags}
|
|
|
0841eb1 |
doxygen
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%install
|
|
|
0841eb1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4a06c79 |
|
|
|
0841eb1 |
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c "
|
|
|
0841eb1 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
0841eb1 |
|
|
|
5c4f6f4 |
# Install the pkg-config file
|
|
|
5c4f6f4 |
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/cryptopp.pc
|
|
|
5c4f6f4 |
# Fill in the variables
|
|
|
5c4f6f4 |
sed -i "s|@PREFIX@|%{_prefix}|g" $RPM_BUILD_ROOT%{_libdir}/pkgconfig/cryptopp.pc
|
|
|
5c4f6f4 |
sed -i "s|@LIBDIR@|%{_libdir}|g" $RPM_BUILD_ROOT%{_libdir}/pkgconfig/cryptopp.pc
|
|
|
5c4f6f4 |
|
|
|
9a12c8d |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/TestVectors
|
|
|
9a12c8d |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/TestData
|
|
|
9a12c8d |
install -m644 TestVectors/* $RPM_BUILD_ROOT%{_datadir}/%{name}/TestVectors
|
|
|
9a12c8d |
install -m644 TestData/* $RPM_BUILD_ROOT%{_datadir}/%{name}/TestData
|
|
|
9a12c8d |
|
|
|
9a12c8d |
rm -f $RPM_BUILD_ROOT%{_bindir}/cryptestcwd
|
|
|
9a12c8d |
|
|
|
0841eb1 |
%check
|
|
|
9a12c8d |
./cryptestcwd v
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%post -p /sbin/ldconfig
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%postun -p /sbin/ldconfig
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%files
|
|
|
5c4f6f4 |
%{_libdir}/libcryptopp.so.6*
|
|
|
a7df5ae |
%doc License.txt Readme.txt
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%files devel
|
|
|
0841eb1 |
%{_includedir}/cryptopp
|
|
|
5c4f6f4 |
%{_libdir}/libcryptopp.so
|
|
|
62c3039 |
%{_libdir}/pkgconfig/cryptopp.pc
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%files doc
|
|
|
a7df5ae |
%doc html-docs/*
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%files progs
|
|
|
a7df5ae |
%{_bindir}/cryptest
|
|
|
9a12c8d |
%{_datadir}/%{name}
|
|
|
0841eb1 |
|
|
|
0841eb1 |
%changelog
|
|
|
0ea020f |
* Tue Jul 26 2016 Morten Stevens <mstevens@fedoraproject.org> - 5.6.3-5
|
|
|
0ea020f |
- Rebuilt f25/f26 dist tag
|
|
|
0ea020f |
|
|
|
4f3a283 |
* Tue Jul 26 2016 Morten Stevens <mstevens@fedoraproject.org> - 5.6.3-4
|
|
|
4f3a283 |
- Rebuilt for c++ ABI breakage (#1360441)
|
|
|
4f3a283 |
|
|
|
9790768 |
* Mon Apr 11 2016 Morten Stevens <mstevens@fedoraproject.org> - 5.6.3-3
|
|
|
9790768 |
- CVE-2016-3995
|
|
|
9790768 |
|
|
|
f0b0a1e |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.3-2
|
|
|
f0b0a1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
f0b0a1e |
|
|
|
a7df5ae |
* Fri Jan 08 2016 Morten Stevens <mstevens@fedoraproject.org> - 5.6.3-1
|
|
|
fcd5b6b |
- Update to 5.6.3
|
|
|
fcd5b6b |
|
|
|
a7df5ae |
* Sun Nov 08 2015 Morten Stevens <mstevens@fedoraproject.org> - 5.6.2-10
|
|
|
9802dd2 |
- Remove libdir from pkg-config file #1161960
|
|
|
9802dd2 |
|
|
|
a7df5ae |
* Mon Jun 29 2015 Morten Stevens <mstevens@fedoraproject.org> - 5.6.2-9
|
|
|
bae7e2f |
- CVE-2015-2141
|
|
|
bae7e2f |
|
|
|
0fe4d81 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.2-8
|
|
|
0fe4d81 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0fe4d81 |
|
|
|
a7df5ae |
* Thu Apr 23 2015 Morten Stevens <mstevens@fedoraproject.org> - 5.6.2-7
|
|
|
f3113de |
- Rebuilt for yet another C++ ABI break
|
|
|
f3113de |
|
|
|
a7df5ae |
* Thu Feb 19 2015 Morten Stevens <mstevens@fedoraproject.org> - 5.6.2-6
|
|
|
9efe59f |
- GCC 5 rebuilt
|
|
|
9efe59f |
|
|
|
560b5f4 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.2-5
|
|
|
560b5f4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
560b5f4 |
|
|
|
a932909 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.2-4
|
|
|
a932909 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a932909 |
|
|
|
edba7ee |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.2-3
|
|
|
edba7ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
edba7ee |
|
|
|
aca48df |
* Thu Apr 4 2013 Alexey Kurov <nucleo@fedoraproject.org> - 5.6.2-2
|
|
|
aca48df |
- cryptopp.pc cleanup
|
|
|
aca48df |
|
|
|
07ddf35 |
* Wed Apr 3 2013 Alexey Kurov <nucleo@fedoraproject.org> - 5.6.2-1
|
|
|
07ddf35 |
- Crypto++ 5.6.2
|
|
|
07ddf35 |
- License: Boost
|
|
|
07ddf35 |
|
|
|
e76803b |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.1-9
|
|
|
e76803b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
e76803b |
|
|
|
2a5779a |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.1-8
|
|
|
2a5779a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2a5779a |
|
|
|
2f19fe2 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.1-7
|
|
|
2f19fe2 |
- Rebuilt for c++ ABI breakage
|
|
|
2f19fe2 |
|
|
|
9a7cacb |
* Thu Jan 5 2012 Alexey Kurov <nucleo@fedoraproject.org> - 5.6.1-6
|
|
|
9a7cacb |
- fix build with gcc-4.7.0
|
|
|
9a7cacb |
|
|
|
0804940 |
* Mon Oct 17 2011 Alexey Kurov <nucleo@fedoraproject.org> - 5.6.1-5
|
|
|
536986d |
- remove includedir in cryptopp.pc (rhbz#732208)
|
|
|
0804940 |
|
|
|
45cb804 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.1-4
|
|
|
45cb804 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
45cb804 |
|
|
|
bca12f3 |
* Sun Jan 23 2011 Alexey Kurov <nucleo@fedoraproject.org> - 5.6.1-3
|
|
|
bca12f3 |
- patch config.h for enable SSE2 only on x86_64
|
|
|
bca12f3 |
|
|
|
9a12c8d |
* Thu Oct 21 2010 Alexey Kurov <nucleo@fedoraproject.org> - 5.6.1-2
|
|
|
9a12c8d |
- add -DCRYPTOPP_DISABLE_SSE2 to CXXFLAGS instead of config.h for non-x86_64 (rhbz#645169)
|
|
|
9a12c8d |
- install TestVectors and TestData in cryptopp-progs
|
|
|
9a12c8d |
- patch cryptest for using data files in /usr/share/cryptopp
|
|
|
9a12c8d |
- build cryptestcwd for build time test only
|
|
|
9a12c8d |
- fix check section
|
|
|
9a12c8d |
|
|
|
5c4f6f4 |
* Wed Sep 1 2010 Alexey Kurov <nucleo@fedoraproject.org> - 5.6.1-1
|
|
|
5c4f6f4 |
- Crypto++ 5.6.1
|
|
|
5c4f6f4 |
- fixed pkgconfig file installation
|
|
|
5c4f6f4 |
- build cryptopp-doc as noarch subpkg
|
|
|
5c4f6f4 |
|
|
|
62c3039 |
* Thu Nov 26 2009 Alexey Kurov <nucleo@fedoraproject.org> - 5.6.1-0.1.svn479
|
|
|
62c3039 |
- svn r479. MARS placed in the public domain by Wei Dai
|
|
|
62c3039 |
- Fixes rhbz#539227
|
|
|
62c3039 |
|
|
|
7037653 |
* Fri Oct 30 2009 Rahul Sundaram <sundaram@fedoraproject.org> 5.6.0-5
|
|
|
7037653 |
- Fix source
|
|
|
7037653 |
|
|
|
4a06c79 |
* Wed Oct 28 2009 Rahul Sundaram <sundaram@fedoraproject.org> 5.6.0-4
|
|
|
4a06c79 |
- Add pkgconfig file. Fixes rhbz#512761
|
|
|
4a06c79 |
|
|
|
5b80dd0 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.6.0-3
|
|
|
5b80dd0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
5b80dd0 |
|
|
|
8932931 |
* Tue Jun 9 2009 Dan Horak <dan[at]dannu.cz> 5.6.0-2
|
|
|
8932931 |
- add support for s390/s390x
|
|
|
8932931 |
|
|
|
e022913 |
* Sun Mar 15 2009 Aurelien Bompard <abompard@fedoraproject.org> 5.6.0-1
|
|
|
e022913 |
- version 5.6.0
|
|
|
e022913 |
- rediff patches
|
|
|
e022913 |
|
|
|
d2f8b2d |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5.2-4
|
|
|
d2f8b2d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
d2f8b2d |
|
|
|
0841eb1 |
* Tue Sep 30 2008 Aurelien Bompard <abompard@fedoraproject.org> 5.5.2-3
|
|
|
0841eb1 |
- purge source archive from patented code
|
|
|
0841eb1 |
- use SSE2 on x86_64
|
|
|
0841eb1 |
- preserve timestamps on install
|
|
|
0841eb1 |
|
|
|
0841eb1 |
* Mon Sep 22 2008 Aurelien Bompard <abompard@fedoraproject.org> 5.5.2-2
|
|
|
0841eb1 |
- rediff gcc 4.3 patch
|
|
|
0841eb1 |
|
|
|
0841eb1 |
* Wed Aug 27 2008 Aurelien Bompard <abompard@fedoraproject.org> 5.5.2-1
|
|
|
0841eb1 |
- adapt to fedora, from Mandriva
|