From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11881 invoked by uid 1002); 2 Sep 2003 02:41:26 -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 20569 invoked from network); 2 Sep 2003 02:41:26 -0000 Date: Mon, 1 Sep 2003 22:41:17 -0400 From: Jacob Smullyan To: gentoo-dev@gentoo.org Message-ID: <20030902024117.GA27155@bracknell.smullyan.org> References: <0965EC92EF999641B60A596DF3A331DF0145DCF6@wfmail01.intranet.veridian.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: <0965EC92EF999641B60A596DF3A331DF0145DCF6@wfmail01.intranet.veridian.com> User-Agent: Mutt/1.5.4i Subject: Re: [gentoo-dev] putting apache / apache2 on 'need' line X-Archives-Salt: f2d760bd-ed16-4553-9523-0ea72e1e5465 X-Archives-Hash: d5ee2e9952dfe5b216d2ad3f60d12723 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 01, 2003 at 11:55:34AM -0400, Martin, Stephen wrote: > 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? I recently submitted an ebuild (for skunkweb, bug 26450) which I wish had a similar characteristic -- that it could optionally build an apache 1 or 2 module (or none). Since there didn't seem to be an apache1 flag, the apache1 option isn't there at the moment. +1 as far as I am concerned for adding an apache1 USE flag! Jacob Smullyan --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/VANNuqamFyFXXLIRApMUAKCns3VnNfBSg2PHdzkVWnSh+53CywCfb7wa VrZxEggCcIYf/ZgjeppEuP8= =uuyO -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--