what next for the pkg_install rewrite

Garrett Cooper yaneurabeya at gmail.com
Sat Aug 21 01:27:45 UTC 2010

On Aug 20, 2010, at 9:27 AM, Anonymous wrote:

> Garrett Cooper <yaneurabeya at gmail.com> writes:
>> The emphasis that Florent made too was to remove crud in pkg_install
>> and libpkg and get things down to more of a library form so we could
>> develop thin wrappers above pkg_install with logical functions (like
>> apt-get, yum, etc does with fetching, whereas rpm does with
>> installation, etc), instead of maintaining pkg_install the way it is
>> today.
> From perspective of a user I'd like those wrappers be written in a
> scripted language so they're easy to hack. Because sh(1) doesn't have
> smth like FFI we'd need one command that exports all functions from the
> library. Some port managing tools could then bypass those wrappers when
> doing complex tasks.

As long as we don't get into wrapper script hell (greater than 2 levels deep), sure :).

More information about the freebsd-ports mailing list