Date: Fri, 9 Apr 2010 12:03:50 +0300 From: Peter Pentchev <roam@ringlet.net> To: freebsd-ports@FreeBSD.org Subject: [CFT] security/stunnel update to 4.33 Message-ID: <20100409090350.GA2104@straylight.m.ringlet.net>
next in thread | raw e-mail | index | archive | help
--h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, It's been a long time and four upstream releases since stunnel-4.29 which is in the Ports Collection now. The reason I've not updated the port is that there were user reports of various instabilities and regressions in the logging, chroot support, and some other newly introduced features. Now, with stunnel-4.33, it seems all of those are resolved, and the new features are worth upgrading. So here's the patch to update the security/stunnel port; if anybody is willing to test it, it'd be great. If no problems should arise, I intend to commit it in a couple of days. The patch is also available at http://people.FreeBSD.org/~roam/patches/stunnel/stunnel-4.33-01.patch G'luck, Peter Description: Update the security/stunnel port to version 4.33. Author: Peter Pentchev <roam@FreeBSD.org> Last-Update: 2010-04-07 --- a/security/stunnel/Makefile +++ b/security/stunnel/Makefile @@ -6,7 +6,7 @@ # =20 PORTNAME=3D stunnel -PORTVERSION=3D 4.29 +PORTVERSION=3D 4.33 CATEGORIES=3D security MASTER_SITES=3D http://www.stunnel.org/download/stunnel/src/ \ ftp://stunnel.mirt.net/stunnel/ \ --- a/security/stunnel/distinfo +++ b/security/stunnel/distinfo @@ -1,6 +1,3 @@ -MD5 (stunnel-4.29.tar.gz) =3D 14dc3f8412947f0548975cbce74d6863 -SHA256 (stunnel-4.29.tar.gz) =3D 018064e852a2a125bcfb4b81baa77b5701ccf6aab= e6a47564bfc046b18d11f9b -SIZE (stunnel-4.29.tar.gz) =3D 544292 -MD5 (execargs.patch) =3D c893028f869f6d1f527373334605d639 -SHA256 (execargs.patch) =3D 88e682c0deee13d9768c8cbdd3e71f90dd26d92621d2e6= 4542d5379a3939ac4c -SIZE (execargs.patch) =3D 756 +MD5 (stunnel-4.33.tar.gz) =3D 559a864066d8cc4afd8a97682c90d41c +SHA256 (stunnel-4.33.tar.gz) =3D 240763140000dea6ab76b30f5f5571a8ef4d22ba0= 712176a9c31c221bb9a48fc +SIZE (stunnel-4.33.tar.gz) =3D 560103 --- a/security/stunnel/files/patch-Makefile.in +++ b/security/stunnel/files/patch-Makefile.in @@ -2,11 +2,11 @@ This is handled by the FreeBSD port's Makefile. Forwarded: not-needed Author: Peter Pentchev <roam@FreeBSD.org> -Last-Update: 2009-11-13 +Last-Update: 2010-04-07 =20 --- tools/Makefile.in.orig +++ tools/Makefile.in -@@ -339,7 +339,7 @@ +@@ -334,7 +334,7 @@ =20 info-am: =20 @@ -14,4 +14,4 @@ +install-data-am: install-confDATA \ install-examplesDATA =20 - install-exec-am: + install-dvi: install-dvi-am --- a/security/stunnel/files/patch-src::common.h +++ b/security/stunnel/files/patch-src::common.h @@ -1,11 +1,11 @@ Description: Build on FreeBSD versions of OpenSSL < 0.9.8b. Forwarded: not-needed Author: Peter Pentchev <roam@FreeBSD.org> -Last-Update: 2010-02-01 +Last-Update: 2010-04-07 =20 --- src/common.h.orig +++ src/common.h -@@ -344,9 +344,6 @@ +@@ -350,9 +350,6 @@ =20 #define OPENSSL_THREAD_DEFINES #include <openssl/opensslconf.h> --- a/security/stunnel/files/ssl-noengine.patch +++ b/security/stunnel/files/ssl-noengine.patch @@ -1,16 +1,16 @@ Description: Disable the OpenSSL engine support for the FreeBSD port. Forwaded: not-needed Author: Peter Pentchev <roam@FreeBSD.org> -Last-Update: 2009-11-13 +Last-Update: 2010-04-07 =20 --- src/ssl.c.orig +++ src/ssl.c -@@ -276,6 +276,8 @@ +@@ -288,6 +288,8 @@ } =20 - static void init_engine() { + static char *init_engine(void) { + s_log(LOG_ERR, "This version of stunnel was compiled WITHOUT support = for OpenSSL hardware engines! If you need this functionality, rebuild the = FreeBSD port with the WITH_STUNNEL_SSL_ENGINE option set to 'yes'; contact = Peter Pentchev <roam@FreeBSD.org> for details."); + exit(1); if(engine_initialized) - return; + return NULL; /* OK */ engine_initialized=3D1; --=20 Peter Pentchev roam@ringlet.net roam@space.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 Do you think anybody has ever had *precisely this thought* before? --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQIcBAEBCgAGBQJLvu12AAoJEGUe77AlJ98T45oP/3uag8jw/e4ZYUj/KQYZGgnZ h7kAsn6/eqwCpqPMuE5dWAITGH42jWZ3fEHA8IiK00kLgSC+acdxFjtOUiH5jofh UDjrZ644nizl7tZSss7jFZepv3Nr7sruolyp3S1r5DxTR4HG02fV3u6FcddPHG4U mZ9/XCBnf8hJeO+t9FWKValxJR1HBf602CAHKeH7GdIeyPVUsWeh1rPpQe8ghu6j QOyfDzbNjzvZmkFavEZS/NNaP5hutqlBDBvo7+SAFQAB0WXWUlpdprjdRl8PZdYH QMgqj1yyd8IQXHMf/jjPheGuFYFR+2ZB5Wn7eB15nofzqu3DXzceZYvDM38bazhr mujVwRpkfnXFK6Vm6jIN/m9n7KqVbw9xhOXQ38fYxf4NxAV6fscYMxbSL914KuZW xHekYetRQ8i40XIoUiy07SSSK/ei9dA89bEbbwviF40OxUrI6yvMD856bNdqlYFn wbps6Dp6h9eMnNyoNfawvJqfO9qomDpMHSprsqUIgAY/C4scI9cHAcZyxle9F5a3 nIRldJ0PWHL4wXa+jtnRsrf3xTkT+tQFlW113NRfak2GmH7qjnM6f028n0t267VI ZT0C10mt5LanTFg7w2vVpSK3pnyBGZs9cWjb5okcVzquZjod0ixw5cpk5Bbw8m6P oqzBdvBFjk7A1/VRgblF =TW0Z -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100409090350.GA2104>