From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 27 21:50:03 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 47C744F9 for ; Wed, 27 Mar 2013 21:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2E0293CE for ; Wed, 27 Mar 2013 21:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2RLo3T5085348 for ; Wed, 27 Mar 2013 21:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2RLo3sk085347; Wed, 27 Mar 2013 21:50:03 GMT (envelope-from gnats) Resent-Date: Wed, 27 Mar 2013 21:50:03 GMT Resent-Message-Id: <201303272150.r2RLo3sk085347@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hung-Yi Chen Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9574C3CA for ; Wed, 27 Mar 2013 21:48:42 +0000 (UTC) (envelope-from gaod@cse.tw) Received: from cse.tw (cse.tw [140.138.145.234]) by mx1.freebsd.org (Postfix) with ESMTP id 66D5C389 for ; Wed, 27 Mar 2013 21:48:42 +0000 (UTC) Received: from cse.tw (localhost [127.0.0.1]) by cse.tw (Postfix) with ESMTP id 1B09C187F098 for ; Thu, 28 Mar 2013 05:48:49 +0800 (CST) Received: (from gaod@localhost) by cse.tw (8.14.5/8.14.5/Submit) id r2RLmnwR018326; Thu, 28 Mar 2013 05:48:49 +0800 (CST) (envelope-from gaod) Message-Id: <201303272148.r2RLmnwR018326@cse.tw> Date: Thu, 28 Mar 2013 05:48:49 +0800 (CST) From: Hung-Yi Chen To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/177423: [NEW PORT]: www/trac-attachmentpolicy: Provides delete permission to Trac normal user X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Hung-Yi Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 21:50:03 -0000 >Number: 177423 >Category: ports >Synopsis: [NEW PORT]: www/trac-attachmentpolicy: Provides delete permission to Trac normal user >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 21:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Hung-Yi Chen >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD cse.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: >How-To-Repeat: 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 >Fix: --- trac-attachmentpolicy.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 315411) +++ Makefile (working copy) @@ -1882,6 +1882,7 @@ SUBDIR += trac-accountmanager SUBDIR += trac-addcomment SUBDIR += trac-advancedticketworkflow + SUBDIR += trac-attachmentpolicy SUBDIR += trac-announcer SUBDIR += trac-autocomplete SUBDIR += trac-batchmodify Index: trac-attachmentpolicy/Makefile =================================================================== --- trac-attachmentpolicy/Makefile (revision 0) +++ trac-attachmentpolicy/Makefile (working copy) @@ -0,0 +1,30 @@ +# Created by: Hung-Yi Chen +# $FreeBSD$ + +PORTNAME= attachmentpolicy +PORTVERSION= 0.1.0.${SVN_REV} +CATEGORIES= www devel python +MASTER_SITES= 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 Index: trac-attachmentpolicy/distinfo =================================================================== --- trac-attachmentpolicy/distinfo (revision 0) +++ trac-attachmentpolicy/distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (attachmentpolicyplugin-r12775.zip) = be8493552557ee027d708dd32debcd1b7ca1c08cdb610a1490ac1b03b59b02ba +SIZE (attachmentpolicyplugin-r12775.zip) = 1731 Index: trac-attachmentpolicy/pkg-descr =================================================================== --- trac-attachmentpolicy/pkg-descr (revision 0) +++ trac-attachmentpolicy/pkg-descr (working copy) @@ -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 --- trac-attachmentpolicy.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: