Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 07:58:02 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))
Message-ID:  <4644847A.5060702@freebsd.org>
In-Reply-To: <f20c8u$htp$1@sea.gmane.org>
References:  <200705102105.27271.blackdragon@highveldmail.co.za> <f20c8u$htp$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote:
> - A quick test confirms that the current bsdtar will happily ignore any
> extra data at the end of a tgz/tbz archive, so package metadata can be
> embedded there, thus conserving existing infrastructure...

Not a good idea at all.

1) Keeping everything within the archive makes it
    possible for people to do surgery on the packages.
    Being able to extract/modify/rebuild packages
    using just tar makes it much easier to debug and
    experiment with new techniques.

2) The existing metadata format is not very pretty,
    but it can be reasonably extended.  (Personally,
    I don't find XML very pretty, either. ;-)

3) As DES pointed out, the package tools must be able
    to read the metadata before the files.  If you really
    need a completely separate metadata file, make it
    the second file in the archive.

Tim Kientzle



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4644847A.5060702>