Add distinfo in +CONTENTS?

Jeremy Messenger mezz7 at cox.net
Wed Jan 18 09:31:44 PST 2006


On Wed, 18 Jan 2006 03:57:42 -0600, Vasil Dimov <vd at datamax.bg> wrote:

> On Tue, Jan 17, 2006 at 09:25:23PM -0600, Jeremy Messenger wrote:
>> Hello folks,
>>
>> What do anyone think of add distinfo (filename, md5, sha256 and size) in
>> the +CONTENTS?
>
> As I see the idea of the +CONTENTS file is to store what the port has
> installed, but the original archive has nothing to do with that. So I
> guess +CONTENTS is not the appropriate place for this.

Good point, go with +DISTINFO.

Cheers,
Mezz

>> I think it will gaining more features for our third party apps to use it
>> such as portupgrade, portmaster, and etc can clean the old or un-use
>> tarballs in the distfiles more correct. Also, maybe add a new flag in
>> pkg_add that can display the full info that look like distinfo, so if
>> author, developer or whatever want to know what kind of tarball you have
>> used in case if they re-rolled tarball w/out have your or maintainer
>> knowledge.
>
> It seems a good idea to have the distinfo stored somewhere in
> /var/db/pkg/appname/


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-ports mailing list