[Pkg-clamav-devel] Just pushed a get_orig shell script

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Wed Jul 16 21:53:52 UTC 2014


Hi Sebastian,

On 16.07.2014 22:00, Sebastian Andrzej Siewior wrote:
> so Scott asked a few days^WWeeks ago for a get_orig script if I recall.
> I just checked "debian/get_orig.sh" in. After started it should invoke
> uscan to fetch the new tarball and if there is something new, it should
> move it to a temp dir and invoke split-tarball.sh on it. This will then
> create the dfsg and the unrar tar archive.

Thanks, this will be useful.
Looking at it briefly, I noticed the following line:
	echo "Something went not according to the plan and there is no "

I'm not 100% sure if this is intended as joke, or if it should mention 
what is missing... :)

Also I don't see why mk-origtargz is necessary, instead of e.g. uscan 
--rename.

> If it is started (now) then it will fetch the 0.94.5beta. I haven't
> tested the splitted archive.

s/0.94.5beta/0.98.5beta/ ;)

> Scott, is this what you were looking for more or less?

While the script does it's job, I think it would be even nicer to have a 
get-orig-source target in the debian/rules file, because this is 
recommended by policy [1].

Of course, the target could just call the script, but it would be nice, 
if it worked from any directory and would download the tarball, if the 
tarball for the current version is not present in the current directory.
(uscan has a --destdir option, which could be used here.)

Best regards,
Andreas

1: https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules




More information about the Pkg-clamav-devel mailing list