Browse code

pkg/kamailio/deb: phonenum requires libphonenum >= 7

* remove jessie support

Victor Seva authored on 08/12/2017 13:16:52
Showing 8 changed files
... ...
@@ -33,7 +33,7 @@ Build-Depends:
33 33
  libncurses5-dev,
34 34
  libpcre3-dev,
35 35
  libperl-dev,
36
- libphonenumber-dev,
36
+ libphonenumber-dev (>= 7),
37 37
  libpq-dev,
38 38
  librabbitmq-dev,
39 39
  libradcli-dev,
... ...
@@ -33,6 +33,12 @@ sed -i -e '/libmaxminddb-dev/d' -e '/^Package: kamailio-geoip2-modules/,/^$/d' \
33 33
 sed -i -e 's/ geoip2[ ,$]*/ /' ${DIST}/rules
34 34
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ geoip2/' ${DIST}/rules
35 35
 
36
+# No phonenum module
37
+sed -i -e '/libphonenumber-dev/d' -e '/^Package: kamailio-phonenum-modules/,/^$/d' \
38
+	${DIST}/control
39
+sed -i -e 's/ phonenum[ ,$]*/ /' ${DIST}/rules
40
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ phonenum/' ${DIST}/rules
41
+
36 42
 # clean backports scripts
37 43
 rm -rf ${DIST}/backports
38 44
 exit 0
... ...
@@ -33,7 +33,7 @@ Build-Depends:
33 33
  libncurses5-dev,
34 34
  libpcre3-dev,
35 35
  libperl-dev,
36
- libphonenumber-dev,
36
+ libphonenumber-dev (>= 7),
37 37
  libpq-dev,
38 38
  librabbitmq-dev,
39 39
  libradcli-dev,
... ...
@@ -32,7 +32,6 @@ Build-Depends:
32 32
  libncurses5-dev,
33 33
  libpcre3-dev,
34 34
  libperl-dev,
35
- libphonenumber-dev,
36 35
  libpq-dev,
37 36
  librabbitmq-dev,
38 37
  libfreeradius-client-dev,
... ...
@@ -758,23 +757,6 @@ Description: systemd logging modules for the Kamailio SIP server
758 757
  This package provides logging to systemd journal directly from the
759 758
  Kamailio configuration and routing scripts.
760 759
 
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
-
778 760
 Package: kamailio-extra-modules
779 761
 Architecture: linux-any
780 762
 Multi-Arch: same
... ...
@@ -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 geoip2
30
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc geoip2 phonenum
31 31
 
32 32
 # module groups that are packaged in seperate packages
33 33
 # (with the name kamailio-$(group_name)-modules)
... ...
@@ -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 phonenum rabbitmq
41
+			   erlang systemd rabbitmq
42 42
 
43 43
 # module groups to be packaged onto kamailio-extra-modules
44 44
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async
... ...
@@ -33,7 +33,7 @@ Build-Depends:
33 33
  libncurses5-dev,
34 34
  libpcre3-dev,
35 35
  libperl-dev,
36
- libphonenumber-dev,
36
+ libphonenumber-dev (>= 7),
37 37
  libpq-dev,
38 38
  librabbitmq-dev,
39 39
  libradcli-dev,
... ...
@@ -33,7 +33,7 @@ Build-Depends:
33 33
  libncurses5-dev,
34 34
  libpcre3-dev,
35 35
  libperl-dev,
36
- libphonenumber-dev,
36
+ libphonenumber-dev (>= 7),
37 37
  libpq-dev,
38 38
  librabbitmq-dev,
39 39
  libradcli-dev,
... ...
@@ -33,7 +33,7 @@ Build-Depends:
33 33
  libncurses5-dev,
34 34
  libpcre3-dev,
35 35
  libperl-dev,
36
- libphonenumber-dev,
36
+ libphonenumber-dev (>= 7),
37 37
  libpq-dev,
38 38
  librabbitmq-dev,
39 39
  libradcli-dev,