Package: devscripts
Version: 2.10.69+squeeze1
Severity: wishlist

The upstream developer of the scheme9 package silently dumps new
versions of the upstream tarball, with the same name, in a specified
location.

  http://t3x.org/s9fes.tgz

The version can be determined in one of two ways.

Either unpack the tarball, find a specific line, and parse it:

  $ tar --to-stdout --extract --file ../scheme9_2011.02.18.orig.tar.gz s9/s9.c 
| egrep '^[#]define +VERSION'
  #define VERSION "2010-11-13"

Or use the timestamp from the headers:

  $ curl --silent --remote-time --remote-name http://t3x.org/s9fes.tgz
  $ ls -l s9fes.tgz
  -rw-rw-r-- 1 barak barak 483351 Feb 18 07:11 s9fes.tgz
  $ mv s9fes.tgz scheme9_$(stat --format '%y' s9fes.tgz | awk '{print $1}' | tr 
- .).orig.tar.gz
  $ ls -l scheme9_2011.02.18.orig.tar.gz
  -rw-rw-r-- 1 barak barak 483351 Feb 18 07:11 scheme9_2011.02.18.orig.tar.gz

Ideally, uscan would have some way to support each of these.

(And yes, I do have a strong stomach; why do you ask?)

                                        --Barak.
--
Barak A. Pearlmutter
 Hamilton Institute & Dept Comp Sci, NUI Maynooth, Co. Kildare, Ireland
 http://www.bcl.hamilton.ie/~barak/




-- 
To unsubscribe, send mail to [email protected].

Reply via email to