# # spec file for package gnutls (Version 2.0.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gnutls BuildRequires: gcc-c++ libgcrypt-devel libopencdk-devel lzo-devel Version: 2.0.1 Release: 1 License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://www.gnutls.org/ Source0: %name-%version.tar.bz2 Patch0: gnutls-char-signedness.patch Patch1: gnutls-fix_size_t.patch Patch2: gnutls-1.6.1-srptool.patch Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security AutoReqProv: on PreReq: %install_info_prereq %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. Authors: -------- Nikos Mavroyanopoulos Fabio Fiorina Timo Schulz Andrew McDonald %package -n libgnutls13 Summary: The GNU Transport Layer Security Library Group: Productivity/Networking/Security %description -n libgnutls13 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 Summary: Development package for gnutls Group: Development/Libraries/C and C++ Requires: libgnutls13 = %version glibc-devel libopencdk-devel libgcrypt-devel libgpg-error-devel zlib-devel lzo-devel # gnutls-devel last used in 10.3 Obsoletes: gnutls-devel < %version Provides: gnutls-devel = %version %description -n libgnutls-devel Files needed for software development using gnutls. Authors: -------- Nikos Mavroyanopoulos Fabio Fiorina Timo Schulz Andrew McDonald %prep %setup -q %patch0 %patch1 -p1 %patch2 -p1 %build autoreconf -fi ./configure --prefix=%_prefix \ --sysconfdir=%_sysconfdir \ --libdir=%_libdir \ --mandir=%_mandir --infodir=%_infodir \ --localstatedir=%_localstatedir \ --with-included-libtasn1 \ CFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="$RPM_OPT_FLAGS" make %install make DESTDIR=$RPM_BUILD_ROOT 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 # Do not package static libs and libtool files rm -f %{buildroot}%{_libdir}/*.{a,la} %find_lang %name %clean rm -rf %buildroot %post -n libgnutls13 %run_ldconfig %post -n libgnutls-devel %install_info --info-dir=%{_infodir} %{_infodir}/gnutls.info.gz %postun -n libgnutls13 %run_ldconfig %postun -n libgnutls-devel %install_info_delete --info-dir=%{_infodir} %{_infodir}/gnutls.info.gz %files -f %name.lang %defattr(-, root, root) %doc THANKS README NEWS ChangeLog COPYING.LIB COPYING AUTHORS doc/TODO %_bindir/certtool %_bindir/gnutls-cli %_bindir/gnutls-cli-debug %_bindir/gnutls-serv %_bindir/srptool %_bindir/psktool %_mandir/man1/* %files -n libgnutls13 %defattr(-,root,root) %_libdir/libgnutls.so.13* %_libdir/libgnutls-extra.so.13* %_libdir/libgnutls-openssl.so.13* %_libdir/libgnutlsxx.so.13* %files -n libgnutls-devel %defattr(-, root, root) %_bindir/libgnutls-config %_bindir/libgnutls-extra-config %_includedir/* %_libdir/*.so %_datadir/aclocal/* %_libdir/pkgconfig/* %_mandir/man3/* %_infodir/%{name}* %doc doc/examples doc/gnutls.html doc/*.png doc/gnutls.pdf doc/reference/html/* %changelog * Tue Oct 23 2007 - mkoenig@suse.de - update to version 2.0.1 - change package layout to conform shlib policy: rename gnutls-devel -> libgnutls-devel new subpackage libgnutls13 - removed patches: gnutls-1.4.4-sign-callback.patch gnutls-1.6.1-compiler_warnings.patch * Thu Aug 30 2007 - mkoenig@suse.de - fix srptool [#208227] - fix some compiler warnings * Fri Aug 03 2007 - hvogel@suse.de - Some additions for evolution smart card support * Thu May 10 2007 - mkoenig@suse.de - Fix segfault on s390x [#97441] gnutls-fix_size_t.patch * Tue Jan 23 2007 - mkoenig@suse.de - update to new stable branch 1.6.1: * Fix the list of trusted CAs that server's send to clients. * Fix gnutls_certificate_set_x509_crl to initialize the CRL before using it. * Encode UID fields in DN's as DirectoryString. * Fix ./configure failure with non-GCC compilers. * A GnuTLS C++ library is part of the official distribution. * New APIs for custom push/pull function error reporting. * Tue Oct 24 2006 - mkoenig@suse.de - move developer related docs to devel package and remove binary stuff from docs [#212454] * Tue Sep 19 2006 - mkoenig@suse.de - update to version 1.4.4: * bugfix release * fixes security vulnerability [#206636] (CVE-2006-4790) * Thu Aug 31 2006 - mkoenig@suse.de - update to new stable branch 1.4.1: * The command line tools now use getaddrinfo and support IPv6. * gnutls-cli can now recognize services and port numbers with the -p option. * Error messages are now translated using GNU Gettext. * GnuTLS now support TLS Inner application (TLS/IA). * API and ABI modifications: + Support for DHE-PSK cipher suites has been added. + Removed the RIPEMD ciphersuites. + Remove GnuTLS 0.8.x compatibility functions. + Support for TLS Pre-Shared Key (TLS-PSK) ciphersuites have been added. + Certtool now generate keys in unencrypted PKCS#8 format for empty passwords. + Certtool now accept --password for --key-info and encrypted PKCS#8 keys. + gnutls_x509_privkey_import_pkcs8 now accept unencrypted PEM PKCS#8 keys, + New function to set a X.509 private key and certificate pairs, and/or CRLs, from an PKCS#12 file. + New APIs to acceess the client and server random fields in a session. + New APIs to access the TLS Pseudo-Random-Function (PRF). + New API to access the TLS master secret. + The function gnutls_x509_crt_to_xml now return an internal error. * Several bugfixes: + Corrected a bug in certtool for 64 bit machines. + Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly. + Fix crash in TLS resume code, caused by TLS/IA changes. + Corrected bugs in gnutls_certificate_set_x509_crl() and gnutls_certificate_set_x509_trust(). + Fixed bug in non-blocking gnutls_bye(). + Fix read of out bounds bug in DER parser. + Fixed bug in OpenPGP authentication handshake. * Sat Feb 18 2006 - ro@suse.de - cleanup doc directory (.deps,.libs) * Fri Feb 10 2006 - hvogel@suse.de - Update to version 1.2.10. This release fixes several serious bugs that would make the DER decoder in libtasn1 crash on invalid input [#149897]. Including: * Corrected a bug in certtool for 64 bit machines. * Fix gnutls-cli STARTTLS hang when SIGINT is sent too quickly * Corrected bugs in gnutls_certificate_set_x509_crl() and gnutls_certificate_set_x509_trust(), that caused memory corruption if more than one certificates were added. * Fixed bug in non-blocking gnutls_bye(). gnutls_record_send() will no longer invalidate a session if the underlying send fails, but it will prevent future writes. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Tue Dec 20 2005 - ro@suse.de - do not package /usr/share/info/dir * Fri Dec 09 2005 - hvogel@suse.de - update to version 1.2.9 * Tue Oct 25 2005 - hvogel@suse.de - update to version 1.2.8 * Mon Aug 22 2005 - hvogel@suse.de - fix data type comparison [Bug #104617] * Sun Jul 03 2005 - hvogel@suse.de - update to version 1.2.5 * Wed Jun 29 2005 - hvogel@suse.de - patch from mrueckert to use external lzo again * Thu Jun 23 2005 - hvogel@suse.de - use %%install_info/%%install_info_delete * Tue Jun 07 2005 - hvogel@suse.de - update to version 1.2.4 * Fri Jun 03 2005 - ro@suse.de - fix specfile (don't apply non-existant patch1) * Thu Jun 02 2005 - hvogel@suse.de - use included minilzo * Wed May 25 2005 - hvogel@suse.de - Update to version 1.2.3 (fixes gnutls DOS Bug #83481) - Include defines.h before gnutls.h, to pull in config.h, to make sure memmem.h prototype memmem properly * Sat Jan 29 2005 - hvogel@suse.de - Update to version 1.2.0 * Wed Jan 19 2005 - hvogel@suse.de - update to version 1.1.23 - get rid of prebuild html/ps docu again, the devel packages has man-pages now * Mon Dec 13 2004 - hvogel@suse.de - update to version 1.0.23 - make build of postscript/html docu configureable * Sat Oct 23 2004 - hvogel@suse.de - move config script to the devel package * Thu Oct 14 2004 - hvogel@suse.de - Update to version 1.0.21 * Tue Sep 28 2004 - hvogel@suse.de - add doc subpackage with prebuild html/ps docu (Bug #44496) * Mon Sep 27 2004 - hvogel@suse.de - fix ac-quotation patch to include libgnutls-extra.m4 (Bug #46035) * Tue Aug 31 2004 - kukuk@suse.de - Update to version 1.0.20 * Mon Aug 30 2004 - kukuk@suse.de - Add libopencdk-devel to neededforbuild * Thu Jul 15 2004 - hvogel@suse.de - add libgcrypt-devel and lipgpg-error-devel to nfb * Wed May 19 2004 - hvogel@suse.de - update to version 1.0.13 * Fri May 14 2004 - mmj@suse.de - Add C++ compiler to build - Don't remove buildroot when installing * Mon Mar 01 2004 - hvogel@suse.de - update to version 1.0.8 * Tue Feb 17 2004 - hvogel@suse.de - update to version 1.0.6 - fix autoconf quotations * Wed May 14 2003 - schubi@suse.de - initial; Sourcecode received from XIMIAN