Date: Thu, 11 Jul 2013 15:23:45 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322776 - in head/www: . trac-attachmentpolicy Message-ID: <201307111523.r6BFNjZU015833@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Thu Jul 11 15:23:44 2013 New Revision: 322776 URL: http://svnweb.freebsd.org/changeset/ports/322776 Log: Adds permission TICKET_ATTACHMENT_DELETE for exclusive right to delete and replace attachments, regardless who added/changed it. Everybody who has permission TICKET_ATTACHMENT_DELETE can delete or replace attachments, regardless who added / changed it. WWW: http://trac-hacks.org/wiki/AttachmentPolicyPlugin PR: ports/177423 Submitted by: Hung-Yi Chen <gaod@hychen.org> Added: head/www/trac-attachmentpolicy/ head/www/trac-attachmentpolicy/Makefile (contents, props changed) head/www/trac-attachmentpolicy/distinfo (contents, props changed) head/www/trac-attachmentpolicy/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Thu Jul 11 15:22:10 2013 (r322775) +++ head/www/Makefile Thu Jul 11 15:23:44 2013 (r322776) @@ -1911,6 +1911,7 @@ SUBDIR += trac-addcomment SUBDIR += trac-advancedticketworkflow SUBDIR += trac-announcer + SUBDIR += trac-attachmentpolicy SUBDIR += trac-autocomplete SUBDIR += trac-batchmodify SUBDIR += trac-bzr Added: head/www/trac-attachmentpolicy/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/trac-attachmentpolicy/Makefile Thu Jul 11 15:23:44 2013 (r322776) @@ -0,0 +1,31 @@ +# Created by: Hung-Yi Chen <gaod@hychen.org> +# $FreeBSD$ + +PORTNAME= attachmentpolicy +PORTVERSION= 0.1.0.${SVN_REV} +CATEGORIES= www devel python +MASTER_SITES= http://distfiles.cse.tw/ \ + http://trac-hacks.org/changeset/${SVN_REV}/attachmentpolicyplugin?old_path=/&format=zip&filename=/ +PKGNAMEPREFIX= trac- +DISTNAME= ${PORTNAME}plugin-r${SVN_REV} + +MAINTAINER= gaod@hychen.org +COMMENT= Provides delete permission to Trac normal user + +LICENSE= BSD + +SVN_REV= 12775 + +RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac + +WRKSRC= ${WRKDIR}/${PORTNAME}plugin/0.12 +USE_ZIP= yes +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install + +FETCH_BEFORE_ARGS= -o ${DISTFILES} +PYDISTUTILS_PKGNAME= Attachment_Policy_Plugin +PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/.${SVN_REV}//g} +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% + +.include <bsd.port.mk> Added: head/www/trac-attachmentpolicy/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/trac-attachmentpolicy/distinfo Thu Jul 11 15:23:44 2013 (r322776) @@ -0,0 +1,2 @@ +SHA256 (attachmentpolicyplugin-r12775.zip) = be8493552557ee027d708dd32debcd1b7ca1c08cdb610a1490ac1b03b59b02ba +SIZE (attachmentpolicyplugin-r12775.zip) = 1731 Added: head/www/trac-attachmentpolicy/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/trac-attachmentpolicy/pkg-descr Thu Jul 11 15:23:44 2013 (r322776) @@ -0,0 +1,7 @@ +Adds permission TICKET_ATTACHMENT_DELETE for exclusive right +to delete and replace attachments, regardless who added/changed it. + +Everybody who has permission TICKET_ATTACHMENT_DELETE can delete +or replace attachments, regardless who added / changed it. + +WWW: http://trac-hacks.org/wiki/AttachmentPolicyPlugin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307111523.r6BFNjZU015833>