[Pkg-voip-commits] [janus] 01/02: debian from Saul Ibarra <saul at ag-projects.com>

Victor Seva vseva at moszumanska.debian.org
Thu Dec 22 10:02:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

vseva pushed a commit to branch master
in repository janus.

commit 058abe72e0a3c79d40bd03eff1743d2423d0ea7c
Author: Victor Seva <vseva at debian.org>
Date:   Thu Dec 22 11:00:13 2016 +0100

    debian from Saul Ibarra <saul at ag-projects.com>
---
 debian/changelog                     | 19 +++++++++++
 debian/compat                        |  1 +
 debian/control                       | 58 ++++++++++++++++++++++++++++++++++
 debian/copyright                     | 28 +++++++++++++++++
 debian/docs                          |  1 +
 debian/janus-demos.install           |  1 +
 debian/janus-demos.lintian-overrides |  1 +
 debian/janus-dev.install             |  1 +
 debian/janus-doc.install             |  1 +
 debian/janus-doc.lintian-overrides   |  1 +
 debian/janus.init                    | 61 ++++++++++++++++++++++++++++++++++++
 debian/janus.install                 |  7 +++++
 debian/janus.lintian-overrides       |  2 ++
 debian/janus.service                 | 13 ++++++++
 debian/rules                         | 18 +++++++++++
 debian/source.lintian-overrides      |  1 +
 debian/source/format                 |  1 +
 17 files changed, 215 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f04341a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,19 @@
