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

Re: [CMake] Producing deb package with 'ar'

"Mathieu Malaterre" <mathieu.malaterre@gmail.com> writes:
> On 8/6/07, Antti-Juhani Kaijanaho <antti-juhani@kaijanaho.fi> wrote:
>> On Mon, Aug 06, 2007 at 12:34:40PM +0200, Mathieu Malaterre wrote:
>>>   I am currently working on integrating debian packaging system in
>>> cpack (part of CMake, see cmake.org). Basically cpack used to have a
>>> simple tarball system for creating package on *NIX. I simply had to
>>> encapsulate this tarball within an 'ar'ball, with a control and a
>>> md5sums file (*)
>> I recommend reading the deb(5) man page; there may be surprises.
> Hum... I don't see anything surprising (debian oldstable). I have been
> listing the file in the correct order:
>  $ ar -r bla.deb debian-binary control.tar.gz data.tar.gz

That will not work. ar(1) is GNU ar on most systems, while dpkg uses
ar-as-in-BSD-ar. The diffeences are subtle, but lead to problems in
some applications.

Fachbegriffe der Informatik - Einfach erklärt
193: PHP
       People Hate Perl (Kristian Köhntopp)

Attachment: pgpRVDXf7BQvG.pgp
Description: PGP signature

Reply to: