diff options
-rw-r--r-- | www/p5-RT-Extension-SLA/Makefile | 6 | ||||
-rw-r--r-- | www/p5-RT-Extension-SLA/distinfo | 4 | ||||
-rw-r--r-- | www/p5-RT-Extension-SLA/files/pkg-message.in | 7 | ||||
-rw-r--r-- | www/p5-RT-Extension-SLA/pkg-plist | 4 |
4 files changed, 16 insertions, 5 deletions
diff --git a/www/p5-RT-Extension-SLA/Makefile b/www/p5-RT-Extension-SLA/Makefile index 203f722c11b5..96b7dc8457c5 100644 --- a/www/p5-RT-Extension-SLA/Makefile +++ b/www/p5-RT-Extension-SLA/Makefile @@ -6,8 +6,7 @@ # PORTNAME= RT-Extension-SLA -PORTVERSION= 0.05 -PORTREVISION= 1 +PORTVERSION= 0.07 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -54,7 +53,8 @@ MAN3= RT::Action::SLA.3 \ PLIST_SUB+= RTHOME=share/rt${RT_VER} SUB_LIST+= RTHOME=share/rt${RT_VER} -SUB_LIST+= INITIALDATA=plugins/RT-Extension-SLA/etc/initialdata +SUB_LIST+= INITIALDATA=plugins/RT-Extension-SLA/etc/initialdata \ + SCHEMAUPGRADE=plugins/RT-Extension-SLA/etc/upgrade/0.06/content SUB_FILES+= pkg-message # Note: You can install using an arbitrary $PREFIX but only if it diff --git a/www/p5-RT-Extension-SLA/distinfo b/www/p5-RT-Extension-SLA/distinfo index 900a2c93f7b2..836a17b794f0 100644 --- a/www/p5-RT-Extension-SLA/distinfo +++ b/www/p5-RT-Extension-SLA/distinfo @@ -1,2 +1,2 @@ -SHA256 (RT-Extension-SLA-0.05.tar.gz) = 0e74e6beb91c8cf0fabfcd6760f0c807f318499e67b6f26ea9aeefb1fb345491 -SIZE (RT-Extension-SLA-0.05.tar.gz) = 41842 +SHA256 (RT-Extension-SLA-0.07.tar.gz) = 72fb4d21d73f0a42f7732391b97a1e404fd2d0a5ca33baaf654e5f5602e687f3 +SIZE (RT-Extension-SLA-0.07.tar.gz) = 53283 diff --git a/www/p5-RT-Extension-SLA/files/pkg-message.in b/www/p5-RT-Extension-SLA/files/pkg-message.in index ff1788c2dd90..6edf614f7610 100644 --- a/www/p5-RT-Extension-SLA/files/pkg-message.in +++ b/www/p5-RT-Extension-SLA/files/pkg-message.in @@ -7,3 +7,10 @@ %%PREFIX%%/%%RTHOME%%/%%INITIALDATA%% This only ever needs to be run once. + + If you are upgrading from versions prior to 0.6 you will need to + apply a database schema update. + + rt-setup-database --action insert --datafile \ + %%PREFIX%%/%%RTHOME%%/%%SCHEMAUPGRADE%% + diff --git a/www/p5-RT-Extension-SLA/pkg-plist b/www/p5-RT-Extension-SLA/pkg-plist index 35353f7930a3..562415278b3f 100644 --- a/www/p5-RT-Extension-SLA/pkg-plist +++ b/www/p5-RT-Extension-SLA/pkg-plist @@ -1,5 +1,6 @@ man/auto/RT/Extension/SLA/.packlist %%RTHOME%%/plugins/RT-Extension-SLA/etc/initialdata +%%RTHOME%%/plugins/RT-Extension-SLA/etc/upgrade/0.06/content %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Action/SLA.pm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Action/SLA_SetDefault.pm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Action/SLA_SetDue.pm @@ -9,6 +10,7 @@ man/auto/RT/Extension/SLA/.packlist %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Condition/SLA_RequireDueSet.pm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Condition/SLA_RequireStartsSet.pm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA/Test.pm +%%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA/Test.pm.in %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA.pm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Queue_SLA.pm @dirrm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Extension/SLA @@ -17,6 +19,8 @@ man/auto/RT/Extension/SLA/.packlist @dirrm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT/Action @dirrm %%RTHOME%%/plugins/RT-Extension-SLA/lib/RT @dirrm %%RTHOME%%/plugins/RT-Extension-SLA/lib +@dirrm %%RTHOME%%/plugins/RT-Extension-SLA/etc/upgrade/0.06 +@dirrm %%RTHOME%%/plugins/RT-Extension-SLA/etc/upgrade @dirrm %%RTHOME%%/plugins/RT-Extension-SLA/etc @dirrm %%RTHOME%%/plugins/RT-Extension-SLA @dirrm man/auto/RT/Extension/SLA |