what next for the pkg_install rewrite

Jim Trigg jktrigg at gmail.com
Fri Aug 20 00:00:17 UTC 2010


On Thu, Aug 19, 2010 at 6:10 PM, Ivan Voras <ivoras at freebsd.org> wrote:
> On 19/08/2010, jhell <jhell at dataix.net> wrote:
>>       Adding to this I would like to see a central database created for
>> packages that have been removed like in Slackware Linux. They keep a
>> file in /var/log/preserved_packages with a flat text format with the
>> file name looking like:
>>
>> ${PORTNAME}-${PORTVERSION}${PORTREVISION}-`date +%Y%m%d%H%M%S`
>
> Ah yes, you reminded me of this other thing: I would also suggest
> getting rid of text files carrying rich information in ad-hoc formats
> :)
>
> I'm not saying XML should be the only choice, but it *is* well
> supported - expat is even in base as libbsdxml.

That might be acceptable.

> While suggesting nebulous things I know will be hard to pass near a
> lot of people: sqlite is *the* choice for any record-based file
> databases today. The single most important thing I'll promote with it
> is its transaction capabilities and ACID - these would get much use if
> parallel operations (upgrades / installs) are to be supported. There
> are a ton of other reasons too.

On the other hand, I have strong philosophical objections to core
port/package management utilities requiring large support structures
of other ports/packages.

Jim


More information about the freebsd-ports mailing list