cvs commit: ports/Mk bsd.port.mk

Alexander Leidinger Alexander at Leidinger.net
Wed Aug 8 05:56:32 PDT 2007


Quoting Michael Nottebrock <lofi at freebsd.org> (from Tue, 07 Aug 2007  
19:53:19 +0200):

> I think we might possibly be talking past each other - let me rephrase
> my concerns about the EXPLICIT_PACKAGE_DEPENDS switch and its functionality:
>
> - I am concerned about users trying to use that switch *now* to cut down
> time on portupgrade -r and portupgrade -R operations and getting
> inconsistently updated installations as a result. That was the main
> motivation for my initial reply to your message - since there is no
> documentation other than your messages for that switch and since it does
> not print out any warnings either, I thought I had to issue that
> warning. Other than that, I realise this is experimental and off by
> default and as such I don't have a problem with it. Providing the
> missing documentation and make the switch print appropriate warnings
> might still be worthwhile though.

Where should the following (or something similar) be added to?
---snip---
The ports collection now has a knob (EXPLICIT_PACKAGE_DEPENDS) to only  
register the explicit dependencies. It will allow to speed up  
"portupgrade -r" and "portupgrade -R" in the future. This is an  
experimental feature for developers/mainainers only at the moment, as  
the ports collection has not all necessary explicit dependencies which  
are needed to make this work smoothly for endusers. If you use it you  
are not allowed to complain (send patches instead).
---snip---

> - Finally, I am concerned about the amount of work required to keep the
> dependencies up to date. This last concern is admittedly KDE-centric
> (and thus selfish :). The more automated tests or automated dependency
> registration mechanisms there are in place, the less concern there will
> be from my side. Those two quickshots already look pretty good - how
> about trying to integrate them into the pointyhat buildscript?

I improved them a little bit. The objdump part now has some sanity  
checks and I removed the useless use of grep (awk can do this). The  
package resolving script is also improved, I use getopt now for the  
part to specify the PREFIX, and you can specify multiple PREFIX  
directories. It also has some sanity checks now.

I try to get some time this week to commit them (before commit  
reviews/suggestions/improvements would be appreciated), until then you  
can find them at
     http://www.Leidinger.net/FreeBSD/scripts/

Bye,
Alexander.

-- 
Have at you!

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the cvs-all mailing list