[pkg-ntp-maintainers] Bug#823269: Fix debian/watch for ntp

Nicholas Luedtke nicholas.luedtke at hpe.com
Mon May 2 19:44:18 UTC 2016


Package: ntp
Version: 1:4.2.8p4+dfsg-3
Tags: patch

The watch file for ntp fails to report all upstream versions. Attached
is a patch to fix this. Output from uscan is below.

Uscan with current watchfile:
/ntp-4.2.8p4+dfsg$ uscan --report --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts=dversionmangle=s/\+dfsg(\.\d+)?$//;s/\.p/p/
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-([0-9.p]+)\.tar\.gz
-- Found the following matching hrefs:
     ntp-4.2.8p3.tar.gz (4.2.8p3)
     ntp-4.2.8p3.tar.gz (4.2.8p3)
Newest version on remote site is 4.2.8p3, local version is 4.2.8p4+dfsg
 (mangled local version number 4.2.8p4)
 => remote site does not even have current version
-- Scan finished
	

Uscan with change:
/ntp-4.2.8p4+dfsg$ uscan --report --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   opts=dversionmangle=s/\+dfsg(\.\d+)?$//;s/\.p/p/
https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2
ntp-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
-- Found the following matching hrefs:
     ntp-4.2.0.tar.gz (4.2.0)
     ntp-4.2.0.tar.gz (4.2.0)
     ntp-4.2.2.tar.gz (4.2.2)
     ntp-4.2.2.tar.gz (4.2.2)
     ntp-4.2.2p1.tar.gz (4.2.2p1)
     ntp-4.2.2p1.tar.gz (4.2.2p1)
     ntp-4.2.2p2.tar.gz (4.2.2p2)
     ...
     ntp-4.2.8p4.tar.gz (4.2.8p4)
     ntp-4.2.8p4.tar.gz (4.2.8p4)
     ntp-4.2.8p5.tar.gz (4.2.8p5)
     ntp-4.2.8p5.tar.gz (4.2.8p5)
     ntp-4.2.8p6.tar.gz (4.2.8p6)
     ntp-4.2.8p6.tar.gz (4.2.8p6)
     ntp-4.2.8p7.tar.gz (4.2.8p7)
     ntp-4.2.8p7.tar.gz (4.2.8p7)
Newest version on remote site is 4.2.8p7, local version is 4.2.8p4+dfsg
 (mangled local version number 4.2.8p4)
 => Newer version available from

https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p7.tar.gz
-- Scan finished

-- 
Nicholas Luedtke
HPE Linux, Hewlett-Packard Enterprise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntp-watch.patch
Type: text/x-patch
Size: 469 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20160502/204f7646/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20160502/204f7646/attachment.sig>


More information about the pkg-ntp-maintainers mailing list