Browse code

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

Victor Seva authored on 08/12/2017 11:29:12
Showing 18 changed files
... ...
@@ -27,11 +27,13 @@ Build-Depends:
27 27
  libjson-c-dev,
28 28
  libldap2-dev,
29 29
  liblua5.1-0-dev,
30
+ libmaxminddb-dev,
30 31
  libmemcached-dev,
31 32
  libmono-2.0-dev,
32 33
  libncurses5-dev,
33 34
  libpcre3-dev,
34 35
  libperl-dev,
36
+ libphonenumber-dev,
35 37
  libpq-dev,
36 38
  librabbitmq-dev,
37 39
  libradcli-dev,
... ...
@@ -51,7 +53,6 @@ Build-Depends:
51 53
  unixodbc-dev,
52 54
  uuid-dev,
53 55
  xsltproc,
54
- libmaxminddb-dev,
55 56
  zlib1g-dev,
56 57
 Standards-Version: 3.9.5
57 58
 Homepage: http://www.kamailio.org/
... ...
@@ -760,6 +761,23 @@ Description: systemd logging modules for the Kamailio SIP server
760 761
  This package provides logging to systemd journal directly from the
761 762
  Kamailio configuration and routing scripts.
762 763
 
764
+Package: kamailio-phonenum-modules
765
+Architecture: linux-any
766
+Multi-Arch: same
767
+Pre-Depends:
768
+ ${misc:Pre-Depends},
769
+Depends:
770
+ kamailio (= ${binary:Version}),
771
+ ${misc:Depends},
772
+ ${shlibs:Depends},
773
+Description: phonenum modules for the Kamailio SIP server
774
+ Kamailio is a very fast and flexible SIP (RFC3261)
775
+ server. Written entirely in C, Kamailio can handle thousands calls
776
+ per second even on low-budget hardware.
777
+ .
778
+ This package provides real-time queries against the libphonenumber to be
779
+ performed directly from the Kamailio configuration and routing scripts.
780
+
763 781
 Package: kamailio-extra-modules
764 782
 Architecture: linux-any
765 783
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39 39
 			   sqlite json mono ims sctp java \
40 40
 			   tls outbound websocket autheph kazoo cnxcc \
41
-			   erlang systemd rabbitmq
41
+			   erlang systemd phonenum rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -70,6 +70,12 @@ sed -i -e '/libmaxminddb-dev/d' -e '/^Package: kamailio-geoip2-modules/,/^$/d' \
70 70
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
71 71
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
72 72
 
73
+# No phonenum module
74
+sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/d' \
75
+	${DIST}/control
76
+sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
77
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
78
+
73 79
 # clean backports scripts
74 80
 rm -rf ${DIST}/backports
75 81
 exit 0
... ...
@@ -44,6 +44,12 @@ sed -i -e '/libmaxminddb-dev/d' -e '/^Package: kamailio-geoip2-modules/,/^$/d' \
44 44
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
45 45
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
46 46
 
47
+# No phonenum module
48
+sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/d' \
49
+	${DIST}/control
50
+sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
51
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
52
+
47 53
 # clean backports scripts
48 54
 rm -rf ${DIST}/backports
49 55
 exit 0
... ...
@@ -70,6 +70,12 @@ sed -i -e '/libmaxminddb-dev/d' -e '/^Package: kamailio-geoip2-modules/,/^$/d' \
70 70
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
71 71
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
72 72
 
73
+# No phonenum module
74
+sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/d' \
75
+	${DIST}/control
76
+sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
77
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
78
+
73 79
 # clean backports scripts
74 80
 rm -rf ${DIST}/backports
75 81
 exit 0
... ...
@@ -33,6 +33,7 @@ Build-Depends:
33 33
  libncurses5-dev,
34 34
  libpcre3-dev,
35 35
  libperl-dev,
36
+ libphonenumber-dev,
36 37
  libpq-dev,
37 38
  librabbitmq-dev,
38 39
  libradcli-dev,
... ...
@@ -778,6 +779,23 @@ Description: systemd logging modules for the Kamailio SIP server
778 779
  This package provides logging to systemd journal directly from the
779 780
  Kamailio configuration and routing scripts.
780 781
 
782
+Package: kamailio-phonenum-modules
783
+Architecture: linux-any
784
+Multi-Arch: same
785
+Pre-Depends:
786
+ ${misc:Pre-Depends},
787
+Depends:
788
+ kamailio (= ${binary:Version}),
789
+ ${misc:Depends},
790
+ ${shlibs:Depends},
791
+Description: phonenum modules for the Kamailio SIP server
792
+ Kamailio is a very fast and flexible SIP (RFC3261)
793
+ server. Written entirely in C, Kamailio can handle thousands calls
794
+ per second even on low-budget hardware.
795
+ .
796
+ This package provides real-time queries against the libphonenumber to be
797
+ performed directly from the Kamailio configuration and routing scripts.
798
+
781 799
 Package: kamailio-extra-modules