+janus (0.1.1+git20160615.3507b9a.1jessie) jessie; urgency=medium
+
+  * New release based on revision 3507b9a (0.1.1 tag)
+  * Enable data channels
+  * Enable rabbitmq transport
+
+ -- Saul Ibarra <saul at ag-projects.com>  Wed, 15 Jun 2016 18:53:46 +0200
+
+janus (0.1.1+git20160614.a4a3862.1jessie) jessie; urgency=medium
+
+  * New release based on revision a4a3862
+
+ -- Saul Ibarra <saul at ag-projects.com>  Tue, 14 Jun 2016 12:49:51 +0100
+
+janus (0.1.0+git20160311.a7c5674.1jessie) jessie; urgency=medium
+
+  * New release based on revision a7c5674
+
+ -- Saul Ibarra <saul at ag-projects.com>  Fri, 11 Mar 2016 12:45:44 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a92527a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,58 @@
+Source: janus
+Section: comm
+Priority: optional
+Maintainer: Saul Ibarra Corretge <saul at ag-projects.com>
+Build-Depends: debhelper (>= 9),
+               dh-autoreconf,
+               dh-systemd,
+               autotools-dev,
+               pkg-config,
+               gengetopt,
+               doxygen,
+               graphviz,
+               libmicrohttpd-dev,
+               libjansson-dev,
+               libnice-dev,
+               libssl-dev,
+               libsrtp-dev,
+               libsofia-sip-ua-dev,
+               libglib2.0-dev,
+               libcollection-dev,
+               libwebsockets-dev (>> 1.3),
+               libsrtp-dev (>= 1.5),
+               libusrsctp-dev,
+               librabbitmq-dev
+Standards-Version: 3.9.6
+Homepage: http://janus.conf.meetecho.com
+
+Package: janus
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Open Source, general purpose, WebRTC gateway
+ designed and developed by Meetecho.
+
+Package: janus-dev
+Architecture: any
+Depends: janus (=${binary:Version}), ${misc:Depends}
+Description: Open Source, general purpose, WebRTC gateway
+ designed and developed by Meetecho.
+ .
+ This package contains headers for plugin development.
+
+Package: janus-demos
+Architecture: all
+Depends: janus, ${misc:Depends}
+Description: Open Source, general purpose, WebRTC gateway
+ designed and developed by Meetecho.
+ .
+ This package contains some demo applications.
+
+Package: janus-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Open Source, general purpose, WebRTC gateway
+ designed and developed by Meetecho.
+ .
+ This package contains documentation.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9184315
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: janus
+Source: https://github.com/meetecho/janus-gateway
+
+Files: *
+Copyright: 2014-present Meetecho
+License: GPL-3
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
+
+Files: debian/*
+Copyright: 2015 Saúl Ibarra Corretgé <saul at ag-projects.com>
+License: GPL-2+
+ This package 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 package 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 program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/janus-demos.install b/debian/janus-demos.install
new file mode 100644
index 0000000..670c95e
--- /dev/null
+++ b/debian/janus-demos.install
@@ -0,0 +1 @@
+usr/share/janus/demos
diff --git a/debian/janus-demos.lintian-overrides b/debian/janus-demos.lintian-overrides
new file mode 100644
index 0000000..f5888ca
--- /dev/null
+++ b/debian/janus-demos.lintian-overrides
@@ -0,0 +1 @@
+janus-demos: embedded-javascript-library
diff --git a/debian/janus-dev.install b/debian/janus-dev.install
new file mode 100644
index 0000000..09efd9c
--- /dev/null
+++ b/debian/janus-dev.install
@@ -0,0 +1 @@
+usr/include/janus
diff --git a/debian/janus-doc.install b/debian/janus-doc.install
new file mode 100644
index 0000000..8979b76
--- /dev/null
+++ b/debian/janus-doc.install
@@ -0,0 +1 @@
+usr/share/doc/janus-gateway
diff --git a/debian/janus-doc.lintian-overrides b/debian/janus-doc.lintian-overrides
new file mode 100644
index 0000000..01c45ae
--- /dev/null
+++ b/debian/janus-doc.lintian-overrides
@@ -0,0 +1 @@
+janus-doc: embedded-javascript-library
diff --git a/debian/janus.init b/debian/janus.init
new file mode 100644
index 0000000..f7c55f7
--- /dev/null
+++ b/debian/janus.init
@@ -0,0 +1,61 @@
+#!/bin/sh
+
+### BEGIN INIT INFO
+# Provides:          Janus
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Janus WebRTC gateway
+# Description:       Janus WebRTC gateway
+### END INIT INFO
+
+DAEMON=/usr/bin/janus
+DAEMON_NAME=janus
+
+# Add any command line options for your daemon here
+DAEMON_OPTS="-D -o"
+
+# This next line determines what user the script runs as.
+# Root generally not recommended but necessary if you are using the Raspberry Pi GPIO from Python.
+DAEMON_USER=root
+
+# The process ID of the script when it runs is stored here:
+PIDFILE=/var/run/$DAEMON_NAME.pid
+
+. /lib/lsb/init-functions
+
+do_start () {
+    log_daemon_msg "Starting system $DAEMON_NAME daemon"
+    start-stop-daemon --start --background --no-close --pidfile $PIDFILE --make-pidfile --user $DAEMON_USER --chuid $DAEMON_USER --startas $DAEMON -- $DAEMON_OPTS >> /var/log/$DAEMON_NAME.log 2>&1
+    log_end_msg $?
+}
+do_stop () {
+    log_daemon_msg "Stopping system $DAEMON_NAME daemon"
+    start-stop-daemon --stop --pidfile $PIDFILE --retry 10
+    log_end_msg $?
+}
+
+case "$1" in
+
+    start|stop)
+        do_${1}
+        ;;
+
+    restart|reload|force-reload)
+        do_stop
+        do_start
+        ;;
+
+    status)
+        status_of_proc "$DAEMON_NAME" "$DAEMON" && exit 0 || exit $?
+        ;;
+
+    *)
+        echo "Usage: /etc/init.d/$DAEMON_NAME {start|stop|restart|status}"
+        exit 1
+        ;;
+
+esac
+exit 0
+
diff --git a/debian/janus.install b/debian/janus.install
new file mode 100644
index 0000000..984ceee
--- /dev/null
+++ b/debian/janus.install
@@ -0,0 +1,7 @@
+etc/janus
+usr/bin
+usr/lib/janus/plugins/libjanus_*.so
+usr/lib/janus/plugins/libjanus_*.so.*
+usr/lib/janus/transports/libjanus_*.so
+usr/lib/janus/transports/libjanus_*.so.*
+usr/share/janus/certs
diff --git a/debian/janus.lintian-overrides b/debian/janus.lintian-overrides
new file mode 100644
index 0000000..6836841
--- /dev/null
+++ b/debian/janus.lintian-overrides
@@ -0,0 +1,2 @@
+janus: possible-gpl-code-linked-with-openssl
+janus: binary-without-manpage
diff --git a/debian/janus.service b/debian/janus.service
new file mode 100644
index 0000000..ee80d13
--- /dev/null
+++ b/debian/janus.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Janus WebRTC gateway
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/janus -o
+Restart=on-abnormal
+LimitNOFILE=65536
+
+[Install]
+WantedBy=multi-user.target
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5f2cd8d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+# output every command that modifies files on the build system.
+DH_VERBOSE = 1
+
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+
+%:
+	dh $@  --with autoreconf --with systemd
+
+override_dh_autoreconf:
+	dh_autoreconf ./autogen.sh
+
+override_dh_auto_configure:
+	dh_auto_configure -- --libdir=/usr/lib
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
new file mode 100644
index 0000000..c508429
--- /dev/null
+++ b/debian/source.lintian-overrides
@@ -0,0 +1 @@
+janus source: source-is-missing
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git



More information about the Pkg-voip-commits mailing list