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
changes/52/12352/1
Guillem Jover 8 years ago
parent 2ed2013eb2
commit 758bc04c96

5
debian/.gitignore vendored

@ -0,0 +1,5 @@
*.log
*.substvars
/debhelper-build-stamp
/files
/ngcp-vmnotify/

2
debian/compat vendored

@ -1 +1 @@
5
9

14
debian/control vendored

@ -2,14 +2,16 @@ Source: ngcp-vmnotify
Section: utils
Priority: extra
Maintainer: Sipwise Development Team <support@sipwise.com>
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.

4
debian/install vendored

@ -0,0 +1,4 @@
vmnotify usr/bin/
vmsmsnotify usr/bin/
vmnotify.conf etc/ngcp-vmnotify/
mwi.sip etc/ngcp-vmnotify/

56
debian/rules vendored

@ -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 $@

@ -0,0 +1 @@
3.0 (native)
Loading…
Cancel
Save