[sr-dev] git:master:a63fde36: pkg/kamailio/deb: add kamailio-nats-modules to bookworm

Olle E. Johansson oej at edvina.net
Wed Feb 23 15:33:59 CET 2022


+ This package contains the nats module, which provides a NATS consumer for Kamailio.
=> This package contains the nats module, which provides NATS support for Kamailio, both handling subscriptions and publishing.


+ NATS is a real time distributed messaging platform, more details about it can be
+ found at nats.io.
I think a publisher was added recently too. I notice that the README is not up to date here.

Victor - is there a debian nats package in Bookworm?

/O

> On 23 Feb 2022, at 14:27, Victor Seva <linuxmaniac at torreviejawireless.org> wrote:
> 
> Module: kamailio
> Branch: master
> Commit: a63fde36f440b6d79cea6cdb0dfeee6258d96698
> URL: https://github.com/kamailio/kamailio/commit/a63fde36f440b6d79cea6cdb0dfeee6258d96698
> 
> Author: Victor Seva <linuxmaniac at torreviejawireless.org>
> Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
> Date: 2022-02-23T14:25:46+01:00
> 
> pkg/kamailio/deb: add kamailio-nats-modules to bookworm
> 
> https://tracker.debian.org/news/1305763/natsc-320-1-migrated-to-testing/
> 
> ---
> 
> Modified: pkg/kamailio/deb/bookworm/control
> Modified: pkg/kamailio/deb/bookworm/rules
> Modified: pkg/kamailio/deb/debian/backports/bookworm
> 
> ---
> 
> Diff:  https://github.com/kamailio/kamailio/commit/a63fde36f440b6d79cea6cdb0dfeee6258d96698.diff
> Patch: https://github.com/kamailio/kamailio/commit/a63fde36f440b6d79cea6cdb0dfeee6258d96698.patch
> 
> ---
> 
> diff --git a/pkg/kamailio/deb/bookworm/control b/pkg/kamailio/deb/bookworm/control
> index 8f425be82c..4e670a602c 100644
> --- a/pkg/kamailio/deb/bookworm/control
> +++ b/pkg/kamailio/deb/bookworm/control
> @@ -29,6 +29,7 @@ Build-Depends:
>  libmongoc-dev,
>  libmono-2.0-dev [amd64 armel armhf i386 mipsel kfreebsd-amd64 kfreebsd-i386 ppc64 ppc64el s390x],
>  libmosquitto-dev,
> + libnats-dev,
>  libncurses5-dev,
>  libpcre3-dev,
>  libperl-dev,
> @@ -840,6 +841,24 @@ Description: Libwebsockets module for the Kamailio SIP server
>  This package contains the lwcs module, which provides a client-side WebSockets
>  API through libwebsockets.
> 
> +Package: kamailio-nats-modules
> +Architecture: any
> +Multi-Arch: same
> +Pre-Depends:
> + ${misc:Pre-Depends},
> +Depends:
> + kamailio (= ${binary:Version}),
> + ${misc:Depends},
> + ${shlibs:Depends},
> +Description: Nats module for the Kamailio SIP server
> + Kamailio is a very fast and flexible SIP (RFC3261)
> + server. Written entirely in C, Kamailio can handle thousands calls
> + per second even on low-budget hardware.
> + .
> + This package contains the nats module, which provides a NATS consumer for Kamailio.
> + NATS is a real time distributed messaging platform, more details about it can be
> + found at nats.io.
> +
> Package: kamailio-extra-modules
> Architecture: any
> Multi-Arch: same
> diff --git a/pkg/kamailio/deb/bookworm/rules b/pkg/kamailio/deb/bookworm/rules
> index ddf8846c9d..2161ac0bb4 100755
> --- a/pkg/kamailio/deb/bookworm/rules
> +++ b/pkg/kamailio/deb/bookworm/rules
> @@ -21,7 +21,7 @@ include /usr/share/dpkg/buildflags.mk
> export RADCLI=1
> 
> # modules not in the "main" kamailio package
> -EXCLUDED_MODULES= java python nats
> +EXCLUDED_MODULES= java python
> 
> # extra modules to skip, because they are not compilable now
> # - regardless if they go to the main kamailio package or to some module package,
> @@ -37,7 +37,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
> 			   snmpstats carrierroute xmpp cpl redisgeoip geoip2 \
> 			   sqlite json mono ruby ims sctp \
> 			   tls outbound websocket autheph kazoo cnxcc \
> -			   erlangsystemd phonenum mongodb rabbitmq python3 mqtt secsipid lwsc
> +			   erlang nats systemd phonenum mongodb rabbitmq python3 mqtt secsipid lwsc
> 
> # module groups to be packaged onto kamailio-extra-modules
> EXTRA_GROUPS=gzcompress uuid ev jansson http_async
> diff --git a/pkg/kamailio/deb/debian/backports/bookworm b/pkg/kamailio/deb/debian/backports/bookworm
> index 21dafb2d11..1d39bd6509 100755
> --- a/pkg/kamailio/deb/debian/backports/bookworm
> +++ b/pkg/kamailio/deb/debian/backports/bookworm
> @@ -35,13 +35,6 @@ sed -i -e '/^ python,/d' -e '/python-dev/d' \
> sed -i -e 's/ python [ ,$]*//' ${DIST}/rules
> sed -i -e '/^EXCLUDED_MODULES=/s/$/ python/' ${DIST}/rules
> 
> -# no libnats-dev
> -sed -i -e '/^ libnats-dev,/d' \
> -  -e '/^Package: kamailio-nats-modules/,/^$/d' \
> -  ${DIST}/control
> -sed -i -e 's/ nats [ ,$]*//' ${DIST}/rules
> -sed -i -e '/^EXCLUDED_MODULES=/s/$/ nats/' ${DIST}/rules
> -
> wrap-and-sort -sat -d ${DIST}
> 
> # clean backports scripts
> 
> 
> _______________________________________________
> Kamailio (SER) - Development Mailing List
> sr-dev at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220223/9016840b/attachment-0001.htm>


More information about the sr-dev mailing list