Your message dated Sun, 05 Jul 2009 13:54:33 +0000
with message-id <e1mnsar-0006f7...@ries.debian.org>
and subject line Bug#533609: fixed in transmission 1.22-1+lenny1
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.22-1+lenny1

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.22-1+lenny1_amd64.deb
  to pool/main/t/transmission/transmission-cli_1.22-1+lenny1_amd64.deb
transmission-common_1.22-1+lenny1_all.deb
  to pool/main/t/transmission/transmission-common_1.22-1+lenny1_all.deb
transmission-gtk_1.22-1+lenny1_amd64.deb
  to pool/main/t/transmission/transmission-gtk_1.22-1+lenny1_amd64.deb
transmission_1.22-1+lenny1.diff.gz
  to pool/main/t/transmission/transmission_1.22-1+lenny1.diff.gz
transmission_1.22-1+lenny1.dsc
  to pool/main/t/transmission/transmission_1.22-1+lenny1.dsc
transmission_1.22-1+lenny1_all.deb
  to pool/main/t/transmission/transmission_1.22-1+lenny1_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 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, 05 Jul 2009 02:41:02 +0200
Source: transmission
Binary: transmission transmission-common transmission-cli transmission-gtk
Architecture: source all amd64
Version: 1.22-1+lenny1
Distribution: stable-proposed-updates
Urgency: low
Maintainer: Leo costela Antunes <cost...@debian.org>
Changed-By: Leo Costela <cost...@debian.org>
Description: 
 transmission - free, lightweight BitTorrent client
 transmission-cli - free, lightweight BitTorrent client (command line interface)
 transmission-common - free, lightweight BitTorrent client
 transmission-gtk - free, lightweight BitTorrent client (graphical interface)
Closes: 533609 533628
Changes: 
 transmission (1.22-1+lenny1) stable-proposed-updates; urgency=low
 .
   * debian/patches:
     - remove_spurious_slash.patch (closes: #533609)
     - cli_handle_lacking_announce_url.patch (closes: #533628)
   * debian/{control,rules}: add quilt build-deps and rules hooks
   * debian/control: add real alternatives to build-deps on the meta
     libcurl-dev
Checksums-Sha1: 
 01c94ecc3c47ebba5f2e8b8dc788d9941cf14511 1480 transmission_1.22-1+lenny1.dsc
 d1c088fe3d5a4071d538e0099ba80472b42aeff4 10872 
transmission_1.22-1+lenny1.diff.gz
 508b199e86cc357b06f10fd75278acc45697591b 858 transmission_1.22-1+lenny1_all.deb
 5d70c5f987b92f6a7bda33f21de8e077cee6ce1c 14808 
transmission-common_1.22-1+lenny1_all.deb
 45fbdfbe7fcf57880bc72fed59835d76fe0a54af 526534 
transmission-cli_1.22-1+lenny1_amd64.deb
 969de26da83034dd25b3f1f7d388665e464eb7dc 457914 
transmission-gtk_1.22-1+lenny1_amd64.deb
Checksums-Sha256: 
 d7cd15d107cdfa0ea20d67a7cf80116826a50c2a2efd1ca712a481bd3d62d9b6 1480 
transmission_1.22-1+lenny1.dsc
 9b764307ca332ae8d85a491261ee1b5ae60e86dc844ab4ffc3a6f3ab055aaf74 10872 
transmission_1.22-1+lenny1.diff.gz
 cf121f1217c7a7fad87a32d89bcb0f64dcc2779865ba8fe92b5a5fe9dd03dea3 858 
transmission_1.22-1+lenny1_all.deb
 be67e39b3c5476fb15894bd0c78c8552fd200832f49f50384678647d50c26f06 14808 
transmission-common_1.22-1+lenny1_all.deb
 16c119a73df921bce0cd61035fab6564de6c16e03fdcb6b6ddd2a1e547735a87 526534 
transmission-cli_1.22-1+lenny1_amd64.deb
 b2b5c70b91d7386dca7996dcb74769ae8faad8f476043f4705cdf253535520e2 457914 
transmission-gtk_1.22-1+lenny1_amd64.deb
Files: 
 561fca36b930427c8ee4fc9718a8beb7 1480 net optional 
transmission_1.22-1+lenny1.dsc
 ae580357d75c506518102b85503403bd 10872 net optional 
transmission_1.22-1+lenny1.diff.gz
 66df7c8b9fa4700eb75241c1ff63d420 858 net optional 
transmission_1.22-1+lenny1_all.deb
 579336e1e4c5c9278d884f77e2fec214 14808 net optional 
transmission-common_1.22-1+lenny1_all.deb
 964156311073cc0a0dcd942dfc58bba9 526534 net optional 
transmission-cli_1.22-1+lenny1_amd64.deb
 5b0124accf17e1e1c73d3af6b4f049fd 457914 net optional 
transmission-gtk_1.22-1+lenny1_amd64.deb

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

iEYEARECAAYFAkpQD3cACgkQImLTb3rflGYRPACgy7ukye7/Q3ulLmazl6JHjd4f
BfoAn0YvCiNTqVAeK8TK7df/JGdS0gSW
=FHlJ
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to