From 1979a412947fd6607a507e6d8154c0545d3b7b7d Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 6 Feb 2013 17:53:24 +0000 Subject: [PATCH] add lintian overrides file to make it happy about the kamailio.postrm while at it fix typo in kamailio.postrm Testing on Jenkins, since local builds suck... From: Michael Prokop --- pkg/kamailio/deb/squeeze/kamailio.postrm | 4 ++-- pkg/kamailio/deb/squeeze/overrides | 1 + pkg/kamailio/deb/squeeze/rules | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 pkg/kamailio/deb/squeeze/overrides diff --git a/pkg/kamailio/deb/squeeze/kamailio.postrm b/pkg/kamailio/deb/squeeze/kamailio.postrm index a38ae43e3..e1d344090 100644 --- a/pkg/kamailio/deb/squeeze/kamailio.postrm +++ b/pkg/kamailio/deb/squeeze/kamailio.postrm @@ -4,8 +4,8 @@ set -e removal_wrapper() { - # remove the init script only on ce systems, as the - # the pro system handle it inside the monitoring/HA setup + # remove the init script only on ce systems, as + # the pro system handles it inside the monitoring/HA setup if ! [ -x "$(which ngcp-check_active 2>/dev/null)" ]; then update-rc.d kamailio-lb remove >/dev/null update-rc.d kamailio-proxy remove >/dev/null diff --git a/pkg/kamailio/deb/squeeze/overrides b/pkg/kamailio/deb/squeeze/overrides new file mode 100644 index 000000000..4be3a9458 --- /dev/null +++ b/pkg/kamailio/deb/squeeze/overrides @@ -0,0 +1 @@ +kamailio: postrm-contains-additional-updaterc.d-calls etc/init.d/kamailio-lb diff --git a/pkg/kamailio/deb/squeeze/rules b/pkg/kamailio/deb/squeeze/rules index 55c45b0cd..d4e41f727 100755 --- a/pkg/kamailio/deb/squeeze/rules +++ b/pkg/kamailio/deb/squeeze/rules @@ -218,6 +218,9 @@ binary-indep: build install # Build architecture-dependent packages using the common target binary-arch: build install $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + mkdir -p $(CURDIR)/debian/kamailio/usr/share/lintian/overrides/ + cp -v debian/overrides $(CURDIR)/debian/kamailio/usr/share/lintian/overrides/kamailio + # Any other binary targets build just one binary package at a time. binary-%: build install