[Pkg-zsh-devel] .orig tarball name

Axel Beckert abe at debian.org
Sat Feb 15 02:02:17 GMT 2020


Hi Daniel,

Daniel Shahaf wrote:
> > > Could the .orig tarball be named with a +dfsg suffix, as per [1], in order
> > > to self-document that it's different from upstream's artifact?  
> > 
> > This documentation is admittedly incomplete, because it silently
> > assumes that the only reason for repackaging are license issues of
> > single files, not purely technical issues.
> > 
> > So if we introduce that type of renaming, wie should use "+ds" for
> > "debian source".
> 
> I did wonder about +ds; I don't recall seeing it documented.

Not sure where I initially dug it up. I'm sure this is not my initial
source, but at least it's a kinda official document and explains it:

https://wiki.debian.org/DebianMentorsFaq#What_does_.2BIBw-dfsg.2BIB0_or_.2BIBw-ds.2BIB0_in_the_version_string_mean.3F

> > I'd still prefer if we would move to the original upstream tar ball.
> 
> I guess this would require a Makefile target to clean all those
> generated files?

Probably.

> > Frank: Do you remember the exact reasoning?
> 
> I'm guessing, but perhaps the idea was to ensure that all the generated
> files below can in fact be rebuilt from source?

That, too. And Ubuntu reverts exactly this and uses the upstream tar
ball -- with wrong paths as a result:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1098531

> Are there any clues in comments in the code that generates the
> repacked tarball?

Nope. :-/

> So the orig tarball removes some generated files and adds
> Util/difflog.pl, which has no license header and in any case
> doesn't need to be distributed, according to
> http://www.zsh.org/mla/workers/2007/msg01065.html (h/t dana).

The tar ball we generate is exactly what's in the git repo (which is
by best practice the least amount of files needed to build zsh:

get-orig-source:
        git archive --format=tar --output=../zsh_$(version).orig.tar --prefix=zsh-$(version)/ zsh-$(version)
	xz -7v ../zsh_$(version).orig.tar

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Pkg-zsh-devel mailing list