Update to 3.6.2-3
- Update to upstream 3.6.2 release
This commit is contained in:
parent
a6e110c7fa
commit
137cdb9336
3
.gitignore
vendored
3
.gitignore
vendored
@ -92,3 +92,6 @@ gnutls-2.10.1-nosrp.tar.bz2
|
|||||||
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
|
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
|
||||||
/gnutls-3.6.2.tar.xz.sig
|
/gnutls-3.6.2.tar.xz.sig
|
||||||
/gnutls-3.6.2.tar.xz
|
/gnutls-3.6.2.tar.xz
|
||||||
|
/gpgkey-1F42418905D8206AA754CCDC29EE58B996865171.gpg
|
||||||
|
/gnutls-3.6.2.tar.xz.sig
|
||||||
|
/gnutls-3.6.2.tar.xz
|
||||||
|
36
gnutls.spec
36
gnutls.spec
@ -1,11 +1,18 @@
|
|||||||
# This spec file has been automatically updated
|
# This spec file has been automatically updated
|
||||||
Version: 3.6.2
|
Version: 3.6.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Patch1: gnutls-3.2.7-rpath.patch
|
Patch1: gnutls-3.2.7-rpath.patch
|
||||||
Patch2: gnutls-3.4.2-no-now-guile.patch
|
Patch2: gnutls-3.4.2-no-now-guile.patch
|
||||||
Patch3: gnutls-3.6.1-disable-pss-tests.patch
|
Patch3: gnutls-3.6.1-disable-pss-tests.patch
|
||||||
%bcond_without dane
|
%bcond_without dane
|
||||||
|
%if 0%{?rhel}
|
||||||
|
%bcond_with guile
|
||||||
|
%bcond_with fips
|
||||||
|
%else
|
||||||
%bcond_without guile
|
%bcond_without guile
|
||||||
|
%bcond_with fips
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: A TLS protocol implementation
|
Summary: A TLS protocol implementation
|
||||||
Name: gnutls
|
Name: gnutls
|
||||||
# The libraries are LGPLv2.1+, utilities are GPLv3+
|
# The libraries are LGPLv2.1+, utilities are GPLv3+
|
||||||
@ -21,6 +28,10 @@ BuildRequires: libidn2-devel
|
|||||||
BuildRequires: libunistring-devel
|
BuildRequires: libunistring-devel
|
||||||
BuildRequires: gperf, net-tools, datefudge, softhsm
|
BuildRequires: gperf, net-tools, datefudge, softhsm
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
|
%if %{with fips}
|
||||||
|
BuildRequires: fipscheck
|
||||||
|
%endif
|
||||||
|
|
||||||
# for a sanity check on cert loading
|
# for a sanity check on cert loading
|
||||||
BuildRequires: p11-kit-trust, ca-certificates
|
BuildRequires: p11-kit-trust, ca-certificates
|
||||||
Requires: crypto-policies
|
Requires: crypto-policies
|
||||||
@ -150,6 +161,9 @@ echo "SYSTEM=NORMAL" >> tests/system.prio
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-libtasn1-prefix=%{_prefix} \
|
%configure --with-libtasn1-prefix=%{_prefix} \
|
||||||
|
%if %{with fips}
|
||||||
|
--enable-fips140-mode \
|
||||||
|
%endif
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-openssl-compatibility \
|
--disable-openssl-compatibility \
|
||||||
--disable-non-suiteb-curves \
|
--disable-non-suiteb-curves \
|
||||||
@ -173,6 +187,16 @@ echo "SYSTEM=NORMAL" >> tests/system.prio
|
|||||||
|
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
|
%if %{with fips}
|
||||||
|
%define __spec_install_post \
|
||||||
|
%{?__debug_package:%{__debug_install_post}} \
|
||||||
|
%{__arch_install_post} \
|
||||||
|
%{__os_install_post} \
|
||||||
|
fipshmac -d $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/libgnutls.so.28.*.* \
|
||||||
|
file=`basename $RPM_BUILD_ROOT%{_libdir}/libgnutls.so.28.*.hmac` && mv $RPM_BUILD_ROOT%{_libdir}/$file $RPM_BUILD_ROOT%{_libdir}/.$file && ln -s .$file $RPM_BUILD_ROOT%{_libdir}/.libgnutls.so.28.hmac \
|
||||||
|
%{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
make -C doc install-html DESTDIR=$RPM_BUILD_ROOT
|
make -C doc install-html DESTDIR=$RPM_BUILD_ROOT
|
||||||
@ -223,6 +247,9 @@ fi
|
|||||||
%files -f gnutls.lang
|
%files -f gnutls.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/libgnutls.so.30*
|
%{_libdir}/libgnutls.so.30*
|
||||||
|
%if %{with fips}
|
||||||
|
%{_libdir}/.libgnutls.so.30*.hmac
|
||||||
|
%endif
|
||||||
%doc README.md AUTHORS NEWS THANKS
|
%doc README.md AUTHORS NEWS THANKS
|
||||||
%license LICENSE doc/COPYING doc/COPYING.LESSER
|
%license LICENSE doc/COPYING doc/COPYING.LESSER
|
||||||
|
|
||||||
@ -233,6 +260,10 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/libgnutls*.so
|
%{_libdir}/libgnutls*.so
|
||||||
|
%if %{with fips}
|
||||||
|
%{_libdir}/.libgnutls.so.*.hmac
|
||||||
|
%endif
|
||||||
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
%{_infodir}/gnutls*
|
%{_infodir}/gnutls*
|
||||||
@ -271,6 +302,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 06 2018 Nikos Mavrogiannopoulos <nmav@redhat.com> - 3.6.2-3
|
||||||
|
- Update to upstream 3.6.2 release
|
||||||
|
|
||||||
* Fri May 25 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.6.2-2
|
* Fri May 25 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.6.2-2
|
||||||
- Add missing BuildRequires: gnupg2 for gpgv2 in %%prep
|
- Add missing BuildRequires: gnupg2 for gpgv2 in %%prep
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user