Selaa lähdekoodia

pkg: Initial effort to package kamcli

Victor Seva 7 vuotta sitten
vanhempi
commit
2e18eeddc1

+ 5 - 0
pkg/deb/bionic/changelog

@@ -0,0 +1,5 @@
+kamcli (1.1.0~dev0) unstable; urgency=medium
+
+  * Initial release (Closes: #910283)
+
+ -- Victor Seva <[email protected]>  Sat, 29 Sep 2018 11:22:00 +0200

+ 1 - 0
pkg/deb/bionic/compat

@@ -0,0 +1 @@
+9

+ 23 - 0
pkg/deb/bionic/control

@@ -0,0 +1,23 @@
+Source: kamcli
+Maintainer: Victor Seva <[email protected]>
+Section: misc
+Priority: optional
+Standards-Version: 4.2.1.1
+Build-Depends:
+ debhelper (>= 9~),
+ dh-python,
+ python-all,
+ python-setuptools,
+
+Package: kamcli
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Kamailio Command Line Interface Control Tool
+ kamcli is aiming at being a modern and extensible alternative to the shell
+ script kamctl.
+ .
+ It requires that jsonrpcs module of Kamailio is loaded and configured to
+ listen on an Unix domain socket or FIFO file. The way to interact with
+ Kamailio has to be set inside kamcli config file (kamcli.ini).

+ 34 - 0
pkg/deb/bionic/copyright

@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: kam-cli
+Upstream-Contact: Daniel-Constantin Mierla <[email protected]>
+Source: https://github.com/kamailio/kamcli
+
+Files: *
+Copyright: 2015-2018 Daniel-Constantin Mierla <[email protected]>
+License: GPL-2+
+
+Files: pkg/deb/*
+Copyright: 2018 Victor Seva <[email protected]>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.

+ 1 - 0
pkg/deb/bionic/kamcli.examples

@@ -0,0 +1 @@
+kamcli/kamcli.ini

+ 5 - 0
pkg/deb/bionic/rules

@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+	dh "$@" --with python2

+ 5 - 0
pkg/deb/buster/changelog

@@ -0,0 +1,5 @@
+kamcli (1.1.0~dev0) unstable; urgency=medium
+
+  * Initial release (Closes: #910283)
+
+ -- Victor Seva <[email protected]>  Sat, 29 Sep 2018 11:22:00 +0200

+ 1 - 0
pkg/deb/buster/compat

@@ -0,0 +1 @@
+9

+ 23 - 0
pkg/deb/buster/control

@@ -0,0 +1,23 @@
+Source: kamcli
+Maintainer: Victor Seva <[email protected]>
+Section: misc
+Priority: optional
+Standards-Version: 4.2.1.1
+Build-Depends:
+ debhelper (>= 9~),
+ dh-python,
+ python-all,
+ python-setuptools,
+
+Package: kamcli
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Kamailio Command Line Interface Control Tool
+ kamcli is aiming at being a modern and extensible alternative to the shell
+ script kamctl.
+ .
+ It requires that jsonrpcs module of Kamailio is loaded and configured to
+ listen on an Unix domain socket or FIFO file. The way to interact with
+ Kamailio has to be set inside kamcli config file (kamcli.ini).

+ 34 - 0
pkg/deb/buster/copyright

@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: kam-cli
+Upstream-Contact: Daniel-Constantin Mierla <[email protected]>
+Source: https://github.com/kamailio/kamcli
+
+Files: *
+Copyright: 2015-2018 Daniel-Constantin Mierla <[email protected]>
+License: GPL-2+
+
+Files: pkg/deb/*
+Copyright: 2018 Victor Seva <[email protected]>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.

+ 1 - 0
pkg/deb/buster/kamcli.examples

@@ -0,0 +1 @@
+kamcli/kamcli.ini

+ 5 - 0
pkg/deb/buster/rules

@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+	dh "$@" --with python2

+ 13 - 0
pkg/deb/debian/backports/bionic

@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Target dist: Ubuntu bionic
+DIST=bionic
+
+rm -rf ${DIST}
+cp -r debian ${DIST}
+
+wrap-and-sort -sat -d ${DIST}
+
+# clean backports scripts
+rm -rf ${DIST}/backports
+exit 0

+ 13 - 0
pkg/deb/debian/backports/buster

@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Target dist: Debian buster
+DIST=buster
+
+rm -rf ${DIST}
+cp -r debian ${DIST}
+
+wrap-and-sort -sat -d ${DIST}
+
+# clean backports scripts
+rm -rf ${DIST}/backports
+exit 0

+ 13 - 0
pkg/deb/debian/backports/stretch

@@ -0,0 +1,13 @@
+#!/bin/bash
+#
+# Target dist: Debian stretch
+DIST=stretch
+
+rm -rf ${DIST}
+cp -r debian ${DIST}
+
+wrap-and-sort -sat -d ${DIST}
+
+# clean backports scripts
+rm -rf ${DIST}/backports
+exit 0

+ 15 - 0
pkg/deb/debian/backports/xenial

@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+# Target dist: Ubuntu xenial
+DIST=xenial
+
+rm -rf ${DIST}
+cp -r debian ${DIST}
+
+echo "pyaml python-yaml" >> ${DIST}/pydist-overrides
+
+wrap-and-sort -sat -d ${DIST}
+
+# clean backports scripts
+rm -rf ${DIST}/backports
+exit 0

+ 5 - 0
pkg/deb/debian/changelog

@@ -0,0 +1,5 @@
+kamcli (1.1.0~dev0) unstable; urgency=medium
+
+  * Initial release (Closes: #910283)
+
+ -- Victor Seva <[email protected]>  Sat, 29 Sep 2018 11:22:00 +0200

+ 1 - 0
pkg/deb/debian/compat

@@ -0,0 +1 @@
+9

+ 23 - 0
pkg/deb/debian/control

@@ -0,0 +1,23 @@
+Source: kamcli
+Maintainer: Victor Seva <[email protected]>
+Section: misc
+Priority: optional
+Standards-Version: 4.2.1.1
+Build-Depends:
+ debhelper (>= 9~),
+ dh-python,
+ python-all,
+ python-setuptools,
+
+Package: kamcli
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Kamailio Command Line Interface Control Tool
+ kamcli is aiming at being a modern and extensible alternative to the shell
+ script kamctl.
+ .
+ It requires that jsonrpcs module of Kamailio is loaded and configured to
+ listen on an Unix domain socket or FIFO file. The way to interact with
+ Kamailio has to be set inside kamcli config file (kamcli.ini).

+ 34 - 0
pkg/deb/debian/copyright

@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: kam-cli
+Upstream-Contact: Daniel-Constantin Mierla <[email protected]>
+Source: https://github.com/kamailio/kamcli
+
+Files: *
+Copyright: 2015-2018 Daniel-Constantin Mierla <[email protected]>
+License: GPL-2+
+
+Files: pkg/deb/*
+Copyright: 2018 Victor Seva <[email protected]>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.

+ 1 - 0
pkg/deb/debian/kamcli.examples

@@ -0,0 +1 @@
+kamcli/kamcli.ini

+ 5 - 0
pkg/deb/debian/rules

@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+	dh "$@" --with python2

+ 5 - 0
pkg/deb/stretch/changelog

@@ -0,0 +1,5 @@
+kamcli (1.1.0~dev0) unstable; urgency=medium
+
+  * Initial release (Closes: #910283)
+
+ -- Victor Seva <[email protected]>  Sat, 29 Sep 2018 11:22:00 +0200

+ 1 - 0
pkg/deb/stretch/compat

@@ -0,0 +1 @@
+9

+ 23 - 0
pkg/deb/stretch/control

@@ -0,0 +1,23 @@
+Source: kamcli
+Maintainer: Victor Seva <[email protected]>
+Section: misc
+Priority: optional
+Standards-Version: 4.2.1.1
+Build-Depends:
+ debhelper (>= 9~),
+ dh-python,
+ python-all,
+ python-setuptools,
+
+Package: kamcli
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Kamailio Command Line Interface Control Tool
+ kamcli is aiming at being a modern and extensible alternative to the shell
+ script kamctl.
+ .
+ It requires that jsonrpcs module of Kamailio is loaded and configured to
+ listen on an Unix domain socket or FIFO file. The way to interact with
+ Kamailio has to be set inside kamcli config file (kamcli.ini).

+ 34 - 0
pkg/deb/stretch/copyright

@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: kam-cli
+Upstream-Contact: Daniel-Constantin Mierla <[email protected]>
+Source: https://github.com/kamailio/kamcli
+
+Files: *
+Copyright: 2015-2018 Daniel-Constantin Mierla <[email protected]>
+License: GPL-2+
+
+Files: pkg/deb/*
+Copyright: 2018 Victor Seva <[email protected]>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.

+ 1 - 0
pkg/deb/stretch/kamcli.examples

@@ -0,0 +1 @@
+kamcli/kamcli.ini

+ 5 - 0
pkg/deb/stretch/rules

@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+	dh "$@" --with python2

+ 5 - 0
pkg/deb/xenial/changelog

@@ -0,0 +1,5 @@
+kamcli (1.1.0~dev0) unstable; urgency=medium
+
+  * Initial release (Closes: #910283)
+
+ -- Victor Seva <[email protected]>  Sat, 29 Sep 2018 11:22:00 +0200

+ 1 - 0
pkg/deb/xenial/compat

@@ -0,0 +1 @@
+9

+ 23 - 0
pkg/deb/xenial/control

@@ -0,0 +1,23 @@
+Source: kamcli
+Maintainer: Victor Seva <[email protected]>
+Section: misc
+Priority: optional
+Standards-Version: 4.2.1.1
+Build-Depends:
+ debhelper (>= 9~),
+ dh-python,
+ python-all,
+ python-setuptools,
+
+Package: kamcli
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+Description: Kamailio Command Line Interface Control Tool
+ kamcli is aiming at being a modern and extensible alternative to the shell
+ script kamctl.
+ .
+ It requires that jsonrpcs module of Kamailio is loaded and configured to
+ listen on an Unix domain socket or FIFO file. The way to interact with
+ Kamailio has to be set inside kamcli config file (kamcli.ini).

+ 34 - 0
pkg/deb/xenial/copyright

@@ -0,0 +1,34 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: kam-cli
+Upstream-Contact: Daniel-Constantin Mierla <[email protected]>
+Source: https://github.com/kamailio/kamcli
+
+Files: *
+Copyright: 2015-2018 Daniel-Constantin Mierla <[email protected]>
+License: GPL-2+
+
+Files: pkg/deb/*
+Copyright: 2018 Victor Seva <[email protected]>
+License: GPL-2+
+
+License: GPL-2+
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.

+ 1 - 0
pkg/deb/xenial/kamcli.examples

@@ -0,0 +1 @@
+kamcli/kamcli.ini

+ 1 - 0
pkg/deb/xenial/pydist-overrides

@@ -0,0 +1 @@
+pyaml python-yaml

+ 5 - 0
pkg/deb/xenial/rules

@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+	dh "$@" --with python2