Re: new source format
On Mon, 15 Mar 1999, Klee Dienes wrote:
>
> > Can someone tell me if the mysterious new source-package format from
> > Klee also supports multiple source tarballs? I need that for the new
> > vim releases..
>
> I'm a bit hesitant to use the word "supports," in that I think the
> format could use a bit of work before we finalize it. The short
> answer, though, is "yes". It supports both multiple source tarballs
> and multiple patch files, as well as some other more esoteric features
> (patches from tarfiles, moving and copying files, etc.).
>
> I've appended an example of a control file I was using at one point to
> build netatalk. I'm not entirely happy with the format just yet, but
> it should at least give a feel of the sort of things that are
> possible.
>
> --------------------------------------------
>
> Package: netatalk
> Section: net
> Priority: optional
> Version: 1.4b2-6
> Standards-Version: 2.2.0.0
> Maintainer: Klee Dienes <klee@debian.org>
> Packaging-Date: Thu, 30 Oct 1997 10:19:55 -0500
> Build-Depends: gcc, make, tar
> Unpack-Depends: tar, cpio, patch, gzip
> Unpack-Commands:
> extract "netatalk-1.4b2" from "netatalk-1.4b2.tar.gz" as "."
> extract "debian" from "debian.tar.gz" as "debian"
> patch with "1.4b2-a17.diff.gz" istrip "netatalk-1.4b2" ostrip "netatalk-1.4b2+asun2.0a17"
> patch with "lprng.diff" istrip "netatalk-1.4b2.orig" ostrip "netatalk-1.4b2"
> patch with "ppr.diff" istrip "netatalk-1.4b2.orig" ostrip "netatalk-1.4b2"
> patch with "shlib.diff"
> patch with "makefiles.diff" reversed
> patch with "filext.diff"
> patch with "linux.diff"
> patch with "solariseagain.diff"
Is having a long Unpack-Commands header preferable to an unpack control
script?
I would have thought the latter was more flexible.
Jules
/----------------+-------------------------------+---------------------\
| Jelibean aka | jules@jellybean.co.uk | 6 Evelyn Rd |
| Jules aka | jules@debian.org | Richmond, Surrey |
| Julian Bean | jmlb2@hermes.cam.ac.uk | TW9 2TF *UK* |
+----------------+-------------------------------+---------------------+
| War doesn't demonstrate who's right... just who's left. |
| When privacy is outlawed... only the outlaws have privacy. |
\----------------------------------------------------------------------/
Reply to: