Re: orig source
On Thu, Apr 09, 1998 at 03:14:33PM +0200, Rainer Clasen wrote:
>
> Carey Evans (c.evans@clear.net.nz):
> > I've gotten the impression that the best way to do it is to use
> > *pristine* uptream source, which means that the .orig.tar.gz is really
> > the tar file you downloaded. The changes should all be in the
> > (automatically generated) .diff.gz.
>
> Does this also apply to tar.gz's which contain precompiled binaries?
>
> I'm not sure whether it was correct to delete those binaries, when I made a
> local tpqic02 package (support for the dynamic QIC-02 kernel driver).
use the pristine tarball if it untar under a single subdirectory, just rename
it as orig.tar.gz
Delete the binaries in the "clean:" target of the rules file, so they won't
appear in the diff file:
e.g., I see in the output building man-db:
dpkg-source: building man-db using existing man-db_2.3.10.orig.tar.gz
dpkg-source: building man-db in man-db_2.3.10-64.diff.gz
dpkg-source: warning: ignoring deletion of directory gencat
dpkg-source: warning: ignoring deletion of file gencat/README
...
dpkg-source: warning: ignoring deletion of file tools/mkcatdirs
dpkg-source: warning: ignoring deletion of file configure
dpkg-source: building man-db using existing man-db_2.3.10.orig.tar.gz
dpkg-source: building man-db in man-db_2.3.10-64.diff.gz
dpkg-source: building man-db in man-db_2.3.10-64.dsc
removed files, binary or ascii, will be ignored from diff, so you don't have
to modify the original tarball and you can proudly tell:
The original source, by Sleepycat Software Inc.,
7d13cbcc3912d6e5b2b953063ade4894 1615957 db-2.3.16.tar.gz
was downloaded from ftp://ftp.sleepycat.com/pub/
and renamed using mv db-2.3.16.tar.gz db_2.3.16.orig.tar.gz
as I like to do in my "copyright" files.
Now that dpkg can handle pristine sources, I think it's better to use them
everywhere it is possible, showing all our work in the diff file.
fab
--
| fpolacco@icenet.fi fpolacco@debian.org fpolacco@pluto.linux.it
| Líder Minimo del Pluto - Debian Developer & Happy Debian User
| 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E
> support the open-source initiative! http://www.opensource.org/
--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: