ferdnyc / rpms / gnutls

Forked from rpms/gnutls 4 years ago
Clone
1bccd5c
Summary: A TLS protocol implementation
cvsdist 7277b39
Name: gnutls
62efe95
Version: 2.6.3
721f03d
Release: 2%{?dist}
a59d844
# The libgnutls library is LGPLv2+, utilities and remaining libraries are GPLv3+
a59d844
License: GPLv3+ and LGPLv2+
cvsdist 7277b39
Group: System Environment/Libraries
109ee1c
BuildRequires: libgcrypt-devel >= 1.2.2, gettext
0c2a289
BuildRequires: zlib-devel, readline-devel, libtasn1-devel
4b31e92
BuildRequires: lzo-devel, libtool, automake, autoconf
4b31e92
BuildRequires: guile-devel
cvsdist 7277b39
URL: http://www.gnutls.org/
cvsdist 487ecb4
#Source0: ftp://ftp.gnutls.org/pub/gnutls/devel/%{name}-%{version}.tar.gz
cvsdist 487ecb4
#Source1: ftp://ftp.gnutls.org/pub/gnutls/devel/%{name}-%{version}.tar.gz.sig
cvsdist 487ecb4
# XXX patent tainted SRP code removed.
f98988c
Source0: %{name}-%{version}-nosrp.tar.bz2
1a646a7
Source1: libgnutls-config
9c5b753
Patch1: gnutls-2.6.2-nosrp.patch
7371ef8
1bccd5c
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5090376
Requires: libgcrypt >= 1.2.2
cvsdist 7277b39
cvsdist 7277b39
%package devel
1bccd5c
Summary: Development files for the %{name} package
cvsdist 7277b39
Group: Development/Libraries
cvsdist 7277b39
Requires: %{name} = %{version}-%{release}
5f29102
Requires: libgcrypt-devel
7baf89f
Requires: pkgconfig
1bccd5c
Requires(post): /sbin/install-info
1bccd5c
Requires(preun): /sbin/install-info
Ivana Varekova 06b7f40
fe90c79
%package utils
1bccd5c
Summary: Command line tools for TLS protocol
fe90c79
Group: Applications/System
fe90c79
Requires: %{name} = %{version}-%{release}
cvsdist 7277b39
4b31e92
%package guile
4b31e92
Summary: Guile bindings for the GNUTLS library
4b31e92
Group: Development/Libraries
4b31e92
Requires: %{name} = %{version}-%{release}
4b31e92
Requires: guile
4b31e92
cvsdist 7277b39
%description
03e3f84
GnuTLS is a project that aims to develop a library which provides a secure 
03e3f84
layer, over a reliable transport layer. Currently the GnuTLS library implements
03e3f84
the proposed standards by the IETF's TLS working group.
cvsdist 7277b39
cvsdist 7277b39
%description devel
03e3f84
GnuTLS is a project that aims to develop a library which provides a secure
03e3f84
layer, over a reliable transport layer. Currently the GnuTLS library implements
03e3f84
the proposed standards by the IETF's TLS working group.
03e3f84
This package contains files needed for developing applications with
03e3f84
the GnuTLS library.
cvsdist 7277b39
fe90c79
%description utils
fe90c79
GnuTLS is a project that aims to develop a library which provides a secure
fe90c79
layer, over a reliable transport layer. Currently the GnuTLS library implements
fe90c79
the proposed standards by the IETF's TLS working group.
fe90c79
This package contains command line TLS client and server and certificate
fe90c79
manipulation tools.
fe90c79
4b31e92
%description guile
4b31e92
GnuTLS is a project that aims to develop a library which provides a secure
4b31e92
layer, over a reliable transport layer. Currently the GnuTLS library implements
4b31e92
the proposed standards by the IETF's TLS working group.
4b31e92
This package contains Guile bindings for the library.
4b31e92
cvsdist 7277b39
%prep
cvsdist 7277b39
%setup -q
df2ef39
%patch1 -p1 -b .nosrp
ece0766
cvsdist 487ecb4
for i in auth_srp_rsa.c auth_srp_sb64.c auth_srp_passwd.c auth_srp.c gnutls_srp.c ext_srp.c; do
ece0766
    touch lib/$i
