Commit graph

57 commits

Author SHA1 Message Date
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
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
Peter Pentchev
f213c223ee BROKEN -> IGNORE, since this is a runtime error and the port itself builds
just fine.

Suggested by:	kris
2004-06-17 09:35:23 +00:00
Peter Pentchev
66b2cb218c Mark broken on -CURRENT until I figure out why stunnel doesn't like
-CURRENT's OpenSSL.

Reported by:	dougb
2004-06-11 16:37:56 +00:00
Peter Pentchev
4dcc8c9765 And hot on the heels of the distsite update, here's the promised update
to 4.05 :)
2004-06-03 11:38:01 +00:00
Peter Pentchev
531c941fd6 Fix the distsites; an update to stunnel-4.05 is coming shortly, but still,
do this in the meantime.

PR:		67200
Submitted by:	Roman Neuhauser <neuhauser@chello.cz>
2004-06-03 10:48:32 +00:00
Peter Pentchev
fb4c110510 Brian Hatch updated his RSA blinding patch to only apply
the blinding when really needed.  However, the name of
the patch file was not changed, which may confuse FreeBSD
distfile mirrors.  So, host the patch file in my local
FreeBSD cluster space, changing the file's name.

Reported by:	Dan Langille <dan@langille.org>
2003-04-30 16:28:37 +00:00
Peter Pentchev
4d58518ba0 Add Brian Hatch's patch to enable RSA blinding on older OpenSSL versions.
Note: this patch is not needed for the 4.8-RELEASE ports tree, since
FreeBSD 4.8 will ship with a fixed OpenSSL version.  However, this patch
SHOULD be applied by anyone running stunnel with a version of OpenSSL
older than 0.9.7a, as reported by the 'openssl version' command.

Submitted by:	Brian Hatch <bri@stunnel.org>
2003-03-23 10:35:14 +00:00
Peter Pentchev
33059bd045 Remove pkg-comment files in my ports. 2003-02-19 16:07:30 +00:00
Peter Pentchev
e0aa1ab229 Update to stunnel-4.04.
Independently submitted by:	Dan Langille <dan@langille.org>
2003-01-13 13:26:03 +00:00
Peter Pentchev
e9d65ec173 Update to 4.03.
'make cert' fix submitted by:	Krzysztof Stryjek <wtp@mud.pl>
2003-01-09 09:54:54 +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
4715f698e0 Apply a blessed +3 magic wand of autotools protection; a rogue run of
autoconf or automake over our local patches can ruin your whole day.
This rarely, if ever, affected the vpopmail ports, causing mysterious
failures at install time, but inevitably killed the stunnel build if
automake-1.5 happened to be installed.

Reported by:	Dan Langille <dan@langille.org> for stunnel,
		Sitchin Zech <mailsagan@yahoo.com> for vpopmail
2002-09-20 19:55:07 +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
Peter Pentchev
dad6ec9955 Take over maintainership; I use this a lot. 2002-09-16 12:02:35 +00:00
Alan Eldridge
b2e839be66 Maintainer relenquishing ports.
PR:		42829
Submitted by:	Martti Kuparinen <martti.kuparinen@iki.fi>
Approved by:	maintainer
2002-09-16 11:26:51 +00:00
Dirk Meyer
665f0c659d Unbreak Package-Build, removed IS_INTERACTIVE 2002-09-15 12:03:05 +00:00
Dirk Meyer
381ee07151 PORT UPDATE : security/stunnel 3.21c -> 3.22
- No resposnse from MAINTAINER

Submitter marked this as critical because the current version of the port has
security issues, see Message-ID: <20011227210538.GH3494@ifokr.org>
Subject: Stunnel: Format String Bug in versions <3.22
on the bugtraq list.

patch confirmed and tested.

PR:		33285, 33251
Submitted by:	joseph@randomnetworks.com
2002-01-05 14:49:41 +00:00
Vanilla I. Shu
ff90c04b0e upgrade to 3.21c
PR:		ports/32290
Submitted by:	maintainer
2001-11-30 07:22:55 +00:00
Peter Pentchev
71ffdb8e0c Update to 3.21b, fixing a Makefile bogon and a file descriptor leak.
Add a new knob, PEM_DIR, to specify the path to install the certificate
generated during the stunnel build, and later, the one generated using
the 'cert' target of the port Makefile.

