public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-apache/mod_auth_radius: ChangeLog mod_auth_radius-1.5.8.ebuild
@ 2013-05-13 13:31 Tony Vroon (chainsaw)
  0 siblings, 0 replies; only message in thread
From: Tony Vroon (chainsaw) @ 2013-05-13 13:31 UTC (permalink / raw
  To: gentoo-commits

chainsaw    13/05/13 13:31:43

  Modified:             ChangeLog mod_auth_radius-1.5.8.ebuild
  Log:
  Conditionally apply 2.4 compatibility patch to avoid build failures against 2.2; with thanks to Agostino "ago" Sarubbo for implementation suggestion.
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A)

Revision  Changes    Path
1.2                  www-apache/mod_auth_radius/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_auth_radius/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog	8 May 2013 13:52:15 -0000	1.1
+++ ChangeLog	13 May 2013 13:31:43 -0000	1.2
@@ -1,6 +1,10 @@
 # ChangeLog for www-apache/mod_auth_radius
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_radius/ChangeLog,v 1.1 2013/05/08 13:52:15 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_radius/ChangeLog,v 1.2 2013/05/13 13:31:43 chainsaw Exp $
+
+  13 May 2013; Tony Vroon <chainsaw@gentoo.org> mod_auth_radius-1.5.8.ebuild:
+  Conditionally apply 2.4 compatibility patch to avoid build failures against
+  2.2; with thanks to Agostino "ago" Sarubbo for implementation suggestion.
 
 *mod_auth_radius-1.5.8 (08 May 2013)
 



1.2                  www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild?r1=1.1&r2=1.2

Index: mod_auth_radius-1.5.8.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mod_auth_radius-1.5.8.ebuild	8 May 2013 13:52:15 -0000	1.1
+++ mod_auth_radius-1.5.8.ebuild	13 May 2013 13:31:43 -0000	1.2
@@ -1,10 +1,10 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild,v 1.1 2013/05/08 13:52:15 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_radius/mod_auth_radius-1.5.8.ebuild,v 1.2 2013/05/13 13:31:43 chainsaw Exp $
 
 EAPI="5"
 
-inherit apache-module base
+inherit apache-module eutils
 
 DESCRIPTION="Radius authentication for Apache."
 HOMEPAGE="http://freeradius.org/mod_auth_radius/"
@@ -20,15 +20,17 @@
 
 APXS2_ARGS="-c ${PN}-2.0.c"
 
-PATCHES=(
-	"${FILESDIR}/${PV}-includes.patch"
-	"${FILESDIR}/${PV}-remote_ip-obsolete.patch"
-)
-
 DOCFILES="README"
 
 need_apache2
 
+src_prepare() {
+	epatch "${FILESDIR}/${PV}-includes.patch"
+	if has_version ">=www-servers/apache-2.4"; then
+		epatch "${FILESDIR}/${PV}-remote_ip-obsolete.patch"
+	fi
+}
+
 src_compile() {
 	apache-module_src_compile
 }





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-13 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-13 13:31 [gentoo-commits] gentoo-x86 commit in www-apache/mod_auth_radius: ChangeLog mod_auth_radius-1.5.8.ebuild Tony Vroon (chainsaw)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox