Commit graph

33 commits

Author SHA1 Message Date
Peter Pentchev
644e7eb25b Finish the USE_RC_SUBR transition after marcus repo-copied stunnel.sh
to stunnel.in.
No functional changes once the port has been installed, thus
no PORTREVISION bump.
2008-01-26 14:13:43 +00:00
Peter Pentchev
27c6a7f09c Update the stunnel port to version 4.22b2 to fix inetd mode logging[1].
While I'm here, pick up various changes from PR's:
- convert the startup script to the new style[2], but do not yet enable
  USE_RC_SUBR; a repo-copy of stunnel.sh to stunnel.in should be done first
- use ETCDIR instead of PREFIX/etc/stunnel everywhere[3]
- wave a magic wand over the startup script generation process to mimic
  the changes that will be done by USE_RC_SUBR after the repo-copy

Prompted by:	Damian Wiest <dwiest@vailsys.com> and
		Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com> on
		the stunnel-users mailing list [1]
PR:		119655 [2] - only the changes to the startup script
		116773 [3] - only the ETCDIR part
Submitted by:	Jason DiCioccio <jd@ods.org> [2],
		Alexander Logvinov <ports@logvinov.com> [3]
2008-01-24 00:36:42 +00:00
Peter Pentchev
50fa8f3e41 Add an official fix for the chroot mode resolving bug.
Approved by:	portmgr (pav)
2007-11-13 10:09:51 +00:00
Peter Pentchev
7446ef4da0 Update to stunnel-4.21. 2007-10-29 16:45:19 +00:00
Peter Pentchev
744b7a5fbb Update to stunnel 4.15, which has the major new feature of almost all
connection options being configurable per connection, not global anymore.
2006-04-21 10:51:49 +00:00
Peter Pentchev
d6b724d900 Update to stunnel 4.14, which is mostly a bugfix release.
Besides what's in the PR, also revert the pidfile location change to
preserve POLA and hier(7).

PR:		88436
Submitted by:	Vasil Dimov <vd@datamax.bg>
2005-11-03 11:51:10 +00:00
Peter Pentchev
6d01095715 Update to stunnel 4.11, which is deemed a stable release.
Remove our local patches for ucontext/pthread/fork model choice, since
this is handled by a configure argument now.
Note that ucontext is not supported on FreeBSD versions less than 5.0.

PR:		83245 (mostly)
Submitted by:	Vasil Dimov <vd@datamax.bg>
2005-07-13 08:41:58 +00:00
Peter Pentchev
fe4f451ee5 Fix the stunnel ucontext-related problems using a patch from the author,
Michael Trojnara[1].
Also, add the build-time WITH_FORK, WITH_PTHREAD, and WITH_UCONTEXT knobs
to control the stunnel threading model used, based on Vasil Dimov's PR's
with some modifications [2].
While I'm here, add in a <sys/types.h> inclusion that seems to be needed
for <ucontext.h> at least on FreeBSD 6.0/sparc64.

Reported by:	many
Pointy hat to:	roam (myself) for both not noticing this and then letting
		it linger for a while
Obtained from:	Michael Trojnara's BSD patch from
		<53594c631989fde6ca0bdb3435b93dfe@mirt.net> [1]
PR:		81289, 82202 [2]
Submitted by:	Vasil Dimov
2005-06-14 08:58:47 +00:00
Peter Pentchev
f06998a46e Update to 4.10, fixing the execvp() and pid file issues while I'm here.
PR:		79114, 79120, 80143, 80405
Submitted by:	Florian Hars <hars@bik-gmbh.de>,
		Jim Hatfield <jim.hatfield@insignia.com>,
		Vasil Dimov <vd@datamax.bg>,
		Vsevolod Stakhov <vsevolod@highsecure.ru>
2005-05-12 11:36:41 +00:00
Peter Pentchev
3decfd3c3c Update stunnel to 4.07, which incorporates most of our fixes to 4.06
and also fixes a crash if a client connection is closed too early.

Approved by:	portmgr (krion)
2005-01-03 09:54:20 +00:00
Peter Pentchev
5aae62f428 Okay then, purge the last reference to MySQL in the startup script... 2004-12-30 15:39:26 +00:00
Peter Pentchev
13afd20c89 The last update for this year, I hope :)
Make stunnel use the rc_subr framework, allowing for much cleaner
startup and shutdown of multiple instances of stunnel.
2004-12-30 15:37:50 +00:00
Peter Pentchev
bce3aa73af Fix a getnameinfo() out-of-memory error caused by passing a 20-character
buffer to hold a numeric IPv4/v6 address.  Of course, IPv6 addresses may
be a bit longer than 20 characters :)

A-ha! moment during:	discussion with the stunnel author
2004-12-30 14:22:10 +00:00
Peter Pentchev
08b6b866be Fix the build on FreeBSD versions around 5.2 when EAI_NODATA was
temporarily aliased to EAI_NONAME.
No PORTREVISION bump, since this is a no-op on earlier and later versions,
and it didn't build at all until now on the affected versions.

