Add distinfo in +CONTENTS?

Vasil Dimov vd at datamax.bg
Wed Jan 18 01:57:45 PST 2006


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.

> 
> 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/

-- 
Vasil Dimov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060118/4916dc4a/attachment.bin


More information about the freebsd-ports mailing list