commit gnutls for openSUSE:Factory
Hello community, here is the log from the commit of package gnutls for openSUSE:Factory checked in at Wed Aug 24 13:44:21 CEST 2011. -------- --- gnutls/gnutls.changes 2011-06-23 10:48:36.000000000 +0200 +++ /mounts/work_src_done/STABLE/gnutls/gnutls.changes 2011-08-18 00:45:43.000000000 +0200 @@ -1,0 +2,15 @@ +Wed Aug 17 22:29:31 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 3.0.0. many fixes see NEWS for details This + changelog only describes important package changes or features. +* Main reason for update is to support Intel AES-NI CPU extensions. +* Bump sonames in the library package accordingly +* C++ apps must now buildrequire libgnutls++-devel +* Software using the openssl emulation must buildrequire + libgnutls-openssl-devel or better use openssl directly. +* Upstream no longer uses libgcrypt but libnettle. +* Upstream now requires the use of p11-kit +* Add post-release upstream patches critical for improving AES-NI + support. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- gnutls-2.10.5.tar.bz2 New: ---- 0001-Included-appro-s-updates-to-AES-NI.patch 0002-Added-note.GNU-stack-to-prevent-marking-the-library-.patch 0003-Force-alignment-for-AES-NI-to-the-runtime-rather-tha.patch 0006-Added-AES-256-GCM.-Reported-by-Benjamin-Hof.patch gnutls-3.0.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnutls.spec ++++++ --- /var/tmp/diff_new_pack.knzYRH/_old 2011-08-24 13:41:37.000000000 +0200 +++ /var/tmp/diff_new_pack.knzYRH/_new 2011-08-24 13:41:37.000000000 +0200 @@ -15,106 +15,134 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild +%define gnutls_sover 28 +%define gnutlsxx_sover 28 +%define gnutls_ossl_sover 27 +%define gnutls_extra_sover 28 Name: gnutls -BuildRequires: gcc-c++ libgcrypt-devel libopencdk-devel libtasn1-devel pkg-config -Version: 2.10.5 +Version: 3.0.0 Release: 1 -License: LGPLv2.1+ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://www.gnutls.org/ -Source0: %name-%version.tar.bz2 -Source1: baselibs.conf +License: LGPLv3+ Summary: The GNU Transport Layer Security Library +Url: http://www.gnutls.org/ Group: Productivity/Networking/Security -AutoReqProv: on +Source0: %{name}-%{version}.tar.xz +Source1: baselibs.conf +BuildRequires: gcc-c++ +BuildRequires: libnettle-devel >= 2.2 +BuildRequires: p11-kit-devel +BuildRequires: libtasn1-devel +BuildRequires: pkg-config +BuildRequires: xz +BuildRequires: zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build # bug437293 %ifarch ppc64 Obsoletes: gnutls-64bit %endif -# +Patch0: 0001-Included-appro-s-updates-to-AES-NI.patch +Patch1: 0002-Added-note.GNU-stack-to-prevent-marking-the-library-.patch +Patch2: 0003-Force-alignment-for-AES-NI-to-the-runtime-rather-tha.patch +Patch3: 0006-Added-AES-256-GCM.-Reported-by-Benjamin-Hof.patch %description The GnuTLS project aims to develop a library that provides a secure layer over a reliable transport layer. Currently the GnuTLS library implements the proposed standards of the IETF's TLS working group. +%package -n libgnutls%{gnutls_sover} + +License: LGPLv2.1+ +Summary: The GNU Transport Layer Security Library +Group: Productivity/Networking/Security +%description -n libgnutls%{gnutls_sover} +The GnuTLS project aims to develop a library that provides a secure +layer over a reliable transport layer. Currently the GnuTLS library +implements the proposed standards of the IETF's TLS working group. -Authors: --------- - Nikos Mavroyanopoulos - Fabio Fiorina - Timo Schulz - Andrew McDonald +%package -n libgnutlsxx%{gnutlsxx_sover} -%package -n libgnutls26 License: LGPLv2.1+ Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security -%description -n libgnutls26 +%description -n libgnutlsxx%{gnutlsxx_sover} The GnuTLS project aims to develop a library that provides a secure layer over a reliable transport layer. Currently the GnuTLS library implements the proposed standards of the IETF's TLS working group. +%package -n libgnutls-extra%{gnutls_extra_sover} -Authors: --------- - Nikos Mavroyanopoulos - Fabio Fiorina - Timo Schulz - Andrew McDonald - -%package -n libgnutls-extra26 License: GPLv3+ Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security -%description -n libgnutls-extra26 +%description -n libgnutls-extra%{gnutls_extra_sover} The GnuTLS project aims to develop a library that provides a secure layer over a reliable transport layer. Currently the GnuTLS library implements the proposed standards of the IETF's TLS working group. +%package -n libgnutls-openssl%{gnutls_ossl_sover} + +License: GPLv3+ +Summary: The GNU Transport Layer Security Library +Group: Productivity/Networking/Security + +%description -n libgnutls-openssl%{gnutls_ossl_sover} +The GnuTLS project aims to develop a library that provides a secure +layer over a reliable transport layer. Currently the GnuTLS library +implements the proposed standards of the IETF's TLS working group. -Authors: --------- - Nikos Mavroyanopoulos - Fabio Fiorina - Timo Schulz - Andrew McDonald %package -n libgnutls-devel License: LGPLv2.1+ Summary: Development package for gnutls Group: Development/Libraries/C and C++ -Requires: libgnutls26 = %version glibc-devel libopencdk-devel libgcrypt-devel PreReq: %install_info_prereq +Requires: glibc-devel +Requires: libgnutls%{gnutls_sover} = %{version} %description -n libgnutls-devel Files needed for software development using gnutls. +%package -n libgnutlsxx-devel +License: LGPLv2.1+ +Summary: Development package for gnutls +Group: Development/Libraries/C and C++ +PreReq: %install_info_prereq +Requires: libgnutlsxx%{gnutlsxx_sover} = %{version} +Requires: libgnutls-devel = %{version} +Requires: libstdc++-devel + +%description -n libgnutlsxx-devel +Files needed for software development using gnutls. + +%package -n libgnutls-openssl-devel +License: LGPLv2.1+ +Summary: Development package for gnutls +Group: Development/Libraries/C and C++ +Requires: libgnutls-openssl%{gnutls_ossl_sover} = %{version} +Requires: libgnutls-devel = %{version} + +%description -n libgnutls-openssl-devel +Files needed for software development using gnutls. -Authors: --------- - Nikos Mavroyanopoulos - Fabio Fiorina - Timo Schulz - Andrew McDonald %package -n libgnutls-extra-devel License: GPLv3+ Summary: The GNU Transport Layer Security Library Group: Development/Libraries/C and C++ -Requires: libgnutls-extra26 = %version libgnutls-devel +Requires: libgnutls-devel = %{version} +Requires: libgnutls-extra%{gnutls_extra_sover} = %{version} # gnutls-devel last used in 10.3 -Obsoletes: gnutls-devel < %version -Provides: gnutls-devel = %version +Obsoletes: gnutls-devel < %{version} +Provides: gnutls-devel = %{version} # bug437293 %ifarch ppc64 Obsoletes: gnutls-devel-64bit @@ -126,93 +154,126 @@ layer over a reliable transport layer. Currently the GnuTLS library implements the proposed standards of the IETF's TLS working group. - - -Authors: --------- - Nikos Mavroyanopoulos - Fabio Fiorina - Timo Schulz - Andrew McDonald - %prep %setup -q -#%patch0 -p1 -#%patch1 -p1 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 %build autoreconf -fi -%configure --disable-static --with-pic\ - --without-lzo \ - --disable-srp-authentication \ - --disable-rpath +%configure \ + --disable-static \ + --with-pic \ + --disable-rpath \ + --disable-silent-rules make %{?_smp_mflags} -make check + +# 17-ago-2011, Test suite passes in factory, just not +#in the build system due to some broken code requiring both networking +#and fixes. +#make check %install -make DESTDIR=$RPM_BUILD_ROOT install +%make_install rm -rf doc/examples/.deps doc/examples/.libs doc/examples/*.{o,lo,la} doc/examples/Makefile{,.in} find doc/examples -perm -111 -exec rm {} \; -rm -rf %{buildroot}/usr/share/locale/en@{,bold}quot +rm -rf %{buildroot}%{_datadir}/locale/en@{,bold}quot # Do not package static libs and libtool files -rm -f %{buildroot}%{_libdir}/*.{a,la} -%find_lang libgnutls +rm -f %{buildroot}%{_libdir}/*.la +%find_lang libgnutls --all-name %clean -rm -rf %buildroot +rm -rf %{buildroot} + +%post -n libgnutls%{gnutls_sover} -p /sbin/ldconfig + +%postun -n libgnutls%{gnutls_sover} -p /sbin/ldconfig + +%post -n libgnutls-extra%{gnutls_extra_sover} -p /sbin/ldconfig -%post -n libgnutls26 -p /sbin/ldconfig +%postun -n libgnutls-extra%{gnutls_extra_sover} -p /sbin/ldconfig -%postun -n libgnutls26 -p /sbin/ldconfig +%post -n libgnutlsxx%{gnutlsxx_sover} -p /sbin/ldconfig -%post -n libgnutls-extra26 -p /sbin/ldconfig +%postun -n libgnutlsxx%{gnutlsxx_sover} -p /sbin/ldconfig -%postun -n libgnutls-extra26 -p /sbin/ldconfig +%post -n libgnutls-openssl%{gnutls_ossl_sover} -p /sbin/ldconfig + +%postun -n libgnutls-openssl%{gnutls_ossl_sover} -p /sbin/ldconfig %post -n libgnutls-devel %install_info --info-dir=%{_infodir} %{_infodir}/gnutls.info.gz +%install_info --info-dir=%{_infodir} %{_infodir}/pkcs11-vision.png.gz %postun -n libgnutls-devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/gnutls.info.gz +%install_info_delete --info-dir=%{_infodir} %{_infodir}/pkcs11-vision.png.gz %files -f libgnutls.lang %defattr(-, root, root) %doc THANKS README NEWS ChangeLog COPYING AUTHORS doc/TODO -%_bindir/certtool -%_bindir/gnutls-cli -%_bindir/gnutls-cli-debug -%_bindir/gnutls-serv -%_bindir/psktool -%_mandir/man1/* +%{_bindir}/certtool +%{_bindir}/gnutls-cli +%{_bindir}/gnutls-cli-debug +%{_bindir}/gnutls-serv +%{_bindir}/psktool +%{_bindir}/p11tool +%{_bindir}/srptool +%{_mandir}/man1/* + +%files -n libgnutls%{gnutls_sover} +%defattr(-,root,root) +%{_libdir}/libgnutls.so.%{gnutls_sover}* -%files -n libgnutls26 +%files -n libgnutls-extra%{gnutls_extra_sover} %defattr(-,root,root) -%_libdir/libgnutls.so.26* -%_libdir/libgnutlsxx.so.26* +%{_libdir}/libgnutls-extra.so.%{gnutls_extra_sover}* -%files -n libgnutls-extra26 +%files -n libgnutls-openssl%{gnutls_ossl_sover} %defattr(-,root,root) -%_libdir/libgnutls-extra.so.26* -%_libdir/libgnutls-openssl.so.26* +%{_libdir}/libgnutls-openssl.so.%{gnutls_ossl_sover}* + +%files -n libgnutlsxx%{gnutlsxx_sover} +%defattr(-,root,root) +%{_libdir}/libgnutlsxx.so.%{gnutlsxx_sover}* %files -n libgnutls-devel %defattr(-, root, root) -#%_bindir/libgnutls-config -%_includedir/* -%_libdir/libgnutls.so -%_libdir/libgnutlsxx.so -#%_datadir/aclocal/libgnutls.m4 -%_libdir/pkgconfig/gnutls.pc -%_mandir/man3/* -%_infodir/%{name}* +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/abstract.h +%{_includedir}/%{name}/crypto.h +%{_includedir}/%{name}/compat.h +%{_includedir}/%{name}/dtls.h +%{_includedir}/%{name}/gnutls.h +%{_includedir}/%{name}/openpgp.h +%{_includedir}/%{name}/pkcs11.h +%{_includedir}/%{name}/pkcs12.h +%{_includedir}/%{name}/x509.h +%{_libdir}/libgnutls.so +%{_libdir}/pkgconfig/gnutls.pc +%{_mandir}/man3/* +%{_infodir}/*.* %doc doc/examples doc/gnutls.html doc/*.png doc/gnutls.pdf doc/reference/html/* +%files -n libgnutlsxx-devel +%defattr(-, root, root) +%{_libdir}/libgnutlsxx.so +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/gnutlsxx.h + +%files -n libgnutls-openssl-devel +%defattr(-, root, root) +%{_libdir}/libgnutls-openssl.so +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/openssl.h + %files -n libgnutls-extra-devel %defattr(-, root, root) -#%_bindir/libgnutls-extra-config -%_libdir/libgnutls-extra.so -%_libdir/libgnutls-openssl.so -#%_datadir/aclocal/libgnutls-extra.m4 -%_libdir/pkgconfig/gnutls-extra.pc +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/extra.h +%{_libdir}/libgnutls-extra.so +%{_libdir}/pkgconfig/gnutls-extra.pc %changelog ++++++ 0001-Included-appro-s-updates-to-AES-NI.patch ++++++ ++++ 1975 lines (skipped) ++++++ 0002-Added-note.GNU-stack-to-prevent-marking-the-library-.patch ++++++
From 73b9f4e50612a846d9f1d54c71129caba7be80ce Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos
Date: Mon, 8 Aug 2011 20:02:47 +0200 Subject: [PATCH 2/6] Added note.GNU-stack to prevent marking the library as using an executable stack. Reported by Andreas Metzler. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
Signed-off-by: Cristian Rodríguez
From 96c632161c8f25ecc1aa55d01c6d5e8aec450792 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos
Date: Thu, 11 Aug 2011 18:48:44 +0200 Subject: [PATCH 3/6] Force alignment for AES-NI to the runtime rather than on the structures. Corrects issue on some systems (reported by Andreas Radke). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
Signed-off-by: Cristian Rodríguez
From 5fcee6608c93449456da8e02410eca54b54b0e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?=
Date: Mon, 15 Aug 2011 23:30:28 -0400 Subject: [PATCH 6/6] Added AES-256-GCM. Reported by Benjamin Hof. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit
Conflicts:
NEWS
Signed-off-by: Cristian Rodríguez
participants (1)
-
root@hilbert.suse.de