httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Heffler" <heff...@us.ibm.com>
Subject Re: [PATCH] Add LSB layout to config.layout
Date Wed, 07 Aug 2002 16:50:44 GMT

Raymond,

After reviewing the need for a new LSB layout it looks like it is not
necessary after all. Instead we will just use the opt layout and change the
prefix to /opt/lsb-apache. This way we can build the LSB compliant apache
without requiring any source code changes. Thanks for pointing this out to
me.

Now that the need for a code patch is out of the way, do you know what it
would take to get the LSB binary version of apache available on the apache
download site? Also, do you know of anyone from the apache development team
who will be at LinuxWorld Expo next week and would be able to join the FSG
at a press conference on Wednesday?

Once again, thanks for all your help.

Regards,

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


Raymond S Brand <rsbrand@valueweb.com> on 08/07/2002 10:25:18 AM

Please respond to dev@httpd.apache.org

To:    dev@httpd.apache.org
cc:
Subject:    Re: [PATCH] Add LSB layout to config.layout


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






Mime
View raw message