Re: openvpn_bsdauth-4
hi felix, here is a first attempt to make a port out of this ldap auth program. https://tiifp.org/quentin/OpenBSD/ports/ldapauth.tar.gz maybe someone is interessed.. thomas On Wed, Nov 21, 2007 at 04:40:47PM +0100, Felix kronlage wrote: On Wed, Nov 21, 2007 at 05:29:05PM +0200, Alexey Suslikov wrote: Hi Alexey, Guys, take a look at http://dpw.threerings.net/projects/openvpn-auth-ldap/ It is LDAP authentication plugin for OpenVPN and it integrates nicely with tables in OpenBSD PF. openvpn-auth-ldap needs re2c to build but it is in ports tree since mid of October (credits to sthen@). cool. I will take a look at it. felix -- GPG/PGP: D9AC74D0 / 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 http://hazardous.org/~fkr - [EMAIL PROTECTED] - [EMAIL PROTECTED]|irc - FKR-RIPE https://www.bytemine.net/ - bytemine - BSD based Hosting/Solutions/Ideas
openvpn_bsdauth-4
1. programm to program in COMMENT (btw, pkg/DESCR has better description). COMMENT=BSD Auth helper programm for OpenVPN 2. Plus: $ sudo make install === Checking files for openvpn_bsdauth-4 `/usr/ports/distfiles/openvpn_bsdauth-4.tar.gz' is up to date. (SHA256) openvpn_bsdauth-4.tar.gz: OK === Verifying specs: c c === found c.42.0 === Extracting for openvpn_bsdauth-4 === Patching for openvpn_bsdauth-4 === Configuring for openvpn_bsdauth-4 === Building for openvpn_bsdauth-4 cc -O2 -pipe -Wall -Werror -nostdinc -idirafter /usr/include -c openvpn_bsdauth.c cc -o openvpn_bsdauth openvpn_bsdauth.o nroff -Tascii -mandoc openvpn_bsdauth.8 openvpn_bsdauth.cat8 === Faking installation for openvpn_bsdauth-4 install -c -s -o _openvpn -g auth -m 2550 openvpn_bsdauth /usr/ports/net/openvpn_bsdauth/w-openvpn_bsdauth-4/fake-i386/usr/local/libexec/openvpn_bsdauth install: unknown user _openvpn *** Error code 67 Stop in /usr/ports/net/openvpn_bsdauth/w-openvpn_bsdauth-4/openvpn_bsdauth-4 (line 127 of /usr/share/mk/bsd.prog.mk). *** Error code 1 Stop in /usr/ports/net/openvpn_bsdauth (line 2117 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/net/openvpn_bsdauth (line 1373 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/net/openvpn_bsdauth (line 1861 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/net/openvpn_bsdauth (line 1403 of /usr/ports/infrastructure/mk/bsd.port.mk).
Re: openvpn_bsdauth-4
On Wed, 21 Nov 2007, Alexey Suslikov wrote: === Faking installation for openvpn_bsdauth-4 install -c -s -o _openvpn -g auth -m 2550 openvpn_bsdauth /usr/ports/net/openvpn_bsdauth/w-openvpn_bsdauth-4/fake-i386/usr/local/libexec/openvpn_bsdauth install: unknown user _openvpn *** Error code 67 This should fix your pbm. Index: Makefile === RCS file: /cvs/ports/net/openvpn_bsdauth/Makefile,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 Makefile --- Makefile20 Nov 2007 21:34:19 - 1.1.1.1 +++ Makefile21 Nov 2007 11:20:03 - @@ -1,8 +1,9 @@ # $OpenBSD: Makefile,v 1.1.1.1 2007/11/20 21:34:19 fkr Exp $ -COMMENT= BSD Auth helper programm for OpenVPN +COMMENT= BSD Auth helper program for OpenVPN DISTNAME= openvpn_bsdauth-4 +PKGNAME= ${DISTNAME}p0 CATEGORIES=net HOMEPAGE= http://www.wormhole.hu/~ice/openvpn_bsdauth/ @@ -18,6 +19,7 @@ MASTER_SITES= ${HOMEPAGE} RUN_REPENDS= ::net/openvpn +BUILD_DEPENDS= ${RUN_REPENDS} FAKE_FLAGS=PREFIX=${TRUEPREFIX} -- Antoine
Re: openvpn_bsdauth-4
On Wed, Nov 21, 2007 at 12:21:27PM +0100, Antoine Jacoutot wrote: /usr/ports/net/openvpn_bsdauth/w-openvpn_bsdauth-4/fake-i386/usr/local/libexec/openvpn_bsdauth install: unknown user _openvpn *** Error code 67 This should fix your pbm. indeed. @@ -18,6 +19,7 @@ MASTER_SITES=${HOMEPAGE} RUN_REPENDS= ::net/openvpn +BUILD_DEPENDS= ${RUN_REPENDS} well, I also managed to mispell 'RUN_DEPENDS' ;) its fixed now. thanks for pointing out. felix -- GPG/PGP: D9AC74D0 / 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 http://hazardous.org/~fkr - [EMAIL PROTECTED] - [EMAIL PROTECTED]|irc - FKR-RIPE https://www.bytemine.net/ - bytemine - BSD based Hosting/Solutions/Ideas pgpdJvC1xASBp.pgp Description: PGP signature
Re: openvpn_bsdauth-4
On Wed, Nov 21, 2007 at 05:29:05PM +0200, Alexey Suslikov wrote: Hi Alexey, Guys, take a look at http://dpw.threerings.net/projects/openvpn-auth-ldap/ It is LDAP authentication plugin for OpenVPN and it integrates nicely with tables in OpenBSD PF. openvpn-auth-ldap needs re2c to build but it is in ports tree since mid of October (credits to sthen@). cool. I will take a look at it. felix -- GPG/PGP: D9AC74D0 / 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 http://hazardous.org/~fkr - [EMAIL PROTECTED] - [EMAIL PROTECTED]|irc - FKR-RIPE https://www.bytemine.net/ - bytemine - BSD based Hosting/Solutions/Ideas pgphxTdZx1GDn.pgp Description: PGP signature
Re: openvpn_bsdauth-4
Ok. Thanks a lot. Guys, take a look at http://dpw.threerings.net/projects/openvpn-auth-ldap/ It is LDAP authentication plugin for OpenVPN and it integrates nicely with tables in OpenBSD PF. openvpn-auth-ldap needs re2c to build but it is in ports tree since mid of October (credits to sthen@). Latest version is http://dpw.threerings.net/projects/openvpn-auth-ldap/auth-ldap-2.0.3.tar.gz - Alexey. On Nov 21, 2007 5:18 PM, Felix kronlage [EMAIL PROTECTED] wrote: On Wed, Nov 21, 2007 at 12:21:27PM +0100, Antoine Jacoutot wrote: /usr/ports/net/openvpn_bsdauth/w-openvpn_bsdauth-4/fake-i386/usr/local/libexec/openvpn_bsdauth install: unknown user _openvpn *** Error code 67 This should fix your pbm. indeed. @@ -18,6 +19,7 @@ MASTER_SITES=${HOMEPAGE} RUN_REPENDS= ::net/openvpn +BUILD_DEPENDS= ${RUN_REPENDS} well, I also managed to mispell 'RUN_DEPENDS' ;) its fixed now. thanks for pointing out. felix -- GPG/PGP: D9AC74D0 / 076E 1E87 3E05 1C7F B1A0 8A48 0D31 9BD3 D9AC 74D0 http://hazardous.org/~fkr http://hazardous.org/%7Efkr - [EMAIL PROTECTED] - [EMAIL PROTECTED]|irc - FKR-RIPE https://www.bytemine.net/ - bytemine - BSD based Hosting/Solutions/Ideas