On Thu, Jun 26, 2008 at 10:13:51AM -0500, Kevin Monceaux wrote:

> Are there any package naming and install location conventions for
> packages created for personal use?  For the moment I'm using my initials
> as a prefix for the package name and as an install location under /opt.

You can play around with the "vendor prefix" stuff Stephen talks about in
his "Package namespace" thread.  That'll be the safest way to partition
your stuff off from the rest of the world.  If you're not doing anything
too crazy -- to make your package non-equivalent to another one reasonably
constructed by someone else -- then the vendor prefix isn't really
necessary, and you can do something like "application/emulator/hercules" or
whatever.  But KPMhercules will do just fine, too.

Similarly, /opt is a perfectly good place to put installed binaries when
you want a maximum of safety and containment.  But it would probably be
just fine living in /usr/bin (and lib and man, etc), too.  Particularly if
you don't make it available to anyone but yourself.

> The main hercules executable, for example, is missing.  I checked the 
> include file created by pkgflistgen.pl and it contains:
> 
> file /export/home/dokpm0/src/pkgtmp/files/opt/kpm/bin/hercules mode=0555 
> owner=root group=bin path=/opt/kpm/bin/hercules
> 
> but that file, and several others, were omitted from the package.  I 
> received no errors when importing the filelist file.

Weird.  I haven't heard of anything like this before.

Does the output of "pkg contents -rm <pkgname>" show you the actions you
expect?  If they're not there, then somehow they didn't get published.

Does the depot log have any tracebacks or other errors in it?

> Also, I'm running a local pkg server via smf and have added it to my 
> authority list.  When I perform a remote search after the list of hits 
> from remote authorities I get:
> 
> Some servers failed to respond:
>      http://localhost:10000/: Service Unavailable (503)

It's odd for a depot to get stuck in that state for a long time unless you
have a very large number of packages.  Again, is there anything interesting
in the depot log?  Does restarting the depot help?

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to