LDAP extensions to grant group permissions This extension enables the use of existing LDAP groups to grant permissions rather than defining permissions for every single user on the system. Also permits storage of permissions (both users and groups permissions) in the LDAP directory itself rather than in the database backend. WWW: https://trac-hacks.org/wiki/LdapPlugin Reviewd by: koobs Differential Revision: https://reviews.freebsd.org/D4796
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ldap
|
|
PORTVERSION= 0.7.0.${SVN_REVISION}
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= LOCAL/matthew
|
|
PKGNAMEPREFIX= trac-
|
|
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
|
|
|
|
MAINTAINER= matthew@FreeBSD.org
|
|
COMMENT= Trac plugin to use LDAP to store permissions
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac \
|
|
trac-accountmanager>0:${PORTSDIR}/www/trac-accountmanager
|
|
|
|
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/0.12/ \
|
|
${DISTNAME}
|
|
cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../www/trac/plugin.mk"
|
|
.include <bsd.port.mk>
|