[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511195: marked as done (cdrw-taper: MEDIABLOCKS set in config file is overwritten by taperlib.pm version (700MB CD))



Your message dated Fri, 01 May 2009 16:02:03 +0000
with message-id <E1LzvBb-0006nx-7v@ries.debian.org>
and subject line Bug#511195: fixed in cdrw-taper 0.4-3
has caused the Debian Bug report #511195,
regarding cdrw-taper: MEDIABLOCKS set in config file is overwritten by taperlib.pm version (700MB CD)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
511195: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=511195
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cdrw-taper
Version: 0.4-1
Severity: important
Tags: patch


MEDIABLOCKS variable set in config file is overwritten by taperlib.pm version
(which is specifiing 700MB CD)

BLOCKSIZE is also overwritted, but I don't assume someone really wants to
modify it ... also, there are places in taperlib.pm which forgots to use it
and assumes 2048 like line "$self->{capacity} = $2 * 2; # in kilobytes!"

diff -Naur taperlib.pm taperlib.pm
--- taperlib.pm 2006-05-20 16:09:39.000000000 +0200
+++ taperlib.pm 2009-01-08 12:27:17.000000000 +0100
@@ -117,6 +117,14 @@
 # Regexp for CD-RW devices
 $CD_DEVICE_RE =
"^/dev/(ide|scsi)/host\\d/bus\\d/target\\d/lun\\d/(cd|generic):";;
 
+# Blocksize of output media in bytes (2k for CD-RW)
+$BLOCKSIZE = 2048;
+
+# Blocks per media (CDRW: 650 MB = 650 * 1024k / 2k = 332800)
+$MEDIABLOCKS = 358400;
+# Blocks per media (DVD[-+]RW: 4700 MB = 4700 * 1000 * 1000 / 2k = 2294921)
+# $MEDIABLOCKS = 2294921;
+
 require "/etc/cdrw-taper.conf";
 
 # Original taper binary
@@ -126,14 +134,6 @@
 ## No user editable settings below here
 ##
 
-# Blocksize of output media in bytes (2k for CD-RW)
-$BLOCKSIZE = 2048;
-
-# Blocks per media (CDRW: 650 MB = 650 * 1024k / 2k = 332800)
-$MEDIABLOCKS = 358400;
-# Blocks per media (DVD[-+]RW: 4700 MB = 4700 * 1000 * 1000 / 2k = 2294921)
-# $MEDIABLOCKS = 2294921;
-
 # "Export" config variables
 our ($CONFIG_ROOT, $DUMP_DIR, $DELETE_DIRS, $WRITE_NON_ERASABLE,
$CD_DEVICE_RE,
      $TAPER_ORIG, $BLOCKSIZE);


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages cdrw-taper depends on:
ii  amanda-server              1:2.5.1p1-2.1 Advanced Maryland Automatic Networ
ii  cdrecord                   9:1.1.2-1     Dummy transition package for wodim
ii  mkisofs                    9:1.1.2-1     Dummy transition package for genis
ii  perl-base                  5.8.8-7etch6  The Pathologically Eclectic Rubbis

cdrw-taper recommends no packages.

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Source: cdrw-taper
Source-Version: 0.4-3

We believe that the bug you reported is fixed in the latest version of
cdrw-taper, which is due to be installed in the Debian FTP archive:

cdrw-taper_0.4-3.diff.gz
  to pool/main/c/cdrw-taper/cdrw-taper_0.4-3.diff.gz
cdrw-taper_0.4-3.dsc
  to pool/main/c/cdrw-taper/cdrw-taper_0.4-3.dsc
cdrw-taper_0.4-3_all.deb
  to pool/main/c/cdrw-taper/cdrw-taper_0.4-3_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 511195@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Barry deFreese <bdefreese@debian.org> (supplier of updated cdrw-taper package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 01 May 2009 11:27:13 -0400
Source: cdrw-taper
Binary: cdrw-taper
Architecture: source all
Version: 0.4-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Barry deFreese <bdefreese@debian.org>
Description: 
 cdrw-taper - taper replacement for amanda to support backups to CD-RW or DVD+R
Closes: 420295 420317 511195
Changes: 
 cdrw-taper (0.4-3) unstable; urgency=low
 .
   * QA upload.
   * Don't overwrite MEDIABLOCKS.  (Closes: #511195).
     + Thanks to Honza for the fix.
   * Fix PORT-WRITE and FILE-WRITE regexp. (Closes: #420295).
     + Thanks to Lorenzo Lannuzzi for the fix.
   * Fix /AMANDA: FILE regexp. (Closes: #420317).
     + Thanks to Lorenzo Lannuzzi for the fix.
   * Add ${misc:Depends} for debhelper package.
   * Move Homepage from package description to source stanza.
   * Add set -e to maintainer scripts.
   * Bump Standards Version to 3.8.1.
Checksums-Sha1: 
 b0b550d5beecc367332a09f7e5e96c8edd865f70 1049 cdrw-taper_0.4-3.dsc
 da0629ef7aaa620c220a2151a9a957e491cc5f8a 7975 cdrw-taper_0.4-3.diff.gz
 7822746759186e3b264449732e0df5672cd5a6be 26636 cdrw-taper_0.4-3_all.deb
Checksums-Sha256: 
 6cbd6827bdd756b0e73b7288e7990826831de190ca5d290ed1832bb2d05b57b3 1049 cdrw-taper_0.4-3.dsc
 0933aa65da9983fb2b43d70d0b92b27b9c99e050a5bf0855584203a3361b6cca 7975 cdrw-taper_0.4-3.diff.gz
 f06aef4cd3cf08b940787702e979a56b467d8469ed26e5329943b382731d967f 26636 cdrw-taper_0.4-3_all.deb
Files: 
 4c86427c02022445d1bf7ade824beeec 1049 utils optional cdrw-taper_0.4-3.dsc
 c0cf6a4908e7df570a624e566d3c6fe9 7975 utils optional cdrw-taper_0.4-3.diff.gz
 d9b510eb846d45f6b5e7191483a31ade 26636 utils optional cdrw-taper_0.4-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkn7GiwACgkQ5ItltUs5T36AKQCggk0BtOTPRA20j/tqukzserrw
cTkAn3begReXd47m5mniQl5A7ZuCFG1q
=uJWM
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: