From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13515 invoked by uid 1002); 3 Aug 2003 17:45:13 -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 20468 invoked from network); 3 Aug 2003 17:45:13 -0000 From: Stuart Herbert Reply-To: stuart@gentoo.org To: Max Kalika , Troy Dack , gentoo-dev@gentoo.org Date: Sun, 3 Aug 2003 18:43:07 +0100 User-Agent: KMail/1.5.3 References: <1059843010.5023.80.camel@carbon.internal.lan> <200308031546.22388.stuart@gentoo.org> <2147483647.1059898856@[192.168.26.4]> In-Reply-To: <2147483647.1059898856@[192.168.26.4]> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_umUL/EuEdh69nIq"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200308031843.10426.stuart@gentoo.org> Subject: Re: [gentoo-dev] [GLEP] Web Application Installation X-Archives-Salt: 20063b58-59ca-492e-8206-9a3d3a0e81f8 X-Archives-Hash: ae795df3ab1e16eb00dfe8c603f386e0 --Boundary-02=_umUL/EuEdh69nIq Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline 'lo Max, Keep it comming. I think we're really getting this thrashed out ;-) On Sunday 03 August 2003 4:20 pm, Max Kalika wrote: > Correct. I also create an apache config block as > > /etc/webapps/.conf If it's apache-specific, can't we at least call it -apache.con= f? > This is what gets included into the apache config if a user activates the > specific application. For example, the horde config block looks like thi= s: > > max@ike webapps $ cat horde-apache.conf > Alias /horde /usr/share/webapps/horde/ > > Allow from all > AllowOverride Limit > Options Indexes FollowSymLinks > php_flag safe_mode off > php_flag magic_quotes_gpc off > php_flag magic_quotes_runtime off > php_flag register_globals off > php_flag file_uploads on > php_value upload_max_filesize 50M > php_value include_path /usr/lib/horde-pear > Thanks for the example - it helps a great deal. Now, how would you deal wi= th=20 a site needing to run two copies of horde under the one web server? > The whole reason for keeping config files under /etc is for CONFIG_PROTEC= T. > Multiple versions of any app would be handled the same way as all other > packages on Gentoo -- core files get overwritten in an upgrade and the > config files are updated through dispatch-conf/etc-update/manually. Yeah - but how do you handle sites (like ISPs) that need to run multiple=20 installations of the same app on the same box? You can't have a single=20 globla configuration file for that. Makes sense for the home user, but not= =20 for ISPs. > Right, but if the file itself gets rearranged constantly (as some apps do= ), > it may be difficult to maintain the patch. =20 In ten years of maintaining apps, I've never found it a problem myself. Bu= t=20 hey - it's not important ;-) > But again, this all depends on > the package at hand -- as stands right now everywhere else in gentoo, lets > do what is easier/more maintainable. Absolutely. Gentoo works *because* it is anarchy ;-) > > Last night, I thought I was sure. Unfortunately, waking up today I've > > forgotten ;-) I'll go back and re-read the thread. > > Don't you just hate when that happens :-) Yeah ;-) > Currently there's nothing in the eclass that is language specific other > than that check_php function (which, as I said before, I'd like to find a > replacement for). Well, PHP apps'll need to check for which PHP extensions are active from ti= me=20 to time. > Certainly. Perhaps if we don't find anything that is language specific > (which I have yet to see), we can take a different approach and do > webapp- See previous emails. I *really* don't support making any of this stuff=20 webserver-specific in the ebuilds or eclasses ;-) A two-stage install -=20 ebuilds to get apps onto the machine, user-space tools to install an app fo= r=20 a specific web server - are the way to go, imho. How do you make an app install on (say) Zeus or (say) iPlanet or (say)=20 n.e.other web server if the ebuild itself is server-specific? We're boxing= =20 ourselves in, for no good reason. Gentoo's supposed to be about configurability. It even says so right at th= e=20 top of www.gentoo.org. Let's not throw that out of the window just yet ;-) > > It can't be that difficult - it's only a web server. > > Isn't that on the list of "Famous Last Words" ? :-) Lots of laughter ;-) I hope not! Take care, Stu =2D-=20 Stuart Herbert stuart@gentoo.o= rg Gentoo Developer http://www.gentoo.or= g/ Beta packages for download http://dev.gentoo.org/~stuart/package= s/ GnuGP key id# F9AFC57C available from http://pgp.mit.edu Key fingerprint =3D 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C =2D- --Boundary-02=_umUL/EuEdh69nIq Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/LUmuDC+AuvmvxXwRAmmPAJ91enfQjinfVb07yGmPfcQtHSw2qQCeMk4f 65BqRYEnjZDrPUxS0E6/3Gg= =ZqAL -----END PGP SIGNATURE----- --Boundary-02=_umUL/EuEdh69nIq--