bsd.apache.mk rewrite / cleanup

Olli Hauer ohauer at FreeBSD.org
Sun Aug 12 22:40:41 UTC 2012


On 2012-08-13 00:26, Philip M. Gollucci wrote:
> Looks fine to me.  Why don't we just act on removing www/apache20 and
> devel/apr0.
> Then committing this is simpler
> Then making www/apache24 is easier
> Then moving APACHE_PORT to www/apache24 is 'easier' minus the MPM change.

Sounds good to me, should we update the EXPIRE date of apache20 to the
end of this month (2012-08-30)?

I would have the new bsd.apache.mk in place as soon as possible, therefore
most of the time was spend in doing backward tests.

--
olli

> On Sun, Aug 12, 2012 at 6:03 PM, Olli Hauer <ohauer at freebsd.org> wrote:
> 
>> Hi all,
>>
>> the bsd.apache.mk script has undergone a rewrite for better support of
>> options NG.
>>
>> changed:
>>  - make.conf pa-rams like WITH(OUT)_MODULES should be given in UPPER case.
>>    Code to convert make.conf pa-rams to UPPER case is in place
>>  - cleanup old constructs which are working in a sub-shell (@for ...
>> ${GREP} ...)
>>    the parts are replaced to use make logic.
>>  - adjust apache20/apache22 ports for the new bsd.apache.mk.
>>
>> The bsd.apache.mk file should be touched again to support options NG in
>> apache2x
>> but those changes are only a view lines.
>>
>> I want to keep make.conf support the same way it works now even if apache22
>> is rewritten with options NG support. This means against new options NG
>> logic
>> the make.conf has priority over options set by "make config" (old
>> behavior).
>> To give make.conf and command line pa-rams a higher priority is needed for
>> static and other special builds.
>>
>> I've done endless tests with the rewritten bsd.apache.mk and have not
>> found any
>> backward incompatible issues (except if we remove the UPPERCASE convert
>> part)
>>
>> There is additional room for more cleanup, some comments are in the patch
>> (MFC TODO).
>>
>> For anyone interested in review before I commit the patches
>>
>> http://people.freebsd.org/~ohauer/diffs/apache/bsd.apache.mk_rewrite_2012-08-12.txt
>>
>> --
>> olli
>> _______________________________________________
>> freebsd-apache at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-apache
>> To unsubscribe, send any mail to "freebsd-apache-unsubscribe at freebsd.org"
>>
> 
> 
> 


More information about the freebsd-apache mailing list