Date: Sat, 2 Jun 2001 16:03:03 +0300 From: Peter Pentchev <roam@orbitel.bg> To: Ernst de Haan <ernst@jollem.com> Cc: George Reid <greid@FreeBSD.org>, ports@FreeBSD.org Subject: Re: Supporting pkg-plist.gz ? Message-ID: <20010602160303.D28335@ringworld.oblivion.bg> In-Reply-To: <20010601134436.C15784@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Fri, Jun 01, 2001 at 01:44:36PM %2B0200 References: <20010601131703.B15784@c187104187.telekabel.chello.nl> <Pine.BSF.4.21.0106011225500.51483-100000@sobek.openirc.co.uk> <20010601134436.C15784@c187104187.telekabel.chello.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 01, 2001 at 01:44:36PM +0200, Ernst de Haan wrote: > Hi George, > > > The other possibility of supporting compressed plist files (apart from > > gzip) is some sort of custom ASCII tokenisation (i.e. replace all > > instances of "share/doc/foo/bar/" with "A" and list this substitution > > at the top of the plist). This method would enable the size of plist files > > to be reduced without worrying about repository bloat. Comments? > > This sounds like a fairly good idea. If we could use `standard' tools for this > then that would be the best solution, IMO. Errr.. this is already done, you know :) Well, not a single character, more like 5 chars, but you can use PLIST_SUB for this, and do something like: PLIST_SUB+= D=share/doc/foo/bar/ and then use %%D%% whenever you need to. Granted, 5 chars is a bit more than 1, but it's still an improvement :) G'luck, Peter -- This sentence every third, but it still comprehensible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010602160303.D28335>