View | Details | Raw Unified | Return to bug 244022
Collapse All | Expand All

(-)security/openvpn-auth-ldap/Makefile (-20 / +9 lines)
Lines 2-13 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	openvpn-auth-ldap
4
PORTNAME=	openvpn-auth-ldap
5
PORTVERSION=	2.0.4.0.s1379
5
PORTVERSION=	2.0.4
6
PORTREVISION=	3
6
PORTREVISION=	4
7
CATEGORIES=	security net-vpn
7
CATEGORIES=	security net-vpn
8
MASTER_SITES=	LOCAL/mandree # figure out proper GitHub commit and use that.
8
#DISTNAME=	auth-ldap-${PORTVERSION}
9
# https://github.com/threerings/openvpn-auth-ldap/
10
DISTNAME=	auth-ldap-${PORTVERSION}
11
9
12
MAINTAINER=	mandree@FreeBSD.org
10
MAINTAINER=	mandree@FreeBSD.org
13
COMMENT=	LDAP authentication plugin for OpenVPN
11
COMMENT=	LDAP authentication plugin for OpenVPN
Lines 16-21 Link Here
16
14
17
BUILD_DEPENDS=	re2c:devel/re2c \
15
BUILD_DEPENDS=	re2c:devel/re2c \
18
		check>=0:devel/check \
16
		check>=0:devel/check \
17
		libobjc2>=0:lang/libobjc2 \
19
		${LOCALBASE}/include/openvpn-plugin.h:security/openvpn
18
		${LOCALBASE}/include/openvpn-plugin.h:security/openvpn
20
19
21
# this port doesn't require ssl itself, but OpenLDAP needs it
20
# this port doesn't require ssl itself, but OpenLDAP needs it
Lines 31-36 Link Here
31
			--with-objc-runtime=GNU \
30
			--with-objc-runtime=GNU \
32
			--with-openssl=${OPENSSLBASE}
31
			--with-openssl=${OPENSSLBASE}
33
32
33
USE_GITHUB=	yes
34
GH_ACCOUNT=	threerings
35
GH_PROJECT=	openvpn-auth-ldap
36
GH_TAGNAME=	auth-ldap-${PORTVERSION}
37
34
PORTDOCS=	README
38
PORTDOCS=	README
35
PORTEXAMPLES=	auth-ldap.conf
39
PORTEXAMPLES=	auth-ldap.conf
36
PLIST_FILES=	lib/openvpn-auth-ldap.so
40
PLIST_FILES=	lib/openvpn-auth-ldap.so
Lines 62-80 Link Here
62
66
63
CC+=		${DEBUG_FLAGS}
67
CC+=		${DEBUG_FLAGS}
64
68
65
# this is a local target to build a tarball from SVN
66
# and another target to upload it
67
# Note that googlecode.com is gone. Apparently someone exported the code
68
# to Github:  https://github.com/threerings/openvpn-auth-ldap/
69
build-tarball: ${DISTFILES}
70
${DISTFILES}:
71
	${RM} -r ${WRKSRC}
72
	svn export -r${PORTVERSION:E:C/^s//} \
73
	    http://openvpn-auth-ldap.googlecode.com/svn/trunk/ ${WRKSRC}
74
	tar -C ${WRKSRC}/.. -cvf - ${WRKSRC:T} | ${XZ_CMD} -vvc >${DISTFILES} || \
75
	    { ${RM} ${DISTFILES} ; exit 1 ; }
76
77
upload-tarball: build-tarball
78
	scp ${DISTFILES} freefall.freebsd.org:public_distfiles/
79
80
.include <bsd.port.post.mk>
69
.include <bsd.port.post.mk>
(-)security/openvpn-auth-ldap/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (auth-ldap-2.0.4.0.s1379.tar.xz) = 8d35eb540482d8d2bf36d0d310241b69633691f28477867ecee28c76912476cc
1
TIMESTAMP = 1581341930
2
SIZE (auth-ldap-2.0.4.0.s1379.tar.xz) = 163724
2
SHA256 (threerings-openvpn-auth-ldap-2.0.4-auth-ldap-2.0.4_GH0.tar.gz) = 81f600cdc88adb2258f57df1ed2d87f0afa945f66cbf8897ad50e76f42509168
3
SIZE (threerings-openvpn-auth-ldap-2.0.4-auth-ldap-2.0.4_GH0.tar.gz) = 209800

Return to bug 244022