From 758bc04c96b2052161feb14a5e3bb629d05c20eb Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Fri, 24 Mar 2017 20:29:00 +0100 Subject: [PATCH] TT#5420 Update packaging - Use canonical homepage URL. - Bump debhelper compatibility to 9. - Bump Standards-Version to 3.9.8. - Bump source format to 3.0 (native). - Switch to dh debian/rules. - Move file installation to an .install file. - Remove empty debian/overrides file. Change-Id: I8b5dd446f407823440a607238e70eaac5fd31545 --- debian/.gitignore | 5 ++++ debian/compat | 2 +- debian/control | 14 ++++++----- debian/install | 4 ++++ debian/overrides | 0 debian/rules | 56 ++------------------------------------------ debian/source/format | 1 + 7 files changed, 21 insertions(+), 61 deletions(-) create mode 100644 debian/.gitignore create mode 100644 debian/install delete mode 100644 debian/overrides create mode 100644 debian/source/format diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..e54b443 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,5 @@ +*.log +*.substvars +/debhelper-build-stamp +/files +/ngcp-vmnotify/ diff --git a/debian/compat b/debian/compat index 7ed6ff8..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +9 diff --git a/debian/control b/debian/control index bcc0a8d..af798f8 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,16 @@ Source: ngcp-vmnotify Section: utils Priority: extra Maintainer: Sipwise Development Team -Build-Depends: debhelper (>= 5) -Standards-Version: 3.9.7 -Homepage: http://sipwise.com/ +Build-Depends: + debhelper (>= 9), +Standards-Version: 3.9.8 +Homepage: https://www.sipwise.com/ Package: ngcp-vmnotify Architecture: all -Depends: sipsak (>= 0.9.6+git20160713), - uuid-runtime, - ${misc:Depends}, +Depends: + sipsak (>= 0.9.6+git20160713), + uuid-runtime, + ${misc:Depends}, Description: mwi generator for NGCP platform This program generates mwi notifications for the NGCP voicemail system. diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..c2ec3c2 --- /dev/null +++ b/debian/install @@ -0,0 +1,4 @@ +vmnotify usr/bin/ +vmsmsnotify usr/bin/ +vmnotify.conf etc/ngcp-vmnotify/ +mwi.sip etc/ngcp-vmnotify/ diff --git a/debian/overrides b/debian/overrides deleted file mode 100644 index e69de29..0000000 diff --git a/debian/rules b/debian/rules index 3dcc740..657234c 100755 --- a/debian/rules +++ b/debian/rules @@ -1,59 +1,7 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -build: build-stamp - -build-stamp: - dh_testdir - #cd docs && make && cd .. - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - #cd docs && make clean && cd .. - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs usr/bin etc/ngcp-vmnotify - - install -m 755 vmnotify debian/ngcp-vmnotify/usr/bin/vmnotify - install -m 755 vmsmsnotify debian/ngcp-vmnotify/usr/bin/vmsmsnotify - install -m 644 vmnotify.conf debian/ngcp-vmnotify/etc/ngcp-vmnotify/vmnotify.conf - install -m 644 mwi.sip debian/ngcp-vmnotify/etc/ngcp-vmnotify/mwi.sip - -# Build architecture-dependent files here. -binary-arch: build install -# We have nothing to do by default. - -# Build architecture-independent files here. -binary-indep: build install - dh_testdir - dh_testroot - dh_installchangelogs - dh_installdocs - dh_installexamples - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native)