Skip to content

Commit

Permalink
pkg/kamailio/deb: add secsipid package for supported releases [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxmaniac committed Feb 19, 2021
1 parent 220f9ca commit d40fbc8
Show file tree
Hide file tree
Showing 24 changed files with 123 additions and 18 deletions.
4 changes: 2 additions & 2 deletions pkg/kamailio/deb/bionic/rules
Expand Up @@ -26,7 +26,7 @@ EXCLUDED_MODULES= java
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand All @@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp \
tls outbound websocket autheph kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3 mqtt
erlang systemd phonenum mongodb rabbitmq python3 mqtt

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down
17 changes: 17 additions & 0 deletions pkg/kamailio/deb/bullseye/control
Expand Up @@ -40,6 +40,7 @@ Build-Depends:
libreadline-dev,
libsasl2-dev,
libsctp-dev,
libsecsipid-dev,
libsnmp-dev,
libsqlite3-dev,
libssl-dev,
Expand Down Expand Up @@ -823,6 +824,22 @@ Description: MQTT modules for the Kamailio SIP Server
Messages can be published from any point in the routing script. Also
the subscriptions can be fully controlled by scripting commands.

Package: kamailio-secsipid-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: contains the secsipid module
Kamailio is a very fast and flexible SIP (RFC3261)
proxy server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the secsipid Module.

Package: kamailio-extra-modules
Architecture: linux-any
Multi-Arch: same
Expand Down
2 changes: 1 addition & 1 deletion pkg/kamailio/deb/bullseye/rules
Expand Up @@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp \
tls outbound websocket autheph kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3 mqtt
erlang systemd phonenum mongodb rabbitmq python3 mqtt secsipid

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down
4 changes: 2 additions & 2 deletions pkg/kamailio/deb/buster/rules
Expand Up @@ -26,7 +26,7 @@ EXCLUDED_MODULES= java
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand All @@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp \
tls outbound websocket autheph kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3 mqtt
erlang systemd phonenum mongodb rabbitmq python3 mqtt

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/bionic
Expand Up @@ -25,6 +25,12 @@ sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/buster
Expand Up @@ -25,6 +25,12 @@ sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/focal
Expand Up @@ -25,6 +25,12 @@ sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/jessie
Expand Up @@ -42,6 +42,12 @@ sed -i -e '/libmongoc-dev/d' -e '/^Package: kamailio-mongodb-modules/,/^$/d' \
sed -i -e 's/ mongodb[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mongodb/' ${DIST}/rules

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/precise
Expand Up @@ -105,6 +105,12 @@ sed -i -e '/libmosquitto-dev/d' -e '/^Package: kamailio-mqtt-modules/,/^$/d' \
sed -i -e 's/ mqtt[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mqtt/' ${DIST}/rules

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/stretch
Expand Up @@ -22,6 +22,12 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
sed -i 's/libmongoc-dev/libbson-dev,\n libmongoc-dev/' \
${DIST}/control

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/trusty
Expand Up @@ -68,6 +68,12 @@ sed -i -e '/libmosquitto-dev/d' -e '/^Package: kamailio-mqtt-modules/,/^$/d' \
sed -i -e 's/ mqtt[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mqtt/' ${DIST}/rules

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/wheezy
Expand Up @@ -105,6 +105,12 @@ sed -i -e '/libmosquitto-dev/d' -e '/^Package: kamailio-mqtt-modules/,/^$/d' \
sed -i -e 's/ mqtt[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mqtt/' ${DIST}/rules

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
6 changes: 6 additions & 0 deletions pkg/kamailio/deb/debian/backports/xenial
Expand Up @@ -25,6 +25,12 @@ sed -i 's/libphonenumber-dev/libgeocoding-dev \(>= 7\),\n libphonenumber-dev/' \
sed -i 's/libmongoc-dev/libbson-dev,\n libmongoc-dev/' \
${DIST}/control

# No secsipid module
sed -i -e '/libsecsipid-dev/d' -e '/^Package: kamailio-secsipid-modules/,/^$/d' \
${DIST}/control
sed -i -e 's/ secsipid[ ,$]*/ /' ${DIST}/rules
sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ secsipid/' ${DIST}/rules

wrap-and-sort -sat -d ${DIST}

# clean backports scripts
Expand Down
17 changes: 17 additions & 0 deletions pkg/kamailio/deb/debian/control
Expand Up @@ -42,6 +42,7 @@ Build-Depends:
libreadline-dev,
libsasl2-dev,
libsctp-dev,
libsecsipid-dev,
libsnmp-dev,
libsqlite3-dev,
libssl-dev,
Expand Down Expand Up @@ -861,6 +862,22 @@ Description: MQTT modules for the Kamailio SIP Server
Messages can be published from any point in the routing script. Also
the subscriptions can be fully controlled by scripting commands.

Package: kamailio-secsipid-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: contains the secsipid module
Kamailio is a very fast and flexible SIP (RFC3261)
proxy server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the secsipid Module.

Package: kamailio-extra-modules
Architecture: linux-any
Multi-Arch: same
Expand Down
2 changes: 1 addition & 1 deletion pkg/kamailio/deb/debian/rules
Expand Up @@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp java \
tls outbound websocket autheph dnssec kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3 mqtt
erlang systemd phonenum mongodb rabbitmq python3 mqtt secsipid

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down
4 changes: 2 additions & 2 deletions pkg/kamailio/deb/focal/rules
Expand Up @@ -26,7 +26,7 @@ EXCLUDED_MODULES= java
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand All @@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp \
tls outbound websocket autheph kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3 mqtt
erlang systemd phonenum mongodb rabbitmq python3 mqtt

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down
4 changes: 2 additions & 2 deletions pkg/kamailio/deb/jessie/rules
Expand Up @@ -27,7 +27,7 @@ EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc geoip2 phonenum mongodb
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc geoip2 phonenum mongodb secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand All @@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip \
sqlite json mono ruby ims sctp java \
tls outbound websocket autheph dnssec kazoo cnxcc \
erlang systemd rabbitmq python3 mqtt
erlang systemd rabbitmq python3 mqtt

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down
2 changes: 1 addition & 1 deletion pkg/kamailio/deb/precise/rules
Expand Up @@ -26,7 +26,7 @@ EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3 mqtt
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3 mqtt secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand Down
17 changes: 17 additions & 0 deletions pkg/kamailio/deb/sid/control
Expand Up @@ -41,6 +41,7 @@ Build-Depends:
libreadline-dev,
libsasl2-dev,
libsctp-dev,
libsecsipid-dev,
libsnmp-dev,
libsqlite3-dev,
libssl-dev,
Expand Down Expand Up @@ -824,6 +825,22 @@ Description: MQTT modules for the Kamailio SIP Server
Messages can be published from any point in the routing script. Also
the subscriptions can be fully controlled by scripting commands.

Package: kamailio-secsipid-modules
Architecture: linux-any
Multi-Arch: same
Pre-Depends:
${misc:Pre-Depends},
Depends:
kamailio (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
Description: contains the secsipid module
Kamailio is a very fast and flexible SIP (RFC3261)
proxy server. Written entirely in C, Kamailio can handle thousands calls
per second even on low-budget hardware.
.
This package contains the secsipid Module.

Package: kamailio-extra-modules
Architecture: linux-any
Multi-Arch: same
Expand Down
2 changes: 1 addition & 1 deletion pkg/kamailio/deb/sid/rules
Expand Up @@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp \
tls outbound websocket autheph kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3 mqtt
erlang systemd phonenum mongodb rabbitmq python3 mqtt secsipid

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down
4 changes: 2 additions & 2 deletions pkg/kamailio/deb/stretch/rules
Expand Up @@ -27,7 +27,7 @@ EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand All @@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp java \
tls outbound websocket autheph kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3 mqtt
erlang systemd phonenum mongodb rabbitmq python3 mqtt

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down
2 changes: 1 addition & 1 deletion pkg/kamailio/deb/trusty/rules
Expand Up @@ -27,7 +27,7 @@ EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum mongodb ruby mqtt
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum mongodb ruby mqtt secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand Down
2 changes: 1 addition & 1 deletion pkg/kamailio/deb/wheezy/rules
Expand Up @@ -26,7 +26,7 @@ EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3 mqtt
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum mongodb ruby python3 mqtt secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand Down
4 changes: 2 additions & 2 deletions pkg/kamailio/deb/xenial/rules
Expand Up @@ -27,7 +27,7 @@ EXCLUDED_MODULES=
# extra modules to skip, because they are not compilable now
# - regardless if they go to the main kamailio package or to some module package,
# they will be excluded from compile and install of all
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy
EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy secsipid

# module groups that are packaged in seperate packages
# (with the name kamailio-$(group_name)-modules)
Expand All @@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
sqlite json mono ruby ims sctp java \
tls outbound websocket autheph dnssec kazoo cnxcc \
erlang systemd phonenum mongodb rabbitmq python3 mqtt
erlang systemd phonenum mongodb rabbitmq python3 mqtt

# module groups to be packaged onto kamailio-extra-modules
EXTRA_GROUPS=gzcompress uuid ev jansson http_async
Expand Down

0 comments on commit d40fbc8

Please sign in to comment.