/[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.12 Revision 1.13
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.12 2008/08/29 13:22:21 hollow Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/apache-2.eclass,v 1.13 2008/10/25 14:46:00 hollow Exp $
4 4
5# @ECLASS: apache-2.eclass 5# @ECLASS: apache-2.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# apache-devs@gentoo.org 7# apache-devs@gentoo.org
8# @BLURB: Provides a common set of functions for apache-2.x ebuilds 8# @BLURB: Provides a common set of functions for apache-2.x ebuilds
476 "${GENTOO_PATCHDIR}"/init/apache2.confd || die "sed failed" 476 "${GENTOO_PATCHDIR}"/init/apache2.confd || die "sed failed"
477 477
478 newconfd "${GENTOO_PATCHDIR}"/init/apache2.confd apache2 478 newconfd "${GENTOO_PATCHDIR}"/init/apache2.confd apache2
479 newinitd "${GENTOO_PATCHDIR}"/init/apache2.initd apache2 479 newinitd "${GENTOO_PATCHDIR}"/init/apache2.initd apache2
480 480
481 # link apache2ctl to the init script 481 # install apache2ctl wrapper for our init script if available
482 if test -e "${GENTOO_PATCHDIR}"/scripts/apache2ctl; then
483 exeinto /usr/sbin
484 doexe "${GENTOO_PATCHDIR}"/scripts/apache2ctl
485 else
482 dosym /etc/init.d/apache2 /usr/sbin/apache2ctl 486 dosym /etc/init.d/apache2 /usr/sbin/apache2ctl
487 fi
483 488
484 # provide legacy symlink for apxs, bug 177697 489 # provide legacy symlink for apxs, bug 177697
485 dosym /usr/sbin/apxs /usr/sbin/apxs2 490 dosym /usr/sbin/apxs /usr/sbin/apxs2
486 491
487 # install some thirdparty scripts 492 # install some thirdparty scripts

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20