From: Stuart Herbert <stuart@gentoo.org>
To: Max Kalika <max@gentoo.org>, Troy Dack <tad@gentoo.org>,
gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] [GLEP] Web Application Installation
Date: Tue, 5 Aug 2003 11:39:53 +0100 [thread overview]
Message-ID: <200308051139.53699.stuart@gentoo.org> (raw)
In-Reply-To: <2147483647.1060027476@[192.168.26.4]>
[-- Attachment #1: signed data --]
[-- Type: text/plain, Size: 3692 bytes --]
Hi Max,
Looks like we're almost there, doesn't it? ;-)
On Tuesday 05 August 2003 4:04 am, Max Kalika wrote:
> >> The most robust solution would be to create a new group (web?) and make
> >> all the webserver users be a part of that group and make these directory
> >> group-owned by said group. (Similar to the "mail" group for many
> >> mail-related services)
> >
> > Why is that robust?
>
> Because we have the one group that we know all webservers are going to run
> as (yes yes, the sysadmin can change what group the server runs as, and if
> he/she does, then he/she can also change the ownership of the directory).
> If we assume that all webservers will run as the same group, then
> configuring those apps which need a writeable directory becomes easy
> indeed.
We'd need to get Donnie on board to make this happen.
I'd just assumed that the webapp-config toolset would automagically take care
of this for us (see my earlier post about what assumptions are ;-)
> > (thinks about this) I'd want to test it to be sure, but I think ${PF}
> > would work out okay. Depends whether having the -rX part of the package
> > name is really important or not.
>
> I'd say it is important because -rX releases may have added
> functionality/features that some may not want, etc.
Then let's ask Tad to put ${PF} into the GLEP.
> >> Otherwise, this seems ok to me and is easy to implement in the eclass.
> >
> > Good-o. So the two of us (ominously quiet in here ;-) are in agreement
> > then? Oh, thought it was too good to be true ;-)
>
> It could happen!
Lots of laughter.
> > Shrugs. I just picked 'public_html' because it's a recognised convention
> > (although not the only one I'm sure). 'public' is too generic for my
> > liking. 'cgi-bin' *is* a recognised convention, and one we shouldn't
> > break.
>
> I thought those were apache conventions. It really doesn't matter one way
> or another. :-)
Let's stick with 'public_html' and 'cgi-bin' then.
> checking...still checking...done! It could probably be simplified to
> something like the following: (I'm just the nitpick mongrel, aren't I?)
>
> if [ "`has_version '=net-www/apache-2*'`" -a "`use apache2`" ] ; then
> APACHEVER=2
> elif [ "`has_version '=net-www/apache-1*'`" ] ; then
> APACHEVER=1
> else
> # no apache version detected
> return 1
> fi
According to the description in profiles/use.desc ...
"apache2 - Chooses Apache2 support when a package supports both Apache1
and Apache2"
With your version, if the user has Apache2 support, but doesn't have 'apache2'
in the USE flags, no apache version will be detected. That doesn't seem to
match the description in profiles/use.desc.
> No offense taken of course. Lets just evolve yours overtime to do
> everything that's needed because, as you say, it is already in portage. :-)
Tbh, I wouldn't be surprised (or upset - I'm not the possessive type) if the
eclass I've added to portage has to go when we implement this GLEP.
Last night on IRC, I offered to TaD to code up a new eclass to provide a
demonstration implementation of that part of the GLEP. Very earliest I could
do this would be sometime next week, as I'm away for a long weekend from
Thursday.
Take care,
Stu
--
Stuart Herbert stuart@gentoo.org
Gentoo Developer http://www.gentoo.org/
Beta packages for download http://dev.gentoo.org/~stuart/packages/
GnuGP key id# F9AFC57C available from http://pgp.mit.edu
Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C
--
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-08-05 10:41 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-04 23:16 [gentoo-dev] [GLEP] Web Application Installation Max Kalika
2003-08-05 0:14 ` Stuart Herbert
2003-08-05 2:30 ` Donny Davies
2003-08-05 10:12 ` Stuart Herbert
2003-08-06 4:01 ` Donny Davies
2003-08-05 3:04 ` Max Kalika
2003-08-05 10:39 ` Stuart Herbert [this message]
2003-08-05 9:34 ` Paul de Vrieze
2003-08-05 11:19 ` Stuart Herbert
2003-08-05 11:37 ` Paul de Vrieze
2003-08-05 21:00 ` Max Kalika
2003-08-05 23:43 ` Cal Evans
2003-08-06 1:54 ` Stuart Herbert
2003-08-06 2:16 ` Robin H.Johnson
2003-08-06 2:44 ` Stuart Herbert
2003-08-06 4:37 ` [gentoo-dev] [GLEP] Web Application Installation. Plotting a VHOST config tool Robin H.Johnson
2003-08-06 12:48 ` Stuart Herbert
-- strict thread matches above, loose matches on Subject: below --
2003-08-07 1:08 [gentoo-dev] [GLEP] Web Application Installation Troy Dack
2003-08-04 17:11 Max Kalika
2003-08-04 22:16 ` Stuart Herbert
2003-08-05 9:49 ` Michael Cummings
2003-08-02 16:50 Troy Dack
2003-08-02 20:39 ` Robin H.Johnson
2003-08-02 23:11 ` [gentoo-dev] Re: [gentoo-core] " Max Kalika
2003-08-02 23:51 ` Stuart Herbert
2003-08-03 2:26 ` [gentoo-dev] " Max Kalika
2003-08-03 14:46 ` Stuart Herbert
2003-08-03 15:20 ` Max Kalika
2003-08-03 17:43 ` Stuart Herbert
2003-08-03 19:03 ` Max Kalika
2003-08-03 19:43 ` Stuart Herbert
2003-08-04 4:29 ` Max Kalika
2003-08-04 10:43 ` Stuart Herbert
2003-08-03 0:30 ` Austin Frank
2003-08-03 7:50 ` Tal Peer
2003-08-03 14:45 ` Don Seiler
2003-08-05 8:12 ` Troy Dack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200308051139.53699.stuart@gentoo.org \
--to=stuart@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=max@gentoo.org \
--cc=tad@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox