Re: What is id or tag for?

2004-03-11 Thread Michael van Elst
On Thu, Mar 11, 2004 at 05:57:39PM +0100, Matthias Kurz wrote:
 On Thu, Mar 11, 2004, David M. Fetter wrote:
 
  I looked through the online documentation but can't seem to find any
  reference as to what the id or tag identifies.  What does it mean? 
  I noticed when I bootstrapped it on Solaris 8 the tag was dcl, but
  then when I'm now building it on Solaris 9 the tag changed to ulo. 
  Why is that?  Can this tag be changed or manipulated for custom rebuilt
  packages?  That would be useful.  Then we can keep essentially the same
  naming convention with our own modified packages but have a different
  tag to identify us.
 

The tag identifies different OpenPKG instances on the same machine
and is by default computed from the prefix.

E.g.:

/usr/local/opkg - ulo

-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
A potential Snark may lurk in every tree.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: What is id or tag for?

2004-03-11 Thread Ralf S. Engelschall
On Thu, Mar 11, 2004, Michael van Elst wrote:

   I looked through the online documentation but can't seem to find any
   reference as to what the id or tag identifies.  What does it mean?
   I noticed when I bootstrapped it on Solaris 8 the tag was dcl, but
   then when I'm now building it on Solaris 9 the tag changed to ulo.
   Why is that?  Can this tag be changed or manipulated for custom rebuilt
   packages?  That would be useful.  Then we can keep essentially the same
   naming convention with our own modified packages but have a different
   tag to identify us.

 The tag identifies different OpenPKG instances on the same machine
 and is by default computed from the prefix.
 E.g.:
 /usr/local/opkg - ulo

Yes, and while in OpenPKG 1.3 the tag was hard-coded to be a compressed
string derived from the instance prefix, in OpenPKG 2.0 it is an
arbitrary string including some possible expansion constructs like
compat (for the old 1.3 prefix derivation), loc (for the 2.0 prefix
derivation), opt (for UUID v3 tags based on the package options),
uuid (for UUID v1 tags), time (for the current date and time),
user, group and host.

The tag is usually specified during bootstrapping with option --tag
but it can be overridden for each package on the rpm --rebuild command
line with an option --tag, too.

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: What is id or tag for?

2004-03-11 Thread Bill Campbell
On Thu, Mar 11, 2004, Ralf S. Engelschall wrote:
On Thu, Mar 11, 2004, Michael van Elst wrote:

   I looked through the online documentation but can't seem to find any
   reference as to what the id or tag identifies.  What does it mean?
   I noticed when I bootstrapped it on Solaris 8 the tag was dcl, but
   then when I'm now building it on Solaris 9 the tag changed to ulo.
   Why is that?  Can this tag be changed or manipulated for custom rebuilt
   packages?  That would be useful.  Then we can keep essentially the same
   naming convention with our own modified packages but have a different
   tag to identify us.

 The tag identifies different OpenPKG instances on the same machine
 and is by default computed from the prefix.
 E.g.:
 /usr/local/opkg - ulo

Yes, and while in OpenPKG 1.3 the tag was hard-coded to be a compressed
string derived from the instance prefix, in OpenPKG 2.0 it is an
arbitrary string including some possible expansion constructs like
compat (for the old 1.3 prefix derivation), loc (for the 2.0 prefix
derivation), opt (for UUID v3 tags based on the package options),
uuid (for UUID v1 tags), time (for the current date and time),
user, group and host.

The tag is usually specified during bootstrapping with option --tag
but it can be overridden for each package on the rpm --rebuild command
line with an option --tag, too.

This reminds me of a question I've meant to ask many times, I seem to
remember reading about the ability to clone packages from one instance to
another (e.g. gcc, perl, etc.), but haven't been able to find the
documentation.

HTML_RELIGIOUS_RANT role=ON
I find the on-line web documentation very difficult to read as it seems to
use preformatted text with small fonts that require that I scroll
horizontally even on a 21in monitor with 1400x1050 resolution.  HTML was
designed to make it easy to read information regardless of the browser, and
documentation with things like Docbook don't force fonts or formatting
which I find much easier to read.
/HTML_RELIGIOUS_RANT

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Democracy Is Mob Rule with Income Taxes''
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: What is id or tag for?

2004-03-11 Thread Matthias Kurz
On Thu, Mar 11, 2004, Ralf S. Engelschall wrote:

 On Thu, Mar 11, 2004, Michael van Elst wrote:
 
I looked through the online documentation but can't seem to find any
reference as to what the id or tag identifies.  What does it mean?
I noticed when I bootstrapped it on Solaris 8 the tag was dcl, but
then when I'm now building it on Solaris 9 the tag changed to ulo.
Why is that?  Can this tag be changed or manipulated for custom rebuilt
packages?  That would be useful.  Then we can keep essentially the same
naming convention with our own modified packages but have a different
tag to identify us.
 
  The tag identifies different OpenPKG instances on the same machine
  and is by default computed from the prefix.
  E.g.:
  /usr/local/opkg - ulo

CRAZY !!!  Thanks a lot for the explanation ! You cannot imagine how much
this buggered me :-)


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
   Im prämotorischen Cortex kann jeder ein Held sein. (bdw) 
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: What is id or tag for?

2004-03-11 Thread Thomas Lotterer
On Thu, Mar 11, 2004, David M. Fetter wrote:

 I looked through the online documentation but can't seem to find any
 reference as to what the id or tag identifies. [...]
 
Most of the mystery was already revealed. You find information in the
news.txt [1] and upgrade.txt [2] documents. Search for the terms tag
and new tag feature.

[1] http://cvs.openpkg.org/openpkg-re/news.txt
[2] http://cvs.openpkg.org/openpkg-re/upgrade.txt

--
[EMAIL PROTECTED], Cable  Wireless
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: What is id or tag for?

2004-03-11 Thread David M. Fetter
On Thu, 2004-03-11 at 10:00, Ralf S. Engelschall wrote:
The tag is usually specified during bootstrapping with option --tag
 but it can be overridden for each package on the rpm --rebuild command
 line with an option --tag, too.

Spectacular!  Thanks again.

-- 
David M. Fetter - UNIX Systems Administrator
Portland State University - www.oit.pdx.edu

__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]