Bläddra i källkod

pkg/kamailio/deb: kamailio-phonenum-modules [skip ci]

Victor Seva 7 år sedan
förälder
incheckning
5a2fcd525a

+ 19 - 1
pkg/kamailio/deb/buster/control

@@ -27,11 +27,13 @@ Build-Depends:
  libjson-c-dev,
  libjson-c-dev,
  libldap2-dev,
  libldap2-dev,
  liblua5.1-0-dev,
  liblua5.1-0-dev,
+ libmaxminddb-dev,
  libmemcached-dev,
  libmemcached-dev,
  libmono-2.0-dev,
  libmono-2.0-dev,
  libncurses5-dev,
  libncurses5-dev,
  libpcre3-dev,
  libpcre3-dev,
  libperl-dev,
  libperl-dev,
+ libphonenumber-dev,
  libpq-dev,
  libpq-dev,
  librabbitmq-dev,
  librabbitmq-dev,
  libradcli-dev,
  libradcli-dev,
@@ -51,7 +53,6 @@ Build-Depends:
  unixodbc-dev,
  unixodbc-dev,
  uuid-dev,
  uuid-dev,
  xsltproc,
  xsltproc,
- libmaxminddb-dev,
  zlib1g-dev,
  zlib1g-dev,
 Standards-Version: 3.9.5
 Standards-Version: 3.9.5
 Homepage: http://www.kamailio.org/
 Homepage: http://www.kamailio.org/
@@ -760,6 +761,23 @@ Description: systemd logging modules for the Kamailio SIP server
  This package provides logging to systemd journal directly from the
  This package provides logging to systemd journal directly from the
  Kamailio configuration and routing scripts.
  Kamailio configuration and routing scripts.
 
 
+Package: kamailio-phonenum-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: phonenum modules 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 provides real-time queries against the libphonenumber to be
+ performed directly from the Kamailio configuration and routing scripts.
+
 Package: kamailio-extra-modules
 Package: kamailio-extra-modules
 Architecture: linux-any
 Architecture: linux-any
 Multi-Arch: same
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/buster/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph kazoo cnxcc \
 			   tls outbound websocket autheph kazoo cnxcc \
-			   erlang systemd rabbitmq
+			   erlang systemd phonenum rabbitmq
 
 
 # module groups to be packaged onto kamailio-extra-modules
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 6 - 0
pkg/kamailio/deb/debian/backports/precise

@@ -70,6 +70,12 @@ sed -i -e '/libmaxminddb-dev/d' -e '/^Package: kamailio-geoip2-modules/,/^$/d' \
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
 
 
+# No phonenum module
+sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/d' \
+	${DIST}/control
+sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
+
 # clean backports scripts
 # clean backports scripts
 rm -rf ${DIST}/backports
 rm -rf ${DIST}/backports
 exit 0
 exit 0

+ 6 - 0
pkg/kamailio/deb/debian/backports/trusty

@@ -44,6 +44,12 @@ sed -i -e '/libmaxminddb-dev/d' -e '/^Package: kamailio-geoip2-modules/,/^$/d' \
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
 
 
+# No phonenum module
+sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/d' \
+	${DIST}/control
+sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
+
 # clean backports scripts
 # clean backports scripts
 rm -rf ${DIST}/backports
 rm -rf ${DIST}/backports
 exit 0
 exit 0

+ 6 - 0
pkg/kamailio/deb/debian/backports/wheezy

@@ -70,6 +70,12 @@ sed -i -e '/libmaxminddb-dev/d' -e '/^Package: kamailio-geoip2-modules/,/^$/d' \
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
 
 
+# No phonenum module
+sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/d' \
+	${DIST}/control
+sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
+
 # clean backports scripts
 # clean backports scripts
 rm -rf ${DIST}/backports
 rm -rf ${DIST}/backports
 exit 0
 exit 0

+ 18 - 0
pkg/kamailio/deb/debian/control

@@ -33,6 +33,7 @@ Build-Depends:
  libncurses5-dev,
  libncurses5-dev,
  libpcre3-dev,
  libpcre3-dev,
  libperl-dev,
  libperl-dev,
+ libphonenumber-dev,
  libpq-dev,
  libpq-dev,
  librabbitmq-dev,
  librabbitmq-dev,
  libradcli-dev,
  libradcli-dev,
@@ -778,6 +779,23 @@ Description: systemd logging modules for the Kamailio SIP server
  This package provides logging to systemd journal directly from the
  This package provides logging to systemd journal directly from the
  Kamailio configuration and routing scripts.
  Kamailio configuration and routing scripts.
 
 
