[Pkg-nagios-changes] [pkg-icinga-web] 05/09: Updated packaging for 1.10.0
Markus Frosch
lazyfrosch-guest at alioth.debian.org
Sat Oct 26 17:26:16 UTC 2013
This is an automated email from the git hooks/post-receive script.
lazyfrosch-guest pushed a commit to branch master
in repository pkg-icinga-web.
commit d370ed98ca6ed7c3174e5239da57f5356e432146
Author: Markus Frosch <markus at lazyfrosch.de>
Date: Fri Oct 25 17:56:18 2013 +0200
Updated packaging for 1.10.0
---
debian/icinga-web.install | 1 +
debian/icinga-web.links | 2 +-
debian/rules | 13 ++++++++++++-
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/debian/icinga-web.install b/debian/icinga-web.install
index 9a64ace..84ecb64 100644
--- a/debian/icinga-web.install
+++ b/debian/icinga-web.install
@@ -14,4 +14,5 @@ usr/share/icinga-web/lib/ext3 usr/share/icinga-web/lib
usr/share/icinga-web/lib/jit usr/share/icinga-web/lib
usr/share/icinga-web/lib/jsgettext usr/share/icinga-web/lib
usr/share/icinga-web/lib/phpseclib usr/share/icinga-web/lib
+usr/share/icinga-web/lib/raphael usr/share/icinga-web/lib
usr/share/icinga-web/pub/* usr/share/icinga-web/pub
diff --git a/debian/icinga-web.links b/debian/icinga-web.links
index fd0c9eb..13d1225 100644
--- a/debian/icinga-web.links
+++ b/debian/icinga-web.links
@@ -1,2 +1,2 @@
-usr/share/doc/icinga-web/CHANGELOG-1.9 usr/share/doc/icinga-web/changelog
+usr/share/doc/icinga-web/CHANGELOG-1.10.gz usr/share/doc/icinga-web/changelog.gz
etc/icinga-web/apache2.conf etc/apache2/conf-available/icinga-web.conf
diff --git a/debian/rules b/debian/rules
index 1609776..178a2eb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,11 @@ b := $(shell pwd)/debian
%:
dh --buildsystem=autoconf $@
+override_dh_auto_clean:
+ dh_auto_clean
+ # temp fix for 1.10.0
+ rm -f app/modules/Api/config/views.xml
+
override_dh_auto_configure:
./configure --prefix=/usr/share/icinga-web \
--bindir=/usr/lib/icinga-web/bin \
@@ -54,16 +59,22 @@ override_dh_install:
cp etc/schema/updates/mysql/mysql_v1-8-0_to_v-1-8-1.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/mysql/1.8.1~schema0
cp etc/schema/updates/mysql/mysql_v1-8-1_to_v1-8-3.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/mysql/1.8.3~schema0
cp etc/schema/updates/mysql/mysql_v1-8-3_to_v1-9.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/mysql/1.9.0~0schema
+ cp etc/schema/updates/mysql/mysql_v1-9-1_to_1-10-0.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/mysql/1.10.0~0schema
# PGSQL schema for dbconfig-common
cp etc/schema/pgsql.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/install/pgsql
cp etc/schema/updates/pgsql/pgsql_v1-7-0_to_v1-7-1.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/pgsql/1.7.1-1
- chmod -x ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/pgsql/1.7.1-1 # TEMP fix -mf
cp etc/schema/updates/pgsql/pgsql_v1-7-1_to_v1-7-2.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/pgsql/1.7.2-1
cp etc/schema/updates/pgsql/pgsql_v1-7-2_to_v1-8-0.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/pgsql/1.8.0~beta-1
cp etc/schema/updates/pgsql/pgsql_v1-8-0_to_v-1-8-1.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/pgsql/1.8.1~schema0
cp etc/schema/updates/pgsql/pgsql_v1-8-1_to_v1-8-3.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/pgsql/1.8.3~schema0
cp etc/schema/updates/pgsql/pgsql_v1-8-3_to_v1-9.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/pgsql/1.9.0~0schema
+ cp etc/schema/updates/pgsql/pgsql_v1-9-1_to_v1-10-0.sql ${b}/icinga-web/usr/share/dbconfig-common/data/icinga-web/upgrade/pgsql/1.10.0~0schema
# rename apache config file
mv ${b}/icinga-web/etc/icinga-web/icinga-web.conf ${b}/icinga-web/etc/icinga-web/apache2.conf
+override_dh_compress:
+ dh_compress
+ # make sure all changelogs are compressed
+ find debian/icinga-web/usr/share/doc/icinga-web -regex ".*/CHANGELOG-[0-9]\.[0-9]+" | xargs -r gzip -9
+
# vi: ts=4 sw=4 noexpandtab :
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga-web.git
More information about the Pkg-nagios-changes
mailing list