View Single Post
  #2   (View Single Post)  
Old 27th January 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

Not sure if you are familiar with it yet, by a nice site to for NetBSD pkgsrc is http://pkgsrc.se/info.php

If you set and export the PKG_PATH, installing a package should install all required dependencies.

From http://www.netbsd.org/docs/pkgsrc/using.html#using-pkg
Quote:
4.1.2. Installing binary packages

In the directory from the last section, there is a subdirectory called All, which contains all the binary packages that are available for the platform, excluding those that may not be distributed via FTP or CDROM (depending on which medium you are using), and the ones that have vulnerabilities and therefore are considered insecure to install without thinking before.

To install packages directly from an FTP or HTTP server, run the following commands in a Bourne-compatible shell (be sure to su to root first):

Code:
# PATH="/usr/pkg/sbin:$PATH"
# PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/OPSYS/ARCH/VERSIONS/All"
# export PATH PKG_PATH
[snip]
Code:
# pkg_add ap2-php5-*
Note that any prerequisite packages needed to run the package in question will be installed, too, assuming they are present where you install from.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote