Pārlūkot izejas kodu

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

* remove jessie support
Victor Seva 7 gadi atpakaļ
vecāks
revīzija
c804420cd3

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

@@ -33,7 +33,7 @@ Build-Depends:
  libncurses5-dev,
  libpcre3-dev,
  libperl-dev,
- libphonenumber-dev,
+ libphonenumber-dev (>= 7),
  libpq-dev,
  librabbitmq-dev,
  libradcli-dev,

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

@@ -33,6 +33,12 @@ sed -i -e '/libmaxminddb-dev/d' -e '/^Package: kamailio-geoip2-modules/,/^$/d' \
 sed -i -e '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
 rm -rf ${DIST}/backports
 exit 0

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

@@ -33,7 +33,7 @@ Build-Depends:
  libncurses5-dev,
  libpcre3-dev,
  libperl-dev,
- libphonenumber-dev,
+ libphonenumber-dev (>= 7),
  libpq-dev,
  librabbitmq-dev,
  libradcli-dev,

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

@@ -32,7 +32,6 @@ Build-Depends:
  libncurses5-dev,
  libpcre3-dev,
  libperl-dev,
- libphonenumber-dev,
  libpq-dev,
  librabbitmq-dev,
  libfreeradius-client-dev,
@@ -758,23 +757,6 @@ Description: systemd logging modules for the Kamailio SIP server
  This package provides logging to systemd journal directly from the
  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
 Architecture: linux-any
 Multi-Arch: same

+ 2 - 2
pkg/kamailio/deb/jessie/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 geoip2
+EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc geoip2 phonenum
 
 # module groups that are packaged in seperate packages
 # (with the name kamailio-$(group_name)-modules)
@@ -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 \
 			   tls outbound websocket autheph dnssec kazoo cnxcc \
-			   erlang systemd phonenum rabbitmq
+			   erlang systemd rabbitmq
 
 # module groups to be packaged onto kamailio-extra-modules
 EXTRA_GROUPS=gzcompress uuid ev jansson http_async

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

@@ -33,7 +33,7 @@ Build-Depends:
  libncurses5-dev,
  libpcre3-dev,
  libperl-dev,
- libphonenumber-dev,
+ libphonenumber-dev (>= 7),
  libpq-dev,
  librabbitmq-dev,
  libradcli-dev,

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

@@ -33,7 +33,7 @@ Build-Depends:
  libncurses5-dev,
  libpcre3-dev,
  libperl-dev,
- libphonenumber-dev,
+ libphonenumber-dev (>= 7),
  libpq-dev,
  librabbitmq-dev,
  libradcli-dev,

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

@@ -33,7 +33,7 @@ Build-Depends:
  libncurses5-dev,
  libpcre3-dev,
  libperl-dev,
- libphonenumber-dev,
+ libphonenumber-dev (>= 7),
  libpq-dev,
  librabbitmq-dev,
  libradcli-dev,