You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marvin Heffler <he...@us.ibm.com> on 2002/07/29 17:44:58 UTC

[PATCH] Add LSB layout to config.layout

The patch below will add a Linux Standard Base (LSB) layout. This will make
it easier to create an LSB compliant version of the http server. The LSB
team from the Free Standards Group (FSG) has already used this layout to
make a binary image that passes all the tests for LSB compliance. If this
change is acceptable then the LSB team would like to provide the new binary
image and have it available for download.

Index: config.layout
===================================================================
RCS file: /home/cvspublic/httpd-2.0/config.layout,v
retrieving revision 1.21
diff -u -r1.21 config.layout
--- config.layout 16 Jul 2002 18:29:59 -0000    1.21
+++ config.layout 29 Jul 2002 15:27:28 -0000
@@ -298,3 +298,27 @@
     installbuilddir: ${prefix}/etc/apache2/build
     errordir:      ${datadir}/error
 </Layout>
+
+# FHS-style /opt layout for LSB
+<Layout LSB>
+    prefix:        /opt/lsb-apache
+    exec_prefix:   ${prefix}
+    bindir:        ${exec_prefix}/bin
+    sbindir:       ${exec_prefix}/sbin
+    libexecdir:    ${exec_prefix}/libexec
+    mandir:        ${prefix}/man
+    sysconfdir:    /etc${prefix}
+    datadir:       /var${prefix}/share
+    iconsdir:      ${datadir}/icons
+    htdocsdir:     ${datadir}/htdocs
+    manualdir:     ${htdocsdir}/manual
+    cgidir:        ${datadir}/cgi-bin
+    includedir:    ${prefix}/include
+    localstatedir: /var${prefix}
+    runtimedir:    ${localstatedir}/run
+    logfiledir:    ${localstatedir}/logs
+    proxycachedir: ${localstatedir}/proxy
+    infodir:       ${exec_prefix}/share/info
+    installbuilddir: ${prefix}/etc/build
+    errordir:      ${datadir}/error
+</Layout>

Regards,

Marvin Heffler
Linux Standard Base
IBM Linux Technology Center
11400 Burnet Road, Zip 908-1A33
Austin, TX 78758
(512) 838-0953    T/L 678-0953



Re: [PATCH] Add LSB layout to config.layout

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Marvin Heffler wrote:
> 
> The patch below will add a Linux Standard Base (LSB) layout.

H'm.  I thought Red Hat's was LSB compliant.
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millennium hand and shrimp!"

Re: [PATCH] Add LSB layout to config.layout

Posted by Raymond S Brand <rs...@valueweb.com>.
Marvin

Your layout mixes read-only information with read-write information. Specifically
the manual, icons, sample CGIs, and info files are all part of the standard
http server that sites shouldn't need to change. They can also be shared among
http servers on the same machine or via NFS etc. The things that belong in /var
are the things that an http server instance will need to change. See <Layout opt>
for an alternative that has been part of Apache for a while.


Raymond S Brand


Marvin Heffler wrote:
> 
> The patch below will add a Linux Standard Base (LSB) layout. This will make
> it easier to create an LSB compliant version of the http server. The LSB
> team from the Free Standards Group (FSG) has already used this layout to
> make a binary image that passes all the tests for LSB compliance. If this
> change is acceptable then the LSB team would like to provide the new binary
> image and have it available for download.
> 
> Index: config.layout
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/config.layout,v
> retrieving revision 1.21
> diff -u -r1.21 config.layout
> --- config.layout 16 Jul 2002 18:29:59 -0000    1.21
> +++ config.layout 29 Jul 2002 15:27:28 -0000
> @@ -298,3 +298,27 @@
>      installbuilddir: ${prefix}/etc/apache2/build
>      errordir:      ${datadir}/error
>  </Layout>
> +
> +# FHS-style /opt layout for LSB
> +<Layout LSB>
> +    prefix:        /opt/lsb-apache
> +    exec_prefix:   ${prefix}
> +    bindir:        ${exec_prefix}/bin
> +    sbindir:       ${exec_prefix}/sbin
> +    libexecdir:    ${exec_prefix}/libexec
> +    mandir:        ${prefix}/man
> +    sysconfdir:    /etc${prefix}
> +    datadir:       /var${prefix}/share
> +    iconsdir:      ${datadir}/icons
> +    htdocsdir:     ${datadir}/htdocs
> +    manualdir:     ${htdocsdir}/manual
> +    cgidir:        ${datadir}/cgi-bin
> +    includedir:    ${prefix}/include
> +    localstatedir: /var${prefix}
> +    runtimedir:    ${localstatedir}/run
> +    logfiledir:    ${localstatedir}/logs
> +    proxycachedir: ${localstatedir}/proxy
> +    infodir:       ${exec_prefix}/share/info
> +    installbuilddir: ${prefix}/etc/build
> +    errordir:      ${datadir}/error
> +</Layout>
> 
> Regards,
> 
> Marvin Heffler
> Linux Standard Base
> IBM Linux Technology Center
> 11400 Burnet Road, Zip 908-1A33
> Austin, TX 78758
> (512) 838-0953    T/L 678-0953