You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.2 KiB
50 lines
1.2 KiB
10 years ago
|
# Copyright 1999-2015 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_auth_kerb/mod_auth_kerb-5.4-r2.ebuild,v 1.1 2015/05/08 18:21:14 pacho Exp $
|
||
|
|
||
|
EAPI=5
|
||
|
inherit apache-module eutils systemd
|
||
|
|
||
|
DESCRIPTION="An Apache authentication module using Kerberos"
|
||
|
HOMEPAGE="http://modauthkerb.sourceforge.net/"
|
||
|
SRC_URI="mirror://sourceforge/modauthkerb/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="BSD openafs-krb5-a HPND"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE=""
|
||
|
|
||
|
DEPEND="virtual/krb5"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
|
||
|
APACHE2_MOD_CONF="11_${PN}"
|
||
|
APACHE2_MOD_DEFINE="AUTH_KERB"
|
||
|
|
||
|
DOCFILES="INSTALL README"
|
||
|
|
||
|
need_apache2
|
||
|
|
||
|
src_prepare() {
|
||
|
epatch "${FILESDIR}"/${P}-rcopshack.patch
|
||
|
epatch "${FILESDIR}"/${P}-fixes.patch
|
||
|
epatch "${FILESDIR}"/${P}-s4u2proxy-r2.patch
|
||
|
epatch "${FILESDIR}"/${P}-httpd24.patch
|
||
|
epatch "${FILESDIR}"/${P}-delegation.patch
|
||
|
epatch "${FILESDIR}"/${P}-cachedir.patch
|
||
|
epatch "${FILESDIR}"/${P}-longuser.patch
|
||
|
epatch "${FILESDIR}"/${P}-handle-continue.patch
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
CFLAGS="" APXS="${APXS}" econf --with-krb5=/usr --without-krb4
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
emake
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
apache-module_src_install
|
||
|
systemd_dotmpfilesd "${FILESDIR}/${PN}.conf"
|
||
|
}
|