Module: kamailio
Branch: master
Commit: 6b021e199cfdfaac3e4723320742377e9da1e1d0
URL:
https://github.com/kamailio/kamailio/commit/6b021e199cfdfaac3e4723320742377…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-10-17T09:02:16+02:00
pkg/kamailio/deb: add buster support
* remove
buildserver.net reference from backports
---
Added: pkg/kamailio/deb/debian/backports/buster
Modified: pkg/kamailio/deb/debian/backports/jessie
Modified: pkg/kamailio/deb/debian/backports/precise
Modified: pkg/kamailio/deb/debian/backports/sid
Modified: pkg/kamailio/deb/debian/backports/stretch
Modified: pkg/kamailio/deb/debian/backports/trusty
Modified: pkg/kamailio/deb/debian/backports/wheezy
Modified: pkg/kamailio/deb/debian/backports/xenial
---
Diff:
https://github.com/kamailio/kamailio/commit/6b021e199cfdfaac3e4723320742377…
Patch:
https://github.com/kamailio/kamailio/commit/6b021e199cfdfaac3e4723320742377…
---
diff --git a/pkg/kamailio/deb/debian/backports/buster
b/pkg/kamailio/deb/debian/backports/buster
new file mode 100755
index 0000000000..9fc54a9e40
--- /dev/null
+++ b/pkg/kamailio/deb/debian/backports/buster
@@ -0,0 +1,23 @@
+#!/bin/bash
+#
+# Target dist: Debian buster
+DIST=buster
+
+rm -rf ${DIST}
+cp -r debian ${DIST}
+
+# No mi_xmlrpc module
+sed -i -e '/libxmlrpc-c3-dev/d' -e '/^Package:
kamailio-xmlrpc-modules/,/^$/d' \
+ ${DIST}/control
+sed -i -e 's/ mi_xmlrpc[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mi_xmlrpc/' ${DIST}/rules
+
+# No dnssec module:
+sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d'
\
+ ${DIST}/control
+sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
+
+# clean backports scripts
+rm -rf ${DIST}/backports
+exit 0
diff --git a/pkg/kamailio/deb/debian/backports/jessie
b/pkg/kamailio/deb/debian/backports/jessie
index ec8187fb17..48fc3d3798 100755
--- a/pkg/kamailio/deb/debian/backports/jessie
+++ b/pkg/kamailio/deb/debian/backports/jessie
@@ -1,7 +1,5 @@
#!/bin/bash
#
-# Hook for automatic backports at
buildserver.net
-#
# Target dist: Debian Jessie
DIST=jessie
diff --git a/pkg/kamailio/deb/debian/backports/precise
b/pkg/kamailio/deb/debian/backports/precise
index 3fbca2811f..80a2beff03 100755
--- a/pkg/kamailio/deb/debian/backports/precise
+++ b/pkg/kamailio/deb/debian/backports/precise
@@ -1,7 +1,5 @@
#!/bin/bash
#
-# Hook for automatic backports at
buildserver.net
-#
# Target dist: Debian Squeeze
DIST=precise
diff --git a/pkg/kamailio/deb/debian/backports/sid
b/pkg/kamailio/deb/debian/backports/sid
index df1a365da9..e642c049e0 100755
--- a/pkg/kamailio/deb/debian/backports/sid
+++ b/pkg/kamailio/deb/debian/backports/sid
@@ -1,7 +1,5 @@
#!/bin/bash
#
-# Hook for automatic backports at
buildserver.net
-#
# Target dist: Debian Sid
DIST=sid
diff --git a/pkg/kamailio/deb/debian/backports/stretch
b/pkg/kamailio/deb/debian/backports/stretch
index f75b2a3f16..285eb85633 100755
--- a/pkg/kamailio/deb/debian/backports/stretch
+++ b/pkg/kamailio/deb/debian/backports/stretch
@@ -1,7 +1,5 @@
#!/bin/bash
#
-# Hook for automatic backports at
buildserver.net
-#
# Target dist: Debian Stretch
DIST=stretch
diff --git a/pkg/kamailio/deb/debian/backports/trusty
b/pkg/kamailio/deb/debian/backports/trusty
index 6aa1c2f76f..2e3665ba4a 100755
--- a/pkg/kamailio/deb/debian/backports/trusty
+++ b/pkg/kamailio/deb/debian/backports/trusty
@@ -1,7 +1,5 @@
#!/bin/bash
#
-# Hook for automatic backports at
buildserver.net
-#
# Target dist: Ubuntu trusty
DIST=trusty
diff --git a/pkg/kamailio/deb/debian/backports/wheezy
b/pkg/kamailio/deb/debian/backports/wheezy
index 1b4fa2e021..c526f2fd42 100755
--- a/pkg/kamailio/deb/debian/backports/wheezy
+++ b/pkg/kamailio/deb/debian/backports/wheezy
@@ -1,7 +1,5 @@
#!/bin/bash
#
-# Hook for automatic backports at
buildserver.net
-#
# Target dist: Debian Wheezy
DIST=wheezy
diff --git a/pkg/kamailio/deb/debian/backports/xenial
b/pkg/kamailio/deb/debian/backports/xenial
index 174fbc9fdd..721ca849a0 100755
--- a/pkg/kamailio/deb/debian/backports/xenial
+++ b/pkg/kamailio/deb/debian/backports/xenial
@@ -1,7 +1,5 @@
#!/bin/bash
#
-# Hook for automatic backports at
buildserver.net
-#
# Target dist: Ubuntu xenial
DIST=xenial