Hello community, here is the log from the commit of package stunnel checked in at Fri Jun 23 17:12:32 CEST 2006. -------- --- stunnel/stunnel.changes 2006-01-25 21:41:50.000000000 +0100 +++ stunnel/stunnel.changes 2006-06-23 15:24:09.000000000 +0200 @@ -1,0 +2,26 @@ +Fri Jun 23 15:11:22 CEST 2006 - poeml@suse.de + +- build as non-root +- build with fPIE/pie on SUSE 10.0 or newer, or on any other + platform +- fix BuildRequires for Fedora Core, and wrap suse_version macros +- upstream 4.1.5 + * Release notes + - There are a lot of new features in this version. I recommend + to test it well before upgrading your mission-critical systems. + [note by packager: out since 3 months, without major problems] + * Bugfixes + - Default threading model changed to pthread for better portability. + - DH parameters are not included in the certificate by default. + * New features sponsored by Software House http://www.swhouse.com/ + - Most SSL-related options (including client, cert, key) are now + available on service level, so it is possible to have an SSL + client and an SSL server in a single stunnel process. + * New features + - Client mode CONNECT protocol support (RFC 2817 section 5.2). + http://www.ietf.org/rfc/rfc2817.txt + - Retrying exec+connect services added. +- make install now tries to create /var/lib/stunnel chmoded 1770 + and group nogroup, which we don't do. + +------------------------------------------------------------------- Old: ---- stunnel-4.14.tar.bz2 New: ---- stunnel-4.15.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ stunnel.spec ++++++ --- /var/tmp/diff_new_pack.GxE6Wn/_old 2006-06-23 17:12:21.000000000 +0200 +++ /var/tmp/diff_new_pack.GxE6Wn/_new 2006-06-23 17:12:21.000000000 +0200 @@ -1,24 +1,30 @@ # -# spec file for package stunnel (Version 4.14) +# spec file for package stunnel (Version 4.15) # -# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2006 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 +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # +# norootforbuild Name: stunnel -BuildRequires: openssl-devel tcpd-devel +BuildRequires: openssl-devel +%if 0%{?suse_version} +BuildRequires: tcpd-devel +%endif Summary: Universal SSL Tunnel License: LGPL, Other License(s), see package -Version: 4.14 -Release: 2 +Version: 4.15 +Release: 1 Group: Productivity/Networking/Security URL: http://www.stunnel.org/ Autoreqprov: on +%if %{?suse_version:%suse_version}%{?!suse_version:0} > 800 PreReq: /usr/sbin/useradd fileutils textutils %insserv_prereq %fillup_prereq +%endif Source: http://www.stunnel.org/download/stunnel/src/%{name}-%{version}.tar.bz2 Source1: stunnel.conf Source2: stunnel.README @@ -26,11 +32,7 @@ Source4: stunnel.rc Patch1: stunnel-4.14-write_pid_as_root.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if %ul_version >= 1 -%define VENDOR UnitedLinux -%else -%define VENDOR SuSE -%endif +%define VENDOR SUSE %description The stunnel program is designed to work as an SSL encryption wrapper @@ -48,12 +50,18 @@ %patch1 -p1 %build -export CFLAGS="$RPM_OPT_FLAGS -fpie" +#autoreconf -fi +sed -i 's/-m 1770 -g nogroup//g' tools/Makefile.in +%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930 +fPIE="-fPIE" +pie="-pie" +%endif +export CFLAGS="$RPM_OPT_FLAGS $fPIE" %configure \ --with-tcp-wrappers \ --localstatedir=/var \ --with-pem-dir=%{_sysconfdir}/stunnel -echo -e ".\n.\n.\n.\n.\n" | make LDADD="-pie -Wl,-z,defs,-z,relro" +echo -e ".\n.\n.\n.\n.\n" | make LDADD="$pie -Wl,-z,defs,-z,relro" %install rm -rf $RPM_BUILD_ROOT @@ -62,10 +70,12 @@ mkdir -p $RPM_BUILD_ROOT/etc/init.d/ mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates make \ - confdir=$RPM_BUILD_ROOT/%{_sysconfdir}/stunnel \ - sbindir=$RPM_BUILD_ROOT/%{_sbindir} \ - libdir=$RPM_BUILD_ROOT/%{_libdir} \ - mandir=$RPM_BUILD_ROOT/%{_mandir} \ + confdir=%{_sysconfdir}/stunnel \ + sbindir=%{_sbindir} \ + libdir=%{_libdir} \ + mandir=%{_mandir} \ + docdir=%{_docdir}/%{name} \ + DESTDIR=$RPM_BUILD_ROOT \ install cp -p %{S:1} tools/stunnel.conf-sample cp -p %{S:2} README.%VENDOR @@ -80,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT %pre -%if %suse_version > 730 +%if 0%{?suse_version} > 730 system_user=-r %endif /usr/sbin/useradd $system_user -g nogroup -s /bin/false -c "Daemon user for stunnel (universal SSL tunnel)" \ @@ -102,12 +112,12 @@ fi %preun -%if %suse_version > 820 +%if %{?suse_version:%suse_version}%{?!suse_version:0} > 820 %stop_on_removal stunnel %endif %postun -%if %suse_version > 820 +%if %{?suse_version:%suse_version}%{?!suse_version:0} > 820 %restart_on_update stunnel %insserv_cleanup %endif @@ -138,6 +148,29 @@ %config /etc/init.d/* %changelog -n stunnel +* Fri Jun 23 2006 - poeml@suse.de +- build as non-root +- build with fPIE/pie on SUSE 10.0 or newer, or on any other + platform +- fix BuildRequires for Fedora Core, and wrap suse_version macros +- upstream 4.1.5 + * Release notes +- There are a lot of new features in this version. I recommend + to test it well before upgrading your mission-critical systems. + [note by packager: out since 3 months, without major problems] + * Bugfixes +- Default threading model changed to pthread for better portability. +- DH parameters are not included in the certificate by default. + * New features sponsored by Software House http://www.swhouse.com/ +- Most SSL-related options (including client, cert, key) are now + available on service level, so it is possible to have an SSL + client and an SSL server in a single stunnel process. + * New features +- Client mode CONNECT protocol support (RFC 2817 section 5.2). + http://www.ietf.org/rfc/rfc2817.txt +- Retrying exec+connect services added. +- make install now tries to create /var/lib/stunnel chmoded 1770 + and group nogroup, which we don't do. * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Sun Nov 27 2005 - lmuelle@suse.de ++++++ stunnel-4.14.tar.bz2 -> stunnel-4.15.tar.bz2 ++++++ ++++ 9173 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org