+Package: kamailio-phonenum-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: phonenum modules 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 provides real-time queries against the libphonenumber to be
+ performed directly from the Kamailio configuration and routing scripts.
+
 Package: kamailio-extra-modules
 Package: kamailio-extra-modules
 Architecture: linux-any
 Architecture: linux-any
 Multi-Arch: same
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/debian/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
-			   erlang systemd rabbitmq
+			   erlang systemd phonenum rabbitmq
 
 
 # module groups to be packaged onto kamailio-extra-modules
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 18 - 0
pkg/kamailio/deb/jessie/control

@@ -32,6 +32,7 @@ Build-Depends:
  libncurses5-dev,
  libncurses5-dev,
  libpcre3-dev,
  libpcre3-dev,
  libperl-dev,
  libperl-dev,
+ libphonenumber-dev,
  libpq-dev,
  libpq-dev,
  librabbitmq-dev,
  librabbitmq-dev,
  libfreeradius-client-dev,
  libfreeradius-client-dev,
@@ -757,6 +758,23 @@ Description: systemd logging modules for the Kamailio SIP server
  This package provides logging to systemd journal directly from the
  This package provides logging to systemd journal directly from the
  Kamailio configuration and routing scripts.
  Kamailio configuration and routing scripts.
 
 
+Package: kamailio-phonenum-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: phonenum modules 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 provides real-time queries against the libphonenumber to be
+ performed directly from the Kamailio configuration and routing scripts.
+
 Package: kamailio-extra-modules
 Package: kamailio-extra-modules
 Architecture: linux-any
 Architecture: linux-any
 Multi-Arch: same
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/jessie/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip \
 			   snmpstats carrierroute xmpp cpl redis python geoip \
 			   sqlite json mono ims sctp java \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
-			   erlang systemd rabbitmq
+			   erlang systemd phonenum rabbitmq
 
 
 # module groups to be packaged onto kamailio-extra-modules
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 1 - 1
pkg/kamailio/deb/precise/rules

@@ -26,7 +26,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module package,
 # - regardless if they go to the main kamailio package or to some module package,
 # they will be excluded from compile and install of all
 # 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
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum
 
 
 # module groups that are packaged in seperate packages
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)
 # (with the name kamailio-$(group_name)-modules)

+ 19 - 1
pkg/kamailio/deb/sid/control

@@ -27,11 +27,13 @@ Build-Depends:
  libjson-c-dev,
  libjson-c-dev,
  libldap2-dev,
  libldap2-dev,
  liblua5.1-0-dev,
  liblua5.1-0-dev,
+ libmaxminddb-dev,
  libmemcached-dev,
  libmemcached-dev,
  libmono-2.0-dev,
  libmono-2.0-dev,
  libncurses5-dev,
  libncurses5-dev,
  libpcre3-dev,
  libpcre3-dev,
  libperl-dev,
  libperl-dev,
+ libphonenumber-dev,
  libpq-dev,
  libpq-dev,
  librabbitmq-dev,
  librabbitmq-dev,
  libradcli-dev,
  libradcli-dev,
@@ -51,7 +53,6 @@ Build-Depends:
  unixodbc-dev,
  unixodbc-dev,
  uuid-dev,
  uuid-dev,
  xsltproc,
  xsltproc,
- libmaxminddb-dev,
  zlib1g-dev,
  zlib1g-dev,
 Standards-Version: 3.9.5
 Standards-Version: 3.9.5
 Homepage: http://www.kamailio.org/
 Homepage: http://www.kamailio.org/
@@ -760,6 +761,23 @@ Description: systemd logging modules for the Kamailio SIP server
  This package provides logging to systemd journal directly from the
  This package provides logging to systemd journal directly from the
  Kamailio configuration and routing scripts.
  Kamailio configuration and routing scripts.
 
 
+Package: kamailio-phonenum-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: phonenum modules 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 provides real-time queries against the libphonenumber to be
+ performed directly from the Kamailio configuration and routing scripts.
+
 Package: kamailio-extra-modules
 Package: kamailio-extra-modules
 Architecture: linux-any
 Architecture: linux-any
 Multi-Arch: same
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/sid/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph kazoo cnxcc \
 			   tls outbound websocket autheph kazoo cnxcc \
-			   erlang systemd rabbitmq
+			   erlang systemd phonenum rabbitmq
 
 
 # module groups to be packaged onto kamailio-extra-modules
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 19 - 1
pkg/kamailio/deb/stretch/control

@@ -27,11 +27,13 @@ Build-Depends:
  libjson-c-dev,
  libjson-c-dev,
  libldap2-dev,
  libldap2-dev,
  liblua5.1-0-dev,
  liblua5.1-0-dev,
+ libmaxminddb-dev,
  libmemcached-dev,
  libmemcached-dev,
  libmono-2.0-dev,
  libmono-2.0-dev,
  libncurses5-dev,
  libncurses5-dev,
  libpcre3-dev,
  libpcre3-dev,
  libperl-dev,
  libperl-dev,
