Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Apr 2009 16:29:54 -0400
From:      "Philip M. Gollucci" <pgollucci@p6m7g8.com>
To:        pav@FreeBSD.org
Cc:        clement@FreeBSD.org, apache@FreeBSD.org, portmgr@FreeBSD.org
Subject:   Re: USE_APACHE
Message-ID:  <49E3A0C2.9020501@p6m7g8.com>
In-Reply-To: <1239652986.38702.2.camel@hood.oook.cz>
References:  <49E2D3C0.4050504@p6m7g8.com> <1239652986.38702.2.camel@hood.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Pav Lucistnik wrote:
> Infrastructure changes does not go to UPDATING, they are of no interest
> to end users. The file you want to put these into is CHANGES.
Ack. Figured.

> The text you wrote for CHANGES is a mission statement and does not
> belong anywhere. Drop it.
I'll come up with something simpler, and smaller.

> Is there a problem with supporting both? I think it's kinda nice.
No, but I like uniformity.  It can stay.

>> Next up, I'd like to make bsd.mp.mk which is for www/mod_perl*
>> and will let me remove the WITH_APACHE and WITH_APACHE2 from ports
>> that can use either. (USE_MP=13|20 and USE_APREQ=13|20)
> 
> Why new include file, cannot it be folded into bsd.apache.mk ?
Sure it could be, but I wanted to do it distinctly as large amounts of 
bsd.apache.mk need twiki/updating/modernizing.  Why the general thoughts of no
new files in Mk/ ?  Is there an overhead I'm missing ?

It might even be worth it to start distinctly and later pull it back in.

>> Then, bsd.webserver.mk with I think should start with just support for
>> www/apache*.  zope, ngix, lighttpd, etc.. should be added next 1 at a time.
> 
> This sounds like an overkill, but I haven't seen the details.
Not really. Its also largely requested by committers, users, and other.

The end result being something like:

USE_WEBSERVER=	apache20+ ngixX+ zopeY- lighttpdZ

Somewhere you set WEB_SERVER=foo (sort of like APACHE_PORT)

Then using bsd.apache.mk and bsd.mp.mk additions it kind of just works.

Its kind of analogous to the Widget Factory pattern or maybe Sigleton.





-- 
------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
Consultant          - P6M7G8 Inc.                http://p6m7g8.net
Senior Sys Admin    - RideCharge, Inc.           http://ridecharge.com
Contractor          - PositiveEnergyUSA          http://positiveenergyusa.com
ASF Member          - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation         http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49E3A0C2.9020501>