[Pkg-voip-commits] r947 - in destar/trunk: . debian debian/patches

Santiago José Ruano Rincón santiago-guest at costa.debian.org
Mon Nov 7 05:15:33 UTC 2005


Author: santiago-guest
Date: 2005-11-07 05:15:32 +0000 (Mon, 07 Nov 2005)
New Revision: 947

Added:
   destar/trunk/debian/
   destar/trunk/debian/README.Debian
   destar/trunk/debian/changelog
   destar/trunk/debian/compat
   destar/trunk/debian/control
   destar/trunk/debian/copyright
   destar/trunk/debian/dirs
   destar/trunk/debian/docs
   destar/trunk/debian/init.d
   destar/trunk/debian/patches/
   destar/trunk/debian/patches/00list
   destar/trunk/debian/patches/09_http_server.dpatch
   destar/trunk/debian/patches/10_notexecutables.dpatch
   destar/trunk/debian/patches/no_medusa.dpatch
   destar/trunk/debian/postinst
   destar/trunk/debian/rules
   destar/trunk/debian/source.lintian-overrides
Log:
Load newtrunk into destar/trunk.


Added: destar/trunk/debian/README.Debian
===================================================================
--- destar/trunk/debian/README.Debian	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/README.Debian	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,12 @@
+DeStar for Debian
+-----------------
+
+Python code sits in /usr/share/destar/python
+The static site contents is at /usr/share/destar/static
+
+A wrapper script was added at /usr/sbin/destar (and the real destar was 
+renamed "destar.py") to allow invoking from everywhere. Also note that
+installing this package will currently automatically start the destar 
+daemon.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>, Fri, 29 Apr 2005 05:24:15 +0300

