Package: devscripts
Version: 2.20.4
Followup-For: Bug #971086

I also face this issue with the ipset package,

=== 8< ===
uscan info: Requesting URL:
   http://ftp.netfilter.org/pub/ipset/
   uscan warn: In watchfile debian/watch, reading webpage
     http://ftp.netfilter.org/pub/ipset/ failed: 403 Forbidden
     uscan info: Scan finished
=== >8 ===

The workaround fixes this issue in my case,

--- /usr/share/perl5/Devscripts/Uscan/http.pm.orig      2020-11-21 
09:09:42.339825109 +0700
+++ /usr/share/perl5/Devscripts/Uscan/http.pm   2020-11-21 09:09:48.000024486 
+0700
@@ -40,6 +40,7 @@
         }
     }
     $request->header('Accept-Encoding' => 'gzip');
+    $request->header('Accept' => '*/*');
     my $response = $self->downloader->user_agent->request($request);
     if (!$response->is_success) {
         uscan_warn

Best regards,
Neutron Soutmun

-- Package-specific info:

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

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages devscripts depends on:
ii  dpkg-dev              1.20.5
ii  fakeroot              1.25.3-1.1
ii  file                  1:5.39-3
ii  gnupg                 2.2.20-1
ii  gnupg2                2.2.20-1
ii  gpgv                  2.2.20-1
ii  libc6                 2.31-4
ii  libfile-homedir-perl  1.006-1
ii  libfile-which-perl    1.23-1
ii  libipc-run-perl       20200505.0-1
ii  libmoo-perl           2.004000-1
ii  libwww-perl           6.49-1
ii  patchutils            0.4.2-1
ii  perl                  5.32.0-5
ii  python3               3.8.6-1
ii  sensible-utils        0.0.12+nmu1
ii  wdiff                 1.2.2-2+b1

Versions of packages devscripts recommends:
ii  apt                         2.1.11
ii  at                          3.1.23-1.1
ii  curl                        7.72.0-1
ii  dctrl-tools                 2.24-3+b1
ii  debian-keyring              2020.09.24
ii  dput                        1.0.3
ii  equivs                      2.3.1
ii  libdistro-info-perl         0.24
ii  libdpkg-perl                1.20.5
ii  libencode-locale-perl       1.05-1
ii  libgit-wrapper-perl         0.048-1
ii  libgitlab-api-v4-perl       0.25-2
ii  liblist-compare-perl        0.55-1
ii  liblwp-protocol-https-perl  6.09-1
ii  libsoap-lite-perl           1.27-1
ii  libstring-shellquote-perl   1.04-1
ii  libtry-tiny-perl            0.30-1
ii  liburi-perl                 5.05-1
ii  licensecheck                3.0.47-1
ii  lintian                     2.102.0
ii  man-db                      2.9.3-2
ii  patch                       2.7.6-6
ii  pristine-tar                1.49
ii  python3-apt                 2.1.5
ii  python3-debian              0.1.38
ii  python3-magic               2:0.4.15-4
ii  python3-requests            2.24.0+dfsg-1
ii  python3-unidiff             0.5.5-2
ii  python3-xdg                 0.26-3
ii  strace                      5.5-3
ii  unzip                       6.0-25
ii  wget                        1.20.3-1+b3
ii  xz-utils                    5.2.4-1+b1

Versions of packages devscripts suggests:
pn  adequate                                   <none>
ii  autopkgtest                                5.15
pn  bls-standalone                             <none>
ii  bsd-mailx [mailx]                          8.1.2-0.20180807cvs-2
ii  build-essential                            12.8
pn  check-all-the-things                       <none>
pn  cvs-buildpackage                           <none>
ii  debhelper                                  13.2.1
pn  devscripts-el                              <none>
ii  diffoscope                                 161
pn  disorderfs                                 <none>
pn  dose-extra                                 <none>
pn  duck                                       <none>
pn  faketime                                   <none>
pn  gnuplot                                    <none>
ii  how-can-i-help                             17
ii  libauthen-sasl-perl                        2.1600-1
pn  libdbd-pg-perl                             <none>
ii  libfile-desktopentry-perl                  0.22-2
pn  libnet-smtps-perl                          <none>
pn  libterm-size-perl                          <none>
ii  libtimedate-perl                           2.3300-1
pn  libyaml-syck-perl                          <none>
pn  mozilla-devscripts                         <none>
ii  mutt                                       1.14.6-1
ii  openssh-client [ssh-client]                1:8.4p1-2
pn  piuparts                                   <none>
ii  postgresql-client                          13+223
ii  postgresql-client-11 [postgresql-client]   11.6-2~sid1+b1
ii  postgresql-client-12 [postgresql-client]   12.4-3
ii  postgresql-client-13 [postgresql-client]   13.1-1
ii  postgresql-client-9.5 [postgresql-client]  9.5.4-3
ii  postgresql-client-9.6 [postgresql-client]  9.6.6-0+deb9u1
ii  quilt                                      0.66-2.1
pn  ratt                                       <none>
pn  reprotest                                  <none>
pn  svn-buildpackage                           <none>
ii  w3m                                        0.5.3-38+b1

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to