Processed: Re: Bug#289466: Identification of problem

2005-01-21 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 tags 289466 patch
Bug#289466: viewcvs: breaks config file on upgrade
There were no tags set.
Tags added: patch

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


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



Bug#289466: Identification of problem

2005-01-21 Thread Frank Lichtenheld
tags 289466 patch
thanks

On Mon, Jan 10, 2005 at 01:42:18AM +0100, Frank Lichtenheld wrote:
 The viewcvs bug is clearly caused by the use of vhosts in the
 configuration file. The script just isn't capable of dealing with
 this at all. I think the maintainer script should at least
 detect if the configuration file is too complex for them to handle
 and not touch it in this case (I wouldn't mind if the whole debconf
 stuff would disappear, but that's not up to me to decide).
 Of course one could also try to support vhosts via debconf but
 IMHO the effort isn't worth it.

Attached is a proposed patch which should fix this issue.
(I included some other simple changes, too)

Gruesse,
-- 
Frank Lichtenheld [EMAIL PROTECTED]
www: http://www.djpig.de/
diff -Naur viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.bak/debian/changelog 
viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/debian/changelog
--- viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.bak/debian/changelog   2005-01-21 
11:16:43.0 +0100
+++ viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/debian/changelog   2005-01-21 
12:46:54.0 +0100
@@ -1,3 +1,18 @@
+viewcvs (0.9.2+cvs.1.0.dev.2004.07.28-1.4) unstable; urgency=high
+
+  * NMU.
+  * Don't try to change the config file if there are vhosts configured.
+This will most probably mess it up (Closes: #289466)
+  * Bug fix: viewcvs: Updated Japanese po-debconf template translation
+(ja.po), thanks to Hideki Yamane (Closes: #241832).
+  * Bug fix: Update of the french debconf translation, thanks to Michel
+Grentzinger (Closes: #244514).
+  * Bug fix: [INTL:nl] New po-debconf translation in Dutch for viewcvs.,
+thanks to Tim Dijkstra (Closes: #289639).
+  * Copyright holder has changed, correct copyright file
+
+ -- Frank Lichtenheld [EMAIL PROTECTED]  Fri, 21 Jan 2005 12:33:29 +0100
+
 viewcvs (0.9.2+cvs.1.0.dev.2004.07.28-1.3) unstable; urgency=HIGH
 
   * NMU.
diff -Naur viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.bak/debian/config 
viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/debian/config
--- viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.bak/debian/config  2005-01-21 
11:16:43.0 +0100
+++ viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/debian/config  2005-01-21 
13:02:34.0 +0100
@@ -15,6 +15,10 @@
 fi
 
 if [ -x /usr/lib/viewcvs/viewcvs-config -a -f /etc/viewcvs/viewcvs.conf ]; then
+if [ -n `/usr/lib/viewcvs/viewcvs-config --all --section vhosts 
2/dev/null` ]; then
+   exit 0
+   fi
+
cvs_roots=`/usr/lib/viewcvs/viewcvs-config --get cvs_roots`
svn_roots=`/usr/lib/viewcvs/viewcvs-config --get svn_roots`
 #  svn_parent_path=`/usr/lib/viewcvs/viewcvs-config --get svn_parent_path`
diff -Naur viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.bak/debian/copyright 
viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/debian/copyright
--- viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.bak/debian/copyright   2005-01-21 
11:16:43.0 +0100
+++ viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/debian/copyright   2005-01-21 
12:46:21.0 +0100
@@ -3,13 +3,13 @@
 
 It was downloaded from http://viewcvs.sourceforge.net/
 
-Upstream Author(s): Greg Stein [EMAIL PROTECTED]
+Upstream Authors: Greg Stein [EMAIL PROTECTED]
 
 Copyright:
 
-# Copyright (C) 1999-2000 Greg Stein. All Rights Reserved.
+# Copyright (C) 1999-2002 The ViewCVS Group. All Rights Reserved.
 #
-# By using this file, you agree to the terms and conditions set forth below:
+# By using ViewCVS, you agree to the terms and conditions set forth below:
 #
 # Redistribution and use in source and binary forms, with or without
 # modification, are permitted provided that the following conditions
diff -Naur viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.bak/debian/po/fr.po 
viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/debian/po/fr.po
--- viewcvs-0.9.2+cvs.1.0.dev.2004.07.28.bak/debian/po/fr.po2005-01-21 
11:16:43.0 +0100
+++ viewcvs-0.9.2+cvs.1.0.dev.2004.07.28/debian/po/fr.po2005-01-21 
12:25:49.0 +0100
@@ -11,10 +11,10 @@
 #
 msgid 
 msgstr 
-Project-Id-Version: viewcvs_0.9.2+cvs.1.0.dev.2003.05.05-2\n
+Project-Id-Version: viewcvs_0.9.2+cvs.1.0.dev.2004.07-2\n
 Report-Msgid-Bugs-To: \n
 POT-Creation-Date: 2004-03-24 15:48+0900\n
-PO-Revision-Date: 2003-07-09 23:05+0200\n
+PO-Revision-Date: 2004-08-31 09:48+0200\n
 Last-Translator: Michel Grentzinger [EMAIL PROTECTED]\n
 Language-Team: French debian-l10n-french@lists.debian.org\n
 MIME-Version: 1.0\n
@@ -25,7 +25,7 @@
 #. Description
 #: ../templates:4
 msgid Where are your cvs roots?
-msgstr O sont situs vos entrepts CVS?
+msgstr Emplacement de vos entrepts CVS:
 
 #. Type: string
 #. Description
@@ -43,30 +43,28 @@
 #. Type: string
 #. Description
 #: ../templates:12
-#, fuzzy
 msgid Where are your svn roots?
-msgstr O sont situs vos entrepts CVS?
+msgstr Emplacement de vos entrepts svn:
 
 #. Type: string
 #. Description
 #: ../templates:12
-#, fuzzy
 msgid 
 This setting specifies each of the Subversion roots (repositories) on your 
 system and assigns names to them. Each root should be given by a \name: path
 \ 

Bug#289466: Identification of problem

2005-01-21 Thread Christian Perrier
 Attached is a proposed patch which should fix this issue.
 (I included some other simple changes, too)


While preparing what was supposed to be a l10n NMU, I went on a few
other simple to fix issues:

  * Lintian fixes (the obvious ones):
- Remove dh-make boilerplate in copyright
- Remove initial capitals in packages description synopsis
  and improve English slightly

The packages descriptions follow (with fixes in the packages descriptions):

Source: viewcvs
Section: devel
Priority: optional
Maintainer: Takuo KITAME [EMAIL PROTECTED]
Build-Depends: debhelper (= 4.1.16), sharutils, python-dev (= 2.3), 
python-dev ( 2.4), docbook-to-man, python2.3-subversion
Standards-Version: 3.6.1

Package: viewcvs
Architecture: all
Depends: ${python:Depends}, cvs | subversion, rcs, mime-support, debconf (= 
1.0)
Recommends: enscript, httpd
Suggests: cvsgraph, viewcvs-query, python2.3-subversion
Description: view CVS Repositories via HTTP
 The ViewCVS software was inspired by cvsweb (by Henner Zeller).
 ViewCVS can browse directories, commit-logs, and specific revisions of files.
 It can display diffs between versions and show selections of files based on
 tags or branches.
 .
 This version support also subversion repository.

Package: viewcvs-query
Architecture: all
Depends: viewcvs (= ${Source-Version}), python-mysqldb, python-egenix-mxdatetime
Replaces: viewcvs ( 0.9.2-6)
Description: view CVS (viewcvs-query.cgi)
 The ViewCVS software was inspired by cvsweb (by Henner Zeller).
 ViewCVS can browse directories, commit-logs, and specific revisions of files.
 It can display diffs between versions and show selections of files based on
 tags or branches.
 .
 This package includes viewcvs-query.cgi





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