From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22286 invoked by uid 1002); 2 Sep 2003 02:50:04 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 17622 invoked from network); 2 Sep 2003 02:50:03 -0000 Date: Mon, 1 Sep 2003 19:49:08 -0700 From: Seemant Kulleen To: gentoo-dev@gentoo.org Message-Id: <20030901194908.01259cf6.seemant@gentoo.org> In-Reply-To: <0965EC92EF999641B60A596DF3A331DF0145DCF6@wfmail01.intranet.veridian.com> References: <0965EC92EF999641B60A596DF3A331DF0145DCF6@wfmail01.intranet.veridian.com> X-Mailer: Sylpheed version 0.9.4claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.o9zdnW)w5:rL9:" Subject: Re: [gentoo-dev] putting apache / apache2 on 'need' line X-Archives-Salt: 80925fe0-f2a1-462f-b31d-f000838cb4d1 X-Archives-Hash: 088eb23549d25ac7a1ea1bed59808a97 --=.o9zdnW)w5:rL9: Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 1 Sep 2003 11:55:34 -0400 "Martin, Stephen" wrote: > Hi all, > I'm finishing up an ebuild that starts a daemon and depends on apache. > The > problem is that it can use either apache or apache2. How do I handle > this in the need line of the init script, since apache and apache2 > have separate flags? I'm thinking I need to do something like 'need > apache || apache2'. What's the correct way to handle this? Or should > I just say it depends on apache2 and be done with it? Azarah can better advise you, but I should think the apache initscripts should just provide a virtual/apache and then your script can just "need apache" or some such. Az, Donny, Robin? -- Seemant Kulleen Developer and Project Co-ordinator, Gentoo Linux http://dev.gentoo.org/~seemant Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x3458780E Key fingerprint = 23A9 7CB5 9BBB 4F8D 549B 6593 EDA2 65D8 3458 780E --=.o9zdnW)w5:rL9: Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/VAUk7aJl2DRYeA4RAtgNAJ4vMlFp9dmayl5NXVLYpQ9KsJ7wvACgkT9M 0ASdFNQMYiWDxS8xBRzNohE= =0v1g -----END PGP SIGNATURE----- --=.o9zdnW)w5:rL9:--