+ libphonenumber-dev,
  libpq-dev,
  libpq-dev,
  librabbitmq-dev,
  librabbitmq-dev,
  libradcli-dev,
  libradcli-dev,
@@ -51,7 +53,6 @@ Build-Depends:
  unixodbc-dev,
  unixodbc-dev,
  uuid-dev,
  uuid-dev,
  xsltproc,
  xsltproc,
- libmaxminddb-dev,
  zlib1g-dev,
  zlib1g-dev,
 Standards-Version: 3.9.5
 Standards-Version: 3.9.5
 Homepage: http://www.kamailio.org/
 Homepage: http://www.kamailio.org/
@@ -760,6 +761,23 @@ Description: systemd logging modules for the Kamailio SIP server
  This package provides logging to systemd journal directly from the
  This package provides logging to systemd journal directly from the
  Kamailio configuration and routing scripts.
  Kamailio configuration and routing scripts.
 
 
+Package: kamailio-phonenum-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: phonenum modules 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 provides real-time queries against the libphonenumber to be
+ performed directly from the Kamailio configuration and routing scripts.
+
 Package: kamailio-extra-modules
 Package: kamailio-extra-modules
 Architecture: linux-any
 Architecture: linux-any
 Multi-Arch: same
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/stretch/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph kazoo cnxcc \
 			   tls outbound websocket autheph kazoo cnxcc \
-			   erlang systemd rabbitmq
+			   erlang systemd phonenum rabbitmq
 
 
 # module groups to be packaged onto kamailio-extra-modules
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

+ 1 - 1
pkg/kamailio/deb/trusty/rules

@@ -27,7 +27,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module package,
 # - regardless if they go to the main kamailio package or to some module package,
 # they will be excluded from compile and install of all
 # they will be excluded from compile and install of all
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum
 
 
 # module groups that are packaged in seperate packages
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)
 # (with the name kamailio-$(group_name)-modules)

+ 1 - 1
pkg/kamailio/deb/wheezy/rules

@@ -26,7 +26,7 @@ EXCLUDED_MODULES=
 # extra modules to skip, because they are not compilable now
 # extra modules to skip, because they are not compilable now
 # - regardless if they go to the main kamailio package or to some module package,
 # - regardless if they go to the main kamailio package or to some module package,
 # they will be excluded from compile and install of all
 # 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
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum
 
 
 # module groups that are packaged in seperate packages
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)
 # (with the name kamailio-$(group_name)-modules)

+ 19 - 1
pkg/kamailio/deb/xenial/control

@@ -27,11 +27,13 @@ Build-Depends:
  libjson-c-dev,
  libjson-c-dev,
  libldap2-dev,
  libldap2-dev,
  liblua5.1-0-dev,
  liblua5.1-0-dev,
+ libmaxminddb-dev,
  libmemcached-dev,
  libmemcached-dev,
  libmono-2.0-dev,
  libmono-2.0-dev,
  libncurses5-dev,
  libncurses5-dev,
  libpcre3-dev,
  libpcre3-dev,
  libperl-dev,
  libperl-dev,
+ libphonenumber-dev,
  libpq-dev,
  libpq-dev,
  librabbitmq-dev,
  librabbitmq-dev,
  libradcli-dev,
  libradcli-dev,
@@ -52,7 +54,6 @@ Build-Depends:
  unixodbc-dev,
  unixodbc-dev,
  uuid-dev,
  uuid-dev,
  xsltproc,
  xsltproc,
- libmaxminddb-dev,
  zlib1g-dev,
  zlib1g-dev,
 Standards-Version: 3.9.5
 Standards-Version: 3.9.5
 Homepage: http://www.kamailio.org/
 Homepage: http://www.kamailio.org/
@@ -777,6 +778,23 @@ Description: systemd logging modules for the Kamailio SIP server
  This package provides logging to systemd journal directly from the
  This package provides logging to systemd journal directly from the
  Kamailio configuration and routing scripts.
  Kamailio configuration and routing scripts.
 
 
+Package: kamailio-phonenum-modules
+Architecture: linux-any
+Multi-Arch: same
+Pre-Depends:
+ ${misc:Pre-Depends},
+Depends:
+ kamailio (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends},
+Description: phonenum modules 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 provides real-time queries against the libphonenumber to be
+ performed directly from the Kamailio configuration and routing scripts.
+
 Package: kamailio-extra-modules
 Package: kamailio-extra-modules
 Architecture: linux-any
 Architecture: linux-any
 Multi-Arch: same
 Multi-Arch: same

+ 1 - 1
pkg/kamailio/deb/xenial/rules

@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
 			   sqlite json mono ims sctp java \
 			   sqlite json mono ims sctp java \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
-			   erlang systemd rabbitmq
+			   erlang systemd phonenum rabbitmq
 
 
 # module groups to be packaged onto kamailio-extra-modules
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async