DragonFly users List (threaded) for 2007-12
DragonFly BSD
DragonFly users List (threaded) for 2007-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Fetch pkgsrc index with pkg_search


From: reed@xxxxxxxxxxxxx
Date: Tue, 11 Dec 2007 09:14:59 -0600 (CST)

On Tue, 11 Dec 2007, Matthias Schmidt wrote:

> Would it be possible to add the pkgsrc INDEX to an official server?
> This enables users to use pkg_search on DragonFly without the need to
> download the whole tree and only install binary packages.

We have a documented data file -- see pkg_summary(5) manual page.

Here is a small part of a shell script I use:

TAG=2007Q3
OPERATING_SYSTEM=`uname -s`
##OS_VERSION=`uname -r`
OS_VERSION=4.0
PLATFORM=`uname -p` # should I use -m?
PKG_REPO=${OPERATING_SYSTEM}/${PLATFORM}/${OS_VERSION}_${TAG}/All
DOWNLOAD_URL="http://ftp.NetBSD.org/pub/pkgsrc/packages/${PKG_REPO}/";
ftp ${DOWNLOAD_URL}/pkg_summary.gz



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]