On Sun, 17 Mar 2013 21:23:48 -0700, tony mancill wrote: > > (I just wasn't sure where the upstream tarball came from since there > > is, IIRC, no debian/watch file :)) > > Fair enough. The tarball is available at this link: > > http://wrapper.tanukisoftware.com/download/3.5.3/wrapper_3.5.3_src.tar.gz?mode=download > > So a generalized watch file would need to first look at the contents of > ./download/, parse the latest version folder, and then fetch that from > the contents of that version folder.
Ouch. The following (ugly and probably improvable) watch file seems to work for me: #v+ opts="downloadurlmangle=s|/downloads/([\d\.]+)/$|/download/$1/wrapper_$1_src.tar.gz|,\ filenamemangle=s|^.+?([\d\.]+).+$|wrapper_$1_src.tar.gz|" \ http://wrapper.tanukisoftware.com/downloads/ /downloads/([\d\.]+)/ #v- Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Kurt Ostbahn & Die Kombo: Gspusi
signature.asc
Description: Digital signature