commit 9d64530c5a028fceccc9632bc9df8e13086eca36aa42a9028d3edf63edd48b83 Author: OBS User unknown Date: Mon Jan 15 23:15:20 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnutls?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gnutls-1.4.4.tar.bz2 b/gnutls-1.4.4.tar.bz2 new file mode 100644 index 0000000..aff9103 --- /dev/null +++ b/gnutls-1.4.4.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfcdcd622b80b00d28ee40881ee56fec771213110b7fc07048bce07df7cec035 +size 4048916 diff --git a/gnutls-char-signedness.patch b/gnutls-char-signedness.patch new file mode 100644 index 0000000..0314829 --- /dev/null +++ b/gnutls-char-signedness.patch @@ -0,0 +1,11 @@ +--- lib/x509/crl_write.c ++++ lib/x509/crl_write.c +@@ -60,7 +60,7 @@ + gnutls_x509_crl_set_version (gnutls_x509_crl_t crl, unsigned int version) + { + int result; +- char null = version; ++ signed char null = version; + + if (crl == NULL) + { diff --git a/gnutls.changes b/gnutls.changes new file mode 100644 index 0000000..da76c46 --- /dev/null +++ b/gnutls.changes @@ -0,0 +1,218 @@ +------------------------------------------------------------------- +Tue Oct 24 19:08:36 CEST 2006 - mkoenig@suse.de + +- move developer related docs to devel package and remove + binary stuff from docs [#212454] + +------------------------------------------------------------------- +Tue Sep 19 11:06:39 CEST 2006 - mkoenig@suse.de + +- update to version 1.4.4: + * bugfix release + * fixes security vulnerability [#206636] (CVE-2006-4790) + +------------------------------------------------------------------- +Thu Aug 31 17:40:43 CEST 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 00:18:33 CET 2006 - ro@suse.de + +- cleanup doc directory (.deps,.libs) + +------------------------------------------------------------------- +Fri Feb 10 13:01:55 CET 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 21:36:17 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Dec 20 15:04:31 CET 2005 - ro@suse.de + +- do not package /usr/share/info/dir + +------------------------------------------------------------------- +Fri Dec 9 14:26:44 CET 2005 - hvogel@suse.de + +- update to version 1.2.9 + +------------------------------------------------------------------- +Tue Oct 25 13:50:11 CEST 2005 - hvogel@suse.de + +- update to version 1.2.8 + +------------------------------------------------------------------- +Mon Aug 22 12:12:39 CEST 2005 - hvogel@suse.de + +- fix data type comparison [Bug #104617] + +------------------------------------------------------------------- +Sun Jul 3 16:06:29 CEST 2005 - hvogel@suse.de + +- update to version 1.2.5 + +------------------------------------------------------------------- +Wed Jun 29 10:30:02 CEST 2005 - hvogel@suse.de + +- patch from mrueckert to use external lzo again + +------------------------------------------------------------------- +Thu Jun 23 16:17:31 CEST 2005 - hvogel@suse.de + +- use %install_info/%install_info_delete + +------------------------------------------------------------------- +Tue Jun 7 12:50:53 CEST 2005 - hvogel@suse.de + +- update to version 1.2.4 + +------------------------------------------------------------------- +Fri Jun 3 01:13:12 CEST 2005 - ro@suse.de + +- fix specfile (don't apply non-existant patch1) + +------------------------------------------------------------------- +Thu Jun 2 18:03:17 CEST 2005 - hvogel@suse.de + +- use included minilzo + +------------------------------------------------------------------- +Wed May 25 13:09:39 CEST 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 23:42:13 CET 2005 - hvogel@suse.de + +- Update to version 1.2.0 + +------------------------------------------------------------------- +Wed Jan 19 20:43:20 CET 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 20:07:38 CET 2004 - hvogel@suse.de + +- update to version 1.0.23 +- make build of postscript/html docu configureable + +------------------------------------------------------------------- +Sat Oct 23 19:41:07 CEST 2004 - hvogel@suse.de + +- move config script to the devel package + +------------------------------------------------------------------- +Thu Oct 14 17:08:56 CEST 2004 - hvogel@suse.de + +- Update to version 1.0.21 + +------------------------------------------------------------------- +Tue Sep 28 18:04:28 CEST 2004 - hvogel@suse.de + +- add doc subpackage with prebuild html/ps docu (Bug #44496) + +------------------------------------------------------------------- +Mon Sep 27 14:38:19 CEST 2004 - hvogel@suse.de + +- fix ac-quotation patch to include libgnutls-extra.m4 (Bug #46035) + +------------------------------------------------------------------- +Tue Aug 31 14:13:40 CEST 2004 - kukuk@suse.de + +- Update to version 1.0.20 + +------------------------------------------------------------------- +Mon Aug 30 14:22:43 CEST 2004 - kukuk@suse.de + +- Add libopencdk-devel to neededforbuild + +------------------------------------------------------------------- +Thu Jul 15 18:54:57 CEST 2004 - hvogel@suse.de + +- add libgcrypt-devel and lipgpg-error-devel to nfb + +------------------------------------------------------------------- +Wed May 19 14:58:13 CEST 2004 - hvogel@suse.de + +- update to version 1.0.13 + +------------------------------------------------------------------- +Fri May 14 08:48:26 CEST 2004 - mmj@suse.de + +- Add C++ compiler to build +- Don't remove buildroot when installing + +------------------------------------------------------------------- +Mon Mar 1 18:44:58 CET 2004 - hvogel@suse.de + +- update to version 1.0.8 + +------------------------------------------------------------------- +Tue Feb 17 15:57:15 CET 2004 - hvogel@suse.de + +- update to version 1.0.6 +- fix autoconf quotations + +------------------------------------------------------------------- +Wed May 14 18:31:12 CEST 2003 - schubi@suse.de + +- initial; Sourcecode received from XIMIAN + diff --git a/gnutls.spec b/gnutls.spec new file mode 100644 index 0000000..627ee46 --- /dev/null +++ b/gnutls.spec @@ -0,0 +1,240 @@ +# +# spec file for package gnutls (Version 1.4.4) +# +# Copyright (c) 2006 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: 1.4.4 +Release: 10 +License: GNU General Public License (GPL) - all versions +BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: http://www.gnutls.org/ +Source0: %name-%version.tar.bz2 +Patch0: gnutls-char-signedness.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 devel +Summary: Development package for gnutls +Group: Productivity/Networking/Security +Requires: %name = %version glibc-devel libopencdk-devel libgcrypt-devel libgpg-error-devel zlib-devel lzo-devel + +%description devel +Files needed for software development using gnutls. + + + +Authors: +-------- + Nikos Mavroyanopoulos + Fabio Fiorina + Timo Schulz + Andrew McDonald + +%prep +%setup -q +%patch0 + +%build +autoreconf -fi +CFLAGS="$RPM_OPT_FLAGS" ./configure \ + --prefix=%_prefix \ + --sysconfdir=%_sysconfdir \ + --libdir=%_libdir \ + --mandir=%_mandir --infodir=%_infodir \ + --localstatedir=%_localstatedir \ + --with-included-libtasn1 +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 {} \; + +%clean +rm -rf %buildroot + +%post +%run_ldconfig + +%post devel +%install_info --info-dir=%{_infodir} %{_infodir}/gnutls.info.gz + +%postun +%run_ldconfig + +%postun devel +%install_info_delete --info-dir=%{_infodir} %{_infodir}/gnutls.info.gz + +%files +%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 +%_libdir/*.so.* +%_mandir/man1/* + +%_usr/share/locale/*/*/%{name}.mo + +%files devel +%defattr(-, root, root) +%_bindir/libgnutls-config +%_bindir/libgnutls-extra-config +%_includedir/* +%_libdir/*.a +%_libdir/*.la +%_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 -n gnutls +* 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 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4