Added: destar/trunk/debian/changelog
===================================================================
--- destar/trunk/debian/changelog	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/changelog	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,76 @@
+destar (0.1-pre1-1) unstable; urgency=low
+
+  * 0.1-pre1 Upstream release 
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Sat,  5 Nov 2005 22:48:26 -0500
+
+destar (0.0.218-1) unstable; urgency=low
+
+  * New svn revision 
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Sat, 29 Oct 2005 01:30:27 -0500
+
+destar (0.0.217-1) unstable; urgency=low
+
+  * New svn revision 
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Fri, 28 Oct 2005 20:29:19 -0500
+
+destar (0.0.216-1) unstable; urgency=low
+
+  * New svn revision 
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Fri, 28 Oct 2005 19:09:07 -0500
+
+destar (0.0.214-1) unstable; urgency=low
+
+  * New svn revision 
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Wed, 26 Oct 2005 00:05:02 -0500
+
+destar (0.0.199-1) unstable; urgency=low
+
+  * New svn revision 
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Mon, 26 Sep 2005 22:03:49 -0500
+
+destar (0.0.198-1) unstable; urgency=low
+
+  * New svn revision 
+  * Medusa removed, now used the debian package
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Sat, 24 Sep 2005 00:58:21 -0500
+
+destar (0.0.184-2) unstable; urgency=low
+
+  * Now deppends on quixote1 (Closes: #324089)
+  * destar recommends python-pysqlite which cannot be satisfied (Closes:
+    #325167)
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Tue, 20 Sep 2005 12:14:33 -0500
+
+destar (0.0.184-1) unstable; urgency=low
+
+  * New svn revision
+  * Closes: #323943: traceback on "Logger options" and other problems
+  * Closes: #323810: init script fails to restart when destar isn't
+    running
+  * Closes: #324110: init script too verbose
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Mon, 22 Aug 2005 23:56:24 -0500
+
+destar (0.0.169-1) unstable; urgency=low
+
+  * Added quixote as a dependency. Closes: #321908
+  * destar_cfg.py copied to /etc/asterisk. Closes: #321911
+  * Destar depends on asterisk, no only recommends it. Closes: #321742
+    invalid user
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Mon,  8 Aug 2005 14:32:22 -0500
+
+destar (0.0.167-1) unstable; urgency=low
+
+  * Initial debian release, based on the Tzafrir Cohen's package, 
+    Closes: #296707
+
+ -- Santiago Ruano Rincon <santiago at unicauca.edu.co>  Thu, 28 Jul 2005 22:56:26 -0500

Added: destar/trunk/debian/compat
===================================================================
--- destar/trunk/debian/compat	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/compat	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1 @@
+4

Added: destar/trunk/debian/control
===================================================================
--- destar/trunk/debian/control	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/control	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,24 @@
+Source: destar
+Section: comm
+Priority: optional
+Maintainer: Santiago Ruano Rincon <santiago at unicauca.edu.co>
+Uploaders: Alejandro Rios P. <alejandro.rios at avatar.com.co>
+Build-Depends: debhelper (>=4.0.0), asterisk
+Build-Depends-Indep: python, dpatch
+Standards-Version: 3.6.2
+
+Package: destar
+Architecture: all
+Depends: ${python:Depends}, quixote1 (>= 1.2-1),  python-medusa, asterisk  
+Recommends: python-pysqlite2 | python-sqlite, sqlite, python-pychart
+Description: management interface for the Asterisk PBX
+ A web-based interface to manage the Asterisk BPX. It provides high-level 
+ abstraction of the Asterisk configuration.
+ .
+ DeStar runs as an independent daemon (currently listens on port 8080).
+ It supports multiple users (of multiple access levels).
+ .
+ The file is very modular, and adding your own plug-ins requires just 
+ dropping a cfg_*.py file in the main scripts directory.
+ .
+ Homepage: http://developer.berlios.de/projects/destar/

Added: destar/trunk/debian/copyright
===================================================================
--- destar/trunk/debian/copyright	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/copyright	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,29 @@
+This package was debianized by Santiago Ruano Rincon <santiago at unicauca.edu.co> on
+Thu, 28 Jul 2005 22:56:26 -0500
+based on the one maded by Tzafrir Cohen <tzafrir.cohen at xorcom.com>
+
+It was downloaded from svn://svn.berlios.de/destar
+
+Copyright: GPL
+
+Upstream Authors: Holger Schurig <holgerschurig using the domain gmx point de> and
+		  Michael Schwartz <nynymike at users point berlios point de>
+		  Michael Bielicki <cypromis at users point berlios point de>
+		  Alejandro Ríos Peña <alejandro.rios at avatar point com point co>
+		  Diego Andrés Asenjo González <dasenjo at avatar point com point co>
+		  Tzafrir Cohen <tzafrir.cohen at xorcom point com>
+		  Santiago Ruano Rincón <santiago at unicauca point edu point co>
+
+
+License:
+
+This package may be redistributed under the terms of the GNU GPL, version 
+2.0, found on Debian systems in the file /usr/share/common-licenses/GPL
+
+There are some exceptions:
+
+* destar_cfg.py: this is a *DATA* file, althought it looks like source-code
+* part of the code in the medusa subdirectory 
+* those cfg_*.py files that bear another name on top of their copyright notice 
+  have a different author. All of them are still distibuted under the terms
+  of the GPL as stated aboce, though.

Added: destar/trunk/debian/dirs
===================================================================
--- destar/trunk/debian/dirs	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/dirs	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,4 @@
+etc/asterisk
+usr/sbin
+var/log/destar
+var/run/destar

Added: destar/trunk/debian/docs
===================================================================
--- destar/trunk/debian/docs	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/docs	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,7 @@
+BACKEND.txt
+COPYRIGHT.txt
+FRONTEND.txt
+GPL-2.txt
+README.txt
+TIPS.txt
+TODO.txt

Added: destar/trunk/debian/init.d
===================================================================
--- destar/trunk/debian/init.d	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/init.d	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,48 @@
+#! /bin/sh
+# Starts and stops the Destar, Asterisk Web GUI
+
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/destar
+NAME=destar
+DESC="Asterisk Web GUI DeStar"
+PIDFILE=/var/run/$NAME/$NAME.pid
+DAEMON_OPTS="--daemonize --pid=$PIDFILE"
+
+test -x $DAEMON || exit 0
+
+# Include destar defaults if available
+if [ -f /etc/default/destar ] ; then
+	. /etc/default/destar
+fi
+
+set -e
+
+case "$1" in
+  start)
+	echo -n "Starting $DESC: "
+	start-stop-daemon --start --quiet --pidfile $PIDFILE \
+		--chuid asterisk --exec $DAEMON -- $DAEMON_OPTS >/dev/null 
+	echo "$NAME."
+	;;
+  stop)
+	echo -n "Stopping $DESC: "
+	start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE >/dev/null
+	echo "$NAME."
+	;;
+  restart|force-reload)
+	echo -n "Restarting $DESC: "
+	start-stop-daemon --stop --oknodo --quiet --pidfile $PIDFILE >/dev/null
+	sleep 1
+	start-stop-daemon --start --quiet --pidfile $PIDFILE \
+          	--chuid asterisk --exec $DAEMON -- $DAEMON_OPTS >/dev/null 
+	echo "$NAME."
+	;;
+  *)
+	N=/etc/init.d/$NAME
+	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0

Added: destar/trunk/debian/patches/00list
===================================================================
--- destar/trunk/debian/patches/00list	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/patches/00list	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,3 @@
+09_http_server.dpatch
+10_notexecutables.dpatch
+no_medusa.dpatch

