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/08/06 22:56:57 UTC

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

Raymond,

Thanks for pointing out the flaw in the new LSB layout. I took your advice
and modified it to be about the same as the /opt layout with the prefix
changing to lsb-apache. Below is the new version of the patch. Let me know
if this patch is okay.

Also, the FSG will be holding a press conference next Wednesday at
LinuxWorld Expo in San Francisco to announce the official LSB certification
of several Linux distributions. Now that the LSB team has created an LSB
compliant version of the apache http server we would like to say something
about this to the press. We will be doing something similar with Samba. It
would be great if we could get someone from the apache team to join us at
the press conference. The LSB team would like to create the LSB compliant
binary for apache and do the legwork to get it officially LSB certified.
This would allow apache to become one of the first applications to become
certified. Hopefully, we could make this binary available on the apache
download site and mention this at the press conference.

If you have any questions about this, let me know. Thanks for your time and
consideration.

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

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 6 Aug 2002 20:38:27 -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:       ${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: ${datadir}/build
+    errordir:      ${datadir}/error
+</Layout>


>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



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

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

The layout looks good to me. But, it's a shame to need to have a different
layout just to change the prefix.


Raymond S Brand


Marvin Heffler wrote:
> 
> Raymond,
> 
> Thanks for pointing out the flaw in the new LSB layout. I took your advice
> and modified it to be about the same as the /opt layout with the prefix
> changing to lsb-apache. Below is the new version of the patch. Let me know
> if this patch is okay.
> 
> Also, the FSG will be holding a press conference next Wednesday at
> LinuxWorld Expo in San Francisco to announce the official LSB certification
> of several Linux distributions. Now that the LSB team has created an LSB
> compliant version of the apache http server we would like to say something
> about this to the press. We will be doing something similar with Samba. It
> would be great if we could get someone from the apache team to join us at
> the press conference. The LSB team would like to create the LSB compliant
> binary for apache and do the legwork to get it officially LSB certified.
> This would allow apache to become one of the first applications to become
> certified. Hopefully, we could make this binary available on the apache
> download site and mention this at the press conference.
> 
> If you have any questions about this, let me know. Thanks for your time and
> consideration.
> 
> 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
> 
> 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 6 Aug 2002 20:38:27 -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:       ${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: ${datadir}/build
> +    errordir:      ${datadir}/error
> +</Layout>
> 
> >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