cvsdist 487ecb4
done
cvsdist 7277b39
cvsdist 7277b39
%build
4b31e92
autoreconf
a59d844
%configure --with-libtasn1-prefix=%{_prefix} \
a59d844
           --with-included-libcfg \
0c2a289
           --disable-srp-authentication
cvsdist 7277b39
make
cvsdist 7277b39
cvsdist 7277b39
%install
cvsdist 7277b39
rm -fr $RPM_BUILD_ROOT
cvsdist 7277b39
%makeinstall
1a646a7
rm -f $RPM_BUILD_ROOT%{_bindir}/srptool
1a646a7
rm -f $RPM_BUILD_ROOT%{_bindir}/gnutls-srpcrypt
1a646a7
cp -f %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/libgnutls-config
1a646a7
cp -f %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/libgnutls-extra-config
1a646a7
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/srptool.1
1a646a7
rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*srp*
1a646a7
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
1a646a7
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
4b31e92
rm -f $RPM_BUILD_ROOT%{_libdir}/libguile*.a
109ee1c
%find_lang %{name}
cvsdist 7277b39
cvsdist 487ecb4
%check
cvsdist 487ecb4
make check
cvsdist 7277b39
cvsdist 7277b39
%clean
cvsdist 7277b39
rm -fr $RPM_BUILD_ROOT
cvsdist 7277b39
cvsdist 7277b39
%post -p /sbin/ldconfig
cvsdist 7277b39
cvsdist 7277b39
%postun -p /sbin/ldconfig
cvsdist 7277b39
4237faf
%post devel
4237faf
if [ -f %{_infodir}/gnutls.info.gz ]; then
1bccd5c
    /sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
4237faf
fi
4237faf
4237faf
%preun devel
4237faf
if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then
1bccd5c
   /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir || :
