Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2008 19:35:07 +0200
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Adding .db support to pkg_tools
Message-ID:  <20080509173507.GB35511@keltia.freenix.fr>
In-Reply-To: <op.uavxx8ip2n4ijf@duckjen.nextgentel.no>
References:  <op.uavxx8ip2n4ijf@duckjen.nextgentel.no>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Anders Nore:
> with the base system (/usr/src/include/db.h). BerkeleyDB is not you're 
> typical relational db, and can only save key/value pairs. The way I'm 
> thinking of storing information to the .db is to name the keys as the 
> directory names in /var/db/pkg. And save the +* files in the directories to 
> the value element in the db, separated with a special character or similar.

Please make it compatible with the existing infrastructure in
/var/db/pkg maintained by portinstall/portupgrade.  If it can be improved
as a side-effect, that would be even better.
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
Darwin sidhe.keltia.net Version 9.2.0: Tue Feb  5 16:13:22 PST 2008; i386




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080509173507.GB35511>