Bug#410501: destar: Conf files are not saved if there's not writing access to zaptel.conf

2007-02-12 Thread Steve Langasek
On Sun, Feb 11, 2007 at 02:09:08AM -0500, Alejandro Rios P. wrote:
 Package: destar
 Version: 0.2.0-3
 Severity: grave
 Tags: patch
 Justification: renders package unusable

 There was a bad conditional expresion on one dpatch file edited on last
 package upload. Here's the fix to the bug:

 --- zaptel.dpatch   2007-02-11 00:05:55.0 -0500
 +++ zaptel.dpatch.patch 2007-02-11 01:59:41.0 -0500
 @@ -12,7 +12,7 @@
 for _fn,cnf in configlets.asterisk_configfiles:
   if _fn == 'op_server.cfg' and panelutils.isConfigured() != 1:
   continue
 -+  if not os.access(/etc/zaptel.conf, os.O_RDWR):
 ++  if _fn == 'zaptel.conf' and not os.access(/etc/zaptel.conf, 
 os.O_RDWR):
  +continue
   try:
   cnf.write()

Sorry, in what sense does this make the package unusable?  Is it because the
package's dependencies don't ensure that zaptel.conf will exist?

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#410501: destar: Conf files are not saved if there's not writing access to zaptel.conf

2007-02-11 Thread Alejandro Rios P.
Package: destar
Version: 0.2.0-3
Severity: grave
Tags: patch
Justification: renders package unusable

There was a bad conditional expresion on one dpatch file edited on last
package upload. Here's the fix to the bug:

--- zaptel.dpatch   2007-02-11 00:05:55.0 -0500
+++ zaptel.dpatch.patch 2007-02-11 01:59:41.0 -0500
@@ -12,7 +12,7 @@
for _fn,cnf in configlets.asterisk_configfiles:
if _fn == 'op_server.cfg' and panelutils.isConfigured() != 1:
continue
-+  if not os.access(/etc/zaptel.conf, os.O_RDWR):
++  if _fn == 'zaptel.conf' and not os.access(/etc/zaptel.conf, 
os.O_RDWR):
 +  continue
try:
cnf.write()




-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8)

Versions of packages destar depends on:
ii  asterisk 1:1.2.14~dfsg-4 Open Source Private Branch Exchang
ii  python   2.4.4-2 An interactive high-level object-o
ii  python-medusa0.5.4+clean-1   Framework for implementing asynchr
ii  python-pychart   1.39-5  Python library for creating high q
ii  python-pysqlite2 2.3.2-2 python interface to SQLite 3
ii  python-quixote1  1.2-4   A highly Pythonic Web application 
ii  sqlite3  3.3.8-1 A command line interface for SQLit

Versions of packages destar recommends:
ii  op-panel 0.26.dfsg-5 switchboard type application for t

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]