Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 19:23:48 +0100
From:      Josef Karthauser <joe@tao.org.uk>
To:        Eric Melville <eric@FreeBSD.org>
Cc:        Murray Stokely <murray@FreeBSD.org>, binup@FreeBSD.org
Subject:   Re: design issues
Message-ID:  <20011016192348.N83396@tao.org.uk>
In-Reply-To: <20011016111418.G4211@FreeBSD.org>; from eric@FreeBSD.org on Tue, Oct 16, 2001 at 11:14:18AM -0700
References:  <20011014170515.B39749@FreeBSD.org> <20011014180507.D2654@windriver.com> <20011015020834.Y31066@tao.org.uk> <20011014181709.E2654@windriver.com> <20011016103434.D4211@FreeBSD.org> <20011016190047.H83396@tao.org.uk> <20011016111418.G4211@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--lFd1dPlLw0MeZdw2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 16, 2001 at 11:14:18AM -0700, Eric Melville wrote:
>=20
> Excellent, it sounds like you've covered all of my concerns, the biggest
> of which was the usage of INDEX directly.
>=20

The thing to remember is that INDEX is just the method that the
/usr/ports package system uses to describe what's available to install.
Other package modules, like bsdpan, will have their own way of
advertising what's available.  The only way to tie this altogether is to
use an API with functions like:

* which_package_modules()	# Returns a list of modules that are
				# installed.  /usr/ports isn't
				# necessarally installed.
* which_packages(module_name)	# What packages are available under the
				# specified module.  It may be necessary
				# to have this function available as a
				# more general search function.

* install_package(module_name, package_name)

Joe

--lFd1dPlLw0MeZdw2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjvMezMACgkQXVIcjOaxUBbngACg59N6ePMqm2lQN1MjzVkZ6uTW
xKUAnRsN6nBiHbrvU3bXAjDtwtGQWpKS
=dFia
-----END PGP SIGNATURE-----

--lFd1dPlLw0MeZdw2--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-binup" in the body of the message




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