782 800
 Architecture: linux-any
783 801
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39 39
 			   sqlite json mono ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang systemd rabbitmq
41
+			   erlang systemd phonenum rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -32,6 +32,7 @@ Build-Depends:
32 32
  libncurses5-dev,
33 33
  libpcre3-dev,
34 34
  libperl-dev,
35
+ libphonenumber-dev,
35 36
  libpq-dev,
36 37
  librabbitmq-dev,
37 38
  libfreeradius-client-dev,
... ...
@@ -757,6 +758,23 @@ Description: systemd logging modules for the Kamailio SIP server
757 758
  This package provides logging to systemd journal directly from the
758 759
  Kamailio configuration and routing scripts.
759 760
 
761
+Package: kamailio-phonenum-modules
762
+Architecture: linux-any
763
+Multi-Arch: same
764
+Pre-Depends:
765
+ ${misc:Pre-Depends},
766
+Depends:
767
+ kamailio (= ${binary:Version}),
768
+ ${misc:Depends},
769
+ ${shlibs:Depends},
770
+Description: phonenum modules for the Kamailio SIP server
771
+ Kamailio is a very fast and flexible SIP (RFC3261)
772
+ server. Written entirely in C, Kamailio can handle thousands calls
773
+ per second even on low-budget hardware.
774
+ .
775
+ This package provides real-time queries against the libphonenumber to be
776
+ performed directly from the Kamailio configuration and routing scripts.
777
+
760 778
 Package: kamailio-extra-modules
761 779
 Architecture: linux-any
762 780
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip \
39 39
 			   sqlite json mono ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang systemd rabbitmq
41
+			   erlang systemd phonenum rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -26,7 +26,7 @@ EXCLUDED_MODULES=
26 26
 # extra modules to skip, because they are not compilable now
27 27
 # - regardless if they go to the main kamailio package or to some module package,
28 28
 # they will be excluded from compile and install of all
29
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2
29
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum
30 30
 
31 31
 # module groups that are packaged in seperate packages
32 32
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -27,11 +27,13 @@ Build-Depends:
27 27
  libjson-c-dev,
28 28
  libldap2-dev,
29 29
  liblua5.1-0-dev,
30
+ libmaxminddb-dev,
30 31
  libmemcached-dev,
31 32
  libmono-2.0-dev,
32 33
  libncurses5-dev,
33 34
  libpcre3-dev,
34 35
  libperl-dev,
36
+ libphonenumber-dev,
35 37
  libpq-dev,
36 38
  librabbitmq-dev,
37 39
  libradcli-dev,
... ...
@@ -51,7 +53,6 @@ Build-Depends:
51 53
  unixodbc-dev,
52 54
  uuid-dev,
53 55
  xsltproc,
54
- libmaxminddb-dev,
55 56
  zlib1g-dev,
56 57
 Standards-Version: 3.9.5
57 58
 Homepage: http://www.kamailio.org/
... ...
@@ -760,6 +761,23 @@ Description: systemd logging modules for the Kamailio SIP server
760 761
  This package provides logging to systemd journal directly from the
761 762
  Kamailio configuration and routing scripts.
762 763
 
764
+Package: kamailio-phonenum-modules
765
+Architecture: linux-any
766
+Multi-Arch: same
767
+Pre-Depends:
768
+ ${misc:Pre-Depends},
769
+Depends:
770
+ kamailio (= ${binary:Version}),
771
+ ${misc:Depends},
772
+ ${shlibs:Depends},
773
+Description: phonenum modules for the Kamailio SIP server
774
+ Kamailio is a very fast and flexible SIP (RFC3261)
775
+ server. Written entirely in C, Kamailio can handle thousands calls
776
+ per second even on low-budget hardware.
777
+ .
778
+ This package provides real-time queries against the libphonenumber to be
779
+ performed directly from the Kamailio configuration and routing scripts.
780
+
763 781
 Package: kamailio-extra-modules
764 782
 Architecture: linux-any
765 783
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39 39
 			   sqlite json mono ims sctp java \
40 40
 			   tls outbound websocket autheph kazoo cnxcc \
41
-			   erlang systemd rabbitmq
41
+			   erlang systemd phonenum rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -27,11 +27,13 @@ Build-Depends:
27 27
  libjson-c-dev,
28 28
  libldap2-dev,
29 29
  liblua5.1-0-dev,
30
+ libmaxminddb-dev,
30 31
  libmemcached-dev,
31 32
  libmono-2.0-dev,
32 33
  libncurses5-dev,
33 34
  libpcre3-dev,
34 35
  libperl-dev,
