On Fri, May 16, 2008 at 11:47:09AM -0700, Ben Calvert wrote:
It was finished fairly recently, and it's not 100% tested yet:
- it requires some cooperation between the ports tree and pkg_add:
if you run the ports tree from pkg_add, it means you already have a lock on
/var/db/pkg, so it requires -F nolock.
- it's also one of the reasons for stopping at the first PKG_PATH entry
that satisfies your request. SRC urls are a `last resort', when you can't
find the package and need to build it.
If you want to play with it, you can try adding an entry like:
src:/usr/ports/
at the end of your PKG_PATH
(for instance:
PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/:src:/usr/ports/
and it will build locally whatever it doesn't find on the ftp site...
Note that this needs to disable FETCH_PACKAGES, so in some cases, it will
build more stuff than is available (if it needs to build something, and
it discovers some dependencies are missing, it will build them as well).
In many cases, setting FETCH_PACKAGES=Yes is a simpler way to achieve
similar results.
src: urls will mostly be useful for pkg_add -u.
| Linus Torvalds | Linux 2.6.27-rc8 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.20-rc6 |
| Mike Snitzer | Re: Distributed storage. |
git: | |
| Gerrit Renker | [PATCH 03/37] dccp: List management for new feature negotiation |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Herbert Xu | Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch... |
