ports feature - category

Johannes Winkelmann jw at smts.ch
Wed Feb 7 14:23:34 UTC 2007


Hi Jiri,

On Wed, Feb 07, 2007 at 15:12:00 +0100, Jiri Belka wrote:
> Hello all,
> 
> I'm beginner with Crux. It's nice, simple.
> 
> I know that "...all packages are plain tar.gz files (i.e. without any
> kind of meta data).", but using unofficial repositories I often fall
> in situation  that ports -d shows me a lot of updated ports even for
> core/opt/contrib ports...
> 
> I think we could easy add a feature which would protect
> core/opt/contrib (other) ports against updates/update_information from
> other ports categories.
I have to admit I don't fully understand your problem, but core/prt-get
solves some of the problems you talk about be requiring you to state
your preference about port directories by means of prt-get.conf. If this
file lists for example:

----
prtdir /usr/ports/myports:apache

prtdir /usr/ports/core
prtdir /usr/ports/opt
prtdir /usr/ports/contrib
----

all prt-get commands including prt-get diff (which is the "ports -d"
equivalent) and prt-get update will take your wish into account and
ignore any other repositories.

While it may be some more work to explicitely list ports directories,
it's often more rewarding since it gives you perfect control over the
selection of ports.


HTH, Johannes
-- 
Johannes Winkelmann              mailto:jw at smts.ch
Zurich, Switzerland              http://jw.smts.ch



More information about the CRUX mailing list