1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Secure, efficient and extensible HTTP server
8 HOMEPAGE= https://httpd.apache.org/
12 SITES[main]= APACHE_HTTPD/
13 DISTFILE[1]= httpd-2.4.54.tar.bz2:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= MPM_PREFORK MPM_WORKER MPM_EVENT
20 OPTIONS_STANDARD= MPM_PREFORK MPM_WORKER MPM_EVENT
22 OPTDESCR[MPM]= Default Multi-Processing Module (MPM)
23 OPTGROUP[MPM]= MPM_PREFORK MPM_WORKER MPM_EVENT
24 OPT_ON[freebsd]= MPM_EVENT
25 OPT_ON[sunos]= MPM_WORKER
26 OPT_ON[linux]= MPM_EVENT
27 OPT_ON[darwin]= MPM_EVENT
28 OPT_ON[netbsd]= MPM_EVENT
29 OPT_ON[dragonfly]= MPM_EVENT
31 BUILDRUN_DEPENDS= apr1:single:standard
32 apr-util:single:standard
33 libnghttp2:single:standard
38 USERGROUP_SPKG= primary
40 USES= autoreconf cpe iconv libtool ssl perl:run zlib expat
42 GNOME_COMPONENTS= libxml2
44 DISTNAME= httpd-2.4.54
46 LICENSE= APACHE20:primary
47 LICENSE_TERMS= primary:{{WRKDIR}}/TERMS
48 LICENSE_FILE= APACHE20:{{WRKSRC}}/LICENSE
49 LICENSE_AWK= TERMS:"^$$"
50 LICENSE_SOURCE= TERMS:{{WRKSRC}}/include/httpd.h
53 CPE_PRODUCT= http_server
55 FPC_EQUIVALENT= www/apache24
58 CONFIGURE_ARGS= --enable-http
59 --enable-layout=Ravenports
60 --with-pcre={{LOCALBASE}}
61 --with-apr={{LOCALBASE}}/bin/apr-1-config
62 --with-apr-util={{LOCALBASE}}/bin/apu-1-config
63 --with-nghttp2={{LOCALBASE}}
64 --with-libxml2={{LOCALBASE}}
65 --with-ssl={{OPENSSLBASE}}
66 --with-z={{LOCALBASE}}
67 --enable-mpms-shared=all
68 --enable-access-compat=shared
69 --enable-actions=shared
71 --enable-allowmethods=shared
73 --enable-authn-anon=shared
74 --enable-authn-core=shared
75 --enable-authn-dbd=shared
76 --enable-authn-dbm=shared
77 --enable-authn-file=shared
78 --enable-authn-socache=shared
79 --enable-authz-core=shared
80 --enable-authz-dbd=shared
81 --enable-authz-dbm=shared
82 --enable-authnz-fcgi=shared
83 --enable-authz-groupfile=shared
84 --enable-authz-host=shared
85 --enable-authz-owner=shared
86 --enable-authz-user=shared
87 --enable-auth-basic=shared
88 --enable-auth-digest=shared
89 --enable-auth-form=shared
90 --enable-autoindex=shared
91 --enable-buffer=shared
93 --enable-cache-disk=shared
94 --enable-cache-socache=shared
95 --enable-cern-meta=shared
98 --enable-charset-lite=shared
101 --enable-dav-fs=shared
102 --enable-dav-lock=shared
104 --enable-deflate=shared
105 --enable-dialup=shared
107 --enable-dumpio=shared
109 --enable-expires=shared
110 --enable-ext-filter=shared
111 --enable-file-cache=shared
112 --enable-filter=shared
113 --enable-headers=shared
114 --enable-heartbeat=shared
115 --enable-heartmonitor=shared
116 --enable-http2=shared
117 --enable-imagemap=shared
118 --enable-include=shared
120 --enable-lbmethod-bybusyness=shared
121 --enable-lbmethod-byrequests=shared
122 --enable-lbmethod-bytraffic=shared
123 --enable-lbmethod-heartbeat=shared
124 --enable-logio=shared
125 --enable-log-debug=shared
126 --enable-log-forensic=shared
127 --enable-macro=shared
129 --enable-mime-magic=shared
130 --enable-negotiation=shared
131 --enable-ratelimit=shared
132 --enable-reflector=shared
133 --enable-remoteip=shared
134 --enable-reqtimeout=shared
135 --enable-request=shared
136 --enable-rewrite=shared
138 --enable-setenvif=shared
139 --enable-slotmem-plain=shared
140 --enable-slotmem-shm=shared
141 --enable-socache-dbm=shared
142 --enable-socache-memcache=shared
143 --enable-socache-shmcb=shared
144 --enable-speling=shared
146 --enable-status=shared
147 --enable-substitute=shared
148 --enable-unique-id=shared
149 --enable-userdir=shared
150 --enable-usertrack=shared
151 --enable-version=shared
152 --enable-vhost-alias=shared
153 --enable-watchdog=shared
154 --enable-xml2enc=shared
155 --enable-session=shared
156 --enable-session-cookie=shared
157 --enable-session-crypto=shared
158 --enable-session-dbd=shared
159 --enable-proxy=shared
160 --enable-proxy-ajp=shared
161 --enable-proxy-balancer=shared
162 --enable-proxy-connect=shared
163 --enable-proxy-express=shared
164 --enable-proxy-fcgi=shared
165 --enable-proxy-http2=shared
166 --enable-proxy-ftp=shared
167 --enable-proxy-hcheck=shared
168 --enable-proxy-html=shared
169 --enable-proxy-http=shared
170 --enable-proxy-scgi=shared
171 --enable-proxy-uwsgi=shared
172 --enable-proxy-wstunnel=shared
173 --disable-authnz-ldap
182 --disable-case-filter
183 --disable-case-filter-in
185 --disable-example-hooks
186 --disable-example-ipc
187 --disable-optional-fn-export
188 --disable-optional-fn-import
189 --disable-optional-hook-export
190 --disable-optional-hook-import
191 CONFIGURE_ENV= LOCALBASE="{{LOCALBASE}}"
192 CONFIG_SHELL="{{SH}}"
194 MAKE_ENV= EXPR_COMPAT="yes"
195 INSTALL_MAN="{{INSTALL_MAN}}"
197 RC_SUBR= apache:primary
199 VAR_OPSYS[freebsd]= CONFIGURE_ARGS=--enable-proxy-fdpass=shared
200 VAR_OPSYS[linux]= CONFIGURE_ARGS=--enable-proxy-fdpass=shared
201 VAR_OPSYS[dragonfly]= CONFIGURE_ARGS=--enable-proxy-fdpass=shared
203 [MPM_WORKER].DESCRIPTION= Build multi-threaded, multi-process web server
204 [MPM_WORKER].CONFIGURE_ARGS_ON= --with-mpm=worker
206 [MPM_EVENT].DESCRIPTION= Build thread-safe polling web server
207 [MPM_EVENT].CONFIGURE_ARGS_ON= --with-mpm=event
209 [MPM_PREFORK].DESCRIPTION= Build non-threaded, pre-forking web server
210 [MPM_PREFORK].CONFIGURE_ARGS_ON= --with-mpm=prefork
213 ${FIND} ${STAGEDIR}${STD_DOCDIR} -type d -empty -delete
214 ${FIND} ${STAGEDIR}/var -type d -empty -delete
215 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/apache/*.so
216 .for binary in ab htdbm htdigest htpasswd httxt2dbm logresolve
217 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${binary}
219 .for binary in checkgid fcgistarter htcacheclean httpd rotatelogs
220 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${binary}
223 [FILE:403:descriptions/desc.primary]
224 The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web
225 server. Originally designed as a replacement for the NCSA HTTP Server, it
226 has grown to be the most popular web server on the Internet. As a project
227 of the Apache Software Foundation, the developers aim to collaboratively
228 develop and maintain a robust, commercial-grade, standards-based server
229 with freely available source code.
233 eb397feeefccaf254f8d45de3768d9d68e8e73851c49afd5b7176d1ecf80c340 7434530 httpd-2.4.54.tar.bz2
236 [FILE:9586:manifests/plist.primary]
237 %%ONLY-DRAGONFLY%%libexec/apache/mod_proxy_fdpass.%%SHARED_OBJECT%%
238 %%ONLY-FREEBSD%%libexec/apache/mod_proxy_fdpass.%%SHARED_OBJECT%%
239 %%ONLY-NETBSD%%libexec/apache/mod_proxy_fdpass.%%SHARED_OBJECT%%
240 %%ONLY-LINUX%%libexec/apache/mod_proxy_fdpass.%%SHARED_OBJECT%%
262 httpd-multilang-errordoc.conf
267 etc/apache/original/httpd.conf
268 etc/apache/original/extra/
276 httpd-multilang-errordoc.conf
348 mod_access_compat.%%SHARED_OBJECT%%
349 mod_actions.%%SHARED_OBJECT%%
350 mod_alias.%%SHARED_OBJECT%%
351 mod_allowmethods.%%SHARED_OBJECT%%
352 mod_asis.%%SHARED_OBJECT%%
353 mod_auth_basic.%%SHARED_OBJECT%%
354 mod_auth_digest.%%SHARED_OBJECT%%
355 mod_auth_form.%%SHARED_OBJECT%%
356 mod_authn_anon.%%SHARED_OBJECT%%
357 mod_authn_core.%%SHARED_OBJECT%%
358 mod_authn_dbd.%%SHARED_OBJECT%%
359 mod_authn_dbm.%%SHARED_OBJECT%%
360 mod_authn_file.%%SHARED_OBJECT%%
361 mod_authn_socache.%%SHARED_OBJECT%%
362 mod_authnz_fcgi.%%SHARED_OBJECT%%
363 mod_authz_core.%%SHARED_OBJECT%%
364 mod_authz_dbd.%%SHARED_OBJECT%%
365 mod_authz_dbm.%%SHARED_OBJECT%%
366 mod_authz_groupfile.%%SHARED_OBJECT%%
367 mod_authz_host.%%SHARED_OBJECT%%
368 mod_authz_owner.%%SHARED_OBJECT%%
369 mod_authz_user.%%SHARED_OBJECT%%
370 mod_autoindex.%%SHARED_OBJECT%%
371 mod_buffer.%%SHARED_OBJECT%%
372 mod_cache.%%SHARED_OBJECT%%
373 mod_cache_disk.%%SHARED_OBJECT%%
374 mod_cache_socache.%%SHARED_OBJECT%%
375 mod_cern_meta.%%SHARED_OBJECT%%
376 mod_cgi.%%SHARED_OBJECT%%
377 mod_cgid.%%SHARED_OBJECT%%
378 mod_charset_lite.%%SHARED_OBJECT%%
379 mod_data.%%SHARED_OBJECT%%
380 mod_dav.%%SHARED_OBJECT%%
381 mod_dav_fs.%%SHARED_OBJECT%%
382 mod_dav_lock.%%SHARED_OBJECT%%
383 mod_dbd.%%SHARED_OBJECT%%
384 mod_deflate.%%SHARED_OBJECT%%
385 mod_dialup.%%SHARED_OBJECT%%
386 mod_dir.%%SHARED_OBJECT%%
387 mod_dumpio.%%SHARED_OBJECT%%
388 mod_env.%%SHARED_OBJECT%%
389 mod_expires.%%SHARED_OBJECT%%
390 mod_ext_filter.%%SHARED_OBJECT%%
391 mod_file_cache.%%SHARED_OBJECT%%
392 mod_filter.%%SHARED_OBJECT%%
393 mod_headers.%%SHARED_OBJECT%%
394 mod_heartbeat.%%SHARED_OBJECT%%
395 mod_heartmonitor.%%SHARED_OBJECT%%
396 mod_http2.%%SHARED_OBJECT%%
397 mod_imagemap.%%SHARED_OBJECT%%
398 mod_include.%%SHARED_OBJECT%%
399 mod_info.%%SHARED_OBJECT%%
400 mod_lbmethod_bybusyness.%%SHARED_OBJECT%%
401 mod_lbmethod_byrequests.%%SHARED_OBJECT%%
402 mod_lbmethod_bytraffic.%%SHARED_OBJECT%%
403 mod_lbmethod_heartbeat.%%SHARED_OBJECT%%
404 mod_log_config.%%SHARED_OBJECT%%
405 mod_log_debug.%%SHARED_OBJECT%%
406 mod_log_forensic.%%SHARED_OBJECT%%
407 mod_logio.%%SHARED_OBJECT%%
408 mod_macro.%%SHARED_OBJECT%%
409 mod_mime.%%SHARED_OBJECT%%
410 mod_mime_magic.%%SHARED_OBJECT%%
411 mod_mpm_event.%%SHARED_OBJECT%%
412 mod_mpm_prefork.%%SHARED_OBJECT%%
413 mod_mpm_worker.%%SHARED_OBJECT%%
414 mod_negotiation.%%SHARED_OBJECT%%
415 mod_proxy.%%SHARED_OBJECT%%
416 mod_proxy_ajp.%%SHARED_OBJECT%%
417 mod_proxy_balancer.%%SHARED_OBJECT%%
418 mod_proxy_connect.%%SHARED_OBJECT%%
419 mod_proxy_express.%%SHARED_OBJECT%%
420 mod_proxy_fcgi.%%SHARED_OBJECT%%
421 mod_proxy_ftp.%%SHARED_OBJECT%%
422 mod_proxy_hcheck.%%SHARED_OBJECT%%
423 mod_proxy_html.%%SHARED_OBJECT%%
424 mod_proxy_http.%%SHARED_OBJECT%%
425 mod_proxy_http2.%%SHARED_OBJECT%%
426 mod_proxy_scgi.%%SHARED_OBJECT%%
427 mod_proxy_uwsgi.%%SHARED_OBJECT%%
428 mod_proxy_wstunnel.%%SHARED_OBJECT%%
429 mod_ratelimit.%%SHARED_OBJECT%%
430 mod_reflector.%%SHARED_OBJECT%%
431 mod_remoteip.%%SHARED_OBJECT%%
432 mod_reqtimeout.%%SHARED_OBJECT%%
433 mod_request.%%SHARED_OBJECT%%
434 mod_rewrite.%%SHARED_OBJECT%%
435 mod_sed.%%SHARED_OBJECT%%
436 mod_session.%%SHARED_OBJECT%%
437 mod_session_cookie.%%SHARED_OBJECT%%
438 mod_session_crypto.%%SHARED_OBJECT%%
439 mod_session_dbd.%%SHARED_OBJECT%%
440 mod_setenvif.%%SHARED_OBJECT%%
441 mod_slotmem_plain.%%SHARED_OBJECT%%
442 mod_slotmem_shm.%%SHARED_OBJECT%%
443 mod_socache_dbm.%%SHARED_OBJECT%%
444 mod_socache_memcache.%%SHARED_OBJECT%%
446 mod_socache_shmcb.%%SHARED_OBJECT%%
447 mod_speling.%%SHARED_OBJECT%%
448 mod_ssl.%%SHARED_OBJECT%%
449 mod_status.%%SHARED_OBJECT%%
450 mod_substitute.%%SHARED_OBJECT%%
451 mod_unique_id.%%SHARED_OBJECT%%
452 mod_unixd.%%SHARED_OBJECT%%
453 mod_userdir.%%SHARED_OBJECT%%
454 mod_usertrack.%%SHARED_OBJECT%%
455 mod_version.%%SHARED_OBJECT%%
456 mod_vhost_alias.%%SHARED_OBJECT%%
457 mod_watchdog.%%SHARED_OBJECT%%
458 mod_xml2enc.%%SHARED_OBJECT%%
499 www/apache/data/index.html
501 HTTP_BAD_GATEWAY.html.var
502 HTTP_BAD_REQUEST.html.var
503 HTTP_FORBIDDEN.html.var
505 HTTP_INTERNAL_SERVER_ERROR.html.var
506 HTTP_LENGTH_REQUIRED.html.var
507 HTTP_METHOD_NOT_ALLOWED.html.var
508 HTTP_NOT_FOUND.html.var
509 HTTP_NOT_IMPLEMENTED.html.var
510 HTTP_PRECONDITION_FAILED.html.var
511 HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
512 HTTP_REQUEST_TIME_OUT.html.var
513 HTTP_REQUEST_URI_TOO_LARGE.html.var
514 HTTP_SERVICE_UNAVAILABLE.html.var
515 HTTP_UNAUTHORIZED.html.var
516 HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
517 HTTP_VARIANT_ALSO_VARIES.html.var
520 www/apache/error/include/
701 www/apache/icons/small/
768 [FILE:986:patches/patch-config.layout]
769 --- config.layout.orig 2020-02-21 00:39:22 UTC
772 proxycachedir: ${datadir}/proxy
778 + localstatedir: /var/rav-apache
779 + exec_prefix: ${prefix}
780 + bindir: ${exec_prefix}/bin
781 + sbindir: ${exec_prefix}/sbin
782 + libdir: ${exec_prefix}/lib
783 + libexecdir: ${exec_prefix}/libexec/apache
784 + mandir: ${prefix}/share/man
785 + sysconfdir: ${prefix}/etc/apache
786 + datadir: ${prefix}/www/apache
787 + installbuilddir: ${datadir}/build
788 + errordir: ${datadir}/error
789 + iconsdir: ${datadir}/icons
790 + htdocsdir: ${datadir}/data
791 + cgidir: ${datadir}/cgi-bin
792 + manualdir: ${prefix}/share/doc/apache
793 + includedir: ${prefix}/include/apache
794 + runtimedir: ${localstatedir}/run
795 + logfiledir: ${localstatedir}/log
796 + proxycachedir: ${datadir}/proxy
804 [FILE:611:patches/patch-modules_generators_config5.m4]
805 --- modules/generators/config5.m4.orig 2011-11-12 00:21:04 UTC
806 +++ modules/generators/config5.m4
807 @@ -51,8 +51,7 @@ if test $cgid_needed = "yes"; then
810 AC_MSG_CHECKING([for Solaris patch $patch_id])
811 - showrev -p | grep "$patch_id" >/dev/null 2>&1
812 - if test $? -eq 1; then
813 + if test 0 -eq 1; then
814 dnl Solaris 11 (next release) as of snv_19 doesn't have this problem.
815 dnl It may be possible to use /kernel/drv/tl from later releases.
816 AC_MSG_ERROR([Please apply either patch # 120664 (Sparc) or # 120665 (x86).
819 [FILE:443:patches/patch-modules_ssl_ssl__engine__init.c]
820 --- modules/ssl/ssl_engine_init.c.orig 2022-06-03 08:27:07 UTC
821 +++ modules/ssl/ssl_engine_init.c
822 @@ -607,7 +607,7 @@ static apr_status_t ssl_init_ctx_protoco
824 int protocol = mctx->protocol;
825 SSLSrvConfigRec *sc = mySrvConfig(s);
826 -#if OPENSSL_VERSION_NUMBER >= 0x10100000L
827 +#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
833 [FILE:393:patches/patch-modules_ssl_ssl__private.h]
834 --- modules/ssl/ssl_private.h.orig 2022-06-03 08:27:07 UTC
835 +++ modules/ssl/ssl_private.h
837 #define MODSSL_SSL_METHOD_CONST
840 -#if defined(LIBRESSL_VERSION_NUMBER)
841 +#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L
842 /* Missing from LibreSSL */
843 #if LIBRESSL_VERSION_NUMBER < 0x2060000f
844 #define SSL_CTRL_SET_MIN_PROTO_VERSION 123
847 [FILE:594:patches/patch-modules_ssl_ssl__util__stapling.c]
848 --- modules/ssl/ssl_util_stapling.c.orig 2021-09-09 15:22:23 UTC
849 +++ modules/ssl/ssl_util_stapling.c
850 @@ -107,7 +107,7 @@ static X509 *stapling_get_issuer(modssl_
851 for (i = 0; i < sk_X509_num(extra_certs); i++) {
852 issuer = sk_X509_value(extra_certs, i);
853 if (X509_check_issued(issuer, x) == X509_V_OK) {
854 -#if OPENSSL_VERSION_NUMBER < 0x10100000L
855 +#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2050000fL)
856 CRYPTO_add(&issuer->references, 1, CRYPTO_LOCK_X509);
861 [FILE:5912:files/apache.in]
865 # REQUIRE: LOGIN cleanvar sshd
869 # Add the following lines to /etc/rc.conf to enable apache:
870 # apache_enable (bool): Set to "NO" by default.
871 # Set it to "YES" to enable apache
872 # apache_profiles (str): Set to "" by default.
873 # Define your profiles here.
874 # apachelimits_enable (bool):Set to "NO" by default.
875 # Set it to yes to run `limits $limits_args`
876 # just before apache starts.
877 # apache_flags (str): Set to "" by default.
878 # Extra flags passed to start command.
879 # apachelimits_args (str): Default to "-e -C daemon"
880 # Arguments of pre-start limits run.
881 # apache_http_accept_enable (bool): Set to "NO" by default.
882 # Set to yes to check for accf_http kernel
883 # module on start up and load if not loaded.
884 # apache_fib (str): Set an altered default network view for apache
885 # apache_configcheck_disable (bool): Set to "YES" to disable sanity check on startup
892 start_precmd="apache_prestart"
893 restart_precmd="apache_checkconfig"
894 reload_precmd="apache_checkconfig"
895 reload_cmd="apache_graceful"
896 graceful_cmd="apache_graceful"
897 gracefulstop_cmd="apache_gracefulstop"
898 configtest_cmd="apache_checkconfig"
899 command="%%PREFIX%%/sbin/httpd"
900 _pidprefix="/var/run/httpd"
901 pidfile="${_pidprefix}.pid"
902 required_files=%%PREFIX%%/etc/apache/httpd.conf
903 envvars="%%PREFIX%%/sbin/envvars"
905 [ -z "$apache_enable" ] && apache_enable="NO"
906 [ -z "$apachelimits_enable" ] && apachelimits_enable="NO"
907 [ -z "$apachelimits_args" ] && apachelimits_args="-e -C daemon"
908 [ -z "$apache_http_accept_enable" ] && apache_http_accept_enable="NO"
909 [ -z "$apache_configcheck_disable" ] && apache_configcheck_disable="NO"
913 if checkyesno apache_http_accept_enable; then
914 /sbin/kldstat -qm accf_http || /sbin/kldload accf_http || return ${?}
915 /sbin/kldstat -qm accf_data || /sbin/kldload accf_data || return ${?}
917 apache_flags="${apache_flags} -DNOHTTPACCEPT"
925 if [ "x${apache_profiles}" != "x" ]; then
926 pidfile="${_pidprefix}.${profile}.pid"
927 eval apache_configfile="\${apache_${profile}_configfile:-}"
928 if [ "x${apache_configfile}" = "x" ]; then
929 echo "You must define a configuration file (apache_${profile}_configfile)"
932 required_files="${apache_configfile}"
933 eval apache_enable="\${apache_${profile}_enable:-${apache_enable}}"
934 eval apache_flags="\${apache_${profile}_flags:-${apache_flags}}"
935 eval apache_http_accept_enable="\${apache_${profile}_http_accept_enable:-${apache_http_accept_enable}}"
936 eval apachelimits_enable="\${apachelimits_${profile}_enable:-${apachelimits_enable}}"
937 eval apachelimits_args="\${apachelimits_${profile}_args:-${apachelimits_args}}"
938 eval apache_fib="\${apache_${profile}_fib:-${apache_fib}}"
939 eval apache_configcheck_disable="\${apache_${profile}_configcheck_disable:-${apache_configcheck_disable}}"
940 eval command="\${apache_${profile}_command:-${command}}"
941 eval pidfile="\${apache_${profile}_pidfile:-${pidfile}}"
942 eval apache_envvars="\${apache_${profile}_envvars:-${envvars}}"
943 apache_flags="-f ${apache_configfile} -c \"PidFile ${pidfile}\" ${apache_flags}"
945 echo "$0: extra argument ignored"
948 eval apache_envvars=${envvars}
949 if [ "x${apache_profiles}" != "x" -a "x$1" != "x" ]; then
950 for profile in ${apache_profiles}; do
951 eval _enable="\${apache_${profile}_enable}"
952 case "x${_enable:-${apache_enable}}" in
953 x|x[Nn][Oo]|x[Nn][Oo][Nn][Ee])
959 if test -z "$_enable"; then
962 _var=apache_"${profile}"_enable
965 "'${_enable:-${apache_enable}}'" \
967 "Profile ${profile} skipped."
971 echo "===> apache profile: ${profile}"
972 %%PREFIX%%/etc/rc.d/apache $1 ${profile}
974 if [ "0${retcode}" -ne 0 ]; then
975 failed="${profile} (${retcode}) ${failed:-}"
977 success="${profile} ${success:-}"
984 if [ "${1}" != "stop" ] ; then \
988 if checkyesno apache_configcheck_disable
994 apache_requirepidfile()
996 if [ ! "0`check_pidfile ${pidfile} ${command}`" -gt 1 ]; then
997 echo "${name} not running? (check $pidfile)."
1002 apache_checkconfig()
1004 if test -f ${apache_envvars}
1009 echo "Performing sanity check on apache configuration:"
1010 eval ${command} ${apache_flags} -t
1014 apache_requirepidfile
1016 if ! checkyesno apache_configcheck_disable
1021 echo "Performing a graceful restart"
1022 eval ${command} ${apache_flags} -k graceful
1025 apache_gracefulstop() {
1026 apache_requirepidfile
1028 if ! checkyesno apache_configcheck_disable
1033 echo "Performing a graceful stop"
1034 eval ${command} ${apache_flags} -k graceful-stop
1039 if ! checkyesno apache_configcheck_disable
1044 if checkyesno apachelimits_enable
1046 eval `/usr/bin/limits ${apachelimits_args}` 2>/dev/null
1053 apache_checkfib () {
1054 if command -v check_namevarlist > /dev/null 2>&1; then
1055 check_namevarlist fib && return 0
1058 $SYSCTL net.fibs >/dev/null 2>&1 || return 0
1060 apache_fib=${apache_fib:-"NONE"}
1061 if [ "x$apache_fib" != "xNONE" ]
1063 command="/usr/sbin/setfib -F ${apache_fib} ${command}"
1074 extra_commands="reload graceful gracefulstop configtest"