[Debian-med-packaging] ncbi-tools6: How to write a watch file with version encoded in _ftp_ directory
Eriberto
eriberto at eriberto.pro.br
Thu Dec 1 13:01:56 UTC 2016
Hi Andreas,
2016-12-01 9:15 GMT-02:00 Andreas Tille <andreas at an3as.eu>:
>
> I just noticed that there is a new upstream version of ncbi-tools6[1].
> The current d/watch file in Git[2] locks as:
>
>
> version=3
> # Too bad uscan doesn't actually honor downloadurlmangle for FTP urls. :-/
> # [would use downloadurlmangle="s|$|/ncbi.tar.gz|]
> opts="uversionmangle=s|^|6.1.|" \
> ftp://ftp.ncbi.nlm.nih.gov/toolbox/ncbi_tools/old/(\d{8}[a-z]*)
There are three problems here.
1. The current FTP address is
ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/, not
ftp://ftp.ncbi.nlm.nih.gov/toolbox/ncbi_tools/old.
2. Now, this FTP site only accepts passive mode.
3. The FTP scan via uscan seems accept files only (not directory
names). However, this site has http too.
Please, try the folowing structure:
version=4
opts="passive,uversionmangle=s|^|6.1.|" \
http://ftp.ncbi.nih.gov/toolbox/ncbi_tools/old/ (\d{8}[a-z]*)/
I hope this help.
Cheers,
Eriberto
----------------------------
Useful UDDs:
Help a package: https://people.debian.org/~eriberto/udd/help_a_package.html
Uploaders ranking:
https://people.debian.org/~eriberto/udd/uploaders_ranking.html
Top 500 NEW packages: https://people.debian.org/~eriberto/udd/top_500_new.html
----------------------------
More information about the Debian-med-packaging
mailing list