From 1e2495ea495cb5be71a11dc4a3e479aac409ea41 Mon Sep 17 00:00:00 2001 From: merdely Date: Fri, 1 Feb 2008 16:11:47 +0000 Subject: [PATCH] Import trac-ldapplugin: LDAP support with group management has been added as a Trac extension. This extension enables to use existing LDAP groups to grant permissions rather than defining permissions for every single user on the system. The latest release also permits to store permissions (both users and groups permissions) in the LDAP directory itself rather than in the SQL backend. ok okan@ --- www/trac-ldapplugin/Makefile | 37 +++++++++++++++++++++++++++++++++ www/trac-ldapplugin/distinfo | 5 +++++ www/trac-ldapplugin/pkg/DESCR | 6 ++++++ www/trac-ldapplugin/pkg/MESSAGE | 10 +++++++++ www/trac-ldapplugin/pkg/PLIST | 12 +++++++++++ 5 files changed, 70 insertions(+) create mode 100644 www/trac-ldapplugin/Makefile create mode 100644 www/trac-ldapplugin/distinfo create mode 100644 www/trac-ldapplugin/pkg/DESCR create mode 100644 www/trac-ldapplugin/pkg/MESSAGE create mode 100644 www/trac-ldapplugin/pkg/PLIST diff --git a/www/trac-ldapplugin/Makefile b/www/trac-ldapplugin/Makefile new file mode 100644 index 00000000000..f213214380b --- /dev/null +++ b/www/trac-ldapplugin/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/02/01 16:11:47 merdely Exp $ + +COMMENT= ldap authentication plugin for trac + +V= 0.5.1 +DISTNAME= trac-ldapplugin-$V-svn2637 +PKGNAME= trac-ldapplugin-$V +CATEGORIES= www devel + +MAINTAINER= Michael Erdely + +HOMEPAGE= http://trac-hacks.org/wiki/LdapPlugin + +MASTER_SITES= http://meta-planets.net/~openbsd/ \ + http://www.phxbsd.com/OpenBSD/ \ + http://spacehopper.org/m/ + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +RUN_DEPENDS= ::www/trac \ + ::databases/py-ldap + +BUILD_DEPENDS= ::devel/py-setuptools \ + ::lang/python/2.4 + +NO_REGRESS= Yes +WRKDIST= ${WRKDIR}/ldapplugin/0.10 + +MODULES= lang/python + +MODPY_SETUPTOOLS= Yes + +.include diff --git a/www/trac-ldapplugin/distinfo b/www/trac-ldapplugin/distinfo new file mode 100644 index 00000000000..14b6c62736a --- /dev/null +++ b/www/trac-ldapplugin/distinfo @@ -0,0 +1,5 @@ +MD5 (trac-ldapplugin-0.5.1-svn2637.tar.gz) = tefN09fggZP5zeSvmrcmzQ== +RMD160 (trac-ldapplugin-0.5.1-svn2637.tar.gz) = 1wsKHv1UFKZ4ih70HmtcNVQYW7w= +SHA1 (trac-ldapplugin-0.5.1-svn2637.tar.gz) = mNbNinTENy50RE5asJOyNNSgU58= +SHA256 (trac-ldapplugin-0.5.1-svn2637.tar.gz) = 66wjUlbjqKPYzzys05jcoBHUmxq2lRUf1nMgjgfm1BY= +SIZE (trac-ldapplugin-0.5.1-svn2637.tar.gz) = 17287 diff --git a/www/trac-ldapplugin/pkg/DESCR b/www/trac-ldapplugin/pkg/DESCR new file mode 100644 index 00000000000..68cdc6191b0 --- /dev/null +++ b/www/trac-ldapplugin/pkg/DESCR @@ -0,0 +1,6 @@ +LDAP support with group management has been added as a Trac extension. +This extension enables to use existing LDAP groups to grant permissions +rather than defining permissions for every single user on the system. +The latest release also permits to store permissions (both users and +groups permissions) in the LDAP directory itself rather than in the +SQL backend. diff --git a/www/trac-ldapplugin/pkg/MESSAGE b/www/trac-ldapplugin/pkg/MESSAGE new file mode 100644 index 00000000000..71f50ea9882 --- /dev/null +++ b/www/trac-ldapplugin/pkg/MESSAGE @@ -0,0 +1,10 @@ +To enable Trac LDAP Plugin for your project, enable LDAP authentication +for your Apache 2.2 trac Location and add the following to your +project's /path/to/projenv/conf/trac.ini file: +[components] +ldapplugin.* = enabled + +[ldap] +enable = true +basedn = dc=domain,dc=tld +host = ldap.domain.tld diff --git a/www/trac-ldapplugin/pkg/PLIST b/www/trac-ldapplugin/pkg/PLIST new file mode 100644 index 00000000000..3d6258044ca --- /dev/null +++ b/www/trac-ldapplugin/pkg/PLIST @@ -0,0 +1,12 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/02/01 16:11:47 merdely Exp $ +lib/python${MODPY_VERSION}/site-packages/LdapPlugin-0.5.1dev_r1611-py${MODPY_VERSION}.egg-info/ +lib/python${MODPY_VERSION}/site-packages/LdapPlugin-0.5.1dev_r1611-py${MODPY_VERSION}.egg-info/PKG-INFO +lib/python${MODPY_VERSION}/site-packages/LdapPlugin-0.5.1dev_r1611-py${MODPY_VERSION}.egg-info/SOURCES.txt +lib/python${MODPY_VERSION}/site-packages/LdapPlugin-0.5.1dev_r1611-py${MODPY_VERSION}.egg-info/dependency_links.txt +lib/python${MODPY_VERSION}/site-packages/LdapPlugin-0.5.1dev_r1611-py${MODPY_VERSION}.egg-info/entry_points.txt +lib/python${MODPY_VERSION}/site-packages/LdapPlugin-0.5.1dev_r1611-py${MODPY_VERSION}.egg-info/top_level.txt +lib/python${MODPY_VERSION}/site-packages/ldapplugin/ +lib/python${MODPY_VERSION}/site-packages/ldapplugin/__init__.py +lib/python${MODPY_VERSION}/site-packages/ldapplugin/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/ldapplugin/api.py +lib/python${MODPY_VERSION}/site-packages/ldapplugin/api.pyc