[Pkg-voip-commits] r3332 - in asterisk-gui/trunk: . debian
debian/patches
Tzafrir Cohen
tzafrir-guest at alioth.debian.org
Sat Mar 24 22:40:57 CET 2007
Author: tzafrir-guest
Date: 2007-03-24 21:40:56 +0000 (Sat, 24 Mar 2007)
New Revision: 3332
Added:
asterisk-gui/trunk/debian/
asterisk-gui/trunk/debian/README.Debian
asterisk-gui/trunk/debian/changelog
asterisk-gui/trunk/debian/compat
asterisk-gui/trunk/debian/control
asterisk-gui/trunk/debian/copyright
asterisk-gui/trunk/debian/docs
asterisk-gui/trunk/debian/examples
asterisk-gui/trunk/debian/patches/
asterisk-gui/trunk/debian/patches/00list
asterisk-gui/trunk/debian/patches/no_zapscan.dpatch
asterisk-gui/trunk/debian/rules
Log:
[svn-inject] Applying Debian modifications to trunk
Property changes on: asterisk-gui/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
+ 1
Added: asterisk-gui/trunk/debian/README.Debian
===================================================================
--- asterisk-gui/trunk/debian/README.Debian 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/README.Debian 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1,33 @@
+Possible issues:
+* if the package is "modified", we may need alternative graphics.
+* zapscan is removed. Possible replacements:
+ - genzaptelconf -z (not yet in the current zaptel package).
+ - Add some switch to ztcfg to allow obtaining the relevant information.
+ - In the long-run: proper sysfs support, to expose such information to
+ lszaptel and co.
+
+Installation:
+
+1) In /etc/asterisk/http.conf:
+
+ [general]
+ enabled = yes
+ enablestatic = yes
+
+2) In /etc/asterik/manager.conf
+
+ [general]
+ enabled = yes
+ webenabled = yes
+
+By default the manager in Debian listens on the loopback interface
+(localhost) alone, and thus the web interface will listen on port 8088 of
+localhost as well.
+
+Reload the asterisk configuration:
+
+ /etc/init.d/asterisk reload
+
+You should now see port 8088 on 'netstat -lntp' .
+
+To login: http://localhost:8088/asterisk/config
Added: asterisk-gui/trunk/debian/changelog
===================================================================
--- asterisk-gui/trunk/debian/changelog 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/changelog 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1,5 @@
+asterisk-gui (0.0.svn481-1) experimental; urgency=low
+
+ * Initial release from digium SVN.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com> Sat, 24 Mar 2007 21:14:11 +0200
Added: asterisk-gui/trunk/debian/compat
===================================================================
--- asterisk-gui/trunk/debian/compat 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/compat 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1 @@
+5
Added: asterisk-gui/trunk/debian/control
===================================================================
--- asterisk-gui/trunk/debian/control 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/control 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1,17 @@
+Source: asterisk-gui
+Section: comm
+Priority: optional
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+Build-Depends: cdbs, debhelper
+Standards-Version: 3.7.2
+
+Package: asterisk-gui
+Architecture: all
+Depends: asterisk (>= 1.4.0~0)
+Description: web-based user interface for Asterisk 1.4
+ Asterisk 1.4 comes with a built-in http server and support for "AJAM":
+ Asynchronous Javascript Asterisk Manger (AJAX-base manager interface).
+ .
+ This package includes static HTML, javascript and extra configurations
+ to make a working user interface through that support.
Added: asterisk-gui/trunk/debian/copyright
===================================================================
--- asterisk-gui/trunk/debian/copyright 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/copyright 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1,81 @@
+This package was debianized by Tzafrir Cohen <tzafrir.cohen at xorcom.com> on
+Sat, 24 Mar 2007.
+
+It was downloaded from the subversion reposiory at
+http://svn.digium.com/svn/asterisk-gui/trunk
+
+Upstream Author:
+
+Copyright: 2006 Digium, Inc.
+
+License:
+
+ 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, version 2 only. This
+ software is also available under commercial terms from Digium, Inc.
+
+ 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 program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
+The Debian packaging is (C) 2007, Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+and is licensed under the GPL, see above.
+
+
+
+Follows test from the file LICENSE in the source distribution:
+
+Software License
+================
+Asterisk-GUI HTML and Javascript files, like Asterisk, are distributed under the
+GNU General Public License version 2. Dual licensing is available through
+Digium as well.
+
+Use of Graphics and Logos
+=========================
+The images and logos included with Asterisk-GUI may only be distributed with
+unmodified versions of the toolkit and may not be used in any derivative works
+without special written permission from Digium.
+
+License of other code used in Asterisk-GUI
+==========================================
+Asterisk-GUI uses two components (prototype.js and rico.js) which come with
+their own licenses, specifically:
+
+prototype.js:
+
+/* Prototype JavaScript framework, version 1.4.0
+ * (c) 2005 Sam Stephenson <sam at conio.net>
+ *
+ * Prototype is freely distributable under the terms of an MIT-style license.
+ * For details, see the Prototype web site: http://prototype.conio.net/
+ *
+/*--------------------------------------------------------------------------*/
+
+
+rico.js:
+
+/**
+ *
+ * Copyright 2005 Sabre Airline Solutions
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
+ * file except in compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software distributed under the
+ * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
+ * either express or implied. See the License for the specific language governing permissions
+ * and limitations under the License.
+ **/
Added: asterisk-gui/trunk/debian/docs
===================================================================
--- asterisk-gui/trunk/debian/docs 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/docs 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1,2 @@
+README
+security.txt
Added: asterisk-gui/trunk/debian/examples
===================================================================
--- asterisk-gui/trunk/debian/examples 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/examples 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1 @@
+configs/*.conf.sample
Added: asterisk-gui/trunk/debian/patches/00list
===================================================================
--- asterisk-gui/trunk/debian/patches/00list 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/patches/00list 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1 @@
+no_zapscan
Added: asterisk-gui/trunk/debian/patches/no_zapscan.dpatch
===================================================================
--- asterisk-gui/trunk/debian/patches/no_zapscan.dpatch 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/patches/no_zapscan.dpatch 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## no_zapscan.dpatch by <tzafrir at localhost>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: tools/zapscan.bin is the only arch-independent component in the
+## DP: asterisk-gui. There are better ways of scanning for zaptel channels
+## DP: than using it. So let' keep this package arch-independent.
+
+ at DPATCH@
+diff -urNad asterisk-gui-0.0.svn481~/Makefile asterisk-gui-0.0.svn481/Makefile
+--- asterisk-gui-0.0.svn481~/Makefile 2006-12-29 20:19:26.000000000 +0200
++++ asterisk-gui-0.0.svn481/Makefile 2007-03-24 22:02:08.000000000 +0200
+@@ -97,7 +97,7 @@
+ HTTPURL:=http://$(HTTPHOST):$(HTTPBINDPORT)/$(HTTPPREFIX)/static/config/cfgbasic.html
+ HTTPSETUPURL:=http://$(HTTPHOST):$(HTTPBINDPORT)/$(HTTPPREFIX)/static/config/setup/install.html
+
+-SUBDIRS:=tools
++SUBDIRS:=
+ SUBDIRS_CLEAN:=$(SUBDIRS:%=%-clean)
+ SUBDIRS_INSTALL:=$(SUBDIRS:%=%-install)
+
Property changes on: asterisk-gui/trunk/debian/patches/no_zapscan.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: asterisk-gui/trunk/debian/rules
===================================================================
--- asterisk-gui/trunk/debian/rules 2007-03-24 21:37:26 UTC (rev 3331)
+++ asterisk-gui/trunk/debian/rules 2007-03-24 21:40:56 UTC (rev 3332)
@@ -0,0 +1,46 @@
+#!/usr/bin/make -f
+
+PACKAGE:=asterisk-gui
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
+SVN_REV:=$(shell echo $(UPVERSION) | sed -e 's/^.*svn//')
+SVN_URL:=http://svn.digium.com/svn/asterisk-gui/trunk
+DIR_NAME:=$(PACKAGE)-$(UPVERSION)
+TARBALL:=$(PACKAGE)_$(UPVERSION).orig.tar.gz
+
+
+-include /usr/share/cdbs/1/class/autotools.mk
+-include /usr/share/cdbs/1/rules/debhelper.mk
+-include /usr/share/cdbs/1/rules/dpatch.mk
+
+# The makefile tries to guess this from the currently-installed files under
+# /etc/asterisk . Even if we have asterisk installed, those files may be
+# non-readable to the current user.
+#
+# Furthermore, the makefile fails to separate the datadir from the /var/lib
+# dir. In Debian the data resides under /usr/share/asterisk .
+DEB_MAKE_INVOKE += \
+ ASTETCDIR='$$(DESTDIR)'/etc/asterisk \
+ ASTVARLIBDIR='$$(DESTDIR)'/usr/share/asterisk \
+ ASTSBINDIR='$$(DESTDIR)'/usr/sbin \
+ HTTPHOST=localhost \
+ HTTPBINDPORT=8088 \
+ HTTPPREFIX=asterisk \
+
+print-version:
+ @echo "Debian version: $(DEBVERSION)"
+ @echo "Upstream version: $(UPVERSION)"
+ @echo "Subversion revision: $(SVN_REV)"
+
+TARBALL_DIR=../tarballs/zaptel-$(UPVERSION).tmp
+get-orig-source:
+ @dh_testdir
+ @[ -d $(TARBALL_DIR) ]||mkdir -p $(TARBALL_DIR)
+ @rm -rf $(TARBALL_DIR)/$(DIR_NAME)
+
+ @echo "Exporting rev. $(SVN_REV) to $(TARBALL_DIR)/$(DIR_NAME)"
+ @svn export -q -r $(SVN_REV) $(SVN_URL) $(TARBALL_DIR)/$(DIR_NAME)
+ @tar czf ../tarballs/$(TARBALL) -C $(TARBALL_DIR) $(DIR_NAME)
+ @echo "Cleaning up..."
+ @rm -rf $(TARBALL_DIR)
Property changes on: asterisk-gui/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-voip-commits
mailing list