[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: binary vs "real debian" packages

"Shaun Jackman" <sjackman@gmail.com> writes:

> The orig file would contain all the files not in the debian/
> directory, and the diff file would contain all the files in the
> debian/ directory.

More accurately, the 'foo-1.2.3.orig.tar.gz' file would contain the
"upstream from the perspective of Debian" source; that is, the working
tree of all files that someone would want if they were taking the
software and uninterested in making a Debian package.

The 'foo_1.2.3-1.diff.gz' would contain whatever changes are necessary
to turn that working tree into something buildable to a Debian binary

The 'foo_1.2.3-1.dsc' would contain necessary metadata about the
combination of 'foo-1.2.3.tar.gz' and 'foo_1.2.3-1.diff.gz'.

To answer the OP's "for some reason" implied question: the combination
of these three files is a "Debian source package".

 \        “To punish me for my contempt of authority, Fate has made me |
  `\                an authority myself.” —Albert Einstein, 1930-09-18 |
_o__)                                                                  |
Ben Finney

Reply to: