aboutsummaryrefslogtreecommitdiff
path: root/www/trac-privatetickets
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-02-21 12:52:43 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-02-21 12:52:43 +0000
commit32dd33e576e3d8ab22dd85b856fc70dc2e550957 (patch)
treeb857f53bdafa08677d271bc84efc21ddc222aa6f /www/trac-privatetickets
parentcae0dd9492bb6fda6cee8a11b564c9528026b5df (diff)
downloadports-32dd33e576e3d8ab22dd85b856fc70dc2e550957.tar.gz
ports-32dd33e576e3d8ab22dd85b856fc70dc2e550957.zip
Notes
Diffstat (limited to 'www/trac-privatetickets')
-rw-r--r--www/trac-privatetickets/Makefile37
-rw-r--r--www/trac-privatetickets/distinfo3
-rw-r--r--www/trac-privatetickets/pkg-descr12
-rw-r--r--www/trac-privatetickets/pkg-plist3
4 files changed, 55 insertions, 0 deletions
diff --git a/www/trac-privatetickets/Makefile b/www/trac-privatetickets/Makefile
new file mode 100644
index 000000000000..c72305268a8c
--- /dev/null
+++ b/www/trac-privatetickets/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: trac-privatetickets
+# Date created: Feb. 20, 2007
+# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= privatetickets
+PORTVERSION= 1.0.1
+CATEGORIES= www devel python
+MASTER_SITES= http://cheeseshop.python.org/packages/source/T/TracPrivateTickets/
+PKGNAMEPREFIX= trac-
+DISTNAME= TracPrivateTickets-${PORTVERSION}
+
+MAINTAINER= lwhsu@lwhsu.org
+COMMENT= Modified ticket security for Trac
+
+BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
+ tracd:${PORTSDIR}/www/trac
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
+
+PYDISTUTILS_BUILD_TARGET= bdist_egg
+PYDISTUTILS_INSTALL_TARGET= easy_install
+PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${TRACPRIVATETICKETS_EGG}
+
+TRACPRIVATETICKETS_EGG= TracPrivateTickets-${PORTVERSION}-py${PYTHON_VER}.egg
+
+PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
+ TRACPRIVATETICKETS_EGG=${TRACPRIVATETICKETS_EGG} \
+ TRACPRIVATETICKETS_EGG_VER="TracPrivateTickets==${PORTVERSION}"
+
+.include <bsd.port.mk>
diff --git a/www/trac-privatetickets/distinfo b/www/trac-privatetickets/distinfo
new file mode 100644
index 000000000000..531b15ff9561
--- /dev/null
+++ b/www/trac-privatetickets/distinfo
@@ -0,0 +1,3 @@
+MD5 (TracPrivateTickets-1.0.1.tar.gz) = ac8bc58b5c6eb5ef8deda0ddfeb70ac7
+SHA256 (TracPrivateTickets-1.0.1.tar.gz) = d406f879f1364c428e3d730c4514fca057979a7f922249aef0cb3e581d3846c6
+SIZE (TracPrivateTickets-1.0.1.tar.gz) = 3337
diff --git a/www/trac-privatetickets/pkg-descr b/www/trac-privatetickets/pkg-descr
new file mode 100644
index 000000000000..cb93cd92cf43
--- /dev/null
+++ b/www/trac-privatetickets/pkg-descr
@@ -0,0 +1,12 @@
+Allow users to only see tickets they are associated with.
+
+There are three new permissions for this plugin: TICKET_VIEW_REPORTER,
+TICKET_VIEW_CC, and TICKET_VIEW_OWNER. TICKET_VIEW_SELF is an alias
+for all three of these.
+
+With each permission, users will only be able to see tickets where they are
+the person mentioned in the permission. So if a user has TICKET_VIEW_REPORTER,
+they can only see tickets they reported. For TICKET_VIEW_CC, they just have to
+be included in the CC list.
+
+WWW: http://trac-hacks.org/wiki/PrivateTicketsPlugin
diff --git a/www/trac-privatetickets/pkg-plist b/www/trac-privatetickets/pkg-plist
new file mode 100644
index 000000000000..21b9d1ca78e8
--- /dev/null
+++ b/www/trac-privatetickets/pkg-plist
@@ -0,0 +1,3 @@
+@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%TRACPRIVATETICKETS_EGG_VER%%
+%%PYTHON_SITELIBDIR%%/%%TRACPRIVATETICKETS_EGG%%
+@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%TRACPRIVATETICKETS_EGG_VER%%