[Pkg-voip-commits] r4529 - in /destar/branches: experimental/ experimental/debian/ experimental/debian/patches/ upstream/

alerios-guest at alioth.debian.org alerios-guest at alioth.debian.org
Wed Sep 19 21:30:27 UTC 2007


Author: alerios-guest
Date: Wed Sep 19 21:30:27 2007
New Revision: 4529

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=4529
Log:
  * Started packaging of upstream svn snapshots.

Added:
    destar/branches/experimental/
      - copied from r4528, destar/trunk/
Removed:
    destar/branches/experimental/debian/patches/debug_prints.dpatch
    destar/branches/upstream/
Modified:
    destar/branches/experimental/debian/changelog
    destar/branches/experimental/debian/dirs
    destar/branches/experimental/debian/patches/00list
    destar/branches/experimental/debian/patches/zaptel.dpatch
    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=4529&op=diff
==============================================================================
--- destar/branches/experimental/debian/changelog (original)
+++ destar/branches/experimental/debian/changelog Wed Sep 19 21:30:27 2007
@@ -1,9 +1,10 @@
-destar (0.2.2-4) UNRELEASED; urgency=low
+destar (0.2.2.svn811) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  * Started packaging of upstream svn snapshots.
   * Fixed typo in Spanish debconf translation.
 
- -- Santiago Ruano Rincón <santiago at debian.org>  Mon, 03 Sep 2007 14:10:22 -0500
+ -- Alejandro Rios P. <alejandro.rios at avatar.com.co>  Wed, 19 Sep 2007 15:16:22 -0500
 
 destar (0.2.2-3) unstable; urgency=low
 

Modified: destar/branches/experimental/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/dirs?rev=4529&op=diff
==============================================================================
--- destar/branches/experimental/debian/dirs (original)
+++ destar/branches/experimental/debian/dirs Wed Sep 19 21:30:27 2007
@@ -2,3 +2,4 @@
 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=4529&op=diff
==============================================================================
--- destar/branches/experimental/debian/patches/00list (original)
+++ destar/branches/experimental/debian/patches/00list Wed Sep 19 21:30:27 2007
@@ -3,4 +3,3 @@
 manager.dpatch
 example.dpatch
 zaptel.dpatch
-debug_prints.dpatch

Modified: destar/branches/experimental/debian/patches/zaptel.dpatch
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/patches/zaptel.dpatch?rev=4529&op=diff
==============================================================================
--- destar/branches/experimental/debian/patches/zaptel.dpatch (original)
+++ destar/branches/experimental/debian/patches/zaptel.dpatch Wed Sep 19 21:30:27 2007
@@ -5,10 +5,10 @@
 ## DP: Deals with /etc/zaptel.conf permissions issues.
 
 @DPATCH@
-diff -urNad destar-0.2.2~/backend.py destar-0.2.2/backend.py
---- destar-0.2.2~/backend.py	2007-01-26 18:33:24.000000000 -0500
-+++ destar-0.2.2/backend.py	2007-01-26 18:36:41.000000000 -0500
-@@ -444,6 +444,8 @@
+diff -urNad destar-0.2.2.svn811~/backend.py destar-0.2.2.svn811/backend.py
+--- destar-0.2.2.svn811~/backend.py	2007-07-26 09:54:30.000000000 -0500
++++ destar-0.2.2.svn811/backend.py	2007-09-19 16:31:59.000000000 -0500
+@@ -484,6 +484,8 @@
  	for _fn,cnf in configlets.asterisk_configfiles:
  		if _fn == 'op_server.cfg' and panelutils.isConfigured() != 1:
  			continue
@@ -17,7 +17,7 @@
  		try:
  			cnf.write()
  		except OSError:
-@@ -463,7 +465,10 @@
+@@ -503,7 +505,10 @@
  
  
  	for short_fn,cnf in configlets.asterisk_configfiles:
@@ -29,14 +29,14 @@
  			os.rename(cnf.fn, "%s.orig" % cnf.fn)
  			return True
  	return False
-diff -urNad destar-0.2.2~/page_config_trunks.ptl destar-0.2.2/page_config_trunks.ptl
---- destar-0.2.2~/page_config_trunks.ptl	2007-01-26 18:33:24.000000000 -0500
-+++ destar-0.2.2/page_config_trunks.ptl	2007-01-26 18:36:41.000000000 -0500
-@@ -44,5 +44,7 @@
- 			phones = True
- 	if not phones:
- 		_('You should add at least one phone to configure trunks')
-+	if not os.access("/etc/zaptel.conf", os.O_RDWR):
-+		_("You should enable write access to /etc/zaptel.conf. Without write access to this file you cannot configure Zaptel devices, e.g. FXO/FXS cards, T1/E1 cards, ZapHFC ISDN cards, etc. You should 'chmod g+rw' this file and set it's group to one of '%s'." % 'asterisk')
- 	presentConfiglets('Trunks')
- 	footer()
+diff -urNad destar-0.2.2.svn811~/page_config_trunks.ptl destar-0.2.2.svn811/page_config_trunks.ptl
+--- destar-0.2.2.svn811~/page_config_trunks.ptl	2007-02-28 00:07:04.000000000 -0500
++++ destar-0.2.2.svn811/page_config_trunks.ptl	2007-09-19 16:33:09.000000000 -0500
+@@ -49,5 +49,7 @@
+ 				phones = True
+ 		if not phones:
+ 			_('You should add at least one phone to configure trunks')
++		if not os.access("/etc/zaptel.conf", os.O_RDWR):
++			_("You should enable write access to /etc/zaptel.conf. Without write access to this file you cannot configure Zaptel devices, e.g. FXO/FXS cards, T1/E1 cards, ZapHFC ISDN cards, etc. You should 'chmod g+rw' this file and set it's group to one of '%s'." % 'asterisk')
+ 		presentConfiglets('Trunks')
+ 		footer()

Modified: destar/branches/experimental/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/destar/branches/experimental/debian/rules?rev=4529&op=diff
==============================================================================
--- destar/branches/experimental/debian/rules (original)
+++ destar/branches/experimental/debian/rules Wed Sep 19 21:30:27 2007
@@ -19,9 +19,11 @@
 		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
 UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
 
-FILENAME := destar_$(UPVERSION).orig.tar.gz
-URL := http://download.berlios.de/destar/destar-$(UPVERSION).tar.gz
-
+VER = 0.2.2
+SVN = svn://svn.berlios.de/destar/trunk
+SVNREV = 811
+ 
+  	
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
@@ -73,8 +75,11 @@
 get-orig-source:
 	@@dh_testdir
 	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
-	@@echo Downloading $(FILENAME) from $(URL) ...
-	@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
+	@@echo Creating tarball destar 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)
+	@@rm -Rf destar-$(VER).svn$(SVNREV)
 
 binary: binary-indep 
 .PHONY: build clean binary-indep binary install configure patch unpatch




More information about the Pkg-voip-commits mailing list