Index: www/trac-ldap/Makefile =================================================================== --- /dev/null +++ www/trac-ldap/Makefile @@ -0,0 +1,43 @@ +# $FreeBSD: head/www/trac-ldapacctmngr/Makefile -1 $ + +PORTNAME= ldap +PORTVERSION= 0.7.0.${SVN_REVISION} +CATEGORIES= www devel python +MASTER_SITES= LOCAL/matthew +PKGNAMEPREFIX= trac- +DISTNAME= ${PORTNAME}plugin-${PORTVERSION} +SVN_REVISION= 15146 + +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 + +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: www/trac-ldap/distinfo =================================================================== --- /dev/null +++ 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: www/trac-ldap/pkg-descr =================================================================== --- /dev/null +++ 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 Index: www/trac-ldapauthstore/Makefile =================================================================== --- /dev/null +++ www/trac-ldapauthstore/Makefile @@ -0,0 +1,45 @@ +# $FreeBSD$ + +PORTNAME= ldapauthstore +PORTVERSION= 0.3.2.${SVN_REVISION} +CATEGORIES= www devel python +MASTER_SITES= LOCAL/matthew +PKGNAMEPREFIX= trac- +DISTNAME= ${PORTNAME}plugin-${PORTVERSION} +SVN_REVISION= 15146 + +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 + +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 Index: www/trac-ldapauthstore/distinfo =================================================================== --- /dev/null +++ www/trac-ldapauthstore/distinfo @@ -0,0 +1,2 @@ +SHA256 (ldapauthstoreplugin-0.3.2.15146.tar.gz) = 380797ff3a965373e36d274dc2b85549d5d9abd5d9eac3278f8b2160a69d52f6 +SIZE (ldapauthstoreplugin-0.3.2.15146.tar.gz) = 25600 Index: www/trac-ldapauthstore/pkg-descr =================================================================== --- /dev/null +++ www/trac-ldapauthstore/pkg-descr @@ -0,0 +1,9 @@ +This plugin is a password store for the AccountManagerPlugin that +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 +