Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 12:23:48 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405545 - in head: . www www/trac-ldap
Message-ID:  <201601081223.u08CNmH9027288@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Fri Jan  8 12:23:48 2016
New Revision: 405545
URL: https://svnweb.freebsd.org/changeset/ports/405545

Log:
  (Readdition of www/trac-ldap which was removed on 349600)
  
  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

Added:
  head/www/trac-ldap/
     - copied from r349600, head/www/trac-ldap/
Modified:
  head/MOVED
  head/www/Makefile
  head/www/trac-ldap/Makefile
  head/www/trac-ldap/distinfo   (contents, props changed)
  head/www/trac-ldap/pkg-descr   (contents, props changed)

Modified: head/MOVED
==============================================================================
--- head/MOVED	Fri Jan  8 12:21:26 2016	(r405544)
+++ head/MOVED	Fri Jan  8 12:23:48 2016	(r405545)
@@ -5820,7 +5820,6 @@ www/vtiger||2014-03-30|Has expired: No m
 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

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri Jan  8 12:21:26 2016	(r405544)
+++ head/www/Makefile	Fri Jan  8 12:23:48 2016	(r405545)
@@ -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

Modified: head/www/trac-ldap/Makefile
==============================================================================
--- head/www/trac-ldap/Makefile	Sun Mar 30 00:42:43 2014	(r349600)
+++ head/www/trac-ldap/Makefile	Fri Jan  8 12:23:48 2016	(r405545)
@@ -1,26 +1,43 @@
-# Created by: Gerrit Beine <gerrit.beine@gmx.de>
 # $FreeBSD$
 
 PORTNAME=	ldap
-PORTVERSION=	0.5.1
-PORTREVISION=	8
+PORTVERSION=	0.7.0.${SVN_REVISION}
 CATEGORIES=	www devel python
-MASTER_SITES=	http://www.gerritbeine.de/download/trac/
+MASTER_SITES=	LOCAL/matthew
 PKGNAMEPREFIX=	trac-
 DISTNAME=	${PORTNAME}plugin-${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	LDAP extensions for Trac
+MAINTAINER=	matthew@FreeBSD.org
+COMMENT=	Trac plugin to use LDAP to store permissions
 
-DEPRECATED=	No more public distfiles
-EXPIRATION_DATE=	2014-03-10
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac \
-		${PYTHON_PKGNAMEPREFIX}ldap2>=2.3.1:${PORTSDIR}/net/py-ldap2
+		trac-accountmanager>0:${PORTSDIR}/www/trac-accountmanager
 
-WRKSRC=		${WRKDIR}/${PORTNAME}plugin
-USE_PYTHON=	2
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+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>

Modified: head/www/trac-ldap/distinfo
==============================================================================
--- head/www/trac-ldap/distinfo	Sun Mar 30 00:42:43 2014	(r349600)
+++ head/www/trac-ldap/distinfo	Fri Jan  8 12:23:48 2016	(r405545)
@@ -1,2 +1,2 @@
-SHA256 (ldapplugin-0.5.1.tar.gz) = 121882916e906132dca681e9e9c4d390ae71b676833147448d25791c7fa7f2c0
-SIZE (ldapplugin-0.5.1.tar.gz) = 8101
+SHA256 (ldapplugin-0.7.0.15146.tar.gz) = 3d7fcd4e8bca7155482982b0c521eb26b0101756d9bffd301b813ffa757a9895
+SIZE (ldapplugin-0.7.0.15146.tar.gz) = 40960

Modified: head/www/trac-ldap/pkg-descr
==============================================================================
--- head/www/trac-ldap/pkg-descr	Sun Mar 30 00:42:43 2014	(r349600)
+++ head/www/trac-ldap/pkg-descr	Fri Jan  8 12:23:48 2016	(r405545)
@@ -1,7 +1,9 @@
-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.
+LDAP extensions to grant group permissions
 
-WWW: http://trac-hacks.org/wiki/LdapPlugin
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601081223.u08CNmH9027288>