From owner-svn-ports-all@FreeBSD.ORG Thu Jul 11 15:23:46 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D85E3DCF; Thu, 11 Jul 2013 15:23:45 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CB13E13C5; Thu, 11 Jul 2013 15:23:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6BFNj5J015837; Thu, 11 Jul 2013 15:23:45 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6BFNjZU015833; Thu, 11 Jul 2013 15:23:45 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201307111523.r6BFNjZU015833@svn.freebsd.org> From: Martin Wilke Date: Thu, 11 Jul 2013 15:23:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322776 - in head/www: . trac-attachmentpolicy X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2013 15:23:46 -0000 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 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 +# $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 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