From owner-freebsd-ports Sat Jun 2 6: 4:11 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id B861437B422 for ; Sat, 2 Jun 2001 06:04:07 -0700 (PDT) (envelope-from roam@orbitel.bg) Received: (qmail 29520 invoked by uid 1000); 2 Jun 2001 13:03:03 -0000 Date: Sat, 2 Jun 2001 16:03:03 +0300 From: Peter Pentchev To: Ernst de Haan Cc: George Reid , ports@FreeBSD.org Subject: Re: Supporting pkg-plist.gz ? Message-ID: <20010602160303.D28335@ringworld.oblivion.bg> Mail-Followup-To: Ernst de Haan , George Reid , ports@FreeBSD.org References: <20010601131703.B15784@c187104187.telekabel.chello.nl> <20010601134436.C15784@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010601134436.C15784@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Fri, Jun 01, 2001 at 01:44:36PM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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