Index: head/MOVED =================================================================== --- head/MOVED +++ head/MOVED @@ -5820,7 +5820,6 @@ net/linux-nx-client||2014-03-30|Has expired: No more public distfiles emulators/extract-xiso||2014-03-30|Has expired: No more public distfiles www/trac-wantedpages||2014-03-30|Has expired: No more public distfiles -www/trac-ldap||2014-03-30|Has expired: No more public distfiles www/trac-codetags||2014-03-30|Has expired: No more public distfiles www/trac-addcomment||2014-03-30|Has expired: No more public distfiles www/trac-nav||2014-03-30|Has expired: No more public distfiles Index: head/www/Makefile =================================================================== --- head/www/Makefile +++ head/www/Makefile @@ -2143,6 +2143,7 @@ SUBDIR += trac-iniadmin SUBDIR += trac-keywords SUBDIR += trac-keywordsecretticket + SUBDIR += trac-ldap SUBDIR += trac-mastertickets SUBDIR += trac-math SUBDIR += trac-mercurial Index: head/www/trac-ldap/Makefile =================================================================== --- head/www/trac-ldap/Makefile +++ head/www/trac-ldap/Makefile @@ -0,0 +1,43 @@ +# $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 Index: head/www/trac-ldap/distinfo =================================================================== --- head/www/trac-ldap/distinfo +++ head/www/trac-ldap/distinfo @@ -0,0 +1,2 @@ +SHA256 (ldapplugin-0.7.0.15146.tar.gz) = 3d7fcd4e8bca7155482982b0c521eb26b0101756d9bffd301b813ffa757a9895 +SIZE (ldapplugin-0.7.0.15146.tar.gz) = 40960 Index: head/www/trac-ldap/pkg-descr =================================================================== --- head/www/trac-ldap/pkg-descr +++ head/www/trac-ldap/pkg-descr @@ -0,0 +1,9 @@ +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