Date: Sun, 26 Jun 2011 01:21:30 +0200 From: Olli Hauer <ohauer@FreeBSD.org> To: apache@FreeBSD.org Cc: "Philip M. Gollucci" <pgollucci@FreeBSD.org> Subject: [patch] to notify users about the deprecation of apache13/20 without touching any port Message-ID: <4E066D7A.50603@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------090008080102030204070403 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hi Philip, what do you think about the following patch to note user about the deprecation of apache13/20? -- olli --------------090008080102030204070403 Content-Type: text/plain; name="bsd.apache.mk_apache13_and_20_global-note_2011-06-25.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="bsd.apache.mk_apache13_and_20_global-note_2011-06-25.txt" Index: ports/Mk/bsd.apache.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.apache.mk,v retrieving revision 1.29 diff -u -r1.29 bsd.apache.mk --- ports/Mk/bsd.apache.mk 15 May 2011 20:21:30 -0000 1.29 +++ ports/Mk/bsd.apache.mk 25 Jun 2011 23:08:53 -0000 @@ -346,6 +346,20 @@ _APACHE_VERSION_MAXIMUM_TMP:= ${_APACHE_VERSION_CHECK:C/.*-([1-9][0-9])/\1/} _APACHE_VERSION_MAXIMUM:= ${_APACHE_VERSION_MAXIMUM_TMP:M[1-9][0-9]} +# Note users about the removal of apache13/20 and apache13/20 only ports +# (mass deprecation without touching all ports ;) +.if !defined(DEPRECATED) && !empty(_APACHE_VERSION_MAXIMUM) +. if ${_APACHE_VERSION_MAXIMUM} == 20 +DEPRECATED= will be unsupported by ASF when 2.4.0 is released, migrate to 2.2.x+ now +. endif +. if ${_APACHE_VERSION_MAXIMUM} == 13 +DEPRECATED= apache13 is unsupported upstream, migrate to 2.2.x+ now +. if !defined(EXPIRATION_DATE) +EXPIRATION_DATE= the next FreeBSD release +. endif +. endif +.endif + .if defined(_APACHE_VERSION) # Validate Apache version whether it meets USE_APACHE version restriction. . if !empty(_APACHE_VERSION_MINIMUM) && (${_APACHE_VERSION} < ${_APACHE_VERSION_MINIMUM}) --------------090008080102030204070403--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E066D7A.50603>