Commit graph

20 commits

Author SHA1 Message Date
Rong-En Fan
a878ad4e41 - Run opensvn with --daemon ${name} in order to get distinguishable and
useful syslog tags

PR:		ports/120862
Submitted by:	Matthias Andree <matthias.andree at gmx.de> (maintainer)
2008-02-20 01:15:28 +00:00
Doug Barton
ea09bfe516 Remove spurious empty BEFORE: lines
Approved by:	maintainer
2007-03-08 07:16:33 +00:00
Juergen Lock
222105d2f8 rcfile:
- fix for FreeBSD releases before rcorder integration
- update copyright notice
- replace shell backticks by $().

Port:
- bump revision
- reformat comment

PR:		ports/109856
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
Approved by:	miwi (mentor)
2007-03-04 19:12:37 +00:00
Vasil Dimov
94d85e9b3e Fix a bug I introduced with last commit which resulted in openvpn not
being started during boot. The reason for this is that at boot $0 is not
/usr/local/etc/rc.d/openvpn but /etc/rc. The fix is a bit hackish because
it retrieves the script name from $_file - variable used in run_rc_script().

Reported by:	bazzoola <bazzoola@gmail.com>
2007-02-25 19:42:55 +00:00
Vasil Dimov
d78269eef1 use $() instead of ``
Requested by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2007-02-23 11:41:46 +00:00
Vasil Dimov
9d4f5552a9 * Add support for running multiple instances of openvpn to the startup script
Inspired by [1]
* Bump PORTREVISION
* Update the comment which says not to send notices about 2.0.8 to 2.0.9 since
  2.0.9 also introduces only Windows changes. Remove maintainer's name from
  this comment since he did not explicitly state this.

PR:		ports/108371 [1]
Submitted by:	Denis Shaposhnikov <dsh@vlink.ru>, Gleb Kozyrev <gkozyrev@gmail.com> [1]
Approved by:	matthias.andree@gmx.de (maintainer timeout, 28 days)
2007-02-23 08:38:53 +00:00
Ion-Mihai Tetcu
ae62e99ac3 1 - build and install lib/openvpn-down-root.so plugin (see --plugin option in
the man page) and README.openvpn-down-root
2 - match rc.d filename as printed post install in pkg-message to actual file
    name on newer systems (which use openvpn rather than openvpn.sh)
Reported by:	Jean-Baptiste Quenot (Bcc'd)
The maintainer wishes to thank Jean-Baptiste for his report and patience.
3 - add a pkg-req script to prevent installation of 6.1 packages on older
    machines, which is a frequent source of "rc.d script doesn't work"
    complaints.

Added file(s):
- files/pkg-req.in

PR:		ports/100917
Submitted by:	Matthias Andree (maintainer)
2006-07-28 09:56:54 +00:00
Renato Botelho
c11a9e9f81 - Update to 2.0.6
* security fix for client LD_PRELOAD code injection vulnerability
    through compromised upstream servers
    (FreeBSD VuXML Vuln VID be4ccb7b-c48b-11da-ae12-0002b3b60e4c,
     filed in separate PR)
    CVE id not known yet
  * 2 other changes only relevant for Linux and NetBSD, not detailed here.

PR:		ports/95345
Submitted by:	maintainer
Security:	VuXML be4ccb7b-c48b-11da-ae12-0002b3b60e4c
2006-04-05 14:57:25 +00:00
Vasil Dimov
00f85e891f Fix FreeBSD 4 jail build
PR:		ports/93833
Patch by:	dinoex
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
Approved by:	portmgr (marcus)
2006-02-28 16:25:43 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Renato Botelho
ffb6138a2e - CATEGORY CHANGE: add "net" secondary category
- fix jail build on FreeBSD 4 (no security.jail.jailed oid in sysctl)
- catch jail IP misconfiguration and print clear error message
- add SHA256 checksum
- revise pkg-message and pkg-descr

PR:		ports/88785
Submitted by:	maintainer
2005-11-10 15:05:42 +00:00
Marcus Alves Grando
14b53820f6 Enables self-tests with WITH_JAIL
Bump PORTREVISION

PR:		88488
Submitted by:	Matthias Andree <matthias.andree@gmx.de> (maintainer)
2005-11-05 01:24:15 +00:00
Volker Stolz
acce299054 FreeBSD 6 no longer adds debug.if_* sysctl variables in its default kernel
(according to the release notes), so our heuristic assumes the module is
missing and tries to load it, which fails as the module already exists.

PR:		ports/86286
Submitted by:	maintainer
2005-09-18 12:01:57 +00:00
Renato Botelho
aa7ff04e17 - Update to 2.0.2 that brings these upstream changes:
- fix bug that would exhaust file descriptors as the routing table was modified
    (this had already been part of the port previously)
  - fix bug that would block the management socket until the peer connected
  - fix pkitool sh incompatibilities (from NetBSD)

PR:		ports/85299
Submitted by:	maintainer
2005-08-29 18:52:19 +00:00
Renato Botelho
13dc48839d Fix a typo in the new rc file, where documentation didn't match the
actual variables.

PR:		ports/85156
Submitted by:	maintainer
Reported by:	Benjamin Lutz <benlutz@datacomm.ch>
Approved by:	portmgr (krion)
2005-08-22 10:31:35 +00:00
Renato Botelho
0f64e52705 - Security update to version 2.0.1, fixing four denial of service bugs,
CAN-2005-2531, CAN-2005-2532, CAN-2005-2533, CAN-2005-2534
- Drop old init script and add a modern rcNG script in its place,
  requested by Matthias Grimm and Dirk Gouders (although the script below is
  one I, Matthias Andree, wrote). It can automatically load tun/tap drivers.
- move pkg-message to files/pkg-message.in, revise it, list it in SUB_FILES
  to expand ${PREFIX}.
- print pkg-message after installation from port
- switch to official "make check" as smoke-test, rather than wiring our own.
- prefer LZO2 in most situations, as OpenVPN will pick up LZO2 rather than
  LZO1 if both are installed.

PR:		ports/85109
Submitted by:	maintainer
Approved by:	portmgr (krion)
2005-08-19 18:48:34 +00:00
Volker Stolz
f6b66d949e Plug socket (file descriptor) leak.
PR:		ports/81267
Submitted by:	Jaroslav Klaus via maintainer
2005-05-19 16:22:20 +00:00
Oliver Braun
2e59d374e6 * Upgrade to 1.3.2.
* Add init script.

PR:		44436
Submitted by:	maintainer
2002-10-25 20:55:29 +00:00
Ying-Chieh Liao
47c68887b2 upgrade to 1.3.0
PR:		40424
Submitted by:	maintainer
2002-07-11 16:51:06 +00:00
Patrick Li
c37c057b2e Add new port openvpn: Secure IP/Ethernet tunnel daemon
PR:		ports/39750
Submitted by:	Matthias Andree <matthias.andree@web.de>
2002-06-24 16:13:10 +00:00