4237faf
fi
4237faf
4b31e92
%post guile -p /sbin/ldconfig
4b31e92
4b31e92
%postun guile -p /sbin/ldconfig
4b31e92
109ee1c
%files -f %{name}.lang
1bccd5c
%defattr(-,root,root,-)
4b31e92
%{_libdir}/libgnutls*.so.*
1bccd5c
%doc COPYING COPYING.LIB README AUTHORS
cvsdist 7277b39
cvsdist 7277b39
%files devel
1bccd5c
%defattr(-,root,root,-)
1a646a7
%{_bindir}/libgnutls*-config
cvsdist 7277b39
%{_includedir}/*
4b31e92
%{_libdir}/libgnutls*.a
4b31e92
%{_libdir}/libgnutls*.so
cvsdist 7277b39
%{_datadir}/aclocal/*
f98988c
%{_libdir}/pkgconfig/*.pc
ece0766
%{_mandir}/man3/*
ece0766
%{_infodir}/gnutls*
cvsdist 7277b39
fe90c79
%files utils
1bccd5c
%defattr(-,root,root,-)
fe90c79
%{_bindir}/certtool
109ee1c
%{_bindir}/psktool
fe90c79
%{_bindir}/gnutls*
fe90c79
%{_mandir}/man1/*
62efe95
%doc doc/certtool.cfg
fe90c79
4b31e92
%files guile
4b31e92
%defattr(-,root,root,-)
4b31e92
%{_libdir}/libguile*.so*
4b31e92
%{_datadir}/guile/site/gnutls
4b31e92
%{_datadir}/guile/site/gnutls.scm
4b31e92
cvsdist 7277b39
%changelog
721f03d
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.3-2
721f03d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
721f03d
62efe95
* Mon Dec 15 2008 Tomas Mraz <tmraz@redhat.com> 2.6.3-1
62efe95
- upgrade to a new upstream version
62efe95
9c5b753
* Thu Dec  4 2008 Tomas Mraz <tmraz@redhat.com> 2.6.2-1
9c5b753
- upgrade to a new upstream version
9c5b753
202be7c
* Tue Nov 11 2008 Tomas Mraz <tmraz@redhat.com> 2.4.2-3
202be7c
- fix chain verification issue CVE-2008-4989 (#470079)
202be7c
4b31e92
* Thu Sep 25 2008 Tomas Mraz <tmraz@redhat.com> 2.4.2-2
4b31e92
- add guile subpackage (#463735)
4b31e92
- force new libtool through autoreconf to drop unnecessary rpaths
4b31e92
b65911e
* Tue Sep 23 2008 Tomas Mraz <tmraz@redhat.com> 2.4.2-1
b65911e
- new upstream version
b65911e
a59d844
* Tue Jul  1 2008 Tomas Mraz <tmraz@redhat.com> 2.4.1-1
a59d844
- new upstream version
a59d844
- correct the license tag
a59d844
- explicit --with-included-opencdk not needed
a59d844
- use external lzo library, internal not included anymore
a59d844
df2ef39
* Tue Jun 24 2008 Tomas Mraz <tmraz@redhat.com> 2.4.0-1
df2ef39
- upgrade to latest upstream
df2ef39
7eaa873
* Tue May 20 2008 Tomas Mraz <tmraz@redhat.com> 2.0.4-3
7eaa873
- fix three security issues in gnutls handshake - GNUTLS-SA-2008-1
7eaa873
  (#447461, #447462, #447463)
7eaa873
0c2a289
* Mon Feb  4 2008 Joe Orton <jorton@redhat.com> 2.0.4-2
0c2a289
- use system libtasn1
0c2a289
9e40af7
* Tue Dec  4 2007 Tomas Mraz <tmraz@redhat.com> 2.0.4-1
9e40af7
- upgrade to latest upstream
9e40af7
14c4e4b
* Tue Aug 21 2007 Tomas Mraz <tmraz@redhat.com> 1.6.3-2
14c4e4b
- license tag fix
14c4e4b
2ffe497
* Wed Jun  6 2007 Tomas Mraz <tmraz@redhat.com> 1.6.3-1
2ffe497
- upgrade to latest upstream (#232445)
2ffe497
1bccd5c
* Tue Apr 10 2007 Tomas Mraz <tmraz@redhat.com> 1.4.5-2
1bccd5c
- properly require install-info (patch by Ville Skyttä)
1bccd5c
- standard buildroot and use dist tag
1bccd5c
- add COPYING and README to doc
1bccd5c
fa6168a
* Wed Feb  7 2007 Tomas Mraz <tmraz@redhat.com> 1.4.5-1
fa6168a
- new upstream version
fa6168a
- drop libtermcap-devel from buildrequires
fa6168a
7baf89f
* Thu Sep 14 2006 Tomas Mraz <tmraz@redhat.com> 1.4.1-2
7baf89f
- detect forged signatures - CVE-2006-4790 (#206411), patch
7baf89f
  from upstream
7baf89f
4e49f8e
* Tue Jul 18 2006 Tomas Mraz <tmraz@redhat.com> - 1.4.1-1
4e49f8e
- upgrade to new upstream version, only minor changes
4e49f8e
1b6a7df
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.4.0-1.1
1b6a7df
- rebuild
1b6a7df
109ee1c
* Wed Jun 14 2006 Tomas Mraz <tmraz@redhat.com> - 1.4.0-1
109ee1c
- upgrade to new upstream version (#192070), rebuild
109ee1c
  of dependent packages required
109ee1c
c0160c6
* Tue May 16 2006 Tomas Mraz <tmraz@redhat.com> - 1.2.10-2
c0160c6
- added missing buildrequires
c0160c6
73103d2
* Mon Feb 13 2006 Tomas Mraz <tmraz@redhat.com> - 1.2.10-1
73103d2
- updated to new version (fixes CVE-2006-0645)
73103d2
bbcda79
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-3.2
bbcda79
- bump again for double-long bug on ppc(64)
bbcda79
a3ad88a
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-3.1
a3ad88a
- rebuilt for new gcc4.1 snapshot and glibc changes
a3ad88a
d9f0e10
* Tue Jan  3 2006 Jesse Keating <jkeating@redhat.com> 1.2.9-3
d9f0e10
- rebuilt
d9f0e10
1a646a7
* Fri Dec  9 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-2
1a646a7
- replaced *-config scripts with calls to pkg-config to
1a646a7
  solve multilib conflicts
1a646a7
5090376
* Wed Nov 23 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-1
5090376
- upgrade to newest upstream
5090376
- removed .la files (#172635)
5090376
ece0766
* Sun Aug  7 2005 Tomas Mraz <tmraz@redhat.com> 1.2.6-1
ece0766
- upgrade to newest upstream (rebuild of dependencies necessary)
ece0766
fe90c79
* Mon Jul  4 2005 Tomas Mraz <tmraz@redhat.com> 1.0.25-2
fe90c79
- split the command line tools to utils subpackage
fe90c79
1fc90fa
* Sat Apr 30 2005 Tomas Mraz <tmraz@redhat.com> 1.0.25-1
1fc90fa
- new upstream version fixes potential DOS attack
1fc90fa
08b4472
* Sat Apr 23 2005 Tomas Mraz <tmraz@redhat.com> 1.0.24-2
08b4472
- readd the version script dropped by upstream
08b4472
f98988c
* Fri Apr 22 2005 Tomas Mraz <tmraz@redhat.com> 1.0.24-1
f98988c
- update to the latest upstream version on the 1.0 branch
f98988c
72d4238
* Wed Mar  2 2005 Warren Togami <wtogami@redhat.com> 1.0.20-6
72d4238
- gcc4 rebuild
72d4238
Ivana Varekova 06b7f40
* Tue Jan  4 2005 Ivana Varekova <varekova@redhat.com> 1.0.20-5
Ivana Varekova 06b7f40
- add gnutls Requires zlib-devel (#144069)
Ivana Varekova 06b7f40
5f29102
* Mon Nov 08 2004 Colin Walters <walters@redhat.com> 1.0.20-4
5f29102
- Make gnutls-devel Require libgcrypt-devel
5f29102
jbj 16f8e2a
* Tue Sep 21 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-3
jbj 16f8e2a
- rebuild with release++, otherwise unchanged.
jbj 16f8e2a
cvsdist 487ecb4
* Tue Sep  7 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-2
cvsdist 487ecb4
- patent tainted SRP code removed.
cvsdist 487ecb4
cvsdist 487ecb4
* Sun Sep  5 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-1
cvsdist 487ecb4
- update to 1.0.20.
cvsdist 487ecb4
- add --with-included-opencdk --with-included-libtasn1
cvsdist 487ecb4
- add --with-included-libcfg --with-included-lzo
cvsdist 487ecb4
- add --disable-srp-authentication.
cvsdist 487ecb4
- do "make check" after build.
cvsdist 487ecb4
cvsdist 487ecb4
* Fri Mar 21 2003 Jeff Johnson <jbj@redhat.com> 0.9.2-1
cvsdist 487ecb4
- upgrade to 0.9.2
cvsdist 487ecb4
cvsdist 7277b39
* Tue Jun 25 2002 Jeff Johnson <jbj@redhat.com> 0.4.4-1
cvsdist 7277b39
- update to 0.4.4.
cvsdist 7277b39
cvsdist 7277b39
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 7277b39
- automated rebuild
cvsdist 7277b39
cvsdist 7277b39
* Sat May 25 2002 Jeff Johnson <jbj@redhat.com> 0.4.3-1
cvsdist 7277b39
- update to 0.4.3.
cvsdist 7277b39
cvsdist 7277b39
* Tue May 21 2002 Jeff Johnson <jbj@redhat.com> 0.4.2-1
cvsdist 7277b39
- update to 0.4.2.
cvsdist 7277b39
- change license to LGPL.
cvsdist 7277b39
- include splint annotations patch.
cvsdist 7277b39
cvsdist 7277b39
* Tue Apr  2 2002 Nalin Dahyabhai <nalin@redhat.com> 0.4.0-1
cvsdist 7277b39
- update to 0.4.0
cvsdist 7277b39
cvsdist 7277b39
* Thu Jan 17 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.2-1
cvsdist 7277b39
- update to 0.3.2
cvsdist 7277b39
cvsdist 7277b39
* Wed Jan 10 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.0-1
cvsdist 7277b39
- add a URL
cvsdist 7277b39
cvsdist 7277b39
* Wed Dec 20 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 7277b39
- initial package