Your message dated Fri, 26 Sep 2014 01:03:48 +0000
with message-id <[email protected]>
and subject line Bug#739137: fixed in devscripts 2.14.7
has caused the Debian Bug report #739137,
regarding [uscan] Please honor Referer
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 [email protected]
immediately.)


-- 
739137: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739137
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: devscripts
Version: 2.14.1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: uscan

Hi,

The attached trivial patch aims at honoring Referer on HTTP(S) download.
Some upstream pages [0] mandates it to actually download the tarball.

        O: e.g., http://www.phpconcept.net/pclzip/pclzip-downloads

Regards

David

P.-S.: I’m pretty sure I’ll again fail to set the usertag, sorry, but I
was not able to find where it is documented.

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
DEBSIGN_KEYID=0xB82A217AFDFE09F2

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-rt-amd64 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev     1.17.6
ii  libc6        2.17-97
ii  perl         5.18.2-2
ii  python3      3.3.4-1
pn  python3:any  <none>

Versions of packages devscripts recommends:
ii  at                          3.1.14-1
ii  curl                        7.35.0-1
ii  dctrl-tools                 2.23
ii  debian-keyring              2014.01.31
ii  dput                        0.9.6.4
ii  equivs                      2.0.9
ii  fakeroot                    1.20-3
ii  gnupg                       1.4.16-1
ii  libdistro-info-perl         0.12
ii  libencode-locale-perl       1.03-1
ii  libjson-perl                2.61-1
ii  liblwp-protocol-https-perl  6.04-2
ii  libparse-debcontrol-perl    2.005-4
ii  libsoap-lite-perl           1.09-1
ii  liburi-perl                 1.60-1
ii  libwww-perl                 6.05-2
ii  lintian                     2.5.21
ii  man-db                      2.6.6-1
ii  patch                       2.7.1-4
ii  patchutils                  0.3.2-3
ii  python3-debian              0.1.21+nmu2
ii  python3-magic               1:5.14-2
ii  sensible-utils              0.0.9
ii  strace                      4.5.20-2.3
ii  unzip                       6.0-10
ii  wdiff                       1.2.1-2
ii  wget                        1.15-1
ii  xz-utils                    5.1.1alpha+20120614-2

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]            8.1.2-0.20131005cvs-1
ii  build-essential              11.6
ii  cvs-buildpackage             5.23
pn  devscripts-el                <none>
ii  gnuplot                      4.6.4-2
ii  gpgv                         1.4.16-1
ii  libauthen-sasl-perl          2.1500-1
ii  libfile-desktopentry-perl    0.07-1
ii  libnet-smtp-ssl-perl         1.01-3
ii  libterm-size-perl            0.207-1+b1
ii  libtimedate-perl             2.3000-1
ii  libyaml-syck-perl            1.27-2+b1
ii  mutt                         1.5.21-6.4
ii  openssh-client [ssh-client]  1:6.5p1-4
pn  svn-buildpackage             <none>
ii  w3m                          0.5.3-15

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/bin/uscan (from devscripts package)
From 3d353f41e05f7ce2a925960a9dcbcaaab055752b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Pr=C3=A9vot?= <[email protected]>
Date: Sat, 15 Feb 2014 20:59:17 -0400
Subject: [PATCH] uscan: Honor Referer

---
 scripts/uscan.pl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 4438e25..198cdb1 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -1377,6 +1377,7 @@ EOF
 	    print STDERR "$progname debug: requesting URL $url\n" if $debug;
 	    my $headers = HTTP::Headers->new;
 	    $headers->header('Accept' => '*/*');
