File tls.spec of Package tls
#
# spec file for package tls (Version 1.6)
#
# Copyright (c) 2008 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: tls
BuildRequires: openssl-devel tcl-devel
Summary: Tcl Binding for the OpenSSL Library
Version: 1.6
Release: 5
License: BSD 3-Clause
Group: Development/Libraries/Tcl
Url: http://tls.sourceforge.net
Source0: %name%version-src.tar.bz2
Patch1: tls-ciphers.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This extension provides a generic binding for Tcl to OpenSSL, utilizing
the new Tcl_StackChannel API for Tcl 8.2 and higher. The sockets behave
exactly the same as channels created using Tcl's built-in socket
command with additional options for controlling the SSL session.
Authors:
--------
Matt Newman <matt@novadigm.com>
Jeff Hobbs <jeff@hobbs.org>
%prep
%setup -q -n %name%version
%patch1
#%patch2
%build
autoconf
CFLAGS="$RPM_OPT_FLAGS" \
./configure \
--libdir=%_libdir \
--prefix=/usr \
--with-ssl-dir=/usr \
--with-tcl=%_libdir
make
%check
cat > known-failures <<EOF
tlsIO-12.3
EOF
make test 2>&1 | tee testresults
grep FAILED testresults | grep -Fqvf known-failures && exit 1
%install
make install \
DESTDIR=%buildroot \
libdir=%_libdir/tcl
%clean
rm -rf %buildroot
%files
%defattr(-,root,root,-)
%doc ChangeLog README.txt license.terms tls.htm
%_includedir/*
%_libdir/tcl
%changelog
* Tue Apr 22 2008 max@suse.de
- Ignore test tlsIO-12.3, because it fails on loaded machines.
* Thu Apr 03 2008 max@suse.de
- New version: 1.6
* Fix a memleak in tls.c
* Use better Eval APIs, cleaner Tcl_Obj-handling
* fix handshake on non-blocking sockets
- Adjust to the new Tcl file system layout.
* Fri Oct 20 2006 max@suse.de
- Patched cipher tests to match cipher list of openssl-0.98d.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 09 2006 max@suse.de
- Update to CVS snapshot of version 1.5.1.
* Wed Jun 29 2005 max@suse.de
- Moved the sctipt library to /usr/share/tcl .
* Wed Jun 01 2005 max@suse.de
- Temporarily disabled test tlsIO-12.3, because it sometimes fails
in a way that is hard to track down.
This needs further inspection.
* Thu Nov 11 2004 ro@suse.de
- fixed file list
* Fri Feb 27 2004 max@suse.de
- New version: 1.5.0
* Wed Feb 25 2004 hmacht@suse.de
- building as non-root (# norootforbuild)
* Wed Jun 04 2003 max@suse.de
- New package: tls-1.4.1
- Tcl bindings to SSL