--- stunnel-4.04/src/Makefile.am.orig Sun Jan 12 19:16:35 2003
+++ stunnel-4.04/src/Makefile.am Sun Jan 12 19:17:30 2003
-@@ -18,26 +18,8 @@
- libstunnel_la_SOURCES = $(shared_sources)
- libstunnel_la_LDFLAGS = -avoid-version
+@@ -21,26 +21,8 @@
+ # Red Hat "by design" bug #82369
+ INCLUDES = -I/usr/kerberos/include
-# Win32 executable
-
-EXTRA_PROGRAMS = stunnel.exe
-stunnel_exe_SOURCES = $(common_headers) $(common_sources) $(win32_sources)
-
--OPENSSLDIR=/usr/src/openssl-0.9.7
+-OPENSSLDIR=/usr/src/openssl-0.9.7c
-WINCFLAGS=-O2 -Wall -I$(OPENSSLDIR)/outinc \
- -DUSE_WIN32=1 -DHAVE_OPENSSL=1 -DVERSION=\"@VERSION@\"
-WINLIBS=-L$(OPENSSLDIR)/out -leay32 -lssl32 -lwsock32 -lgdi32 -mwindows
-config $(srcdir)/stunnel.cnf -out stunnel.pem -keyout stunnel.pem; \
test $(USE_DH) -eq 0 || $(openssl) gendh $$RND 512 >> stunnel.pem
$(openssl) x509 -subject -dates -fingerprint -noout \
-@@ -23,7 +23,7 @@
- -in stunnel.pem
-
- install-data-hook:
-- chmod 0600 $(confdir)/stunnel.pem
-+ chmod 0600 $(DESTDIR)$(confdir)/stunnel.pem
-
- clean-local:
- -rm -f stunnel.rnd
--- stunnel-4.04/configure.ac.orig Sun Jan 12 18:23:14 2003
+++ stunnel-4.04/configure.ac Sun Jan 12 18:23:25 2003
-@@ -105,7 +105,7 @@
- AC_DEFINE_UNQUOTED(HOST, "$host")
-
+@@ -107,7 +107,7 @@
dnl Checks for standard libraries.
+ AC_CHECK_LIB(dl, dlopen)
+ AC_CHECK_LIB(dld, shl_load)
-AC_CHECK_LIB(nsl, gethostbyname)
+AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname))
AC_CHECK_LIB(socket, socket)
Summary: Universal SSL tunnel
Summary(pl): Uniwersalne narzêdzie do bezpiecznego tunelowania
Name: stunnel
-Version: 4.04
-Release: 0.9
+Version: 4.05
+Release: 1
License: GPL v2
Group: Networking/Daemons
Source0: ftp://stunnel.mirt.net/stunnel/%{name}-%{version}.tar.gz
-# Source0-md5: 2fcdf0311a0ab8a3223293c706a84e97
+# Source0-md5: e28a03cf694a43a7f144ec3d5c064456
Source1: %{name}.init
Source2: %{name}.sysconfig
Patch0: %{name}-gethostbyname_is_in_libc_aka_no_libnsl.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
-BuildRequires: openssl-devel >= 0.9.7c
-BuildRequires: openssl-tools >= 0.9.7c
+#BuildRequires: openssl-devel >= 0.9.7c
+#BuildRequires: openssl-tools >= 0.9.7c
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description