debian/0000755000000000000000000000000012155045217007170 5ustar debian/conf/0000755000000000000000000000000012112207531010105 5ustar debian/conf/apache.conf0000644000000000000000000000020112112207531012166 0ustar Alias /sipml5-web-phone /usr/share/sipml5-web-phone Options -Indexes debian/patches/0000755000000000000000000000000012112216261010607 5ustar debian/patches/0001-Remove-privacy-violating-JavaScript.patch0000644000000000000000000000202012112216261021146 0ustar From: Daniel Pocock Date: Sat, 23 Feb 2013 20:46:39 +0100 Subject: Remove privacy violating JavaScript --- call.htm | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/call.htm b/call.htm index 38ed286..fe5686d 100644 --- a/call.htm +++ b/call.htm @@ -1160,18 +1160,5 @@ --> - - - - - debian/patches/series0000644000000000000000000000005712112216261012026 0ustar 0001-Remove-privacy-violating-JavaScript.patch debian/po/0000755000000000000000000000000012112224401007571 5ustar debian/po/POTFILES.in0000644000000000000000000000006512112224400011346 0ustar [type: gettext/rfc822deb] sipml5-web-phone.templates debian/po/templates.pot0000644000000000000000000000251712112224401012320 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: sipml5\n" "Report-Msgid-Bugs-To: sipml5@packages.debian.org\n" "POT-Creation-Date: 2013-02-23 21:39+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../sipml5-web-phone.templates:1001 msgid "Automatically configure apache2?" msgstr "" #. Type: boolean #. Description #: ../sipml5-web-phone.templates:1001 msgid "" "The package will be unavailable until a web server is configured. Automatic " "configuration can be performed for the Apache 2 web server." msgstr "" #. Type: boolean #. Description #: ../sipml5-web-phone.templates:2001 msgid "Reload apache2 configuration?" msgstr "" #. Type: boolean #. Description #: ../sipml5-web-phone.templates:2001 msgid "" "In order to activate the new configuration, the web server needs to reload " "its configuration. If you choose not to do this automatically, you should do " "so manually at the first opportunity." msgstr "" debian/source/0000755000000000000000000000000012112215644010464 5ustar debian/source/format0000644000000000000000000000001412112215644011672 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212112175071010361 0ustar 9 debian/control0000644000000000000000000000405112112224417010565 0ustar Source: sipml5 Section: web Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Daniel Pocock Build-Depends: debhelper (>= 9), yui-compressor, jsdoc-toolkit, po-debconf Standards-Version: 3.9.3 Homepage: http://sipml5.org Vcs-Browser: http://git.debian.org/?p=pkg-javascript/sipml5.git Vcs-Git: git://git.debian.org/git/pkg-javascript/sipml5.git Package: libjs-sipml5 Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Recommends: javascript-common Description: JavaScript implementation of a WebRTC SIP video phone HTML5 SIP client entirely written in JavaScript for integration in any web site, incude a blog, CMS or web application. Requires a modern WebRTC capable web browser and a SIP server/proxy supporting the SIP over WebSockets transport. . This package provides the JavaScript library for use in web sites or for other packages that require it. Package: libjs-sipml5-doc Architecture: all Multi-Arch: foreign Depends: ${misc:Depends} Recommends: libjs-sipml5 Description: JavaScript implementation of a WebRTC SIP video phone - API docs HTML5 SIP client entirely written in JavaScript for integration in any web site, incude a blog, CMS or web application. Requires a modern WebRTC capable web browser and a SIP server/proxy supporting the SIP over WebSockets transport. . This package provides the API documentation for the JavaScript library. Package: sipml5-web-phone Architecture: all Multi-Arch: foreign Depends: ${misc:Depends}, libjs-sipml5, libjs-jquery, apache2 | lighttpd | httpd Recommends: repro, resiprocate-turn-server Description: Basic SIP video-phone web page based on WebRTC HTML5 SIP client entirely written in JavaScript for integration in any web site, incude a blog, CMS or web application. Requires a modern WebRTC capable web browser and a SIP server/proxy supporting the SIP over WebSockets transport. . This package provides a basic HTML implementation of a phone that can be published through a web server such as Apache. debian/copyright0000644000000000000000000000704412112232122011112 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: sipml5 Source: http://sipml5.org/ Files: * Copyright: 2012-2013, Doubango Telecom License: GPL-3 Files: assets/js/* Copyright: 2012, Twitter, Inc License: Apache-2.0 Files: assets/js/jquery.js Copyright: 2012, The Dojo Foundation License: GPL-2 or MIT, and BSD Files: debian/* Copyright: 2013, Daniel Pocock License: GPL-3 Files: src/tinySAK/src/tsk_md5.js Copyright: 1999-2002, Paul Johnston License: BSD Files: docs/js2doxy.pl Copyright: 1999-2006, Joerg Schaible License: Apache-2.0 License: GPL-3 The full text of the GPL-3 license can be found in /usr/share/common-licenses/GPL-3 on your Debian GNU/Linux system License: GPL-2 The full text of the GPL-2 license can be found in /usr/share/common-licenses/GPL-2 on your Debian GNU/Linux system License: Apache-2.0 The full text of the Apache-2.0 license can be found in /usr/share/common-licenses/Apache-2.0 on your Debian GNU/Linux system License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: MIT Copyright (c) 2011 John Resig, http://jquery.com/ . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/libjs-sipml5-doc.docs0000644000000000000000000000001112112220456013100 0ustar docgen/* debian/libjs-sipml5.README.Debian0000644000000000000000000000360612112237570013545 0ustar Due to issues with the upstream release scripts (containing non-free/ pre-compiled tools/artifacts), this package is built from a repackaged upstream tarball. The repackaged upstream tarball is tracked in github: https://github.com/opentelecoms-org/sipml5 The package libjs-sipml5 provide a JavaScript library for use in web sites that want to offer WebRTC audio/video calling capabilities or any other interactive service based on SIP over WebSockets as well. The related sipml5-web-phone package demonstrates how to use this library. The library could be integrated into almost any web application, include a static web site, a CMS or a Java web application. It doesn't just work with any SIP server/proxy: it requires a SIP proxy that supports the SIP over WebSockets transport. This is currently under development in most leading SIP proxies, for example, see the b-webrtc branch of reSIProcate/repro: http://www.resiprocate.org/WebRTC_and_SIP_Over_WebSockets These implementations may not be available in official Debian packages just yet, but they can be easily built from source on a Debian system. Furthermore, users accessing the site require a WebRTC capable browser: Firefox nightly build http://nightly.mozilla.org/ Chrome 25 or later https://www.google.com/intl/en/chrome/browser/beta.html WebRTC requires a TURN server. There are two TURN servers available in Debian: reTurn from reSIProcate: http://packages.debian.org/wheezy/resiprocate-turn-server Open TurnServer.org: http://packages.debian.org/sid/turnserver Finally, the WebRTC browser/phone may insist on some of the following: SRTP: any device you call must also support SRTP AVPF (SAVPF): many standard SIP devices just support regular AVP. Codecs: Opus and G.711 are the core codecs for WebRTC. Your browser may support others. Most deskphones support G.711, but not Opus. debian/libjs-sipml5.install0000644000000000000000000000006212112216657013071 0ustar release/SIPml-api.js /usr/share/javascript/sipml5 debian/rules0000755000000000000000000000071612112220577010251 0ustar #!/usr/bin/make -f # We use the Debian packaged jquery, a symlink is created # using debian/simpleid.links DEB_DH_ALWAYS_EXCLUDE = assets/js/jquery.js #DEB_INSTALL_CHANGELOGS_ALL = ChangeLog %: dh $@ override_dh_auto_configure: override_dh_auto_build: ./release.sh mv release/call.htm release/index.html ./docgen.sh rm docgen/index.html override_dh_auto_clean: rm -rf release/ dh_clean override_dh_clean: rm -rf release/ dh_clean .PHONY: build debian/sipml5-web-phone.README.Debian0000644000000000000000000000315012112237603014315 0ustar Due to issues with the upstream release scripts (containing non-free/ pre-compiled tools/artifacts), this package is built from a repackaged upstream tarball. The repackaged upstream tarball is tracked in github: https://github.com/opentelecoms-org/sipml5 The package sipml5-web-phone provide a very basic demonstration of how to integrate the JavaScript from a HTML web site. It doesn't just work with any SIP server/proxy: it requires a SIP proxy that supports the SIP over WebSockets transport. This is currently under development in most leading SIP proxies, for example, see the b-webrtc branch of reSIProcate/repro: http://www.resiprocate.org/WebRTC_and_SIP_Over_WebSockets These implementations may not be available in official Debian packages just yet, but they can be easily built from source on a Debian system. Furthermore, users accessing the site require a WebRTC capable browser: Firefox nightly build http://nightly.mozilla.org/ Chrome 25 or later https://www.google.com/intl/en/chrome/browser/beta.html WebRTC requires a TURN server. There are two TURN servers available in Debian: reTurn from reSIProcate: http://packages.debian.org/wheezy/resiprocate-turn-server Open TurnServer.org: http://packages.debian.org/sid/turnserver Finally, the WebRTC browser/phone may insist on some of the following: SRTP: any device you call must also support SRTP AVPF (SAVPF): many standard SIP devices just support regular AVP. Codecs: Opus and G.711 are the core codecs for WebRTC. Your browser may support others. Most deskphones support G.711, but not Opus. debian/sipml5-web-phone.config0000644000000000000000000000054012112213615013441 0ustar #!/bin/bash set -e action=$1 version=$2 # Source debconf library. . /usr/share/debconf/confmodule db_version 2.0 || [ 0 -lt 30 ] db_input medium sipml5-web-phone/webserver || true db_go db_reset sipml5-web-phone/reload || true db_subst sipml5-web-phone/reload webserver "$webserver" db_input high sipml5-web-phone/reload || true db_go debian/sipml5-web-phone.install0000644000000000000000000000047312112214716013652 0ustar release/index.html usr/share/sipml5-web-phone/ release/expert.htm usr/share/sipml5-web-phone/ release/error.htm usr/share/sipml5-web-phone/ release/assets usr/share/sipml5-web-phone/ release/images usr/share/sipml5-web-phone/ release/sounds usr/share/sipml5-web-phone/ debian/conf/apache.conf /etc/sipml5-web-phone debian/sipml5-web-phone.links0000644000000000000000000000025412112223145013315 0ustar /usr/share/javascript/sipml5/SIPml-api.js usr/share/sipml5-web-phone/SIPml-api.js /usr/share/javascript/jquery/jquery.min.js usr/share/sipml5-web-phone/assets/js/jquery.js debian/sipml5-web-phone.templates0000644000000000000000000000104712112224163014175 0ustar Template: sipml5-web-phone/webserver Type: boolean Default: true _Description: Automatically configure apache2? The package will be unavailable until a web server is configured. Automatic configuration can be performed for the Apache 2 web server. Template: sipml5-web-phone/reload Type: boolean Default: true _Description: Reload apache2 configuration? In order to activate the new configuration, the web server needs to reload its configuration. If you choose not to do this automatically, you should do so manually at the first opportunity. debian/sipml5-web-phone.postinst0000644000000000000000000000234512155043216014071 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule db_version 2.0 || [ $? -lt 30 ] if [ "$1" = "configure" ]; then db_get sipml5-web-phone/webserver autoconfigure="$RET" webserver="apache2" if [ "$autoconfigure" = true ]; then test -x /usr/sbin/$webserver || continue # Auto-configure module dependencies if [ -d /etc/$webserver/conf.d -a ! -f /etc/$webserver/conf.d/sipml5-web-phone -a ! -h /etc/$webserver/conf.d/sipml5-web-phone ]; then ln -s /etc/sipml5-web-phone/apache.conf /etc/$webserver/conf.d/sipml5-web-phone fi # Apache 2.4 uses conf-available instead of conf.d: if [ -d /etc/$webserver/conf-available -a ! -f /etc/$webserver/conf-available/sipml5-web-phone -a ! -h /etc/$webserver/conf-available/sipml5-web-phone ]; then ln -s /etc/sipml5-web-phone/apache.conf /etc/$webserver/conf-available/sipml5-web-phone fi # Restart apache2 if requested db_get sipml5-web-phone/reload if [ "$RET" = "true" ]; then if [ -x /usr/sbin/invoke-rc.d ]; then invoke-rc.d $webserver reload else /etc/init.d/$webserver reload fi fi fi fi #DEBHELPER# debian/sipml5-web-phone.postrm0000644000000000000000000000214712155043272013534 0ustar #! /bin/sh set -e . /usr/share/debconf/confmodule db_version 2.0 || [ $? -lt 30 ] if [ "$1" = "purge" ]; then db_get sipml5-web-phone/webserver || true if [ "$RET" = "true" ]; then webserver="apache2" if [ -h /etc/$webserver/conf.d/sipml5-web-phone ]; then rm -f /etc/$webserver/conf.d/sipml5-web-phone fi if [ -h /etc/$webserver/conf-available/sipml5-web-phone ]; then rm -f /etc/$webserver/conf-available/sipml5-web-phone fi if [ -x /usr/sbin/$webserver ]; then db_reset sipml5-web-phone/reload db_input high sipml5-web-phone/reload || true db_go # Restart apache2 if requested db_get sipml5-web-phone/reload if [ "$RET" = "true" ]; then if [ -x /usr/sbin/invoke-rc.d ]; then invoke-rc.d $webserver reload else /etc/init.d/$webserver reload fi fi fi fi rmdir --ignore-fail-on-non-empty /etc/sipml5-web-phone || true db_purge fi #DEBHELPER# debian/changelog0000644000000000000000000000053412155043450011041 0ustar sipml5 (0.0.20130314.2030-2) unstable; urgency=low * Update for use with Apache 2.4 (Closes: #711175) -- Daniel Pocock Sun, 09 Jun 2013 11:12:07 +0200 sipml5 (0.0.20130314.2030-1) unstable; urgency=low * Initial packaging (Closes: #701502) -- Daniel Pocock Thu, 14 Mar 2013 20:32:05 +0100