Browse code

pkg/kamailio/deb: add buster support

* remove buildserver.net reference from backports

Victor Seva authored on 17/10/2017 07:02:16
Showing 8 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,23 @@
1
+#!/bin/bash
2
+#
3
+# Target dist: Debian buster
4
+DIST=buster
5
+
6
+rm -rf ${DIST}
7
+cp -r debian ${DIST}
8
+
9
+# No mi_xmlrpc module
10
+sed -i -e '/libxmlrpc-c3-dev/d' -e '/^Package: kamailio-xmlrpc-modules/,/^$/d' \
11
+	${DIST}/control
12
+sed -i -e 's/ mi_xmlrpc[ ,$]*/ /' ${DIST}/rules
13
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ mi_xmlrpc/' ${DIST}/rules
14
+
15
+# No dnssec module:
16
+sed -i -e '/libval-dev/d' -e '/^Package: kamailio-dnssec-modules/,/^$/d' \
17
+  ${DIST}/control
18
+sed -i -e 's/ dnssec[ ,$]*/ /' ${DIST}/rules
19
+sed -i -e '/^EXTRA_EXCLUDED_MODULES=/s/$/ dnssec/' ${DIST}/rules
20
+
21
+# clean backports scripts
22
+rm -rf ${DIST}/backports
23
+exit 0
... ...
@@ -1,7 +1,5 @@
1 1
 #!/bin/bash
2 2
 #
3
-# Hook for automatic backports at buildserver.net
4
-#
5 3
 # Target dist: Debian Jessie
6 4
 DIST=jessie
7 5
 
... ...
@@ -1,7 +1,5 @@
1 1
 #!/bin/bash
2 2
 #
3
-# Hook for automatic backports at buildserver.net
4
-#
5 3
 # Target dist: Debian Squeeze
6 4
 DIST=precise
7 5
 
... ...
@@ -1,7 +1,5 @@
1 1
 #!/bin/bash
2 2
 #
3
-# Hook for automatic backports at buildserver.net
4
-#
5 3
 # Target dist: Debian Sid
6 4
 DIST=sid
7 5
 
... ...
@@ -1,7 +1,5 @@
1 1
 #!/bin/bash
2 2
 #
3
-# Hook for automatic backports at buildserver.net
4
-#
5 3
 # Target dist: Debian Stretch
6 4
 DIST=stretch
7 5
 
... ...
@@ -1,7 +1,5 @@
1 1
 #!/bin/bash
2 2
 #
3
-# Hook for automatic backports at buildserver.net
4
-#
5 3
 # Target dist: Ubuntu trusty
6 4
 DIST=trusty
7 5
 
... ...
@@ -1,7 +1,5 @@
1 1
 #!/bin/bash
2 2
 #
3
-# Hook for automatic backports at buildserver.net
4
-#
5 3
 # Target dist: Debian Wheezy
6 4
 DIST=wheezy
7 5
 
... ...
@@ -1,7 +1,5 @@
1 1
 #!/bin/bash
2 2
 #
3
-# Hook for automatic backports at buildserver.net
4
-#
5 3
 # Target dist: Ubuntu xenial
6 4
 DIST=xenial
7 5