Re: watch file help
On Tue, Mar 18, 2014 at 4:32 AM, Jakub Wilk <jwilk@debian.org> wrote:
> * Matt Zagrabelny <mzagrabe@d.umn.edu>, 2014-03-17, 17:21:
>
>> https://launchpad.net/ocsinventory-server/stable-2.1/2.1/+download/
>> failed: 500 Can't connect to launchpad.net:443
>
>
> I believe this is because the "ValiCert Class 2 Policy Validation Authority"
> certificate, which signs the launchpad.net certificate, has been removed
> from ca-certificates: https://bugs.debian.org/741561#48
>
> As a temporary work-around, you can disable certificate verification by
> setting the PERL_LWP_SSL_VERIFY_HOSTNAME environment variable to 0.
Thanks for the information, Jakub!
Things look good when run from the command line:
% PERL_LWP_SSL_VERIFY_HOSTNAME=0 uscan --report --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
https://launchpad.net/ocsinventory-server/
https://launchpad.net/ocsinventory-server/stable-[\d.]+/[\d.]+/\+download/OCSNG_UNIX_SERVER-([\d.]+).tar.gz
-- Found the following matching hrefs:
https://launchpad.net/ocsinventory-server/stable-2.1/2.1/+download/OCSNG_UNIX_SERVER-2.1.tar.gz
(2.1)
Newest version on remote site is 2.1, local version is 2.0.5
=> Newer version available from
https://launchpad.net/ocsinventory-server/stable-2.1/2.1/+download/OCSNG_UNIX_SERVER-2.1.tar.gz
-- Scan finished
It is easy enough for me to put the environment variable before the
command, but I am wondering about Debian's automated tools on the
backend.
How do I configure the the source package so that the environment
variable is set for the automated tools that Debian uses?
% cat debian/watch
version=3
https://launchpad.net/ocsinventory-server/
https://launchpad.net/ocsinventory-server/stable-[\d.]+/[\d.]+/\+download/OCSNG_UNIX_SERVER-([\d.]+).tar.gz
Thanks for any help!
-mz
Reply to: