2012-09-22 23:15:50 +02:00
|
|
|
# Created by: wollman
|
2001-10-19 19:40:18 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_auth_kerb
|
2008-12-26 09:09:08 +01:00
|
|
|
PORTVERSION= 5.4
|
2013-06-18 22:46:01 +02:00
|
|
|
PORTREVISION= 5
|
2001-10-19 19:40:18 +02:00
|
|
|
CATEGORIES= www
|
2009-08-22 02:38:34 +02:00
|
|
|
MASTER_SITES= SF/modauthkerb/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2010-05-25 22:17:37 +02:00
|
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
2005-10-15 00:55:59 +02:00
|
|
|
|
2004-08-18 18:21:55 +02:00
|
|
|
MAINTAINER= apache@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An Apache module for authenticating users with Kerberos v5
|
2001-10-19 19:40:18 +02:00
|
|
|
|
2009-05-17 09:24:35 +02:00
|
|
|
|
2009-05-11 09:42:53 +02:00
|
|
|
LATEST_LINK= mod_auth_kerb2
|
|
|
|
|
2012-09-22 23:15:50 +02:00
|
|
|
USE_APACHE= 22
|
2007-03-14 20:29:20 +01:00
|
|
|
USE_GMAKE= yes
|
2005-08-01 11:28:29 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-10-15 00:55:59 +02:00
|
|
|
|
2013-10-04 00:24:34 +02:00
|
|
|
PORTSCOUT= limit:^5.4
|
2007-07-23 16:45:19 +02:00
|
|
|
|
2010-11-27 01:29:39 +01:00
|
|
|
.if defined(KRB5_HOME)
|
|
|
|
BUILD_DEPENDS+= ${KRB5_HOME}/lib/libgssapi_krb5.so:${PORTSDIR}/security/krb5
|
|
|
|
RUN_DEPENDS+= ${KRB5_HOME}/lib/libgssapi_krb5.so:${PORTSDIR}/security/krb5
|
2007-07-23 16:45:19 +02:00
|
|
|
CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME} --without-krb4
|
2013-10-04 00:24:34 +02:00
|
|
|
|
2010-11-27 01:29:39 +01:00
|
|
|
.elif defined(HEIMDAL_HOME)
|
|
|
|
BUILD_DEPENDS+= ${HEIMDAL_HOME}/lib/libgssapi.so:${PORTSDIR}/security/heimdal
|
|
|
|
RUN_DEPENDS+= ${HEIMDAL_HOME}/lib/libgssapi.so:${PORTSDIR}/security/heimdal
|
2007-07-23 16:45:19 +02:00
|
|
|
CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} --without-krb4
|
2013-10-04 00:24:34 +02:00
|
|
|
|
2007-07-23 16:45:19 +02:00
|
|
|
.elif exists(${DESTDIR}/usr/lib/libkrb5.a) && exists(${DESTDIR}/usr/bin/krb5-config)
|
|
|
|
CONFIGURE_ARGS+= --with-krb5=${DESTDIR}/usr --without-krb4
|
2013-10-04 00:24:34 +02:00
|
|
|
|
2005-10-15 00:55:59 +02:00
|
|
|
.else
|
2010-11-27 01:29:39 +01:00
|
|
|
LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
|
2007-07-23 16:45:19 +02:00
|
|
|
CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} --without-krb4
|
2005-10-15 00:55:59 +02:00
|
|
|
.endif
|
|
|
|
|
2013-09-21 01:36:50 +02:00
|
|
|
NO_STAGE= yes
|
2009-05-11 09:42:53 +02:00
|
|
|
.include <bsd.port.mk>
|