diff --git a/pkg/kamailio/deb/debian/backports/precise b/pkg/kamailio/deb/debian/backports/precise index 8743d589dad..9dceca10421 100755 --- a/pkg/kamailio/deb/debian/backports/precise +++ b/pkg/kamailio/deb/debian/backports/precise @@ -43,6 +43,12 @@ sed -i -e '/^Package: kamailio-cnxcc-modules/,/^$/d' ${DIST}/control sed -i -e 's/ cnxcc[ ,$]*/ /' ${DIST}/rules sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ cnxcc/' ${DIST}/rules +# no systemd module +sed -i -e '/libsystemd-dev/d' -e '/^Package: kamailio-systemd-modules/,/^$/d' \ + ${DIST}/control +sed -i -e 's/ systemd[ ,$]*//' ${DIST}/rules +sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ systemd/' ${DIST}/rules + # clean backports scripts rm -rf ${DIST}/backports exit 0 diff --git a/pkg/kamailio/deb/debian/backports/squeeze b/pkg/kamailio/deb/debian/backports/squeeze index 13542817d12..92c32aed40c 100755 --- a/pkg/kamailio/deb/debian/backports/squeeze +++ b/pkg/kamailio/deb/debian/backports/squeeze @@ -95,6 +95,13 @@ sed -i -e 's/ jansson[ ,$]*/ /' ${DIST}/rules sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ jansson/' ${DIST}/rules sed -i -e 's/ jansson[ ,$]*//' ${DIST}/control sed -i -e 's/janssonrpc-c//' ${DIST}/control + +# no systemd module +sed -i -e '/libsystemd-dev/d' -e '/^Package: kamailio-systemd-modules/,/^$/d' \ + ${DIST}/control +sed -i -e 's/ systemd[ ,$]*//' ${DIST}/rules +sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ systemd/' ${DIST}/rules + # clean backports scripts rm -rf ${DIST}/backports exit 0 diff --git a/pkg/kamailio/deb/debian/backports/trusty b/pkg/kamailio/deb/debian/backports/trusty index 6c05bc19ecf..c177bb40baf 100755 --- a/pkg/kamailio/deb/debian/backports/trusty +++ b/pkg/kamailio/deb/debian/backports/trusty @@ -15,7 +15,7 @@ rm ${DIST}/kamailio.service # No mi_xmlrpc module sed -i -e '/libxmlrpc-c3-dev/d' -e '/^Package: kamailio-xmlrpc-modules/,/^$/d' \ - ${DIST}/control + ${DIST}/control sed -i -e 's/ mi_xmlrpc[ ,$]*/ /' ${DIST}/rules sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mi_xmlrpc/' ${DIST}/rules @@ -23,6 +23,12 @@ sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mi_xmlrpc/' ${DIST}/rules sed -i 's/libradcli-dev/libfreeradius-client-dev/' ${DIST}/control sed -i -e 's/RADCLI/FREERADIUS/' ${DIST}/rules +# no systemd module +sed -i -e '/libsystemd-dev/d' -e '/^Package: kamailio-systemd-modules/,/^$/d' \ + ${DIST}/control +sed -i -e 's/ systemd[ ,$]*//' ${DIST}/rules +sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ systemd/' ${DIST}/rules + # clean backports scripts rm -rf ${DIST}/backports exit 0 diff --git a/pkg/kamailio/deb/debian/backports/wheezy b/pkg/kamailio/deb/debian/backports/wheezy index c09abd5caf0..2c057a3cd3d 100755 --- a/pkg/kamailio/deb/debian/backports/wheezy +++ b/pkg/kamailio/deb/debian/backports/wheezy @@ -49,6 +49,12 @@ sed -i -e '/^Package: kamailio-cnxcc-modules/,/^$/d' ${DIST}/control sed -i -e 's/ cnxcc[ ,$]*/ /' ${DIST}/rules sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ cnxcc/' ${DIST}/rules +# no systemd module +sed -i -e '/libsystemd-dev/d' -e '/^Package: kamailio-systemd-modules/,/^$/d' \ + ${DIST}/control +sed -i -e 's/ systemd[ ,$]*//' ${DIST}/rules +sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ systemd/' ${DIST}/rules + # clean backports scripts rm -rf ${DIST}/backports exit 0 diff --git a/pkg/kamailio/deb/debian/control b/pkg/kamailio/deb/debian/control index 7cf30100651..107368cdbda 100644 --- a/pkg/kamailio/deb/debian/control +++ b/pkg/kamailio/deb/debian/control @@ -641,6 +641,20 @@ Description: erlang modules for Kamailio This module provides interact with Erlang node. The module allows sending, receiving Erlang messages and RPC calls between each other. +Package: kamailio-systemd-modules +Architecture: linux-any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: kamailio (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: systemd logging modules for Kamailio + 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 module provides logging to systemd journal. + Package: kamailio-extra-modules Architecture: linux-any Multi-Arch: same diff --git a/pkg/kamailio/deb/debian/rules b/pkg/kamailio/deb/debian/rules index 6cb058b5e8f..441d6ea83c2 100755 --- a/pkg/kamailio/deb/debian/rules +++ b/pkg/kamailio/deb/debian/rules @@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \ snmpstats carrierroute xmpp cpl redis python geoip\ sqlite json mono ims sctp java \ purple tls outbound websocket autheph dnssec kazoo cnxcc \ - erlang + erlang systemd # module groups to be packaged onto kamailio-extra-modules EXTRA_GROUPS=gzcompress uuid ev jansson diff --git a/pkg/kamailio/deb/jessie/control b/pkg/kamailio/deb/jessie/control index 81835e65b8b..76803588c93 100644 --- a/pkg/kamailio/deb/jessie/control +++ b/pkg/kamailio/deb/jessie/control @@ -640,6 +640,20 @@ Description: erlang modules for Kamailio This module provides interact with Erlang node. The module allows sending, receiving Erlang messages and RPC calls between each other. +Package: kamailio-systemd-modules +Architecture: linux-any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: kamailio (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: systemd logging modules for Kamailio + 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 module provides logging to systemd journal. + Package: kamailio-extra-modules Architecture: linux-any Multi-Arch: same diff --git a/pkg/kamailio/deb/jessie/rules b/pkg/kamailio/deb/jessie/rules index c8c655ea4ec..3c29f28996a 100755 --- a/pkg/kamailio/deb/jessie/rules +++ b/pkg/kamailio/deb/jessie/rules @@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \ snmpstats carrierroute xmpp cpl redis python geoip\ sqlite json mono ims sctp java \ purple tls outbound websocket autheph dnssec kazoo cnxcc \ - erlang + erlang systemd # module groups to be packaged onto kamailio-extra-modules EXTRA_GROUPS=gzcompress uuid ev jansson diff --git a/pkg/kamailio/deb/precise/rules b/pkg/kamailio/deb/precise/rules index 7bbf437c95f..2d722d27fba 100755 --- a/pkg/kamailio/deb/precise/rules +++ b/pkg/kamailio/deb/precise/rules @@ -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 +EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd # module groups that are packaged in seperate packages # (with the name kamailio-$(group_name)-modules) diff --git a/pkg/kamailio/deb/sid/control b/pkg/kamailio/deb/sid/control index 810b8a2f64b..4498be4b3e6 100644 --- a/pkg/kamailio/deb/sid/control +++ b/pkg/kamailio/deb/sid/control @@ -640,6 +640,20 @@ Description: erlang modules for Kamailio This module provides interact with Erlang node. The module allows sending, receiving Erlang messages and RPC calls between each other. +Package: kamailio-systemd-modules +Architecture: linux-any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: kamailio (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: systemd logging modules for Kamailio + 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 module provides logging to systemd journal. + Package: kamailio-extra-modules Architecture: linux-any Multi-Arch: same diff --git a/pkg/kamailio/deb/sid/rules b/pkg/kamailio/deb/sid/rules index a428e8997a8..7a3b2a022f5 100755 --- a/pkg/kamailio/deb/sid/rules +++ b/pkg/kamailio/deb/sid/rules @@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \ snmpstats carrierroute xmpp cpl redis python geoip\ sqlite json mono ims sctp java \ purple tls outbound websocket autheph dnssec kazoo cnxcc \ - erlang + erlang systemd # module groups to be packaged onto kamailio-extra-modules EXTRA_GROUPS=gzcompress uuid ev jansson diff --git a/pkg/kamailio/deb/squeeze/rules b/pkg/kamailio/deb/squeeze/rules index 5d65503b40e..5682d879d92 100755 --- a/pkg/kamailio/deb/squeeze/rules +++ b/pkg/kamailio/deb/squeeze/rules @@ -24,7 +24,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 java dnssec sctp purple redis mono kazoo cnxcc jansson +EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy java dnssec sctp purple redis mono kazoo cnxcc jansson systemd # module groups that are packaged in seperate packages # (with the name kamailio-$(group_name)-modules) diff --git a/pkg/kamailio/deb/stretch/control b/pkg/kamailio/deb/stretch/control index 810b8a2f64b..4498be4b3e6 100644 --- a/pkg/kamailio/deb/stretch/control +++ b/pkg/kamailio/deb/stretch/control @@ -640,6 +640,20 @@ Description: erlang modules for Kamailio This module provides interact with Erlang node. The module allows sending, receiving Erlang messages and RPC calls between each other. +Package: kamailio-systemd-modules +Architecture: linux-any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: kamailio (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends} +Description: systemd logging modules for Kamailio + 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 module provides logging to systemd journal. + Package: kamailio-extra-modules Architecture: linux-any Multi-Arch: same diff --git a/pkg/kamailio/deb/stretch/rules b/pkg/kamailio/deb/stretch/rules index a428e8997a8..7a3b2a022f5 100755 --- a/pkg/kamailio/deb/stretch/rules +++ b/pkg/kamailio/deb/stretch/rules @@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \ snmpstats carrierroute xmpp cpl redis python geoip\ sqlite json mono ims sctp java \ purple tls outbound websocket autheph dnssec kazoo cnxcc \ - erlang + erlang systemd # module groups to be packaged onto kamailio-extra-modules EXTRA_GROUPS=gzcompress uuid ev jansson diff --git a/pkg/kamailio/deb/trusty/rules b/pkg/kamailio/deb/trusty/rules index 139909a8189..143ea7bd7ad 100755 --- a/pkg/kamailio/deb/trusty/rules +++ b/pkg/kamailio/deb/trusty/rules @@ -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 +EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd # module groups that are packaged in seperate packages # (with the name kamailio-$(group_name)-modules) diff --git a/pkg/kamailio/deb/wheezy/rules b/pkg/kamailio/deb/wheezy/rules index 570b8b87ffa..24aa878aa53 100755 --- a/pkg/kamailio/deb/wheezy/rules +++ b/pkg/kamailio/deb/wheezy/rules @@ -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 purple mi_xmlrpc dnssec kazoo cnxcc +EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy purple mi_xmlrpc dnssec kazoo cnxcc systemd # module groups that are packaged in seperate packages # (with the name kamailio-$(group_name)-modules)