[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#822997: Fix debian/watch for openssh



Package: openssh
Version: 1:7.2p2-4
Tags: patch

The watch file for openssh has recently stop working possibly due to a
change in the upstream site. Switching from ftp to http solves this
issue. Output from uscan is below and patch is attached.

Uscan with current watchfile:
/openssh-7.2p2$ uscan --report --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts=pgpsigurlmangle=s/$/.asc/
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-(.*)\.tar\.gz
uscan warning: In watchfile debian/watch, reading FTP directory
  ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/ failed: 503
Service Unavailable
-- Scan finished

Uscan with change:
/openssh-7.2p2$ uscan --report --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts=pgpsigurlmangle=s/$/.asc/
http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-(.*)\.tar\.gz
-- Found the following matching hrefs:
     openssh-2.1.1p4.tar.gz (2.1.1p4)
     openssh-2.2.0p1.tar.gz (2.2.0p1)
     openssh-2.3.0p1.tar.gz (2.3.0p1)
     openssh-2.5.1p1.tar.gz (2.5.1p1)
     openssh-2.5.1p2.tar.gz (2.5.1p2)
     openssh-2.5.2p1.tar.gz (2.5.2p1)
     openssh-2.5.2p2.tar.gz (2.5.2p2)
     openssh-2.9.9p1.tar.gz (2.9.9p1)
     ...
     openssh-7.0p1.tar.gz (7.0p1)
     openssh-7.1p1.tar.gz (7.1p1)
     openssh-7.1p2.tar.gz (7.1p2)
     openssh-7.2p1.tar.gz (7.2p1)
     openssh-7.2p2.tar.gz (7.2p2)
Newest version on remote site is 7.2p2, local version is 7.2p2
 => Package is up to date
-- Scan finished


-- 
Nicholas Luedtke
HPE Linux, Hewlett-Packard Enterprise
diff -urN openssh-7.2p2/debian/watch openssh-7.2p2/debian/watch
--- openssh-7.2p2/debian/watch	2016-04-29 13:29:14.907535336 -0600
+++ openssh-7.2p2/debian/watch	2016-04-29 13:29:48.131535091 -0600
@@ -1,3 +1,3 @@
 version=3
 opts=pgpsigurlmangle=s/$/.asc/ \
-ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-(.*)\.tar\.gz
+http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-(.*)\.tar\.gz

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: