Browse code

pkg/kamailio/deb: remove app_java from sid/buster

See #1487

Victor Seva authored on 04/04/2018 15:04:22
Showing 6 changed files
... ...
@@ -14,7 +14,6 @@ Build-Depends:
14 14
  dpkg-dev (>= 1.16.1.1),
15 15
  erlang-dev,
16 16
  flex,
17
- gcj-jdk,
18 17
  libconfuse-dev,
19 18
  libcurl4-openssl-dev,
20 19
  libdb-dev (>= 4.6.19),
... ...
@@ -596,24 +595,6 @@ Description: SCTP SIP transport module for the Kamailio SIP server
596 595
  .
597 596
  This package provides the SCTP SIP transport module for Kamailio.
598 597
 
599
-Package: kamailio-java-modules
600
-Architecture: linux-any
601
-Multi-Arch: same
602
-Pre-Depends:
603
- ${misc:Pre-Depends},
604
-Depends:
605
- gcj-jre,
606
- kamailio (= ${binary:Version}),
607
- ${misc:Depends},
608
- ${shlibs:Depends},
609
-Description: The app_java module - JAVA support for the Kamailio SIP server
610
- Kamailio is a very fast and flexible SIP (RFC3261)
611
- server. Written entirely in C, Kamailio can handle thousands calls
612
- per second even on low-budget hardware.
613
- .
614
- This package provides the app_java module, an extension allowing to
615
- execute embedded Java applications within the Kamailio routing script.
616
-
617 598
 Package: kamailio-tls-modules
618 599
 Architecture: linux-any
619 600
 Multi-Arch: same
... ...
@@ -18,11 +18,10 @@ include /usr/share/dpkg/buildflags.mk
18 18
 # Uncomment this to turn on verbose mode.
19 19
 #export DH_VERBOSE=1
20 20
 
21
-export JAVA_HOME=/usr/lib/jvm/java-gcj
22 21
 export RADCLI=1
23 22
 
24 23
 # modules not in the "main" kamailio package
25
-EXCLUDED_MODULES=
24
+EXCLUDED_MODULES= java
26 25
 
27 26
 # extra modules to skip, because they are not compilable now
28 27
 # - regardless if they go to the main kamailio package or to some module package,
... ...
@@ -36,7 +35,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec
36 35
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
37 36
 			   ldap xml perl utils lua memcached \
38 37
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39
-			   sqlite json mono ims sctp java \
38
+			   sqlite json mono ims sctp \
40 39
 			   tls outbound websocket autheph kazoo cnxcc \
41 40
 			   erlang systemd phonenum mongodb rabbitmq
42 41
 
... ...
@@ -18,6 +18,13 @@ sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d' \
18 18
 sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
19 19
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
20 20
 
21
+# No app_java due lack of gcj-jdk
22
+sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
23
+  ${DIST}/control
24
+sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
25
+sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
26
+sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules
27
+
21 28
 wrap-and-sort -sat -d ${DIST}
22 29
 
23 30
 # clean backports scripts
... ...
@@ -18,6 +18,13 @@ sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d' \
18 18
 sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
19 19
 sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
20 20
 
21
+# No app_java due lack of gcj-jdk
22
+sed -i -e '/gcj-jdk/d' -e '/^Package: kamailio-java-modules/,/^$/d' \
23
+  ${DIST}/control
24
+sed -i -e '/^export JAVA_HOME/d' ${DIST}/rules
25
+sed -i -e 's/ java[ ,$]*/ /' ${DIST}/rules
26
+sed -i -e '/^EXCLUDED_MODULES=/s/$/ java/' ${DIST}/rules
27
+
21 28
 wrap-and-sort -sat -d ${DIST}
22 29
 
23 30
 # clean backports scripts
... ...
@@ -14,7 +14,6 @@ Build-Depends:
14 14
  dpkg-dev (>= 1.16.1.1),
15 15
  erlang-dev,
16 16
  flex,
17
- gcj-jdk,
18 17
  libconfuse-dev,
19 18
  libcurl4-openssl-dev,
20 19
  libdb-dev (>= 4.6.19),
... ...
@@ -596,24 +595,6 @@ Description: SCTP SIP transport module for the Kamailio SIP server
596 595
  .
597 596
  This package provides the SCTP SIP transport module for Kamailio.
598 597
 
599
-Package: kamailio-java-modules
600
-Architecture: linux-any
601
-Multi-Arch: same
602
-Pre-Depends:
603
- ${misc:Pre-Depends},
604
-Depends:
605
- gcj-jre,
606
- kamailio (= ${binary:Version}),
607
- ${misc:Depends},
608
- ${shlibs:Depends},
609
-Description: The app_java module - JAVA support for the Kamailio SIP server
610
- Kamailio is a very fast and flexible SIP (RFC3261)
611
- server. Written entirely in C, Kamailio can handle thousands calls
612
- per second even on low-budget hardware.
613
- .
614
- This package provides the app_java module, an extension allowing to
615
- execute embedded Java applications within the Kamailio routing script.
616
-
617 598
 Package: kamailio-tls-modules
618 599
 Architecture: linux-any
619 600
 Multi-Arch: same
... ...
@@ -18,11 +18,10 @@ include /usr/share/dpkg/buildflags.mk
18 18
 # Uncomment this to turn on verbose mode.
19 19
 #export DH_VERBOSE=1
20 20
 
21
-export JAVA_HOME=/usr/lib/jvm/java-gcj
22 21
 export RADCLI=1
23 22
 
24 23
 # modules not in the "main" kamailio package
25
-EXCLUDED_MODULES=
24
+EXCLUDED_MODULES= java
26 25
 
27 26
 # extra modules to skip, because they are not compilable now
28 27
 # - regardless if they go to the main kamailio package or to some module package,
... ...
@@ -36,7 +35,7 @@ EXTRA_EXCLUDED_MODULES=bdb dbtext oracle pa iptrtpproxy mi_xmlrpc dnssec
36 35
 PACKAGE_GROUPS=mysql postgres berkeley unixodbc radius presence \
37 36
 			   ldap xml perl utils lua memcached \
38 37
 			   snmpstats carrierroute xmpp cpl redis python geoip geoip2 \
39
-			   sqlite json mono ims sctp java \
38
+			   sqlite json mono ims sctp \
40 39
 			   tls outbound websocket autheph kazoo cnxcc \
41 40
 			   erlang systemd phonenum mongodb rabbitmq
42 41