Reported by:	Bretislav Kubesa <bretislav.kubesa@centrum.cz>
2004-12-29 12:28:55 +00:00
Peter Pentchev
8960518fa7 Update to stunnel-4.06. In addition to the PR:
- enable the new IPv6 functionality when WITH_IPV6 is defined;
- at last move over to libtool-1.5 and get rid of the .la file;
- update the WITH_STUNNEL_SSL_ENGINE message to also mention FreeBSD 6.x;
- remove the obsolete sock_ioctlsocket() definition from patch-aa;
- fix a couple of getnameinfo(3)-related buglets;
- fix a poll(2)-related buglet: it seems FreeBSD insists (correctly) that
  INFTIM passed to poll(2) should be -1, not just any negative value.

PR:		75519 (somewhat)
Submitted by:	Dan Langille <dan@langille.org>
2004-12-27 14:33:19 +00:00
Peter Pentchev
51f2c79e0a Fix the bus error on startup in -CURRENT and 5.x-BETA. It turns out
that the OpenSSL ENGINE code is, well, somewhat less than stellar,
especially in combo with malloc's 'j' option.  Even without it, though,
there are some problems that I don't have time to look into right now.

So, disable the OpenSSL ENGINE activation on FreeBSD 5.x, unless
the WITH_STUNNEL_SSL_ENGINE knob is turned on.  Also, while I'm here,
fix the CONFIGURE_TARGET so the GNU configure script does not complain
quite so loudly.  Bump PORTREVISION for the functionality change
(well, I guess you could say "not working" -> "working" is a functionality
change ;)
2004-09-02 15:46:15 +00:00
Dirk Meyer
3f4590834a remove IS_INTERACTIVE again.
No response from maintainer since 30.09.2002
2002-10-27 16:02:35 +00:00
Peter Pentchev
88cba5e382 Update to stunnel-4.00.
*** WARNING WARNING WARNING ***
The stunnel invocation has changed!  The program no longer accepts
command-line options, but is controlled by a config file instead.
Please refer to the stunnel(8) manual page for more information.

PR:		42249
Submitted by:	Dan Langille <dan@langille.org>, lioux
2002-09-20 09:29:11 +00:00
Dirk Meyer
665f0c659d Unbreak Package-Build, removed IS_INTERACTIVE 2002-09-15 12:03:05 +00:00
Peter Pentchev
e787d21d74 Update to 3.21.
Change USE_AUTOCONF to GNU_CONFIGURE; there have been no configure.in
patches for some time now.

PR:		31656
Submitted by:	maintainer
2001-11-01 08:28:38 +00:00
Michael Haro
3d2d47820f Update the stunnel package to the latest version.
Changelog for version 3.20, 2001.08.15, urgency: LOW:

* setsockopt() optlen set according to the optval for Solaris.
* Minor NetBSD compatibility fixes by Martti Kuparinen.
* Minor MSVC6 compatibility fixes by Patrick Mayweg.
* SSL close_notify timeout reduced to 10 seconds of inactivity.
* Socket close instead of reset on close_notify timeout.
* Some source arrangement and minor bugfixes.

PR:		29766
Submitted by:	    maintainer
2001-08-18 07:30:59 +00:00
Peter Pentchev
b444ef9975 Update to 3.19.
PR:		29603
Submitted by:	maintainer
2001-08-10 14:21:32 +00:00
Kevin Lo
18740de9d7 Update to version 3.15
PR: 29000
Submitted by: MAINTAINER
2001-07-16 15:42:15 +00:00
Steve Price
6414c009c8 Use non-blocking I/O by default.
PR:		21513
Submitted by:	Mike Harding <mvh@ix.netcom.com>
2001-02-26 03:39:30 +00:00
Steve Price
2c3da6b249 Update to version 3.8.4.
PR:		19637
Submitted by:	maintainer
2000-07-07 19:27:28 +00:00
Steve Price
a94d68c6ab Update to version 3.8.
PR:		17792
Submitted by:	Keith Ray <kmray@slb.com>
2000-04-30 20:01:47 +00:00
Dirk Froemberg
2b831e8031 Fix usage of libc_r (i. e. replace -lc_r with -pthread) and simplify
prefix handling.

OK'ed by:	maintainer
2000-03-07 13:21:22 +00:00
Kris Kennaway
9e7bb76189 Fix build.
Submitted by:	Jim Bloom <bloom@acm.org>
2000-02-27 06:21:10 +00:00
Kris Kennaway
7b88f52d0f Upgrade to stunnel 3.7
PR:		16554 (updated)
Submitted by:	Martti Kuparinen <martti.kuparinen@lmf.ericsson.se>
2000-02-15 07:09:55 +00:00
Kris Kennaway
b6974210ce USE_OPENSSL
Submitted by:	Jim Bloom <bloom@acm.org>
2000-02-12 10:37:45 +00:00
Steve Price
d805c70056 Teach this port's configure script that phtread_create can be found in
-lc_r.

PR:		13700
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@gns.com.br>
1999-11-01 01:33:43 +00:00
Dirk Froemberg
09575bf336 Upgrade to version 3.3.
PR:		ports/12318:
Submitted by:	Martti Kuparinen <martti.kuparinen@ericsson.com> (maintainer)
1999-06-23 19:04:20 +00:00
Steve Price
f8c6ebf7e7 Update to version 3.2.
PR:		12018
Submitted by:	maintainer
1999-06-06 16:55:02 +00:00