Date: Sat, 02 Jun 2001 20:05:17 -0700 From: Doug Barton <DougB@DougBarton.net> To: Ernst de Haan <ernst@jollem.com>, ports@freebsd.org Subject: Re: Getting rid of pkg-comment (Was: Supporting pkg-plist.gz ?) Message-ID: <3B19A96D.5806D54C@DougBarton.net> References: <20010601225706.A36653@c187104187.telekabel.chello.nl> <200106021038.f52AcXo50376@mail.uic-in.net> <20010602135045.A682@c187104187.telekabel.chello.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B19A96D.5806D54C>