On Mon, Nov 18, 2002, Andrews, Martin wrote:

> The trick is that the master and client hierarchies are really the same
> hierarchy (say /opt/openpkg) - but on different machines. I can use packages
> created on the master on any machine (of the same platform). All machines
> can also access the reference hierarchy from an automount point: say
> /automount/openpkg-X-Y . As you mention, many packages will not work if I
> try to run them from that location - but if I install a proxy package into
> /opt/openpkg with links to the files in /automount/openpkg-X-Y then any
> package can be supported!

Ah, ok, now I understand. Then it's sufficient that you have
an option for overriding the remote/master path. Ok, done,
see http://cvs.openpkg.org/chngview?cn=5464 for details and
ftp://ftp.openpkg.org/current/SRC/openpkg-20021118-20021118.src.{rpm,sh}
for the result. You now can use:

$ /usr/openpkg/bin/rpm --rebuild \
  ftp://ftp.openpkg.org/current/SRC/foo-X-Y.src.rpm
$ rpm --makeproxy --prefix=/automount/openpkg-X-Y \
  /usr/openpkg/RPM/PKG/foo-X-Y.*.rpm

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to