From 91e2d618e8b3f5ae13447275f2b6dee4ec35a7c2 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Wed, 27 Mar 2019 23:40:37 +0100 Subject: [PATCH] TT#53701 Split Catalyst::Plugin::Session:Store::Redis into its own package This is an embedded code copy that should not even be in git, but for now to ease a future transition into a proper indepently packaged version, we'll split it out. Change-Id: Ic6234063249ff6b1ce67b6c019ee8b35d3cc0637 --- debian/.gitignore | 1 + debian/control | 24 ++++++++++++++++--- ...st-plugin-session-store-redis-perl.install | 2 ++ debian/ngcp-panel.install | 4 ++-- 4 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 debian/libcatalyst-plugin-session-store-redis-perl.install diff --git a/debian/.gitignore b/debian/.gitignore index a60e45916c..4e58451581 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -4,6 +4,7 @@ /.debhelper/ /debhelper-build-stamp /files +/libcatalyst-plugin-session-store-redis-perl/ /ngcp-panel-tools/ /ngcp-panel/ /tmp/ diff --git a/debian/control b/debian/control index 3896c85741..f544108499 100644 --- a/debian/control +++ b/debian/control @@ -11,9 +11,29 @@ Build-Depends: Standards-Version: 3.9.8 Homepage: https://www.sipwise.com/ +Package: libcatalyst-plugin-session-store-redis-perl +Section: perl +Architecture: all +Depends: + ${misc:Depends}, + ${perl:Depends}, + libcatalyst-plugin-session-perl, + libclass-data-inheritable-perl, + libredis-perl, + libtry-tiny-perl, +Breaks: + ngcp-panel (<< 7.3.0.0+0~mr7.3.0.0), +Replaces: + ngcp-panel (<< 7.3.1.0+0~mr7.3.1.0), +Description: Redis Session store for Catalyst + Catalyst::Plugin::Session::Store::Redis is a session storage plugin + for Catalyst that uses the Redis (https://redis.io/) key-value database. + Package: ngcp-panel Architecture: all Depends: + ${misc:Depends}, + ${perl:Depends}, cracklib-runtime, gettext, ghostscript, @@ -28,6 +48,7 @@ Depends: libcatalyst-modules-perl, libcatalyst-perl (>= 5.90040), libcatalyst-plugin-authentication-perl, + libcatalyst-plugin-session-store-redis-perl, libcatalyst-view-tt-perl, libconfig-general-perl, libconfig-tiny-perl, @@ -110,7 +131,6 @@ Depends: libtie-ixhash-perl, libtime-period-perl, libtime-warp-perl, - libtry-tiny-perl, libtrycatch-perl, libtype-tiny-perl, liburi-encode-perl, @@ -125,8 +145,6 @@ Depends: openssl, sipsak (>= 0.9.6+git20160713), sox, - ${misc:Depends}, - ${perl:Depends}, Recommends: libngcp-rating-inew-perl, Description: catalyst based panel application for NGCP diff --git a/debian/libcatalyst-plugin-session-store-redis-perl.install b/debian/libcatalyst-plugin-session-store-redis-perl.install new file mode 100644 index 0000000000..7554d2a1fc --- /dev/null +++ b/debian/libcatalyst-plugin-session-store-redis-perl.install @@ -0,0 +1,2 @@ +usr/share/man/man3/Catalyst::* +usr/share/perl5/Catalyst diff --git a/debian/ngcp-panel.install b/debian/ngcp-panel.install index 31791b7717..a1f0584cd0 100644 --- a/debian/ngcp-panel.install +++ b/debian/ngcp-panel.install @@ -6,5 +6,5 @@ script/* usr/share/ngcp-panel/script script/ngcp_panel_fastcgi.pl usr/share/ngcp-panel/ share/* usr/share/ngcp-panel/ -usr/share/man/ -usr/share/perl5/ +usr/share/man/man3/NGCP::* +usr/share/perl5/NGCP