b7613f9981
provides authentication and group membership from an LDAP service. Users are authenticated by performing an LDAP bind against a directory using their credentials. The plugin will also pull the email address and username from the directory and populate the session_attribute table. WWW: https://trac-hacks.org/wiki/LdapAuthStorePlugin Reviewed by: koobs Differential Revision: https://reviews.freebsd.org/D4796
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ldapauthstore
|
|
PORTVERSION= 0.3.2.${SVN_REVISION}
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= LOCAL/matthew
|
|
PKGNAMEPREFIX= trac-
|
|
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
|
|
|
|
MAINTAINER= matthew@FreeBSD.org
|
|
COMMENT= Trac AccountManager plugin using LDAP authentication store
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
|
|
trac-accountmanager>0:${PORTSDIR}/www/trac-accountmanager \
|
|
trac-ldap>0:${PORTSDIR}/www/trac-ldap \
|
|
${PYTHON_PKGNAMEPREFIX}ldap>0:${PORTSDIR}/net/py-ldap
|
|
|
|
NO_ARCH= yes
|
|
PORTSCOUT= ignore:1
|
|
SVN_REVISION= 15146
|
|
|
|
USES= python:-2.7
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
# Maintainter targets below this point
|
|
|
|
# Retrieve the latest version from SVN and package in a tarball.
|
|
.if defined(BOOTSTRAP)
|
|
FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
|
|
do-fetch:
|
|
${MKDIR} ${WRKDIR}
|
|
cd ${WRKDIR} && \
|
|
svn export --non-interactive \
|
|
--trust-server-cert-failures=unknown-ca \
|
|
--revision ${SVN_REVISION} \
|
|
https://trac-hacks.org/svn/${PORTNAME}plugin/trunk/ \
|
|
${DISTNAME}
|
|
cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../www/trac/plugin.mk"
|
|
.include <bsd.port.mk>
|