/[gentoo-x86]/eclass/apache-2.eclass
Gentoo

Diff of /eclass/apache-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.24 Revision 1.25
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.24 2010/12/22 10:02:05 hollow Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.25 2011/07/08 11:35:01 ssuominen Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7# @ECLASS: apache-2.eclass 7# @ECLASS: apache-2.eclass
8# @MAINTAINER: 8# @MAINTAINER:
486 # generate a sane default APACHE2_OPTS 486 # generate a sane default APACHE2_OPTS
487 APACHE2_OPTS="-D DEFAULT_VHOST -D INFO" 487 APACHE2_OPTS="-D DEFAULT_VHOST -D INFO"
488 use doc && APACHE2_OPTS="${APACHE2_OPTS} -D MANUAL" 488 use doc && APACHE2_OPTS="${APACHE2_OPTS} -D MANUAL"
489 use ssl && APACHE2_OPTS="${APACHE2_OPTS} -D SSL -D SSL_DEFAULT_VHOST" 489 use ssl && APACHE2_OPTS="${APACHE2_OPTS} -D SSL -D SSL_DEFAULT_VHOST"
490 use suexec && APACHE2_OPTS="${APACHE2_OPTS} -D SUEXEC" 490 use suexec && APACHE2_OPTS="${APACHE2_OPTS} -D SUEXEC"
491 if hasq negotiation ${APACHE2_MODULES} && use apache2_modules_negotiation; then 491 if has negotiation ${APACHE2_MODULES} && use apache2_modules_negotiation; then
492 APACHE2_OPTS="${APACHE2_OPTS} -D LANGUAGE" 492 APACHE2_OPTS="${APACHE2_OPTS} -D LANGUAGE"
493 fi 493 fi
494 494
495 sed -i -e "s:APACHE2_OPTS=\".*\":APACHE2_OPTS=\"${APACHE2_OPTS}\":" \ 495 sed -i -e "s:APACHE2_OPTS=\".*\":APACHE2_OPTS=\"${APACHE2_OPTS}\":" \
496 "${GENTOO_PATCHDIR}"/init/apache2.confd || die "sed failed" 496 "${GENTOO_PATCHDIR}"/init/apache2.confd || die "sed failed"

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

  ViewVC Help
Powered by ViewVC 1.1.20