From 2c967358105b42724afaa7baaa8f1a1043cc1848 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 29 Apr 2014 11:37:09 +0200 Subject: [PATCH] MT#6839 fixing lintian errors/warnings --- debian/control | 2 +- debian/ngcp-panel.install | 6 +++--- debian/ngcp-panel.postinst | 2 +- debian/rules | 5 +++++ 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/debian/control b/debian/control index d420b27d9d..78a6334133 100644 --- a/debian/control +++ b/debian/control @@ -146,7 +146,7 @@ Description: Catalyst based application Package: ngcp-panel-tools Architecture: all -Depends: openssl +Depends: openssl, ${misc:Depends}, ${perl:Depends} Description: Tools from ngcp-panel application A completely overhauled provisioning interface for the NGCP system. diff --git a/debian/ngcp-panel.install b/debian/ngcp-panel.install index 98f14603a1..b6d705e533 100644 --- a/debian/ngcp-panel.install +++ b/debian/ngcp-panel.install @@ -1,6 +1,6 @@ +lib/NGCP/Panel/I18N/* usr/share/perl5/NGCP/Panel/I18N +ngcp_panel.conf etc/ngcp-panel/ ngcp_panel.psgi usr/share/ngcp-panel/ +script/* usr/share/ngcp-panel/script script/ngcp_panel_fastcgi.pl usr/share/ngcp-panel/ -ngcp_panel.conf etc/ngcp-panel/ share/* usr/share/ngcp-panel/ -lib/NGCP/Panel/I18N/* usr/share/perl5/NGCP/Panel/I18N -script/* usr/share/ngcp-panel/script diff --git a/debian/ngcp-panel.postinst b/debian/ngcp-panel.postinst index 4654f3bff8..090ad1e28c 100644 --- a/debian/ngcp-panel.postinst +++ b/debian/ngcp-panel.postinst @@ -19,7 +19,7 @@ esac # the dir structure if [ ! -d /etc/ssl/ngcp/api ]; then mkdir -p /etc/ssl/ngcp/api - chown www-data.www-data /etc/ssl/ngcp/api + chown www-data:www-data /etc/ssl/ngcp/api fi # remove default debian site diff --git a/debian/rules b/debian/rules index 88464e72a1..4e4c643408 100755 --- a/debian/rules +++ b/debian/rules @@ -13,3 +13,8 @@ override_dh_auto_test: override_dh_auto_install: dh_auto_install --destdir=debian/ngcp-panel + +override_dh_fixperms: + dh_fixperms + find debian/ngcp-panel/usr/share/ngcp-panel/static \ + -type f -exec chmod 644 {} \;