19 Commits

Author SHA1 Message Date
sthen
2d15118f43 Fix mis-merge in last commit, restoring some route operations which got broken.
Thanks to Mattieu Baptiste for reporting the problem and testing the fix.
2014-10-21 17:55:11 +00:00
sthen
429633c786 update to openvpn-2.3.4 2014-10-10 21:07:07 +00:00
bluhm
ecc8a9c2f8 OpenVPN copies part of the net/route.h header file into their route.c
source file.  They cannot include it, because the kernel route
structure has a name conflict with the openvpn route structure.
The obvious solution is to rename the openvpn route.  According to
the sources, NetBSD and FreeBSD and Dragonfly also suffer from that.

This change is needed for an upcoming routing message change.  We
do not want to patch the port each time when we change the system
header file.

Test and OK sthen@
2013-10-21 09:15:06 +00:00
sthen
5d78d4f161 Reinstate route.c patch, lost in the update to 2.3.1 where upstream rearranged
files. Found the hard way by, and diff from, Yoshihisa Matsushita.
2013-05-01 15:40:33 +00:00
sthen
2058adb213 remove the (minimal) rtable support; shortly after it was added to the
OpenVPN port, "exec" was added to route(8) which provides the same support
in a more general way. use a command like this instead:

"route -T <table#> exec openvpn -daemon ..."
2013-04-23 09:31:33 +00:00
sthen
1ce4070bea update to OpenVPN 2.31, from Bjorn Ketelaars, maintainer timeout 2013-04-20 16:22:55 +00:00
sthen
61fe1a9218 Teach OpenVPN to use a specific ifconfig command for "topology subnet"
rather than defaulting to a bogus one which enables link0. From Mitja Muzenic.
2012-01-23 18:07:21 +00:00
sthen
ae755990b6 update to OpenVPN 2.2.2, ok fkr@ 2012-01-12 08:15:30 +00:00
fkr
349b89bb47 update to openvpn 2.1.4, which is a bug fix release only.
ok dcoppa@, benoit@
2010-11-10 13:50:04 +00:00
fkr
3ebadeeb9d update to OpenVPN 2.1.2
while here, enable dropping to _openvpn user in the sample configs.
ok and feedback ajacoutot@
2010-08-30 18:32:20 +00:00
fkr
712a318987 unbreak and adopt to the changes to rdomains/rtables in -current.
feedback and ok sthen@
2010-07-08 09:18:25 +00:00
fkr
4c0617af08 update to OpenVPN 2.1rc22.
rdomain support from Laurent Ghigonis.

tested by various.

ok bernd@, benoit@
2009-11-26 22:55:27 +00:00
sthen
f88d556dc6 Upstream rerolled the distfile (fixed a Makefile and removed some
junk files, .svn and so on); sync distinfo and a (slightly gratuitous)
package bump. Regen patches while there.

Noticed by naddy@ and Viq. ok fkr@
2009-10-10 13:35:33 +00:00
fkr
acc40d958e update to openvpn 2.1rc20.
ok sturm@, bernd@, ajacoutot@
2009-10-07 21:44:48 +00:00
fkr
8c7b50f27f switch OpenVPN to compile with pthreads, since this is needed for plugins
like ldap auth.
ok bernd@, sthen@
2009-05-10 13:59:35 +00:00
martin
a3e1a41274 gcc2 build fixes:
- macro with variable declarations not at the begging of block
- branch prediction hints not available in gcc2

ok fkr@
2009-03-08 15:56:52 +00:00
fkr
40c4ee25ab update to openvpn 2.1rc13
ok bernd@
2008-10-22 05:27:07 +00:00
claudio
899aacf19f On -current OpenVPN no longer works because of their brain damaged way
to talk to the routing socket to get the default gateway.
Instead of pulling in net/route.h they copied parts of the contents into
their code. Update the needed bits to make it work again.
OK fkr@, jasper@ and Thomas Delaet (maintainer)
2007-09-11 15:09:14 +00:00
robert
595afec84a - use the _openvpn uid/gid istead of nobody/nogroup; from Tamas Tevesz
- remove USE_GMAKE because it is not needed
- use a different method for installing the sample config files to prevent
installing .orig files left behind after patching
- bump PKGNAME
2006-12-15 09:56:14 +00:00