+	    $headers->header('Referer' => $base);
 	    $request = HTTP::Request->new('GET', $url, $headers);
 	    $response = $user_agent->request($request, $fname);
 	    if (! $response->is_success) {
-- 
1.9.0.rc3

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: devscripts
Source-Version: 2.14.7

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

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <[email protected]> (supplier of updated devscripts 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 25 Sep 2014 20:49:15 -0400
Source: devscripts
Binary: devscripts
Architecture: source amd64
Version: 2.14.7
Distribution: unstable
Urgency: low
Maintainer: James McCoy <[email protected]>
Changed-By: James McCoy <[email protected]>
Description:
 devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 544366 622561 739137 753772 754203 757425 757481 757614 757807 758668 
762070 762888
Changes:
 devscripts (2.14.7) unstable; urgency=low
 .
   [ Cyril Brulebois ]
   * deb-reversion: update change_version(), fixing the missing call_hook
     statement in the udeb case. That was overlooked when the changelog
     massaging was made conditional, and causes hooks to be ignored for
     udebs. (Closes: #757425)
 .
   [ James McCoy ]
   * debsign/debi/debc: Delay checking for the existence of the
     --debs-dir/DEBRELEASE_DEBS_DIR directory until we get to code that
     actually uses said directory.  (Closes: #544366)
   * mk-build-deps: Pass the file, not package, names to unlink when --remove
     is given.  (Closes: #757481)
   * debcheckout: Always define $origtgz_name when a URL is specified on the
     command line.  (Closes: #757614)
   * dcmd: Add --debtar option and restrict --tar/--orig to orig.tar.*.  Thanks
     to Osamu Aoki for the patch.  (Closes: #622561)
   * grep-excuses: Remove useless call to “hostname --fqdn”.  (Closes: #758668)
   * build-rdeps: Recognize arch-qualified package names.  Thanks to Stuart
     Prescott for the patch.  (Closes: #757807)
   * uscan:
     + Consistently pass the path to the downloaded (and possibly
       renamed/symlinked/…) file as an argument to the watch file's action
       command.
     + Add support for a repacksuffix option to the watch file.  This is passed
       through to mk-origtargz.  (Closes: #753772)
     + Specify Referer header when traversing http(s) sites.  Thanks to David
       Prévot for the patch.  (Closes: #739137)
   * mk-origtargz: Add a --repack-suffix option to adjust the upstream version
     when the upstream sources are modified (e.g., due to Files-Excluded).
   * bts: Don't send the email when the user saves an empty body for the email.
     (Closes: #762888)
 .
   [ Benjamin Drung ]
   * Remove unused build-dependencies libjson-perl and libterm-size-perl
 .
   [ Joachim Breitner ]
   * mk-origtargz: Treat jars like zip files (Closes: #754203)
 .
   [ Dominique Dumont ]
   * licensecheck: Check javascript files.  (Closes: #762070)
Checksums-Sha1:
 003f634684ff734bd003e1d2a424648423209d86 2236 devscripts_2.14.7.dsc
 390766e70f9121f35d9dee8637e13e439f75ff89 606160 devscripts_2.14.7.tar.xz
 003abcb352f5e42b3ad8d9b1fa7dd76e43c6daff 897092 devscripts_2.14.7_amd64.deb
Checksums-Sha256:
 9c9b3b504bb2bdc4ea5e89b00f79969a190818b167c5313765ea9b5d53bb476e 2236 
devscripts_2.14.7.dsc
 d56fe7ba9a1074a44dca62f66ab03c5e9fa3338d3c298ae8d6a5f1a92162b715 606160 
devscripts_2.14.7.tar.xz
 fe1c125df0a6a5494af2ad15bfb3edc3fdd468f16da738bcf1cfa3e0e1fd7207 897092 
devscripts_2.14.7_amd64.deb
Files:
 e118bb19dc9fc5cca13397e38b0824c1 897092 devel optional 
devscripts_2.14.7_amd64.deb
 425ab7f39caaad73cb2460f2669c8cce 2236 devel optional devscripts_2.14.7.dsc
 0e782a14f4575c4cf2bc06d40425f700 606160 devel optional devscripts_2.14.7.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJUJLn8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ5MUJGQkY0RDY5NTZCRDVERjdCNzJEMjNE
RkU2OTFBRTMzMUJBM0RCAAoJEN/mka4zG6Pb5HIP/jqYSWdXIYHUDiWdLzar7SFX
Cu4of5J1WjuFee7h8UE1kBppUfU0+x5LsQzUOJ5RlFnrfPMA7YxIGitqbQfJe5+7
OMa1V51x0a6mIUz8z1eN6wSfEWQgHychg/kjO9PW1cBnszPrcU02Qu5nWdfHf0Bx
KkolYu8EUBcx8iK/3S6PA6F0sOzNbwv0dftyTlFKksPH4ra0MPdP3RIFlbZhzSmQ
Y2Ce4NcbR0QHp+AIdx2MPg+VENIPamqw+jHIpxnAhSUAyGBz8OJL7HK00SzPet3K
3a9JbGlDB/6GK5jTTO38Hj7CUrYOJeBVOCWyVn/CLr//xF22FdJhI+TKd+G7wN9o
NG4019O+PDXoqXnKfWnCMSPj4sQJS4OkvLX5Dfb/UbSDzyupMmIDJF/2vR5Dta6E
mFLgld9A/1WpQnehAViRY3l4UoIIOSe1zVSUiZKfoYatHJPgRZClJKWb+BMW1OUh
ZAGbORtv9dw/+OIl7OZkl5UEQhexK20o1i8RLy0XeJkXhCVypdaM3ahQ2TLxMiDX
tex977Orhq1BkzjaZI16TzGKlNIesyjjH+h89qvSNu+PD3sgIyQyjkVo4YK/WEX5
JzFzUTZB5KIrAR4kdibqgmjRc7+XnOh9Iq8hgLM7McEC7YFba9qNlX9Dn9xhaZtq
/1S9CU6FuasG51Jz7GO4
=wsYL
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to