From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4D26C158086 for ; Sat, 27 Nov 2021 13:04:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CDBFE2BC03F; Sat, 27 Nov 2021 13:04:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B364E2BC03F for ; Sat, 27 Nov 2021 13:04:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71ADD342EF9 for ; Sat, 27 Nov 2021 13:04:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 947921E6 for ; Sat, 27 Nov 2021 13:04:25 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1638018251.a0aa837bf394e2564c7a417e8d4761d783f955bb.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_auth_kerb/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r3.ebuild X-VCS-Directories: www-apache/mod_auth_kerb/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: a0aa837bf394e2564c7a417e8d4761d783f955bb X-VCS-Branch: master Date: Sat, 27 Nov 2021 13:04:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 225743eb-ce23-4ce6-b7f6-6d5f53150413 X-Archives-Hash: 5cc63bdfcf4c1c9188200f0c9de41892 commit: a0aa837bf394e2564c7a417e8d4761d783f955bb Author: Marek Szuba gentoo org> AuthorDate: Sat Nov 27 12:24:41 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Sat Nov 27 13:04:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0aa837b www-apache/mod_auth_kerb: update EAPI 5 -> 7 Signed-off-by: Marek Szuba gentoo.org> .../mod_auth_kerb/mod_auth_kerb-5.4-r3.ebuild | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r3.ebuild b/www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r3.ebuild new file mode 100644 index 000000000000..0a59d3214ff2 --- /dev/null +++ b/www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit apache-module depend.apache tmpfiles + +DESCRIPTION="An Apache authentication module using Kerberos" +HOMEPAGE="http://modauthkerb.sourceforge.net/" +SRC_URI="mirror://sourceforge/project/modauthkerb/${PN}/${P}/${P}.tar.gz + https://dev.gentoo.org/~mgorny/dist/${P}-gentoo-patchset.tar.bz2" + +LICENSE="BSD openafs-krb5-a HPND" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="virtual/krb5" +RDEPEND="${DEPEND}" + +APACHE2_MOD_CONF="11_${PN}" +APACHE2_MOD_DEFINE="AUTH_KERB" + +DOCFILES="INSTALL README" + +need_apache2 + +PATCHES=( + "${WORKDIR}/${P}-gentoo-patchset"/${P}-rcopshack.patch + "${WORKDIR}/${P}-gentoo-patchset"/${P}-fixes.patch + "${WORKDIR}/${P}-gentoo-patchset"/${P}-s4u2proxy.patch + "${WORKDIR}/${P}-gentoo-patchset"/${P}-httpd24.patch + "${WORKDIR}/${P}-gentoo-patchset"/${P}-delegation.patch + "${WORKDIR}/${P}-gentoo-patchset"/${P}-cachedir.patch + "${WORKDIR}/${P}-gentoo-patchset"/${P}-longuser.patch + "${WORKDIR}/${P}-gentoo-patchset"/${P}-handle-continue.patch + "${WORKDIR}/${P}-gentoo-patchset"/${P}-heimdal.patch +) + +# Work around Bug #616612 +pkg_setup() { + _init_apache2 + _init_apache2_late +} + +src_configure() { + CFLAGS="" APXS="${APXS}" econf --with-krb5=/usr --without-krb4 +} + +src_compile() { + emake +} + +src_install() { + apache-module_src_install + dotmpfiles "${FILESDIR}/${PN}.conf" +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf +}