Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 760202 Details for
Bug 616612
depend.apache.eclass unusable for EAPI={6,7} mandatory packages
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
apache-paths.eclass
apache-paths.eclass (text/plain), 2.20 KB, created by
Michael Orlitzky
on 2021-12-25 23:44:33 UTC
(
hide
)
Description:
apache-paths.eclass
Filename:
MIME Type:
Creator:
Michael Orlitzky
Created:
2021-12-25 23:44:33 UTC
Size:
2.20 KB
patch
obsolete
># Copyright 1999-2021 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > ># @ECLASS: apache-paths.eclass ># @MAINTAINER: ># Apache team <apache-bugs@gentoo.org> ># @AUTHOR: ># Author: Michael Orlitzky <mjo@gentoo.org> ># @SUPPORTED_EAPIS: 7 8 ># @BLURB: Provides important paths for the apache web server. ># @DESCRIPTION: ># Several packages need to know apache's paths: contributed modules, ># anything that runs a vhost, and of course www-servers/apache ># itself. This eclass serves as a central location where those paths ># are defined so that everyone can retrieve them from a single ># authoritative location. ># ># These days, we could let www-servers/apache define those paths, and ># then retrieve them with $(apxs -q <variable>). However, that seems a ># bit too complicated; given that, ultimately, we have to write down ># the paths at least once, it might as well be here. ># ># Unlike the depend.apache eclass that it replaces, this eclass does not ># declare any dependencies or USE flags. Consumers must depend on apache ># themselves if desired. ># > >case "${EAPI:-0}" in > [78]) > ;; > *) > die "Unsupported EAPI=${EAPI} for ${ECLASS}" > ;; >esac > ># @FUNCTION: apache-path-sysconfdir ># @DESCRIPTION: ># Return the --sysconfdir location from apache's ./configure, including ># the leading EPREFIX. The module and vhost configuration directories ># are static subdirectories of this, and (for example) httpd.conf is ># stored here. >apache-path-sysconfdir() { > echo "${EPREFIX}/etc/apache2" >} > ># @FUNCTION: apache-path-modules.d ># @DESCRIPTION: ># Return the location where apache's module configuration files are ># stored. The leading EPREFIX is included. >apache-path-modules.d() { > echo "$(apache-path-sysconfdir)/modules.d" >} > ># @FUNCTION: apache-path-vhosts.d ># @DESCRIPTION: ># Return the location where apache's vhost configuration files are ># stored. The leading EPREFIX is included. >apache-path-vhosts.d() { > echo "$(apache-path-sysconfdir)/vhosts.d" >} > ># @FUNCTION: apache-path-libexecdir ># @DESCRIPTION: ># Return the --libexecdir location from apache's ./configure, including ># the leading EPREFIX. This is where its binary module files are stored. >apache-path-libexecdir() { > echo "${EPREFIX}/usr/$(get_libdir)/apache2/modules" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 616612
: 760202 |
760204
|
760205