From owner-freebsd-ports Sat Jun 2 20: 5:39 2001 Delivered-To: freebsd-ports@freebsd.org Received: from dt051n37.san.rr.com (dt051n37.san.rr.com [204.210.32.55]) by hub.freebsd.org (Postfix) with ESMTP id 6A6B137B629 for ; Sat, 2 Jun 2001 20:05:36 -0700 (PDT) (envelope-from DougB@DougBarton.net) Received: from DougBarton.net (master [10.0.0.2]) by dt051n37.san.rr.com (8.9.3/8.9.3) with ESMTP id UAA06511; Sat, 2 Jun 2001 20:05:17 -0700 (PDT) (envelope-from DougB@DougBarton.net) Message-ID: <3B19A96D.5806D54C@DougBarton.net> Date: Sat, 02 Jun 2001 20:05:17 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Ernst de Haan , ports@freebsd.org Subject: Re: Getting rid of pkg-comment (Was: Supporting pkg-plist.gz ?) References: <20010601225706.A36653@c187104187.telekabel.chello.nl> <200106021038.f52AcXo50376@mail.uic-in.net> <20010602135045.A682@c187104187.telekabel.chello.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Ernst de Haan wrote: > Yup. I heard this one before. Using the first sentence of the pkg-descr as the > pkg-comment. I'll repeat this again for fun. The distinfo, pkg-comment AND pkg-descr funcationality should all be combined into the Makefile. It will address 3 issues simultaneously. Inode waste, disk space waste, and repo bloat. Take for example the archivers/rpm2cpio port, as a very simplistic example: -rw-rw-r-- 1 root wheel 680 May 25 21:54 Makefile -rw-rw-r-- 1 root wheel 50 May 25 19:56 distinfo -rw-rw-r-- 1 root wheel 70 Jul 31 1999 pkg-comment -rw-rw-r-- 1 root wheel 401 Apr 29 2000 pkg-descr Currently the first four files take up 4 inodes and four 1k frags. Combined with some made up variable names I get a size of 1225, which is half the number of frags, and only 1 inode. It's doubtful that in practice including the pkg-plist in this system would add enough benefit to justify the cost. Defining these items in the Makefile also neatly solves the slave port problem. Doug -- I need someone really bad. Are you really bad? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message