Added: destar/trunk/debian/patches/09_http_server.dpatch
===================================================================
--- destar/trunk/debian/patches/09_http_server.dpatch	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/patches/09_http_server.dpatch	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,16 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 09_http_server.dpatch by Santiago Ruano Rincón <santiago at unicauca.edu.co>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad destar-0.0.167/medusa/http_server.py /tmp/dpep.VFWDMa/destar-0.0.167/medusa/http_server.py
+--- destar-0.0.167/medusa/http_server.py	2004-08-17 08:47:38.000000000 -0500
++++ /tmp/dpep.VFWDMa/destar-0.0.167/medusa/http_server.py	2005-07-29 00:16:48.000000000 -0500
+@@ -1,4 +1,4 @@
+-#! /usr/local/bin/python
++#! /usr/bin/env python
+ # -*- Mode: Python -*-
+ #
+ #       Author: Sam Rushing <rushing at nightmare.com>


Property changes on: destar/trunk/debian/patches/09_http_server.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: destar/trunk/debian/patches/10_notexecutables.dpatch
===================================================================
--- destar/trunk/debian/patches/10_notexecutables.dpatch	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/patches/10_notexecutables.dpatch	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_notexecutables.dpatch by Santiago Ruano Rincón <santiago at unicauca.edu.co>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad destar-0.0.169/Makefile /tmp/dpep.Gu0egT/destar-0.0.169/Makefile
+--- destar-0.0.169/Makefile	2005-08-08 14:58:37.000000000 -0500
++++ /tmp/dpep.Gu0egT/destar-0.0.169/Makefile	2005-08-08 15:01:12.000000000 -0500
+@@ -32,11 +32,14 @@
+ 	install -d $(PYDIR)
+ 	#cp -a *.py *.ptl misc medusa $(PYDIR)
+ 	install -m 644 *.py *.ptl $(PYDIR)/
++	install -m 755 Server.py $(PYDIR)/
+ 	install -d $(PYDIR)/misc
+ 	install -m 644 misc/*.py $(PYDIR)/misc/
+ ifneq ($(SYS_MEDUSA),1)
+ 	install -d $(PYDIR)/medusa
+-	install medusa/*.py $(PYDIR)/medusa/
++	install -m 644 medusa/*.py $(PYDIR)/medusa/
++	install -m 755 medusa/http_server.py $(PYDIR)/medusa/
++
+ endif
+ 	install -m 755 destar $(PYDIR)/destar.py
+ 	install -d $(PAGES_DIR)
+


Property changes on: destar/trunk/debian/patches/10_notexecutables.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: destar/trunk/debian/patches/no_medusa.dpatch
===================================================================
--- destar/trunk/debian/patches/no_medusa.dpatch	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/patches/no_medusa.dpatch	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## no_medusa.dpatch by Santiago Ruano Rincon <santiago at unicauca.edu.co>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad destar-0.0.184/Makefile /tmp/dpep.UOPwWZ/destar-0.0.184/Makefile
+--- destar-0.0.184/Makefile	2005-08-04 13:59:23.000000000 -0500
++++ /tmp/dpep.UOPwWZ/destar-0.0.184/Makefile	2005-08-30 17:07:52.000000000 -0500
+@@ -6,7 +6,7 @@
+ MANDIR=$(DESTDIR)/usr/share/man/man8
+ 
+ # set SYS_MEDUSA to 1 to use system copy of medusa
+-SYS_MEDUSA=0
++SYS_MEDUSA=1
+ 
+ clean:
+ 	find -name "*.pyc" -o \


Property changes on: destar/trunk/debian/patches/no_medusa.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: destar/trunk/debian/postinst
===================================================================
--- destar/trunk/debian/postinst	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/postinst	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,44 @@
+#! /bin/sh
+# postinst script for destar
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+
+case "$1" in
+    configure)
+        # here we should create the destar user and chown 
+        # /var/{log,run}/destar to it.
+        chown asterisk /var/run/destar/
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Added: destar/trunk/debian/rules
===================================================================
--- destar/trunk/debian/rules	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/rules	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+ASTERISK_CFG_DIR=/etc/asterisk
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+build: build-stamp
+
+build-stamp: patch-stamp
+	dh_testdir
+
+	touch build-stamp
+
+clean: clean-patched unpatch
+clean-patched:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	-$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/destar
+	install -m 644 -o asterisk -g asterisk destar_cfg.py $(CURDIR)/debian/destar/$(ASTERISK_CFG_DIR)/
+
+binary-indep: build install
+
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs CHANGELOG.txt
+	dh_installdocs
+	dh_installexamples
+	dh_installinit
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_python
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep 
+.PHONY: build clean binary-indep binary install configure patch unpatch


Property changes on: destar/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: destar/trunk/debian/source.lintian-overrides
===================================================================
--- destar/trunk/debian/source.lintian-overrides	2005-11-07 05:14:24 UTC (rev 946)
+++ destar/trunk/debian/source.lintian-overrides	2005-11-07 05:15:32 UTC (rev 947)
@@ -0,0 +1 @@
+destar source: build-depends-without-arch-dep




More information about the Pkg-voip-commits mailing list