ports feature - category
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. Unfortunatelly, it would mean to add some metadata file in package or to add category name in package file name... The goal of this is to protect core/opt/contrib categories from being updated by other ports, or even to protect my own customization of core/opt/contrib ports... We could make some exclude config file: core/* opt/* contrib/* myports/apache-1.3* In this situation we could protect all core/opt/contrib categories and the second line would protect my own apache-1.3* port from other apache version in myports category... Huh, I don't know it could be stupid idea... What do you think? Best regards -- jirib jiri.b@sendmail.cz
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@smts.ch Zurich, Switzerland http://jw.smts.ch
participants (2)
-
Jiri Belka
-
Johannes Winkelmann