Hi, this is an updated to the newest version of the bsdauth plugin for OpenVPN. It fixes some regressions because of changes in OpenVPN (even prior to the 2.1.2 release). The patch goes away as the change has been incorporated upstream.
felix Index: Makefile =================================================================== RCS file: /cvs/ports/net/openvpn_bsdauth/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 12 Jul 2010 22:07:39 -0000 1.6 +++ Makefile 28 Aug 2010 07:45:14 -0000 @@ -2,7 +2,7 @@ COMMENT = BSD Auth helper program for OpenVPN -DISTNAME = openvpn_bsdauth-5 +DISTNAME = openvpn_bsdauth-7 REVISION= 0 CATEGORIES = net HOMEPAGE = http://www.wormhole.hu/~ice/openvpn_bsdauth/ Index: distinfo =================================================================== RCS file: /cvs/ports/net/openvpn_bsdauth/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 30 Dec 2009 01:11:05 -0000 1.2 +++ distinfo 28 Aug 2010 07:45:14 -0000 @@ -1,5 +1,5 @@ -MD5 (openvpn_bsdauth-5.tar.gz) = RsH/qXLr5cSzkcvhEJxpUA== -RMD160 (openvpn_bsdauth-5.tar.gz) = AnCDf7TJwIrrhZA6nVOslI2Hwz8= -SHA1 (openvpn_bsdauth-5.tar.gz) = 8uD20HeqxvJavAmnjIubUB4WOF4= -SHA256 (openvpn_bsdauth-5.tar.gz) = J6Qnc2hmyRDNQbcQY57oqm8N9/objfBGhHSwl+uCBb4= -SIZE (openvpn_bsdauth-5.tar.gz) = 3089 +MD5 (openvpn_bsdauth-7.tar.gz) = sn0cSNmSzYkFSj03dg0xIA== +RMD160 (openvpn_bsdauth-7.tar.gz) = 0L5ZiP1xpgk6PlXdaCSWC4FWC90= +SHA1 (openvpn_bsdauth-7.tar.gz) = Mgju4gdxeUwnLXdfJKGh0JVRUgo= +SHA256 (openvpn_bsdauth-7.tar.gz) = IisNxJ0cHXdW+ACtksjXgK3ynrcUXxNPjOVvTflDKII= +SIZE (openvpn_bsdauth-7.tar.gz) = 3037 Index: patches/patch-openvpn_bsdauth_8 =================================================================== RCS file: patches/patch-openvpn_bsdauth_8 diff -N patches/patch-openvpn_bsdauth_8 --- patches/patch-openvpn_bsdauth_8 3 Apr 2010 21:13:05 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,12 +0,0 @@ -$OpenBSD: patch-openvpn_bsdauth_8,v 1.1 2010/04/03 21:13:05 schwarze Exp $ ---- openvpn_bsdauth.8.orig Sat Apr 3 20:58:49 2010 -+++ openvpn_bsdauth.8 Sat Apr 3 21:01:27 2010 -@@ -19,7 +19,7 @@ - .Nd Authenticate users for OpenVPN - .Sh SYNOPSYS - .Nm --.Oo Xo Ar file Oc Xc -+.Op Ar file - .Sh DESCRIPTION - .Nm - is invoked by OpenVPN to authenticate a user by checking a username and a Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/net/openvpn_bsdauth/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 PLIST --- pkg/PLIST 20 Nov 2007 21:34:19 -0000 1.1.1.1 +++ pkg/PLIST 28 Aug 2010 07:45:14 -0000 @@ -3,7 +3,7 @@ @mode 2550 @owner _openvpn @group auth -libexec/openvpn_bsdauth +...@bin libexec/openvpn_bsdauth @mode @owner @group -- GPG/PGP: D9AC74D0 / 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 http://hazardous.org/~fkr - f...@silc|irc - @felixkronlage - FKR-RIPE https://www.bytemine.net/ - bytemine - BSD based Hosting/Solutions/Ideas