1 ################################################################################
3 # apache2.cygclass - compatibility wrapper for httpd.cygclass
5 # Part of cygport - Cygwin packaging application
6 # Copyright (C) 2006-2020 Cygport authors
7 # Provided by the Cygwin project <https://cygwin.com/>
9 # cygport is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
14 # cygport is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with cygport. If not, see <https://www.gnu.org/licenses/>.
22 ################################################################################
24 #****ih* Cygclasses/apache2.cygclass
28 # Deprecated compatibility wrapper for httpd.cygclass.
33 case ${PN} in apache2-*)
34 ORIG_PN=${ORIG_PN:-${PN#apache2-}}
35 ORIG_P=${ORIG_PN}-${PV}
36 HTTPD_MOD_NAME=${APACHE_MOD_NAME:-${PN#apache2-}}
42 #****id* apache2.cygclass/APXS2
44 # Deprecated alias for HTTPD_APXS.
48 #****id* apache2.cygclass/HTTPD2
50 # Deprecated alias for HTTPD.
54 #****id* apache2.cygclass/APACHE2_VERSION
56 # Deprecated alias for HTTPD_VERSION.
58 APACHE2_VERSION=${HTTPD_VERSION}
60 #****id* apache2.cygclass/APACHE2_INCLUDEDIR
62 # Deprecated alias for HTTPD_INCLUDEDIR.
65 #****id* apache2.cygclass/APACHE2_LIBEXECDIR
67 # Deprecated alias for HTTPD_LIBEXECDIR.
69 APACHE2_LIBEXECDIR=${HTTPD_LIBEXECDIR}
71 #****id* apache2.cygclass/APACHE2_SYSCONFDIR
73 # Deprecated alias for HTTPD_SYSCONFDIR.
75 APACHE2_SYSCONFDIR=${HTTPD_SYSCONFDIR}
77 #****id* apache2.cygclass/APACHE2_CFLAGS
79 # Deprecated alias for HTTPD_CFLAGS.
81 APACHE2_CFLAGS=${HTTPD_CFLAGS}
83 #****id* apache2.cygclass/APACHE2_LIBS
85 # Deprecated alias for HTTPD_LIBS.
87 APACHE2_LIBS=${HTTPD_LIBS}
90 #****iC* apache2.cygclass/apache2_compile
92 # Deprecated alias for httpd_mod_compile.
95 httpd_mod_compile "${@}"
98 #****iC* apache2.cygclass/apache2_apxs_compile
100 # Deprecated alias for httpd_apxs_compile.
102 apache2_apxs_compile() {
103 httpd_apxs_compile "${@}"
106 #****iI* apache2.cygclass/doapache2conf
108 # Deprecated alias for dohttpdconf.
114 #****iI* apache2.cygclass/doapache2mod
116 # Deprecated alias for dohttpdmod.
122 #****iI* apache2.cygclass/apache2_postinst
124 # Deprecated alias for httpd_loadmodules.
130 readonly -f apache2_compile apache2_apxs_compile doapache2conf \
131 doapache2mod apache2_postinst