36
+ libphonenumber-dev,
35 37
  libpq-dev,
36 38
  librabbitmq-dev,
37 39
  libradcli-dev,
... ...
@@ -51,7 +53,6 @@ Build-Depends:
51 53
  unixodbc-dev,
52 54
  uuid-dev,
53 55
  xsltproc,
54
- libmaxminddb-dev,
55 56
  zlib1g-dev,
56 57
 Standards-Version: 3.9.5
57 58
 Homepage: http://www.kamailio.org/
... ...
@@ -760,6 +761,23 @@ Description: systemd logging modules for the Kamailio SIP server
760 761
  This package provides logging to systemd journal directly from the
761 762
  Kamailio configuration and routing scripts.
762 763
 
764
+Package: kamailio-phonenum-modules
765
+Architecture: linux-any
766
+Multi-Arch: same
767
+Pre-Depends:
768
+ ${misc:Pre-Depends},
769
+Depends:
770
+ kamailio (= ${binary:Version}),
771
+ ${misc:Depends},
772
+ ${shlibs:Depends},
773
+Description: phonenum modules for the Kamailio SIP server
774
+ Kamailio is a very fast and flexible SIP (RFC3261)
775
+ server. Written entirely in C, Kamailio can handle thousands calls
776
+ per second even on low-budget hardware.
777
+ .
778
+ This package provides real-time queries against the libphonenumber to be
779
+ performed directly from the Kamailio configuration and routing scripts.
780
+
763 781
 Package: kamailio-extra-modules
764 782
 Architecture: linux-any
765 783
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39 39
 			   sqlite json mono ims sctp java \
40 40
 			   tls outbound websocket autheph kazoo cnxcc \
41
-			   erlang systemd rabbitmq
41
+			   erlang systemd phonenum rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -27,7 +27,7 @@ EXCLUDED_MODULES=
27 27
 # extra modules to skip, because they are not compilable now
28 28
 # - regardless if they go to the main kamailio package or to some module package,
29 29
 # they will be excluded from compile and install of all
30
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2
30
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc systemd geoip2 phonenum
31 31
 
32 32
 # module groups that are packaged in seperate packages
33 33
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -26,7 +26,7 @@ EXCLUDED_MODULES=
26 26
 # extra modules to skip, because they are not compilable now
27 27
 # - regardless if they go to the main kamailio package or to some module package,
28 28
 # they will be excluded from compile and install of all
29
-EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2
29
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec kazoo cnxcc systemd rabbitmq geoip2 phonenum
30 30
 
31 31
 # module groups that are packaged in seperate packages
32 32
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -27,11 +27,13 @@ Build-Depends:
27 27
  libjson-c-dev,
28 28
  libldap2-dev,
29 29
  liblua5.1-0-dev,
30
+ libmaxminddb-dev,
30 31
  libmemcached-dev,
31 32
  libmono-2.0-dev,
32 33
  libncurses5-dev,
33 34
  libpcre3-dev,
34 35
  libperl-dev,
36
+ libphonenumber-dev,
35 37
  libpq-dev,
36 38
  librabbitmq-dev,
37 39
  libradcli-dev,
... ...
@@ -52,7 +54,6 @@ Build-Depends:
52 54
  unixodbc-dev,
53 55
  uuid-dev,
54 56
  xsltproc,
55
- libmaxminddb-dev,
56 57
  zlib1g-dev,
57 58
 Standards-Version: 3.9.5
58 59
 Homepage: http://www.kamailio.org/
... ...
@@ -777,6 +778,23 @@ Description: systemd logging modules for the Kamailio SIP server
777 778
  This package provides logging to systemd journal directly from the
778 779
  Kamailio configuration and routing scripts.
779 780
 
781
+Package: kamailio-phonenum-modules
782
+Architecture: linux-any
783
+Multi-Arch: same
784
+Pre-Depends:
785
+ ${misc:Pre-Depends},
786
+Depends:
787
+ kamailio (= ${binary:Version}),
788
+ ${misc:Depends},
789
+ ${shlibs:Depends},
790
+Description: phonenum modules for the Kamailio SIP server
791
+ Kamailio is a very fast and flexible SIP (RFC3261)
792
+ server. Written entirely in C, Kamailio can handle thousands calls
793
+ per second even on low-budget hardware.
794
+ .
795
+ This package provides real-time queries against the libphonenumber to be
796
+ performed directly from the Kamailio configuration and routing scripts.
797
+
780 798
 Package: kamailio-extra-modules
781 799
 Architecture: linux-any
782 800
 Multi-Arch: same
... ...
@@ -38,7 +38,7 @@ PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
38 38
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39 39
 			   sqlite json mono ims sctp java \
40 40
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
41
-			   erlang systemd rabbitmq
41
+			   erlang systemd phonenum rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async