2005-07-04 22:10:55 +00:00
|
|
|
Summary: A TLS protocol implementation.
|
2004-09-09 05:45:39 +00:00
|
|
|
Name: gnutls
|
2006-07-18 16:26:10 +00:00
|
|
|
Version: 1.4.1
|
|
|
|
Release: 1
|
2004-09-09 05:45:39 +00:00
|
|
|
License: LGPL
|
|
|
|
Group: System Environment/Libraries
|
2006-06-14 12:43:43 +00:00
|
|
|
BuildRequires: libgcrypt-devel >= 1.2.2, gettext
|
2006-05-16 15:43:52 +00:00
|
|
|
BuildRequires: zlib-devel, readline-devel, libtermcap-devel
|
2004-09-09 05:45:53 +00:00
|
|
|
#BuildPrereq: libtasn1-devel
|
|
|
|
#BuildPrereq: opencdk-devel
|
2004-09-09 05:45:39 +00:00
|
|
|
URL: http://www.gnutls.org/
|
2004-09-09 05:45:53 +00:00
|
|
|
#Source0: ftp://ftp.gnutls.org/pub/gnutls/devel/%{name}-%{version}.tar.gz
|
|
|
|
#Source1: ftp://ftp.gnutls.org/pub/gnutls/devel/%{name}-%{version}.tar.gz.sig
|
|
|
|
# XXX patent tainted SRP code removed.
|
2005-04-22 13:12:08 +00:00
|
|
|
Source0: %{name}-%{version}-nosrp.tar.bz2
|
2005-12-09 14:41:58 +00:00
|
|
|
Source1: libgnutls-config
|
2006-06-14 12:43:43 +00:00
|
|
|
Patch0: gnutls-1.4.0-nosrp.patch
|
2006-07-18 16:26:10 +00:00
|
|
|
Patch1: gnutls-1.4.1-enable-psk.patch
|
2004-09-09 05:45:53 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2005-11-23 11:18:46 +00:00
|
|
|
Requires: libgcrypt >= 1.2.2
|
2004-09-09 05:45:39 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for the %{name} package.
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-11-08 19:23:50 +00:00
|
|
|
Requires: libgcrypt-devel
|
2005-01-04 13:56:10 +00:00
|
|
|
Requires: zlib-devel
|
|
|
|
|
2005-07-04 22:10:55 +00:00
|
|
|
%package utils
|
|
|
|
Summary: Command line tools for TLS protocol.
|
|
|
|
Group: Applications/System
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2004-09-09 05:45:39 +00:00
|
|
|
|
|
|
|
%description
|
2005-06-06 19:36:11 +00:00
|
|
|
GnuTLS is a project that aims to develop a library which provides a secure
|
|
|
|
layer, over a reliable transport layer. Currently the GnuTLS library implements
|
|
|
|
the proposed standards by the IETF's TLS working group.
|
2004-09-09 05:45:39 +00:00
|
|
|
|
|
|
|
%description devel
|
2005-06-06 19:36:11 +00:00
|
|
|
GnuTLS is a project that aims to develop a library which provides a secure
|
|
|
|
layer, over a reliable transport layer. Currently the GnuTLS library implements
|
|
|
|
the proposed standards by the IETF's TLS working group.
|
|
|
|
This package contains files needed for developing applications with
|
|
|
|
the GnuTLS library.
|
2004-09-09 05:45:39 +00:00
|
|
|
|
2005-07-04 22:10:55 +00:00
|
|
|
%description utils
|
|
|
|
GnuTLS is a project that aims to develop a library which provides a secure
|
|
|
|
layer, over a reliable transport layer. Currently the GnuTLS library implements
|
|
|
|
the proposed standards by the IETF's TLS working group.
|
|
|
|
This package contains command line TLS client and server and certificate
|
|
|
|
manipulation tools.
|
|
|
|
|
2004-09-09 05:45:39 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2004-09-09 05:45:53 +00:00
|
|
|
%patch0 -p1 -b .nosrp
|
2006-06-14 12:43:43 +00:00
|
|
|
%patch1 -p1 -b .enable-psk
|
2005-08-07 19:12:26 +00:00
|
|
|
|
2004-09-09 05:45:53 +00:00
|
|
|
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
|
2005-08-07 19:12:26 +00:00
|
|
|
touch lib/$i
|
2004-09-09 05:45:53 +00:00
|
|
|
done
|
2004-09-09 05:45:39 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 05:45:53 +00:00
|
|
|
%configure --with-included-opencdk --with-included-libtasn1 --with-included-libcfg --with-included-lzo --disable-srp-authentication
|
2004-09-09 05:45:39 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
%makeinstall
|
2005-12-09 14:41:58 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/srptool
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/gnutls-srpcrypt
|
|
|
|
cp -f %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/libgnutls-config
|
|
|
|
cp -f %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/libgnutls-extra-config
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/srptool.1
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_mandir}/man3/*srp*
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
2006-06-14 12:43:43 +00:00
|
|
|
%find_lang %{name}
|
2004-09-09 05:45:39 +00:00
|
|
|
|
2004-09-09 05:45:53 +00:00
|
|
|
%check
|
|
|
|
make check
|
2004-09-09 05:45:39 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2005-08-08 08:39:25 +00:00
|
|
|
%post devel
|
|
|
|
if [ -f %{_infodir}/gnutls.info.gz ]; then
|
|
|
|
/sbin/install-info %{_infodir}/gnutls.info.gz %{_infodir}/dir
|
|
|
|
fi
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
if [ $1 = 0 -a -f %{_infodir}/gnutls.info.gz ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir
|
|
|
|
fi
|
|
|
|
|
2006-06-14 12:43:43 +00:00
|
|
|
%files -f %{name}.lang
|
2004-09-09 05:45:39 +00:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2005-12-09 14:41:58 +00:00
|
|
|
%{_bindir}/libgnutls*-config
|
2004-09-09 05:45:39 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_datadir}/aclocal/*
|
2005-04-22 13:12:08 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2005-08-07 19:12:26 +00:00
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_infodir}/gnutls*
|
2004-09-09 05:45:39 +00:00
|
|
|
|
2005-07-04 22:10:55 +00:00
|
|
|
%files utils
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/certtool
|
2006-06-14 12:43:43 +00:00
|
|
|
%{_bindir}/psktool
|
2005-07-04 22:10:55 +00:00
|
|
|
%{_bindir}/gnutls*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
2004-09-09 05:45:39 +00:00
|
|
|
%changelog
|
2006-07-18 16:26:10 +00:00
|
|
|
* Tue Jul 18 2006 Tomas Mraz <tmraz@redhat.com> - 1.4.1-1
|
|
|
|
- upgrade to new upstream version, only minor changes
|
|
|
|
|
2006-07-12 06:12:22 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.4.0-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-14 12:43:43 +00:00
|
|
|
* Wed Jun 14 2006 Tomas Mraz <tmraz@redhat.com> - 1.4.0-1
|
|
|
|
- upgrade to new upstream version (#192070), rebuild
|
|
|
|
of dependent packages required
|
|
|
|
|
2006-05-16 15:43:52 +00:00
|
|
|
* Tue May 16 2006 Tomas Mraz <tmraz@redhat.com> - 1.2.10-2
|
|
|
|
- added missing buildrequires
|
|
|
|
|
2006-02-13 08:10:43 +00:00
|
|
|
* Mon Feb 13 2006 Tomas Mraz <tmraz@redhat.com> - 1.2.10-1
|
|
|
|
- updated to new version (fixes CVE-2006-0645)
|
|
|
|
|
2006-02-11 03:19:29 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-3.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 11:58:23 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.9-3.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-03 19:46:58 +00:00
|
|
|
* Tue Jan 3 2006 Jesse Keating <jkeating@redhat.com> 1.2.9-3
|
|
|
|
- rebuilt
|
|
|
|
|
2005-12-09 14:41:58 +00:00
|
|
|
* Fri Dec 9 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-2
|
|
|
|
- replaced *-config scripts with calls to pkg-config to
|
|
|
|
solve multilib conflicts
|
|
|
|
|
2005-11-23 11:18:46 +00:00
|
|
|
* Wed Nov 23 2005 Tomas Mraz <tmraz@redhat.com> 1.2.9-1
|
|
|
|
- upgrade to newest upstream
|
|
|
|
- removed .la files (#172635)
|
|
|
|
|
2005-08-07 19:12:26 +00:00
|
|
|
* Sun Aug 7 2005 Tomas Mraz <tmraz@redhat.com> 1.2.6-1
|
|
|
|
- upgrade to newest upstream (rebuild of dependencies necessary)
|
|
|
|
|
2005-07-04 22:10:55 +00:00
|
|
|
* Mon Jul 4 2005 Tomas Mraz <tmraz@redhat.com> 1.0.25-2
|
|
|
|
- split the command line tools to utils subpackage
|
|
|
|
|
2005-04-30 20:46:20 +00:00
|
|
|
* Sat Apr 30 2005 Tomas Mraz <tmraz@redhat.com> 1.0.25-1
|
|
|
|
- new upstream version fixes potential DOS attack
|
|
|
|
|
2005-04-23 22:45:15 +00:00
|
|
|
* Sat Apr 23 2005 Tomas Mraz <tmraz@redhat.com> 1.0.24-2
|
|
|
|
- readd the version script dropped by upstream
|
|
|
|
|
2005-04-22 13:12:08 +00:00
|
|
|
* Fri Apr 22 2005 Tomas Mraz <tmraz@redhat.com> 1.0.24-1
|
|
|
|
- update to the latest upstream version on the 1.0 branch
|
|
|
|
|
2005-03-03 07:43:39 +00:00
|
|
|
* Wed Mar 2 2005 Warren Togami <wtogami@redhat.com> 1.0.20-6
|
|
|
|
- gcc4 rebuild
|
|
|
|
|
2005-01-04 13:56:10 +00:00
|
|
|
* Tue Jan 4 2005 Ivana Varekova <varekova@redhat.com> 1.0.20-5
|
|
|
|
- add gnutls Requires zlib-devel (#144069)
|
|
|
|
|
2004-11-08 19:23:50 +00:00
|
|
|
* Mon Nov 08 2004 Colin Walters <walters@redhat.com> 1.0.20-4
|
|
|
|
- Make gnutls-devel Require libgcrypt-devel
|
|
|
|
|
2004-09-21 16:26:45 +00:00
|
|
|
* Tue Sep 21 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-3
|
|
|
|
- rebuild with release++, otherwise unchanged.
|
|
|
|
|
2004-09-09 05:45:53 +00:00
|
|
|
* Tue Sep 7 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-2
|
|
|
|
- patent tainted SRP code removed.
|
|
|
|
|
|
|
|
* Sun Sep 5 2004 Jeff Johnson <jbj@redhat.com> 1.0.20-1
|
|
|
|
- update to 1.0.20.
|
|
|
|
- add --with-included-opencdk --with-included-libtasn1
|
|
|
|
- add --with-included-libcfg --with-included-lzo
|
|
|
|
- add --disable-srp-authentication.
|
|
|
|
- do "make check" after build.
|
|
|
|
|
|
|
|
* Fri Mar 21 2003 Jeff Johnson <jbj@redhat.com> 0.9.2-1
|
|
|
|
- upgrade to 0.9.2
|
|
|
|
|
2004-09-09 05:45:39 +00:00
|
|
|
* Tue Jun 25 2002 Jeff Johnson <jbj@redhat.com> 0.4.4-1
|
|
|
|
- update to 0.4.4.
|
|
|
|
|
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Sat May 25 2002 Jeff Johnson <jbj@redhat.com> 0.4.3-1
|
|
|
|
- update to 0.4.3.
|
|
|
|
|
|
|
|
* Tue May 21 2002 Jeff Johnson <jbj@redhat.com> 0.4.2-1
|
|
|
|
- update to 0.4.2.
|
|
|
|
- change license to LGPL.
|
|
|
|
- include splint annotations patch.
|
|
|
|
|
|
|
|
* Tue Apr 2 2002 Nalin Dahyabhai <nalin@redhat.com> 0.4.0-1
|
|
|
|
- update to 0.4.0
|
|
|
|
|
|
|
|
* Thu Jan 17 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.2-1
|
|
|
|
- update to 0.3.2
|
|
|
|
|
|
|
|
* Wed Jan 10 2002 Nalin Dahyabhai <nalin@redhat.com> 0.3.0-1
|
|
|
|
- add a URL
|
|
|
|
|
|
|
|
* Wed Dec 20 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- initial package
|