[Pkg-voip-commits] r4537 - in /destar/branches/experimental/debian: changelog control dirs patches/00list patches/queuedb.dpatch postinst rules
alerios-guest at alioth.debian.org
alerios-guest at alioth.debian.org
Thu Sep 20 16:40:47 UTC 2007
Author: alerios-guest
Date: Thu Sep 20 16:40:47 2007
New Revision: 4537
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4537
Log:
* Added queuedb.dpatch: Copy queue.db file on debian/postinst and not Makefile.
Added:
destar/branches/experimental/debian/patches/queuedb.dpatch (with props)
Modified:
destar/branches/experimental/debian/changelog
destar/branches/experimental/debian/control
destar/branches/experimental/debian/dirs
destar/branches/experimental/debian/patches/00list
destar/branches/experimental/debian/postinst
destar/branches/experimental/debian/rules
Modified: destar/branches/experimental/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/changelog?rev=4537&op=diff
==============================================================================
--- destar/branches/experimental/debian/changelog (original)
+++ destar/branches/experimental/debian/changelog Thu Sep 20 16:40:47 2007
@@ -3,6 +3,9 @@
* NOT RELEASED YET
* Started packaging of upstream svn snapshots.
* Fixed typo in Spanish debconf translation.
+ * Added queuedb.dpatch: Copy queue.db file on debian/postinst and not
+ Makefile.
+ * Changed dependency from python-quixote1 to python-quixote.
-- Alejandro Rios P. <alejandro.rios at avatar.com.co> Wed, 19 Sep 2007 15:16:22 -0500
Modified: destar/branches/experimental/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/control?rev=4537&op=diff
==============================================================================
--- destar/branches/experimental/debian/control (original)
+++ destar/branches/experimental/debian/control Thu Sep 20 16:40:47 2007
@@ -6,12 +6,12 @@
Build-Depends: debhelper (>= 5.0.37.2), dpatch, po-debconf
Build-Depends-Indep: python
Standards-Version: 3.7.2
-XS-Vcs-Svn: svn://svn.debian.org/pkg-voip/destar/trunk/
+XS-Vcs-Svn: svn://svn.debian.org/pkg-voip/destar/branches/experimental
XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/destar/?op=log
Package: destar
Architecture: all
-Depends: python, ${python:Depends}, python-quixote1, python-medusa, asterisk (>= 1.2.13), python-pysqlite2, sqlite3, python-pychart, debconf
+Depends: python, ${python:Depends}, python-quixote, python-medusa, asterisk (>= 1.2.13), python-pysqlite2, sqlite3, python-pychart, debconf
Recommends: op-panel
Conflicts: freepbx
XB-Python-Version: ${python:Versions}
Modified: destar/branches/experimental/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/dirs?rev=4537&op=diff
==============================================================================
--- destar/branches/experimental/debian/dirs (original)
+++ destar/branches/experimental/debian/dirs Thu Sep 20 16:40:47 2007
@@ -2,4 +2,3 @@
usr/sbin
var/log/destar
var/run/destar
-var/log/asterisk
Modified: destar/branches/experimental/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/patches/00list?rev=4537&op=diff
==============================================================================
--- destar/branches/experimental/debian/patches/00list (original)
+++ destar/branches/experimental/debian/patches/00list Thu Sep 20 16:40:47 2007
@@ -3,3 +3,4 @@
manager.dpatch
example.dpatch
zaptel.dpatch
+queuedb.dpatch
Added: destar/branches/experimental/debian/patches/queuedb.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/patches/queuedb.dpatch?rev=4537&op=file
==============================================================================
--- destar/branches/experimental/debian/patches/queuedb.dpatch (added)
+++ destar/branches/experimental/debian/patches/queuedb.dpatch Thu Sep 20 16:40:47 2007
@@ -1,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## queuedb.dpatch by Alejandro Rios P. <alejandro.rios at avatar.com.co>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Copy queue.db file on debian/postinst and not Makefile
+
+ at DPATCH@
+diff -urNad destar-0.2.2.svn811~/Makefile destar-0.2.2.svn811/Makefile
+--- destar-0.2.2.svn811~/Makefile 2007-09-20 11:24:32.000000000 -0500
++++ destar-0.2.2.svn811/Makefile 2007-09-20 11:30:27.000000000 -0500
+@@ -69,9 +69,9 @@
+ install -d $(MANDIR)
+ gzip -9 <misc/destar.8 >$(MANDIR)/destar.8.gz
+ chmod 0644 $(MANDIR)/destar.8.gz
+-ifneq ($(shell [ -a $(LOGDIR)/queue.db ] && echo 1),1)
+- install -m 754 queue.db $(LOGDIR)/
+-endif
++#ifneq ($(shell [ -a $(LOGDIR)/queue.db ] && echo 1),1)
++# install -m 754 queue.db $(LOGDIR)/
++#endif
+
+ test:
+ ./tests.py
Propchange: destar/branches/experimental/debian/patches/queuedb.dpatch
------------------------------------------------------------------------------
svn:executable = *
Modified: destar/branches/experimental/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/postinst?rev=4537&op=diff
==============================================================================
--- destar/branches/experimental/debian/postinst (original)
+++ destar/branches/experimental/debian/postinst Thu Sep 20 16:40:47 2007
@@ -37,6 +37,11 @@
touch /etc/op-panel/destar/op_astdb.cfg
touch /etc/op-panel/destar/op_style.cfg
chown -R asterisk:asterisk /etc/op-panel/destar/
+
+ if ! [ -a /var/log/asterisk/queue.db ]; then
+ cp -ba /usr/share/doc/destar/queue.db /var/log/asterisk/queue.db
+ chown -R asterisk: /var/log/asterisk/queue.db
+ fi
# Alternative configuration for op-panel: destar, priority 70
update-alternatives --install \
Modified: destar/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/rules?rev=4537&op=diff
==============================================================================
--- destar/branches/experimental/debian/rules (original)
+++ destar/branches/experimental/debian/rules Thu Sep 20 16:40:47 2007
@@ -75,7 +75,7 @@
get-orig-source:
@@dh_testdir
@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
- @@echo Creating tarball destar from $(SVN) revision $(SVNREV) ...
+ @@echo Creating tarball from $(SVN) revision $(SVNREV) ...
@@svn export -r$(SVNREV) $(SVN) destar-$(VER).svn$(SVNREV)
@@tar czf ../tarballs/destar_$(VER).svn$(SVNREV).orig.tar.gz \
destar-$(VER).svn$(SVNREV)
More information about the Pkg-voip-commits
mailing list