Package: wget
Version: 1.21-1+deb11u1
Severity: normal

Dear Maintainer,

Metalink is a standard format (see RFC 5854) for describing how to 
download a collection of files.  There is also a standard way to 
link to a metalink description (see RFC 6249).

Seemingly upstream wget supports metalink; for example, the wget man 
page documents various command-line options to make use of this support:


https://www.gnu.org/software/wget/manual/wget.html#Logging-and-Input-File-Options


Despite this, the version of wget distributed with Debian appears to be 
missing any metalink functionality.

When I attempt to use 'wget' to obtain files from their metalink 
description, the response indicates that the command-line options are 
not understood.  For example:


paul@celebrimbor:~/vtmp$ stat my-data.meta4
  File: my-data.meta4
  Size: 1016            Blocks: 8          IO Block: 4096   regular file
Device: fe02h/65026d    Inode: 11274768    Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/    paul)   Gid: ( 1000/    paul)
Access: 2023-08-28 14:49:38.092156514 +0200
Modify: 2023-08-28 10:44:34.000000000 +0200
Change: 2023-08-28 15:05:33.626905826 +0200
 Birth: 2023-08-28 14:49:34.212047948 +0200
paul@celebrimbor:~/vtmp$ file my-data.meta4 
my-data.meta4: XML 1.0 document, ASCII text, with very long lines, with no line 
terminators
paul@celebrimbor:~/vtmp$ wget --input-metalink=my-data.meta4
wget: unrecognized option '--input-metalink=my-data.meta4'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
paul@celebrimbor:~/vtmp$ 


The behaviour suggests that the Debian distributed 'wget' binary was 
compiled without including metalink support.  However, this does not 
appear to be mentioned in the files within the /usr/share/doc/wget 
directory.

Would it be possible to include metalink support in the Debian 
distributed wget binary?

Cheers,
Paul.

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 11.7
  APT prefers oldstable-security
  APT policy: (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-25-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages wget depends on:
ii  libc6         2.31-13+deb11u6
ii  libgnutls30   3.7.1-5+deb11u3
ii  libidn2-0     2.3.0-5
ii  libnettle8    3.7.3-1
ii  libpcre2-8-0  10.36-2+deb11u1
ii  libpsl5       0.21.0-1.2
ii  libuuid1      2.36.1-8+deb11u1
ii  zlib1g        1:1.2.11.dfsg-2+deb11u2

Versions of packages wget recommends:
ii  ca-certificates  20210119

wget suggests no packages.

-- no debconf information

Reply via email to