Your message dated Sun, 19 Jul 2009 17:02:16 +0000
with message-id <e1mszmc-00067i...@ries.debian.org>
and subject line Bug#533609: fixed in transmission 1.73-1
has caused the Debian Bug report #533609,
regarding transmission-cli: torrent files created with transmissioncli are 
invalid
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 ow...@bugs.debian.org
immediately.)


-- 
533609: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533609
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: transmission-cli
Version: 1.22-1
Severity: grave
Justification: renders package unusable
Tags: patch

When creating a torrent and chosing a directory as a source (-c),
file-names in the torrent file are cropped (first character missing) if
the directory name ends with a slash, which happen in most of the case
because we use bash autocompletion (and it's hard to guess that this
final slash is the source of the problem, I had to read the code to
understand that!)

This leads to the inability to seed the torrent because the client using
the .torrent file cannot find the files it refers to.

I propose the following patch to work around the problem :

--- libtransmission/makemeta.c.old    2009-06-19 11:21:27.000000000 +0200
+++ libtransmission/makemeta.c    2009-06-19 11:21:37.000000000 +0200
@@ -274,7 +274,7 @@
              tr_benc                         * uninitialized_path )
 {
     const char *pch, *prev;
-    const size_t topLen = strlen(topFile) + 1; /* +1 for '/' */
+    const size_t topLen = strlen(topFile);
     int n;
 
     /* get the file size */





if topFile contains a final slash, it will be taken in account by
strlen. So far, this patch seems to cause no side effects neither with
-cli nor -gtk.

Regards

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages transmission-cli depends on:
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libcurl3                7.18.2-8lenny2   Multi-protocol file
transfer libra
ii  libssl0.9.8             0.9.8g-15+lenny1 SSL shared libraries
ii  transmission-common     1.22-1           free, lightweight
BitTorrent clien

transmission-cli recommends no packages.

transmission-cli suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: transmission
Source-Version: 1.73-1

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

transmission-cli_1.73-1_amd64.deb
  to pool/main/t/transmission/transmission-cli_1.73-1_amd64.deb
transmission-common_1.73-1_all.deb
  to pool/main/t/transmission/transmission-common_1.73-1_all.deb
transmission-daemon_1.73-1_amd64.deb
  to pool/main/t/transmission/transmission-daemon_1.73-1_amd64.deb
transmission-gtk_1.73-1_amd64.deb
  to pool/main/t/transmission/transmission-gtk_1.73-1_amd64.deb
transmission_1.73-1.diff.gz
  to pool/main/t/transmission/transmission_1.73-1.diff.gz
transmission_1.73-1.dsc
  to pool/main/t/transmission/transmission_1.73-1.dsc
transmission_1.73-1_all.deb
  to pool/main/t/transmission/transmission_1.73-1_all.deb
transmission_1.73.orig.tar.gz
  to pool/main/t/transmission/transmission_1.73.orig.tar.gz



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 533...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Leo Costela <cost...@debian.org> (supplier of updated transmission 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Sun, 19 Jul 2009 17:37:35 +0200
Source: transmission
Binary: transmission transmission-common transmission-cli transmission-gtk 
transmission-daemon
Architecture: source all amd64
Version: 1.73-1
Distribution: unstable
Urgency: low
Maintainer: Leo costela Antunes <cost...@debian.org>
Changed-By: Leo Costela <cost...@debian.org>
Description: 
 transmission - lightweight BitTorrent client
 transmission-cli - lightweight BitTorrent client (command line interface)
 transmission-common - lightweight BitTorrent client (common files)
 transmission-daemon - lightweight BitTorrent client (daemon)
 transmission-gtk - lightweight BitTorrent client (graphical interface)
Closes: 533609 535346 536677
Changes: 
 transmission (1.73-1) unstable; urgency=low
 .
   * New upstream release
     - Fix bug where user-configured peer limits could be exceeded
       (closes: #535346)
     - fix rounding issues (closes: #536677)
     - fix creation of torrent files with cli interface (closes: #533609)
   * debian/patches: fix build issue by escaping slash in updateminiupnp.sh
   * debian/rules: remove deprecated dh_desktop
Checksums-Sha1: 
 52cc24c6cb9780794e3766bba439e30fa92abcf5 1478 transmission_1.73-1.dsc
 29c67a52447266c2c5ed25c6368e3b2321109943 6455508 transmission_1.73.orig.tar.gz
 1988c821da3de5e45624caf391a0c4293a15df04 14988 transmission_1.73-1.diff.gz
 728a78a89b5586d612a76fe9448450adc65b1100 848 transmission_1.73-1_all.deb
 9e76ff3a47fb8b10613956641c1d92319b5642a7 165210 
transmission-common_1.73-1_all.deb
 f6f8975624b42e5154ef7f63e305097e5b7c4126 423120 
transmission-cli_1.73-1_amd64.deb
 a9aad9a153248fd00fea29c957baf3eca640ba2d 690188 
transmission-gtk_1.73-1_amd64.deb
 ffb64eb671b4b2422b047947d817091104e532bd 207764 
transmission-daemon_1.73-1_amd64.deb
Checksums-Sha256: 
 89adf5ef3e8299298dc00c9c75b568594e6a2677c8728b2aa9f23ca39a74ac8f 1478 
transmission_1.73-1.dsc
 768d00f57e6405c86fd9d7ed429a2b95900e9619c2f5d2ae31e45f11f96af0b8 6455508 
transmission_1.73.orig.tar.gz
 b893275fc0712f3fae40b2c730d4c9d0b3439f25e1930af68c28667d8f10dce6 14988 
transmission_1.73-1.diff.gz
 b1bfbd5774bddf66a48434ed3fe8013f29a55bf3212b4cd234e3d9a0434b7dc9 848 
transmission_1.73-1_all.deb
 ef4e4eb94d772e0c01d6de2f790900e45073c751ab591d4baac4bd3a0e922c03 165210 
transmission-common_1.73-1_all.deb
 fc57157b6085ee30277370cfd9dfd9abfbb32425d11cf537a777e21b5eee4ba3 423120 
transmission-cli_1.73-1_amd64.deb
 47106fcd2e71729b4e298fc51bc692cba20d90aeb1afa355494d0d7ced548565 690188 
transmission-gtk_1.73-1_amd64.deb
 9a62eb71796f59f04d6e4a8a579e10ff07e8cbc1daf3ed12ac140cc9c3338a1a 207764 
transmission-daemon_1.73-1_amd64.deb
Files: 
 75036e7c5bfe5e436fddd87110f22991 1478 net optional transmission_1.73-1.dsc
 b434611030c2b7805e17bc11d53372c5 6455508 net optional 
transmission_1.73.orig.tar.gz
 41f189351a6f11b37de863dc54e9f21a 14988 net optional transmission_1.73-1.diff.gz
 10fe4d831b322b099f37e1dad7e4353a 848 net optional transmission_1.73-1_all.deb
 c1554b299509193f21a6c096cb53a71e 165210 net optional 
transmission-common_1.73-1_all.deb
 09a0abbd6f24ae4ec49a94b476370f00 423120 net optional 
transmission-cli_1.73-1_amd64.deb
 7ea43d060532851c7d712c0c184e6ca0 690188 net optional 
transmission-gtk_1.73-1_amd64.deb
 66d19c6c0dc7426b2a2818aa4ccbcbd8 207764 net optional 
transmission-daemon_1.73-1_amd64.deb

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

iEYEARECAAYFAkpjUH4ACgkQImLTb3rflGZXaACfT83d8hOlaZXcrbLMGmXchKJj
4Q8AniRHYaOXyE9xrNnhzd7JCzEqegPk
=JO0k
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to