RTx::Shredder is extention to RT API which allow you to delete data

from RT database. Now Shredder support wipe out of almost all RT
objects (Tickets, Transactions, Attachments, Users...)

WWW: http://search.cpan.org/perldoc?RTx::Shredder

PR:		ports/126783
Submitted by:	Matthew Seaman <m.seaman at infracaninophile.co.uk>
This commit is contained in:
Martin Wilke 2008-12-14 20:13:34 +00:00
parent d6be3c70d5
commit 7b72e3a1f4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224243
5 changed files with 125 additions and 0 deletions

View file

@ -958,6 +958,7 @@
SUBDIR += p5-RT-Extension-SLA
SUBDIR += p5-RTx-Calendar
SUBDIR += p5-RTx-RightsMatrix
SUBDIR += p5-RTx-Shredder
SUBDIR += p5-RTx-Statistics
SUBDIR += p5-Reaction
SUBDIR += p5-SCGI

View file

@ -0,0 +1,46 @@
# New ports collection Makefile for: RTx-Shredder
# Date created: 23 August 2008
# Whom: Matthew Seaman <m.seaman@infracaninophile.co.uk>
#
# $FreeBSD$
#
PORTNAME= RTx-Shredder
PORTVERSION= 0.07
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= m.seaman@infracaninophile.co.uk
COMMENT= Cleanup RT database
BUILD_DEPENDS= ${LOCALBASE}/${RTHOME}/bin/rt:${PORTSDIR}/www/rt36 \
p5-DBIx-SearchBuilder>=1.31:${PORTSDIR}/databases/p5-DBIx-SearchBuilder \
p5-Exception-Class>=1.23:${PORTSDIR}/devel/p5-Exception-Class \
${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \
${SITE_PERL}/Test/Deep.pm:${PORTSDIR}/devel/p5-Test-Deep
RUN_DEPENDS= ${BUILD_DEPENDS}
RTHOME?= rt3
PLIST_SUB+= RTHOME=${RTHOME}
PERL_CONFIGURE= yes
CONFIGURE_ENV+= RTHOME=${PREFIX}/${RTHOME}
MAN3= RTx::Shredder::Plugin::Base.3 \
RTx::Shredder::Plugin::Attachments.3 \
RTx::Shredder::Dependencies.3 \
RTx::Shredder::Plugin::Tickets.3 \
RTx::Shredder.3 \
RTx::Shredder::Plugin.3 \
RTx::Shredder::Constants.3 \
RTx::Shredder::Plugin::Users.3 \
RTx::Shredder::Plugin::Objects.3
# Don't use normal CONFIGURE_ARGS
do-configure:
@cd ${CONFIGURE_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} \
${PERL5} ./${CONFIGURE_SCRIPT}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (RTx-Shredder-0.07.tar.gz) = 81a46e5e45639d70cf96f5781e759aee
SHA256 (RTx-Shredder-0.07.tar.gz) = 218adbb53248e29ed128145525a9f0617386a3383a1886261f1a5b0e6230f11c
SIZE (RTx-Shredder-0.07.tar.gz) = 53740

View file

@ -0,0 +1,5 @@
RTx::Shredder is extention to RT API which allow you to delete data
from RT database. Now Shredder support wipe out of almost all RT
objects (Tickets, Transactions, Attachments, Users...)
WWW: http://search.cpan.org/perldoc?RTx::Shredder

View file

@ -0,0 +1,70 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/RTx/Shredder/.packlist
%%RTHOME%%/share/html/Callbacks/RTx-Shredder/Search/Results.html/SearchActions
%%RTHOME%%/share/html/Callbacks/RTx-Shredder/Elements/Header/Head
%%RTHOME%%/share/html/Callbacks/RTx-Shredder/Admin/Elements/ToolTabs/Default
%%RTHOME%%/share/html/Admin/Tools/Shredder/index.html
%%RTHOME%%/share/html/Admin/Tools/Shredder/autohandler
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/SelectPlugin
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/SelectObjects
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/PluginHelp
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/PluginArguments
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/ObjectCheckBox
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/Object/RT--User
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/Object/RT--Ticket
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/Object/RT--Attachment
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/Error/NoStorage
%%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/Error/NoRights
%%RTHOME%%/local/sbin/rtx-validator
%%RTHOME%%/local/sbin/rtx-shredder
%%RTHOME%%/local/lib/RTx/Shredder/User.pm
%%RTHOME%%/local/lib/RTx/Shredder/Transaction.pm
%%RTHOME%%/local/lib/RTx/Shredder/Ticket.pm
%%RTHOME%%/local/lib/RTx/Shredder/Template.pm
%%RTHOME%%/local/lib/RTx/Shredder/ScripCondition.pm
%%RTHOME%%/local/lib/RTx/Shredder/ScripAction.pm
%%RTHOME%%/local/lib/RTx/Shredder/Scrip.pm
%%RTHOME%%/local/lib/RTx/Shredder/Record.pm
%%RTHOME%%/local/lib/RTx/Shredder/Queue.pm
%%RTHOME%%/local/lib/RTx/Shredder/Principal.pm
%%RTHOME%%/local/lib/RTx/Shredder/Plugin/Users.pm
%%RTHOME%%/local/lib/RTx/Shredder/Plugin/Tickets.pm
%%RTHOME%%/local/lib/RTx/Shredder/Plugin/Objects.pm
%%RTHOME%%/local/lib/RTx/Shredder/Plugin/Base.pm
%%RTHOME%%/local/lib/RTx/Shredder/Plugin/Attachments.pm
%%RTHOME%%/local/lib/RTx/Shredder/Plugin.pm
%%RTHOME%%/local/lib/RTx/Shredder/POD.pm
%%RTHOME%%/local/lib/RTx/Shredder/ObjectCustomFieldValue.pm
%%RTHOME%%/local/lib/RTx/Shredder/Link.pm
%%RTHOME%%/local/lib/RTx/Shredder/GroupMember.pm
%%RTHOME%%/local/lib/RTx/Shredder/Group.pm
%%RTHOME%%/local/lib/RTx/Shredder/Exceptions.pm
%%RTHOME%%/local/lib/RTx/Shredder/Dependency.pm
%%RTHOME%%/local/lib/RTx/Shredder/Dependencies.pm
%%RTHOME%%/local/lib/RTx/Shredder/CustomFieldValue.pm
%%RTHOME%%/local/lib/RTx/Shredder/CustomField.pm
%%RTHOME%%/local/lib/RTx/Shredder/Constants.pm
%%RTHOME%%/local/lib/RTx/Shredder/CachedGroupMember.pm
%%RTHOME%%/local/lib/RTx/Shredder/Attachment.pm
%%RTHOME%%/local/lib/RTx/Shredder/ACE.pm
%%RTHOME%%/local/lib/RTx/Shredder.pm
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/RTx/Shredder
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/RTx
@dirrm %%RTHOME%%/share/html/Callbacks/RTx-Shredder/Search/Results.html
@dirrm %%RTHOME%%/share/html/Callbacks/RTx-Shredder/Search
@dirrm %%RTHOME%%/share/html/Callbacks/RTx-Shredder/Elements/Header
@dirrm %%RTHOME%%/share/html/Callbacks/RTx-Shredder/Elements
@dirrm %%RTHOME%%/share/html/Callbacks/RTx-Shredder/Admin/Elements/ToolTabs
@dirrm %%RTHOME%%/share/html/Callbacks/RTx-Shredder/Admin/Elements
@dirrm %%RTHOME%%/share/html/Callbacks/RTx-Shredder/Admin
@dirrm %%RTHOME%%/share/html/Callbacks/RTx-Shredder
@dirrmtry %%RTHOME%%/share/html/Callbacks
@dirrm %%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/Object
@dirrm %%RTHOME%%/share/html/Admin/Tools/Shredder/Elements/Error
@dirrm %%RTHOME%%/share/html/Admin/Tools/Shredder/Elements
@dirrm %%RTHOME%%/share/html/Admin/Tools/Shredder
@dirrmtry %%RTHOME%%/local/sbin
@dirrm %%RTHOME%%/local/lib/RTx/Shredder/Plugin
@dirrm %%RTHOME%%/local/lib/RTx/Shredder
@dirrmtry %%RTHOME%%/local/lib/RTx
@dirrmtry %%RTHOME%%/local/lib
@dirrmtry %%RTHOME%%/local