|
|
792eb76 |
%{?mingw_package_header}
|
|
|
792eb76 |
|
|
|
792eb76 |
Name: mingw-nettle
|
|
|
c3a6db1 |
Version: 3.4
|
|
|
42753d6 |
Release: 3%{?dist}
|
|
|
792eb76 |
|
|
|
792eb76 |
Summary: MinGW package for nettle cryptographic library
|
|
|
d7b7a45 |
License: LGPLv3+ or GPLv2+
|
|
|
792eb76 |
Group: Development/Libraries
|
|
|
792eb76 |
URL: http://www.lysator.liu.se/~nisse/nettle/
|
|
|
31d8036 |
# http://www.lysator.liu.se/~nisse/archive/nettle-%{version}.tar.gz
|
|
|
78c3500 |
Source: nettle-%{version}-hobbled.tar.xz
|
|
|
c565953 |
Patch0: nettle-3.3-remove-ecc-testsuite.patch
|
|
|
78c3500 |
Patch1: nettle-3.2-version-h.patch
|
|
|
792eb76 |
|
|
|
792eb76 |
BuildArch: noarch
|
|
|
792eb76 |
|
|
|
792eb76 |
BuildRequires: mingw32-filesystem >= 95
|
|
|
792eb76 |
BuildRequires: mingw64-filesystem >= 95
|
|
|
792eb76 |
BuildRequires: mingw32-gcc
|
|
|
792eb76 |
BuildRequires: mingw64-gcc
|
|
|
792eb76 |
BuildRequires: mingw32-binutils
|
|
|
792eb76 |
BuildRequires: mingw64-binutils
|
|
|
792eb76 |
BuildRequires: mingw32-gmp
|
|
|
792eb76 |
BuildRequires: mingw64-gmp
|
|
|
792eb76 |
BuildRequires: mingw32-openssl
|
|
|
792eb76 |
BuildRequires: mingw64-openssl
|
|
|
792eb76 |
|
|
|
a3146a4 |
BuildRequires: gcc
|
|
|
792eb76 |
BuildRequires: m4
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
%description
|
|
|
792eb76 |
Nettle is a cryptographic library that is designed to fit easily in
|
|
|
792eb76 |
more or less any context: In crypto toolkits for object-oriented
|
|
|
792eb76 |
languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
|
|
|
792eb76 |
or even in kernel space.
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
# Mingw32
|
|
|
792eb76 |
%package -n mingw32-nettle
|
|
|
792eb76 |
Summary: MinGW package for nettle cryptographic library
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
%description -n mingw32-nettle
|
|
|
792eb76 |
Nettle is a cryptographic library that is designed to fit easily in
|
|
|
792eb76 |
more or less any context: In crypto toolkits for object-oriented
|
|
|
792eb76 |
languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
|
|
|
792eb76 |
or even in kernel space.
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
# Mingw64
|
|
|
792eb76 |
%package -n mingw64-nettle
|
|
|
792eb76 |
Summary: MinGW package for nettle cryptographic library
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
%description -n mingw64-nettle
|
|
|
792eb76 |
Nettle is a cryptographic library that is designed to fit easily in
|
|
|
792eb76 |
more or less any context: In crypto toolkits for object-oriented
|
|
|
792eb76 |
languages (C++, Python, Pike, ...), in applications like LSH or GNUPG,
|
|
|
792eb76 |
or even in kernel space.
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
%?mingw_debug_package
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
%prep
|
|
|
792eb76 |
%setup -q -n nettle-%{version}
|
|
|
31d8036 |
sed 's/ecc-192.c//g' -i Makefile.in
|
|
|
31d8036 |
sed 's/ecc-224.c//g' -i Makefile.in
|
|
|
d7b7a45 |
%patch0 -p1 -b .ecc
|
|
|
78c3500 |
%patch1 -p1 -b .arch
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
%build
|
|
|
792eb76 |
%mingw_configure --enable-shared
|
|
|
792eb76 |
%mingw_make %{?_smp_mflags}
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
%install
|
|
|
792eb76 |
%mingw_make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
792eb76 |
|
|
|
792eb76 |
# Clean out files that should not be part of the rpm.
|
|
|
792eb76 |
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/libnettle.a
|
|
|
792eb76 |
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/libnettle.a
|
|
|
792eb76 |
rm -f $RPM_BUILD_ROOT%{mingw32_libdir}/libhogweed.a
|
|
|
792eb76 |
rm -f $RPM_BUILD_ROOT%{mingw64_libdir}/libhogweed.a
|
|
|
31d8036 |
rm -rf $RPM_BUILD_ROOT%{mingw32_infodir}/
|
|
|
31d8036 |
rm -rf $RPM_BUILD_ROOT%{mingw64_infodir}/
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
# Win32
|
|
|
792eb76 |
%files -n mingw32-nettle
|
|
|
d7b7a45 |
%doc README
|
|
|
d7b7a45 |
%license COPYINGv2 COPYING.LESSERv3
|
|
|
792eb76 |
%{mingw32_bindir}/nettle-hash.exe
|
|
|
792eb76 |
%{mingw32_bindir}/nettle-lfib-stream.exe
|
|
|
d7b7a45 |
%{mingw32_bindir}/nettle-pbkdf2.exe
|
|
|
792eb76 |
%{mingw32_bindir}/pkcs1-conv.exe
|
|
|
792eb76 |
%{mingw32_bindir}/sexp-conv.exe
|
|
|
c565953 |
%{mingw32_bindir}/libnettle-6.dll
|
|
|
c565953 |
%{mingw32_bindir}/libhogweed-4.dll
|
|
|
792eb76 |
%{mingw32_libdir}/libnettle.dll.a
|
|
|
792eb76 |
%{mingw32_libdir}/libhogweed.dll.a
|
|
|
792eb76 |
%{mingw32_libdir}/pkgconfig/nettle.pc
|
|
|
792eb76 |
%{mingw32_libdir}/pkgconfig/hogweed.pc
|
|
|
792eb76 |
%dir %{mingw32_includedir}/nettle
|
|
|
792eb76 |
%{mingw32_includedir}/nettle/*.h
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
# Win64
|
|
|
792eb76 |
%files -n mingw64-nettle
|
|
|
d7b7a45 |
%doc README
|
|
|
d7b7a45 |
%license COPYINGv2 COPYING.LESSERv3
|
|
|
792eb76 |
%{mingw64_bindir}/nettle-hash.exe
|
|
|
792eb76 |
%{mingw64_bindir}/nettle-lfib-stream.exe
|
|
|
d7b7a45 |
%{mingw64_bindir}/nettle-pbkdf2.exe
|
|
|
792eb76 |
%{mingw64_bindir}/pkcs1-conv.exe
|
|
|
792eb76 |
%{mingw64_bindir}/sexp-conv.exe
|
|
|
c565953 |
%{mingw64_bindir}/libnettle-6.dll
|
|
|
c565953 |
%{mingw64_bindir}/libhogweed-4.dll
|
|
|
792eb76 |
%{mingw64_libdir}/libnettle.dll.a
|
|
|
792eb76 |
%{mingw64_libdir}/libhogweed.dll.a
|
|
|
792eb76 |
%{mingw64_libdir}/pkgconfig/nettle.pc
|
|
|
792eb76 |
%{mingw64_libdir}/pkgconfig/hogweed.pc
|
|
|
792eb76 |
%dir %{mingw64_includedir}/nettle
|
|
|
792eb76 |
%{mingw64_includedir}/nettle/*.h
|
|
|
792eb76 |
|
|
|
792eb76 |
|
|
|
792eb76 |
%changelog
|
|
|
42753d6 |
* Fri Aug 24 2018 Richard W.M. Jones <rjones@redhat.com> - 3.4-3
|
|
|
42753d6 |
- Rebuild for new mingw-openssl.
|
|
|
42753d6 |
|
|
|
48a36fc |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4-2
|
|
|
48a36fc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
48a36fc |
|
|
|
c3a6db1 |
* Tue Jun 26 2018 Michael Cronenworth <mike@cchtml.com> - 3.4-1
|
|
|
c3a6db1 |
- New upstream release
|
|
|
c3a6db1 |
|
|
|
2cb5ce7 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-4
|
|
|
2cb5ce7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
2cb5ce7 |
|
|
|
00f49a2 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-3
|
|
|
00f49a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
00f49a2 |
|
|
|
5c8ac1b |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
|
|
|
5c8ac1b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
5c8ac1b |
|
|
|
c565953 |
* Thu Nov 03 2016 Michael Cronenworth <mike@cchtml.com> - 3.3-1
|
|
|
c565953 |
- New upstream release
|
|
|
c565953 |
- Fixed CVE-2016-6489 (#1362018)
|
|
|
c565953 |
|
|
|
78c3500 |
* Wed Feb 03 2016 Michael Cronenworth <mike@cchtml.com> - 3.2-1
|
|
|
78c3500 |
- New upstream release
|
|
|
78c3500 |
- Fixed CVE-2015-8803 secp256r1 calculation bug (#1304305)
|
|
|
78c3500 |
|
|
|
5729f13 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-2
|
|
|
5729f13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5729f13 |
|
|
|
d7b7a45 |
* Wed May 13 2015 Michael Cronenworth <mike@cchtml.com> - 3.1.1-1
|
|
|
d7b7a45 |
- New upstream release
|
|
|
d7b7a45 |
|
|
|
475228b |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-2
|
|
|
475228b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
475228b |
|
|
|
31d8036 |
* Sun Jan 26 2014 Michael Cronenworth <mike@cchtml.com> - 2.7.1-1
|
|
|
31d8036 |
- New upstream release
|
|
|
31d8036 |
|
|
|
c568104 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-2
|
|
|
c568104 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
c568104 |
|
|
|
6511e92 |
* Wed Feb 06 2013 Michael Cronenworth <mike@cchtml.com> - 2.6-1
|
|
|
6511e92 |
- New upstream release
|
|
|
6511e92 |
|
|
|
792eb76 |
* Wed Aug 29 2012 Michael Cronenworth <mike@cchtml.com> - 2.4-2
|
|
|
792eb76 |
- Missing BR m4
|
|
|
792eb76 |
|
|
|
792eb76 |
* Tue Jul 10 2012 Michael Cronenworth <mike@cchtml.com> - 2.4-1
|
|
|
792eb76 |
- Initial RPM package
|