PROPOSAL: /opt/<provider>/<package>/]
George Kraft <[email protected]>
| Newsgroups | gmane.linux.lsb.discuss |
|---|---|
| Organization | IBM |
| Message-ID | <1054075465.11045.58.camel@gkraft4> |
The FHS v2.2 section 3.12 reads, add-on application software packages go in /opt/<package>/. Where <package> would be a "lsb-application_name" or "lsb-provider-application_name" LANANA registered name resulting is something like "/opt/lsb-bricks/" or "/opt/lsb-acme-bricks/" . http://www.pathname.com/fhs/2.2/fhs-3.12.html http://www.linuxbase.org/spec/refspecs/LSB_1.3.0/gLSB/gLSB/pkgnameconv.html The notion of /opt/<provider>/<package>/ (e.g., /opt/acme/lsb-bricks/) was suggested in a comment to the Linux Journal, November 2000, issue 79 article entitled "Where to Install My Products on Linux?". In addition, it appears this nomenclature was assumed by some of the LSB workgroup members. http://www.linuxjournal.com/article.php?sid=4121 It is proposed that in addition to the /opt/<package>/ specified by the FHS and LSB, that we officially add /opt/<provider>/<package>/. This would allow possible large collection of applications by certain providers to be organized under their reserved /opt/ subdirectory. Suggested actions. 1) Adoption by the FHS workgroup and inclusion in FHS v2.3 2) Adoption by the LSB workgroup and inclusion in the LSB v1.3 errata, and LSB v1.9. 3) Adoption by the LANANA workgroup and extension of the registered provider name to include /opt/ subdirectories. George (gk4)
fhs22.patch
(text/x-patch, 2.9 KB)
*** draft.mm.orig 2003-05-27 17:27:25.000000000 -0500
--- draft.mm 2003-05-27 17:35:54.000000000 -0500
***************
*** 873,886 ****
software packages.
.P
A package to be installed in \f(CW/opt\fP must locate its static files
! in a separate \f(CW/opt/<package>\fP directory tree, where
! \f(CW<package>\fP is a name that describes the software package.
.P
.H 3 "Requirements"
.PS
copy "dirgraph.pic"
dir("/opt","Add-on application software packages")
sub("<package>","Static package objects")
.PE
The directories \f(CW/opt/bin\fP, \f(CW/opt/doc\fP,
\f(CW/opt/include\fP, \f(CW/opt/info\fP, \f(CW/opt/lib\fP, and
--- 873,889 ----
software packages.
.P
A package to be installed in \f(CW/opt\fP must locate its static files
! in a separate \f(CW/opt/<package>\fP or \f(CW/opt/<provider>/<package>\fP
! directory tree, where \f(CW<package>\fP is a name that describes the
! software package and \f(CW<provider>\fP is the provider's LANANA registered
! name.
.P
.H 3 "Requirements"
.PS
copy "dirgraph.pic"
dir("/opt","Add-on application software packages")
sub("<package>","Static package objects")
+ sub("<provider>","LANANA registered provider name")
.PE
The directories \f(CW/opt/bin\fP, \f(CW/opt/doc\fP,
\f(CW/opt/include\fP, \f(CW/opt/info\fP, \f(CW/opt/lib\fP, and
***************
*** 891,906 ****
reserved directories.
.P
Programs to be invoked by users must be located in the directory
! \f(CW/opt/<package>/bin\fP. If the package includes \*(Ux manual pages,
! they must be located in \f(CW/opt/<package>/man\fP and the same
! substructure as \f(CW/usr/share/man\fP must be used.
.P
Package files that are variable (change in normal operation) must be
! installed in \f(CW/var/opt\fP. See the section on \f(CW/var/opt\fP for
! more information.
.P
Host-specific configuration files must be installed in
! \f(CW/etc/opt\fP. See the section on \f(CW/etc\fP for more information.
.P
No other package files may exist outside the \f(CW/opt\fP,
\f(CW/var/opt\fP, and \f(CW/etc/opt\fP hierarchies except for those
--- 894,910 ----
reserved directories.
.P
Programs to be invoked by users must be located in the directory
! \f(CW/opt/<package>/bin\fP or \f(CW/opt/<provider>/<package>/bin\fP.
! If the package includes \*(Ux manual pages, they must be located in
! \f(CW/opt/<package>/man\fP or \f(CW/opt/<provider>/<package>/man\fP,
! and the same substructure as \f(CW/usr/share/man\fP must be used.
.P
Package files that are variable (change in normal operation) must be
! installed in \f(CW/var/opt\fP or \f(CW/var/opt/<provider>\fP. See the
! section on \f(CW/var/opt\fP for more information.
.P
Host-specific configuration files must be installed in
! \f(CW/etc/opt\fP or \f(CW/etc/opt/<provider>\fP. See the section on \f(CW/etc\fP for more information.
.P
No other package files may exist outside the \f(CW/opt\fP,
\f(CW/var/opt\fP, and \f(CW/etc/opt\fP hierarchies except for those