The RestrictedAreaPlugin is a pretty simple Trac plugin that allows the Trac

administrator to set up restricted areas which are accessible only for
privileged users. The access is controlled via the new Trac action
RESTRICTED_AREA_ACCESS and a list of paths configured in the Trac INI-file.

WWW: http://trac-hacks.org/wiki/RestrictedAreaPlugin

Submitted by:	Gerrit Beine <gerrit.beine at gmx.de>
This commit is contained in:
Martin Wilke 2007-05-27 19:34:10 +00:00
parent e9efba6f0e
commit 222f51eacf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=192093
5 changed files with 38 additions and 0 deletions

View file

@ -1163,6 +1163,7 @@
SUBDIR += trac-nav SUBDIR += trac-nav
SUBDIR += trac-pagetopdf SUBDIR += trac-pagetopdf
SUBDIR += trac-privatetickets SUBDIR += trac-privatetickets
SUBDIR += trac-restrictedarea
SUBDIR += trac-robotstxt SUBDIR += trac-robotstxt
SUBDIR += trac-tags SUBDIR += trac-tags
SUBDIR += trac-tocmacro SUBDIR += trac-tocmacro

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: trac-restrictedarea
# Date created: May 18 2007
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
#
# $FreeBSD$
#
PORTNAME= restrictedarea
PORTVERSION= 1.0.0
CATEGORIES= www devel python
MASTER_SITES= http://www.gerritbeine.de/download/trac/
PKGNAMEPREFIX= trac-
DISTNAME= ${PORTNAME}plugin-${PORTVERSION}
MAINTAINER= gerrit.beine@gmx.de
COMMENT= Set up restricted areas within Trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
NO_BUILD= yes
USE_PYTHON= 2.3+
USE_PYDISTUTILS=yes
PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (restrictedareaplugin-1.0.0.tar.gz) = c444875742312e2d42b012ea8f027aa4
SHA256 (restrictedareaplugin-1.0.0.tar.gz) = 0082d6e4fb4417476affcadab32f2c6b078feca68c77c97c068063881797d5bc
SIZE (restrictedareaplugin-1.0.0.tar.gz) = 1188

View file

@ -0,0 +1,6 @@
The RestrictedAreaPlugin is a pretty simple Trac plugin that allows the Trac
administrator to set up restricted areas which are accessible only for
privileged users. The access is controlled via the new Trac action
RESTRICTED_AREA_ACCESS and a list of paths configured in the Trac INI-file.
WWW: http://trac-hacks.org/wiki/RestrictedAreaPlugin

View file

@ -0,0 +1 @@
%%PYTHON_SITELIBDIR%%/TracRestrictedArea-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg