Commit graph

113 commits

Author SHA1 Message Date
Peter Pentchev
5bafc9702d Update to stunnel-4.35:
- drop the transparent proxying patch, integrated upstream
- while I'm here, fix the very first master site URL -
  the download page on stunnel.org just links to the sites now,
  and does not contain downloadable source

PR:		154631
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2011-02-10 09:34:59 +00:00
Peter Pentchev
5431ebd5df Implement transparent proxying using the IP_BINDANY option if available in
a way a bit different (and a bit more generic) than the one in the PR.
While I'm here, declare the GPL-2+ license and remove the MD5 checksum.

PR:		153568
Submitted by:	Jason Helfman <jhelfman@experts-exchange.com>
2011-01-04 16:37:24 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Peter Pentchev
10806a3198 Unbreak the build on FreeBSD 6.x and other versions that need
the port version of OpenSSL for elliptic curve cryptography.
While I'm here, update the list of master sites.
2010-10-21 11:36:26 +00:00
Pav Lucistnik
786313d555 - Mark BROKEN on 6.X: does not compile
Reported by:	pointyhat
2010-10-12 23:09:50 +00:00
Peter Pentchev
35eb39a9c0 Update to stunnel-4.34. In this version the DH parameters support was
made conditional only on OpenSSL support for it, not on GNU configure
parameters, so it will most probably be automatically enabled on
the currently supported FreeBSD versions.  If this leads to any problems,
I'll look into making it optional again.
2010-09-20 09:49:58 +00:00
Peter Pentchev
c02cff316e Update to stunnel-4.33; hopefully, the stability problems are fixed now. 2010-04-16 12:49:44 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Peter Pentchev
af961eafd3 Update to stunnel-4.29. I'm holding off on the 4.30 update for
a couple of days until the chroot/SIGHUP/pid file problem discussed
on the stunnel-users mailing list is sorted out upstream.

PR:		142773
Reported by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2010-02-03 09:33:25 +00:00
Peter Pentchev
fdef7d0cd2 Fix the build on FreeBSD 6.x (an older version of OpenSSL) by replacing
the official no_ticket.patch with an extended one ifdef'ing more options.
Replace the src/client.c patch with the official execargs.patch.
Bump PORTREVISION.
2009-11-19 11:06:25 +00:00
Peter Pentchev
530a5cb5d0 Update stunnel to 4.28, including a patch for older SSL versions.
Add two new configurable options to disable libwrap support (almost
as in the PR, but not quite) and enable Diffie-Hellman key exchange.

PR:		139147 (only the libwrap support, but missing -lwrap)
Submitted by:	Jim Riggs <ports@christianserving.org>
2009-11-13 10:58:57 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Peter Pentchev
c95ed59c21 Update to stunnel-4.27. 2009-04-23 11:37:02 +00:00
Martin Wilke
f341fd8333 - Update to 4.26
PR:		130160
Submitted by:	"Beat Gätzi" <beat@chruetertee.ch>
2009-01-09 15:55:54 +00:00
Pav Lucistnik
b2a96c6df1 - Remove conditional checks for FreeBSD 5.x and older 2009-01-06 17:59:31 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Peter Pentchev
6786c845ef Update to stunnel-4.25. 2008-06-03 15:12:08 +00:00
Peter Pentchev
17f700605a Update to stunnel-4.24. 2008-05-19 15:57:52 +00:00
Peter Pentchev
4881cbf15f Update to the release version of stunnel-4.22. 2008-03-28 11:02:11 +00:00
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
Edwin Groothuis
13441eac4b Remove always-false/true conditions based on OSVERSION 500000 2007-10-04 06:02:06 +00:00
Peter Pentchev
4afa9507f4 Reserve a user and group ID for the stunnel daemon.
Loosely based on the PR, although I just used the next available UID/GID.

PR:		108784
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
2007-08-28 10:01:00 +00:00
Kris Kennaway
ae994c8ea8 Use libtool port instead of included version to avoid objformat a.out botch 2007-02-01 02:42:05 +00:00
Peter Pentchev
9d86ea858b Update to stunnel 4.20. 2006-12-01 16:16:05 +00:00
Peter Pentchev
1800910608 Update to stunnel 4.19 and fix the NOPORTDOCS installation to really
skip over the installation of example files and scripts.  Of course,
stunnel.conf-sample is still installed into etc/stunnel/.
2006-11-15 11:32:51 +00:00
Peter Pentchev
ef0ecb1c36 Fix the problem with unattended deinstallation by not even attempting
to remove the stunnel user and group at all - just kill the package
deinstall script.

PR:		104028
Reported by:	jan grant <jan.grant@bristol.ac.uk>,
		Stephen Hurd <shurd@sasktel.net> (in private mail a while ago),
		and, I think, many others
2006-10-08 18:06:54 +00:00
Peter Pentchev
593eda3e96 A trivial update to stunnel-4.18 - Windows-related changes only. 2006-09-26 13:40:52 +00:00
Peter Pentchev
34257d852a Update to stunnel 4.17.
PR:		103123
Submitted by:	vd
2006-09-18 13:29:03 +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
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Peter Pentchev
f8e10eeed7 Catch up with stunnel's tools/Makefile to make the port's "make cert"
target actually work again.
Follow the upstream author's idea of keeping all stunnel-related
configuration files into ${PREFIX}/etc/stunnel/ - now "make cert" also
installs the certificate there instead of ${PREFIX}/etc/.
Bump PORTREVISION and add a note to UPDATING for the certificate
location change.

PR:		91991
Reported by:	Jiri Pridal <jiri.pridal@firebrno.cz>
2006-01-31 09:11:38 +00:00
Edwin Groothuis
32487a10ad SHA256ify
Approved by: krion@
2006-01-24 01:06:45 +00:00
Ade Lovett
54a0b86543 Mass-conversion to the USE_AUTOTOOLS New World Order. The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
2005-11-15 06:52:12 +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
c824644e82 Update to 4.13, which ought to fix the libc_r detection problem in
a short window of 5.x versions.

PR:		87839
Submitted by:	Vasil Dimov <vd@datamax.bg>
2005-11-01 00:18:03 +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
95275bc068 OPTIONS'ify, but still leave WITH_STUNNEL_SSL_ENGINE out of it - it is
a bit too dangerous to leave out in the open.
2005-06-14 09:07:12 +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
Florent Thoumie
545cd1ee8f - Fix deinstall script when running in BATCH mode.
PR:		ports/67762
Submitted by:	Linus Sjoberg <lsjoberg@aland.net>
Approved by:	maintainer timeout (7 weeks)
2005-06-05 23:03:15 +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
David E. O'Brien
c3d8037aeb At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE.
2005-04-12 03:26:56 +00:00
David E. O'Brien
f2fc2d60ae Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
2005-04-11 08:04: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