[comp.os.linux.development.system - 18 Aug 1999 17:44:42 -0400]
* Johan wrote *
Not wanting to start dist-wars here, but Debian handles this a bitQuote:> what if the builder doesn't offer a patch. you want to roll up a new
> rpm from the newer sources and wish to borrow from past rpm spec
> files. you have to download the source twice. it's annoying.
better.
With debian source archives you have:
source_version-debian_version.dsc
source_version-debian_version.diff.gz
source_version.orig.tar.gz
The .dsc file contains information about the package, a lot of it taken
from the debian/control file (a bit like the top part of a spec file, it
would seem), and a list of the other files in the source archive, with
size and md5sum information. The .dsc is PGP-signed by the maintainer.
The .orig.tar.gz contains the upstream source. None of the
debian-specific modifications in there.
Finally, the .diff.gz contains all of the debian changes from the
upstream source. This includes the debian/ directory, holding all the
information necessary to create a .deb package. It may also contain
patches to the source to conform with Debian policy, or to fix important
bugs until the upstream contains the fix.
If you have downloaded the source from the upstream maintainer
seperatly, all you need to download is the .diff.gz (and the .dsc if you
want to check the .diff.gz's authenticity). It's usually just a matter
of patching the source with this .diff, and compiling a debian package
as normal.
--
Chris Butler