MT#62899 Update packaging for Debian trixie

- Update copyright years.
- Update Standards-Version to 4.7.2.
- Remove «Rules-Requires-Root: no» field, which is now the default.
- Remove «Priority: optional» field, which is now the default.
- Remove ancient conffile removal handling.
- Wrap and sort fields.
- Add spaces around operators in make variables.

Change-Id: Ibdcbb41520e5c5fdf4a2f88e5fc062445b90f91a
mr14.1
Guillem Jover 6 months ago
parent b0df2e3ba8
commit 9e7fa8d3a4

4
debian/control vendored

@ -1,8 +1,6 @@
Source: ngcp-mediator
Section: utils
Priority: optional
Maintainer: Sipwise Development Team <support@sipwise.com>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
default-libmysqlclient-dev,
@ -10,7 +8,7 @@ Build-Depends:
libhiredis-dev,
libjson-c-dev,
libsystemd-dev,
Standards-Version: 4.6.2
Standards-Version: 4.7.2
Homepage: https://www.sipwise.com/
Package: ngcp-mediator

5
debian/copyright vendored

@ -2,9 +2,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://www.sipwise.com/
Upstream-Contact: Sipwise Development Team <support@sipwise.com>
Files: *
Files:
*
Copyright:
Copyright © 2007-2023 Sipwise GmbH, Austria
2007-2025 Sipwise GmbH, Austria
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

@ -1,2 +0,0 @@
rm_conffile /etc/default/mediator 6.3.0.0+1~mr6.3.0.0
rm_conffile /etc/init.d/mediator 6.3.0.0+1~mr6.3.0.0

@ -1,22 +0,0 @@
#!/bin/sh
set -e
case "$1" in
configure)
# Remove obsolete rc.d links.
update-rc.d mediator remove
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument '$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

2
debian/rules vendored

@ -1,7 +1,7 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
#export DH_VERBOSE = 1
%:
dh $@

Loading…
Cancel
Save