Hi Ed, The change to Makefile.targ echo's the URL of the ips repo server every time it sends a package. For nbuild it'll appear in the src_ipsdefs*txt logs.
Thanks Jonathan Ed McKnight wrote: > Hi Jonathan, > > My only remark beyond Thorsten's is that we need to make sure that > somewhere in the build output it is extremely obvious what repo:port is > being used. > > 1. Similar to other build puzzlements, if my packages don't seem to be > appearing where I expect, I need to be able to verify that destination > very easily from build output. > > 2. For now there is no (built-in) control on repo's to prevent > unauthorized users from sending packages to a legitimate but 'private' > repo (where private just means only certain users are supposed to publish.) > > thx, --emk > > Jonathan Mellors wrote: >> Hi Folks, >> >> I've modified the Colorado code Thorsten originally introduced to >> support sending IPS packages to an IPS repository. The purpose of the >> change is to set a sensible default for the IPSREPO_URL in >> Makefile.master. This default setting can then be used by both nbuild >> and nbmake, or overridden if required. >> >> To allow multiple developers to have their own individual IPS >> repositories on the same build server, we came up with the idea of >> using the user's uid for the port number of the IPS depot server >> "pkg.depotd(1M)". To allow developers to assign their own ports we >> have to avoid the privileged ports (1 - 1023), which leaves us with >> the range 1024 - 65535. Any uids below 1024 will have an assigned port >> number of uid+1024. Any uids above 65535 will have an assigned port >> number of uid modulo 65536, with 1024 being added if the modulo result >> is below 1024. Obviously there's a small chance that more than one >> user could be assigned the same port number, but if that happens they >> can override IPSREPO_URL on the nbuild/nbmake command line. You would >> also have to override IPSREPO_URL, if the IPS packages are to be sent >> to any other server than the one you're building on. >> >> Webrev is at: >> http://cr.opensolaris.org/~jmellors/ipsrepo/ >> >> Thanks >> Jonathan >> >> _______________________________________________ >> ha-clusters-discuss mailing list >> ha-clusters-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/ha-clusters-discuss >>