commit:     f83111f8ca9ba399c7e7b1479c41aa3c8d489fa3
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 27 12:49:57 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Nov 27 13:04:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83111f8

www-apache/mod_auth_tkt: update EAPI 5 -> 7

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 ...2.1.0-r1.ebuild => mod_auth_tkt-2.1.0-r2.ebuild} | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/www-apache/mod_auth_tkt/mod_auth_tkt-2.1.0-r1.ebuild 
b/www-apache/mod_auth_tkt/mod_auth_tkt-2.1.0-r2.ebuild
similarity index 84%
rename from www-apache/mod_auth_tkt/mod_auth_tkt-2.1.0-r1.ebuild
rename to www-apache/mod_auth_tkt/mod_auth_tkt-2.1.0-r2.ebuild
index e7ec743532d2..a20ae2253536 100644
--- a/www-apache/mod_auth_tkt/mod_auth_tkt-2.1.0-r1.ebuild
+++ b/www-apache/mod_auth_tkt/mod_auth_tkt-2.1.0-r2.ebuild
@@ -1,8 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit apache-module epatch
+EAPI=7
+
+inherit apache-module depend.apache
 
 DESCRIPTION="Apache module for cookie based authentication"
 HOMEPAGE="http://www.openfusion.com.au/labs/mod_auth_tkt/";
@@ -11,10 +12,8 @@ 
SRC_URI="http://www.openfusion.com.au/labs/dist/${PN}/${P}.tar.gz";
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="dev-lang/perl"
-RDEPEND=""
 
 APACHE2_MOD_CONF="10_${PN}"
 APACHE2_MOD_DEFINE="AUTH_TKT"
@@ -24,20 +23,22 @@ DOCFILES="README"
 # test suite is completely broken
 RESTRICT="test"
 
+PATCHES=(
+       "${FILESDIR}"/${P}-apache-2.4.patch
+)
+
 need_apache2
 
-src_prepare() {
-       epatch "${FILESDIR}"/${P}-apache-2.4.patch
+# Work around Bug #616612
+pkg_setup() {
+       _init_apache2
+       _init_apache2_late
 }
 
 src_configure() {
        ./configure --apachever=2.2 --apxs=${APXS}
 }
 
-src_compile() {
-       emake
-}
-
 src_install() {
        apache-module_src_install
        pod2man --section=5 --release=${PV} doc/${PN}.{pod,5}

Reply via email to