Approved by:	maintainer
2001-11-07 11:01:38 +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
Mario Sergio Fujikawa Ferreira
2446d896c8 o Update to 3.18
* MAX_CLIENTS is calculated based on FD_SETSIZE, now.
	* Problems with closing SSL in transfer() fixed.
	* -I option to bind a static local IP address added.
	* Debug output of info_callback redesigned.
o Reorder MASTER_SITES

PR:		29358
Submitted by:	maintainer
2001-08-02 19:04:01 +00:00
Kris Kennaway
dd14d744e4 Update to stunnel 3.17
Approved by:	maintainer
2001-07-30 09:14:13 +00:00
Peter Pentchev
67e78b4f97 Update to 3.16.
PR:		29157
Submitted by:	maintainer
2001-07-23 08:39:58 +00:00
Kevin Lo
18740de9d7 Update to version 3.15
PR: 29000
Submitted by: MAINTAINER
2001-07-16 15:42:15 +00:00
Peter Pentchev
ae7f7f8ae0 Update to 3.14.
PR:		25279
Submitted by:	maintainer
2001-02-22 13:39:59 +00:00
Ying-Chieh Liao
a4b49b7f14 upgrade to 3.13 and change master site
PR:		24635
Submitted by:	MAINTAINER
2001-01-25 14:49:30 +00:00
Ying-Chieh Liao
c2ef876675 upgrade and change maintainer email
PR:		24627
Submitted by:	MAINTAINER
2001-01-25 14:37:54 +00:00
Peter Pentchev
9cb7b46fd9 Update to 3.11 and mark as interactive (prompts for information while
generating a certificate).

PR:		23901 with my mods
Submitted by:	Joseph Scott <joseph@randomnetworks.com>
Silence by:	maintainer
2001-01-02 15:01:40 +00:00
Peter Pentchev
fcf6d5e013 Update to 3.10.
PR:		23684
Submitted by:	maintainer
2000-12-20 12:59:12 +00:00
Kris Kennaway
a9a48998a7 Upgrade to stunnel 3.9 to fix security vulnerabilities. 2000-12-20 05:56:08 +00:00
Kris Kennaway
e088a4f458 Update all ports using OpenSSL and RSA to work without rsaref since
it is no longer required. Apologies to the various maintainers whom I
did not yet hear back from, but the ports freeze is coming up in a few
hours and I will be verifying all of these ports on a 4.1 machine
myself to catch any problems.
2000-09-22 01:59:06 +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
Michael Haro
4cf4ab0a2f Correct whitespace introduced during PORTNAME conversion and portlint 2000-04-21 08:19:33 +00:00
Chris Piazza
3df86a88a9 Update with the new PORTNAME/PORTVERSION variables 2000-04-09 18:34:06 +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
Dirk Froemberg
08001a1462 Store pid file in /var/run/.
PR:		ports/16805
Submitted by:	maintainer
2000-02-20 15:05:06 +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
Foxfair Hu
28183a94c3 Clean up Makefile, remove the unwanted action while compiling.
Pointed out by : Martti Kuparinen <martti.kuparinen@ericsson.com>
		(maintainer)
2000-01-11 01:16:04 +00:00
Foxfair Hu
a205b4eda9 Back out my change from Oct.26, this was a misconfigured hack and should
never be taken.

Pointed out by : maintainer.
1999-12-09 14:17:09 +00:00
Dirk Froemberg
acf3546644 Change dependencies from static to shared openssl libraries,
because openssl also builds shared libraries, now.
1999-11-07 22:25:40 +00:00
Foxfair Hu
936a65cefc Make this port to build in -stable. 1999-10-26 19:12:46 +00:00
Steve Price
f429a767f4 This port's configure script now takes care of this so we longer
need this hack.
1999-09-06 23:12:55 +00:00
Chris Piazza
a1d6fedced Update to version 3.4a
PR:		13594
Submitted by:	maintainer
1999-09-06 19:29:23 +00:00