ferdnyc / rpms / gnutls

Forked from rpms/gnutls 4 years ago
Clone
fe90c79
Summary: A TLS protocol implementation.
cvsdist 7277b39
Name: gnutls
5090376
Version: 1.2.9
bbcda79
Release: 3.2
cvsdist 7277b39
License: LGPL
cvsdist 7277b39
Group: System Environment/Libraries
5090376
BuildPrereq: libgcrypt-devel >= 1.2.2
cvsdist 487ecb4
#BuildPrereq: libtasn1-devel
cvsdist 487ecb4
#BuildPrereq: opencdk-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
5090376
Patch0: gnutls-1.2.9-nosrp.patch
cvsdist 487ecb4
BuildRoot: %{_tmppath}/%{name}-root
5090376
Requires: libgcrypt >= 1.2.2
cvsdist 7277b39
cvsdist 7277b39
%package devel
cvsdist 7277b39
Summary: Development files for the %{name} package.
cvsdist 7277b39
Group: Development/Libraries
cvsdist 7277b39
Requires: %{name} = %{version}-%{release}
5f29102
Requires: libgcrypt-devel
Ivana Varekova 06b7f40
Requires: zlib-devel
Ivana Varekova 06b7f40
fe90c79
%package utils
fe90c79
Summary: Command line tools for TLS protocol.
fe90c79
Group: Applications/System
fe90c79
Requires: %{name} = %{version}-%{release}
cvsdist 7277b39
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
cvsdist 7277b39
%prep
cvsdist 7277b39
%setup -q
cvsdist 487ecb4
%patch0 -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
cvsdist 487ecb4
%configure --with-included-opencdk --with-included-libtasn1 --with-included-libcfg --with-included-lzo --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
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
4237faf
    /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
4237faf
   /sbin/install-info --delete %{_infodir}/gnutls.info.gz %{_infodir}/dir
4237faf
fi
4237faf
cvsdist 7277b39
%files
cvsdist 7277b39
%defattr(-,root,root)
cvsdist 7277b39
%{_libdir}/*.so.*
cvsdist 7277b39
cvsdist 7277b39
%files devel
cvsdist 7277b39
%defattr(-,root,root)
1a646a7
%{_bindir}/libgnutls*-config
cvsdist 7277b39
%{_includedir}/*
cvsdist 7277b39
%{_libdir}/*.a
cvsdist 7277b39
%{_libdir}/*.so
cvsdist 7277b39
%{_datadir}/aclocal/*
f98988c
%{_libdir}/pkgconfig/*.pc
ece0766
%{_mandir}/man3/*
ece0766
%{_infodir}/gnutls*
cvsdist 7277b39
fe90c79
%files utils
fe90c79
%defattr(-,root,root)
fe90c79
%{_bindir}/certtool
fe90c79
%{_bindir}/gnutls*
fe90c79
%{_mandir}/man1/*
fe90c79
cvsdist 7277b39
%changelog
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