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.
- Fix Vcs URLs.
- Wrap and sort fields.
- Remove ancient conffile removal handling.
- Add spaces around operators in make variables.

Change-Id: Ib128036662841acad69a70abec5d8c64a9991dde
pull/12/head
Guillem Jover 10 months ago
parent 5244ae9e33
commit 6a1af6b02e

22
debian/control vendored

@ -1,14 +1,12 @@
Source: ngcp-kamailio Source: ngcp-kamailio
Section: net Section: net
Priority: optional
Maintainer: Sipwise Development Team <support@sipwise.com> Maintainer: Sipwise Development Team <support@sipwise.com>
Rules-Requires-Root: no
Build-Depends: Build-Depends:
bison,
debhelper-compat (= 13), debhelper-compat (= 13),
dpkg-dev (>= 1.16.1.1),
bison,
default-libmysqlclient-dev, default-libmysqlclient-dev,
docbook-xml, docbook-xml,
dpkg-dev (>= 1.16.1.1),
erlang-dev, erlang-dev,
flex, flex,
libconfuse-dev, libconfuse-dev,
@ -54,10 +52,10 @@ Build-Depends:
uuid-dev, uuid-dev,
xsltproc, xsltproc,
zlib1g-dev, zlib1g-dev,
Standards-Version: 4.6.2 Standards-Version: 4.7.2
Homepage: https://www.kamailio.org/ Homepage: https://www.kamailio.org/
Vcs-git: https://anonscm.debian.org/git/pkg-voip/kamailio.git Vcs-Browser: https://salsa.debian.org/pkg-voip-team/kamailio
Vcs-Browser: https://anonscm.debian.org/gitweb/?p=pkg-voip/kamailio.git Vcs-Git: https://salsa.debian.org/pkg-voip-team/kamailio.git
Package: ngcp-kamailio Package: ngcp-kamailio
Architecture: any Architecture: any
@ -69,11 +67,6 @@ Depends:
python3, python3,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
Conflicts:
kamailio,
Replaces:
kamailio,
ngcp-kamailio-carrierroute-modules,
Suggests: Suggests:
ngcp-kamailio-berkeley-modules, ngcp-kamailio-berkeley-modules,
ngcp-kamailio-cpl-modules, ngcp-kamailio-cpl-modules,
@ -92,8 +85,13 @@ Suggests:
ngcp-kamailio-xml-modules, ngcp-kamailio-xml-modules,
ngcp-kamailio-xmpp-modules, ngcp-kamailio-xmpp-modules,
stun-server | turn-server, stun-server | turn-server,
Conflicts:
kamailio,
Breaks: Breaks:
ngcp-kamailio-carrierroute-modules, ngcp-kamailio-carrierroute-modules,
Replaces:
kamailio,
ngcp-kamailio-carrierroute-modules,
Provides: Provides:
ngcp-kamailio-carrierroute-modules, ngcp-kamailio-carrierroute-modules,
sip-router, sip-router,

220
debian/copyright vendored

