[Pkg-Cyrus-imapd-Debian-devel] .orig.tar.gz orig vs. repacked

Henrique de Moraes Holschuh hmh at debian.org
Wed Aug 31 16:43:29 UTC 2005


On Wed, 31 Aug 2005, Sven Mueller wrote:
> Right. However, when I migrated your cyrus21 work to cyrus22, running
> dpkg-buildpackage twice within the same tree (as created by dpkg-source
> -x) didn't work.

Bug, bug :)  Will track it down.  But this IS weird, since I
dpkg-buildpackage a lot from the build tree, quite often more than five
times in a row...

> When I said in a buildable state, I meant in the sense of being able to
> run "debian/rules binary" successfully. I.e. if debian/rules is able to

So we agree with it. Ok, EOD :-)

> >>1) add a target create-tarball (or however it was called) to fetch the
> >>   newest upstream tarball and repack it as we want it.
> >
> > That's doable, and there is a semi-standard target for it. I don't recall
> > which, though.  We will have to hunt it down in the MLs.
> 
> get-orig-source, see
> http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules

Ah, thanks.  We could certainly add support for it, yes.  It is likely that
it will be a simple wget given how remarkably acceptable the upstream trees
are...

> Note that the target doesn't necessarily need to modify the orig.tar.gz
> file before packaging. However, I tend to say we could keep our current
> orig.tar.gz as is and move to the full original upstream tarball with
> the next upstream release.

Yes, we can. I have nothing against it, either.

> Na, I just want to make sure that after "debian/rules clean", the source
> tree looks as close as possible to what "dpkg-source -x" unpacked. Or at
> least as close as necessary so that "debian/rules binary" would work again.

Heh, that is certainly doable.  The difference between dpkg-source -x and
post-debian/rules clean should be only the removal of files that we are
going to modify VERY extensively and we don't want leaking into the Debian
diff, plus the removal of files that are going to be generated by the build
itself.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list