@ -3,7 +3,8 @@ Source: http://www.kamailio.org/pub/kamailio/
Upstream-Name: Kamailio Upstream-Name: Kamailio
Upstream-Contact: sr-dev@lists.sip-router.org Upstream-Contact: sr-dev@lists.sip-router.org
Files: * Files:
*
Copyright: Copyright:
2001-2003 FhG Fokus 2001-2003 FhG Fokus
2006-2010 iptelorg GmbH 2006-2010 iptelorg GmbH
@ -13,85 +14,185 @@ Comment:
On Debian systems, the full text of the GNU General Public License version 2 On Debian systems, the full text of the GNU General Public License version 2
can be found in the file `/usr/share/common-licenses/GPL-2'. can be found in the file `/usr/share/common-licenses/GPL-2'.
Files: debian/* Files:
Copyright: 2013-2023 Sipwise GmbH, Austria debian/*
2012, Victor Seva <linuxmaniac@torreviejawireless.org> Copyright:
2009, 2010, 2011, Daniel-Constantin Mierla <miconda@gmail.com> 2013-2025 Sipwise GmbH, Austria
2010, Jon Bonilla <manwe@aholab.ehu.es> 2012 Victor Seva <linuxmaniac@torreviejawireless.org>
2009, Jonas Bergler <jonas.bergler@staff.snap.net.nz> 2009, 2010, 2011 Daniel-Constantin Mierla <miconda@gmail.com>
2009, Henning Westerholt <henning.westerholt@1und1.de> 2010 Jon Bonilla <manwe@aholab.ehu.es>
2007, Julien BLACHE <jblache@debian.org> 2009 Jonas Bergler <jonas.bergler@staff.snap.net.nz>
2009 Henning Westerholt <henning.westerholt@1und1.de>
2007 Julien BLACHE <jblache@debian.org>
License: GPL-2+ License: GPL-2+
Comment: Comment:
On Debian systems, the full text of the GNU General Public License version 2 On Debian systems, the full text of the GNU General Public License version 2
can be found in the file `/usr/share/common-licenses/GPL-2'. can be found in the file `/usr/share/common-licenses/GPL-2'.
Files: atomic/* atomic_ops.* basex.* bit_*.c char_msg_val.h compiler_opt.h Files:
core_stats.h counters.* endianness.* futexlock.h hashes.h io_wait.* atomic/*
kstats_types.h lib/kcore/kstats_wrapper.* lock_ops.c lock_ops_init.h atomic_ops.*
lvalue.* mem/ll_malloc.* mem/memdbg.h mem/sf_malloc.* mi/*.h mod_fix.* basex.*
modules/tm/rpc_uac.* modules/counters/counters.c modules/tls/sbufq.h bit_*.c
modules/tls/tls_bio.* modules/tls/tls_cfg.* modules/tls/tls_cfg.h char_msg_val.h
modules/tls/tls_ct_wrq.* modules/tls/tls_ct_q.h modules/tls/tls_domain.* compiler_opt.h
modules/tls/tls_server.h modules/tls/tls_locking.* modules/tls/tls_rpc.* core_stats.h
modules/tls/tls_server.c modules/malloc_test/malloc_test.c modules/blst/blst.c counters.*
parser/case_p_* parser/case_reas.h pvapi.h pv_core.* rand/fastrand.* raw_* endianness.*
rpc_lookup.* rvalue.* sctp_* ser_time.h shm_init.* sip_msg_clone.* sock_ut.* futexlock.h
sr_compat.* str_hash.h switch.* tcp_ev.h tcp_int_send.h tcp_options.* hashes.h
tcp_read.h tcp_stats.* timer_proc.* tls_hooks.* tls_hooks_init.h ver.* io_wait.*
Copyright: 2006-2010 iptelorg GmbH kstats_types.h
lib/kcore/kstats_wrapper.*
lock_ops.c
lock_ops_init.h
lvalue.*
mem/ll_malloc.*
mem/memdbg.h
mem/sf_malloc.*
mi/*.h
mod_fix.*
modules/blst/blst.c
modules/counters/counters.c
modules/malloc_test/malloc_test.c
modules/tls/sbufq.h
modules/tls/tls_bio.*
modules/tls/tls_cfg.*
modules/tls/tls_cfg.h
modules/tls/tls_ct_q.h
modules/tls/tls_ct_wrq.*
modules/tls/tls_domain.*
modules/tls/tls_locking.*
modules/tls/tls_rpc.*
modules/tls/tls_server.c
modules/tls/tls_server.h
modules/tm/rpc_uac.*
parser/case_p_*
parser/case_reas.h
pv_core.*
pvapi.h
rand/fastrand.*
raw_*
rpc_lookup.*
rvalue.*
sctp_*
ser_time.h
shm_init.*
sip_msg_clone.*
sock_ut.*
sr_compat.*
str_hash.h
switch.*
tcp_ev.h
tcp_int_send.h
tcp_options.*
tcp_read.h
tcp_stats.*
timer_proc.*
tls_hooks.*
tls_hooks_init.h
ver.*
Copyright:
2006-2010 iptelorg GmbH
License: ISC License: ISC
Files: daemonize.* fastlock.h lock_ops.h mem/mem.* mem/f_malloc.h Files:
mem/meminfo.h mem/memtest.c mem/shm_mem.c mem/q_malloc.h mem/q_malloc.c daemonize.*
mem/shm_mem.h mem/f_malloc.c modules/tls/tls_rpc.c modules/tls/tls_server.c fastlock.h
modules/tls/tls_domain.c modules/tls/tls_domain.h modules/tls/tls_server.h lock_ops.h
modules/tls/tls_rpc.h pt.c pt.h sched_yield.h ut.c ut.h mem/mem.*
Copyright: 2001-2003 FhG Fokus mem/f_malloc.h
mem/meminfo.h
mem/memtest.c
mem/shm_mem.c
mem/q_malloc.h
mem/q_malloc.c
mem/shm_mem.h
mem/f_malloc.c
modules/tls/tls_rpc.c
modules/tls/tls_server.c
modules/tls/tls_domain.c
modules/tls/tls_domain.h
modules/tls/tls_server.h
modules/tls/tls_rpc.h
pt.c
pt.h
sched_yield.h
ut.c
ut.h
Copyright:
2001-2003 FhG Fokus
License: ISC License: ISC
Files: events.* modules/topoh/* Files:
Copyright: 2009 SIP-Router.org events.*
modules/topoh/*
Copyright:
2009 SIP-Router.org
License: ISC License: ISC
Files: modules/mi_rpc/mi_rpc_mod.c modules_k/pv/pv_xavp.* Files:
modules_k/usrloc/ul_rpc.* ppcfg.* xavp.* modules/mi_rpc/mi_rpc_mod.c
Copyright: 2009-2010 Daniel-Constantin Mierla (asipto.com) modules_k/pv/pv_xavp.*
modules_k/usrloc/ul_rpc.*
ppcfg.*
xavp.*
Copyright:
2009-2010 Daniel-Constantin Mierla (asipto.com)
License: ISC License: ISC
Files: lib/srutils/srjson.* Files:
Copyright: 2009 Dave Gamble lib/srutils/srjson.*
Copyright:
2009 Dave Gamble
License: Expat License: Expat
Files: obsolete/jabber_k/tree234.* Files:
Copyright: 1999, 2000, 2001, Simon Tatham obsolete/jabber_k/tree234.*
Copyright:
1999, 2000, 2001 Simon Tatham
License: Expat License: Expat
Files: modules_k/xmpp/xsnprintf.c obsolete/jabber_s/xsnprintf.c obsolete/jabber_k/xsnprintf.c Files:
Copyright: 1995-1998, The Apache Group modules_k/xmpp/xsnprintf.c
obsolete/jabber_s/xsnprintf.c
obsolete/jabber_k/xsnprintf.c
Copyright:
1995-1998 The Apache Group
License: Apache-1.0 License: Apache-1.0
Files: modules_k/mi_xmlrpc/abyss* Files:
Copyright: 2000, Moez Mahfoudh <mmoez@bigfoot.com> modules_k/mi_xmlrpc/abyss*
Copyright:
2000 Moez Mahfoudh <mmoez@bigfoot.com>
License: BSD-3-clause License: BSD-3-clause
Files: list.h Files:
Copyright: 1991, 1993 The Regents of the University of California list.h
Copyright:
1991, 1993 The Regents of the University of California
License: BSD-3-clause License: BSD-3-clause
Files: modules/tm/t_serial.* Files:
Copyright: 2008 Juha Heinanen modules/tm/t_serial.*
Copyright:
2008 Juha Heinanen
License: BSD-2-clause License: BSD-2-clause
Files: parser/sdp/sdp.* parser/sdp/sdp_helpr_funcs.* parser/sdp/sdp_cloner.h Files:
parser/sdp/sdp.*
parser/sdp/sdp_helpr_funcs.*
parser/sdp/sdp_cloner.h
Copyright: Copyright:
2008-2009 SOMA Networks, INC. 2008-2009 SOMA Networks, INC.
2010 VoIP Embedded, Inc 2010 VoIP Embedded, Inc
License: BSD-2-clause License: BSD-2-clause
Files: modules/tls/fixed_c_zlib.h Files:
Copyright:1998-2005 The OpenSSL Project modules/tls/fixed_c_zlib.h
Comment: file copied from OpenSSL 0.9.8, refers to OpenSSL License. Note that Copyright:
1998-2005 The OpenSSL Project
Comment: File copied from OpenSSL 0.9.8, refers to OpenSSL License. Note that
this code will not build by default in the Debian packaging. this code will not build by default in the Debian packaging.
License: OpenSSL License: OpenSSL
Redistribution and use in source and binary forms, with or without Redistribution and use in source and binary forms, with or without
@ -138,8 +239,11 @@ License: OpenSSL
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
OF THE POSSIBILITY OF SUCH DAMAGE. OF THE POSSIBILITY OF SUCH DAMAGE.
Files: md5.* md5utils.c Files:
Copyright: 1991-2, RSA Data Security, Inc md5.*
md5utils.c
Copyright:
1991-2 RSA Data Security, Inc
Comment: Note that md5.c and md5.h have been replaced in the patches Comment: Note that md5.c and md5.h have been replaced in the patches
plum_md5*.patch . plum_md5*.patch .
. .
@ -169,16 +273,20 @@ License: RSA-MD5
These notices must be retained in any copies of any part of this These notices must be retained in any copies of any part of this
documentation and/or software. documentation and/or software.
Files: mem/dl_* Files:
Copyright: n/a mem/dl_*
Copyright:
n/a
License: public-domain License: public-domain
This is a version (aka dlmalloc) of malloc/free/realloc written by This is a version (aka dlmalloc) of malloc/free/realloc written by
Doug Lea and released to the public domain, as explained at Doug Lea and released to the public domain, as explained at
http://creativecommons.org/licenses/publicdomain. Send questions, http://creativecommons.org/licenses/publicdomain. Send questions,
comments, complaints, performance data, etc to dl@cs.oswego.edu comments, complaints, performance data, etc to dl@cs.oswego.edu
Files: rand/isaac/* Files:
Copyright: n/a rand/isaac/*
Copyright:
n/a
License: public-domain License: public-domain
By Bob Jenkins. My random number generator, ISAAC. Public Domain. By Bob Jenkins. My random number generator, ISAAC. Public Domain.

@ -1,4 +1,2 @@
ngcp-kamailio: postrm-contains-additional-updaterc.d-calls etc/init.d/kamailio-proxy
ngcp-kamailio: postrm-contains-additional-updaterc.d-calls etc/init.d/kamailio-lb
ngcp-kamailio: init.d-script-not-included-in-package etc/init.d/kamailio-proxy ngcp-kamailio: init.d-script-not-included-in-package etc/init.d/kamailio-proxy
ngcp-kamailio: init.d-script-not-included-in-package etc/init.d/kamailio-lb ngcp-kamailio: init.d-script-not-included-in-package etc/init.d/kamailio-lb

@ -1,4 +0,0 @@
rm_conffile /etc/default/kamailio-lb 5.1.2-1+0~mr6.3~ ngcp-kamailio
rm_conffile /etc/default/kamailio-proxy 5.1.2-1+0~mr6.3~ ngcp-kamailio
rm_conffile /etc/init.d/kamailio-lb 5.1.2-1+0~mr6.3~ ngcp-kamailio
rm_conffile /etc/init.d/kamailio-proxy 5.1.2-1+0~mr6.3~ ngcp-kamailio

@ -10,10 +10,6 @@ case "$1" in
adduser --quiet --system --group --disabled-password \ adduser --quiet --system --group --disabled-password \
--shell /bin/false --gecos "Kamailio" \ --shell /bin/false --gecos "Kamailio" \
--home "$HOMEDIR" kamailio || true --home "$HOMEDIR" kamailio || true
# Remove obsolete rc.d links.
update-rc.d kamailio-lb remove
update-rc.d kamailio-proxy remove
;; ;;
abort-upgrade|abort-remove|abort-deconfigure) abort-upgrade|abort-remove|abort-deconfigure)

8
debian/rules vendored

@ -1,7 +1,7 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# Uncomment this to turn on verbose mode. # Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1 #export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1 DPKG_EXPORT_BUILDFLAGS = 1
@ -99,9 +99,9 @@ else
export FREERADIUS = 1 export FREERADIUS = 1
endif endif
# tlsa # tlsa
export KTLS_INCLUDE_TLSA=yes export KTLS_INCLUDE_TLSA = yes
export LIBSSL_STATIC_SRCLIB=yes export LIBSSL_STATIC_SRCLIB = yes
export LIBSSL_STATIC_SRCPATH=/usr/$(LIBDIR) export LIBSSL_STATIC_SRCPATH = /usr/$(LIBDIR)
# FTBFS on powerpcspe because of AltiVec assumption #729635. # FTBFS on powerpcspe because of AltiVec assumption #729635.
ifeq ($(DEB_HOST_ARCH),powerpcspe) ifeq ($(DEB_HOST_ARCH),powerpcspe)

Loading…
Cancel
Save