2009-05-11 09:42:53 +02:00
|
|
|
# New ports collection makefile for: mod_auth_kerb
|
|
|
|
# Date created: 19 October 2001
|
|
|
|
# Whom: wollman
|
2001-10-19 19:40:18 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2009-05-11 09:42:53 +02:00
|
|
|
|
2001-10-19 19:40:18 +02:00
|
|
|
# Shamelessly stolen from will's mod_auth_any port.
|
|
|
|
|
|
|
|
PORTNAME= mod_auth_kerb
|
2008-12-26 09:09:08 +01:00
|
|
|
PORTVERSION= 5.4
|
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
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
|
2009-05-11 09:42:53 +02:00
|
|
|
LATEST_LINK= mod_auth_kerb2
|
|
|
|
|
2008-12-26 09:09:08 +01:00
|
|
|
USE_APACHE= 2.0+
|
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
|
|
|
|
2009-05-11 09:42:53 +02:00
|
|
|
PORTSCOUT= limit:^5.3
|
2007-07-23 16:45:19 +02:00
|
|
|
|
|
|
|
.if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a)
|
|
|
|
CONFIGURE_ARGS+= --with-krb5=${KRB5_HOME} --without-krb4
|
|
|
|
.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
|
|
|
|
CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} --without-krb4
|
|
|
|
.elif exists(${DESTDIR}/usr/lib/libkrb5.a) && exists(${DESTDIR}/usr/bin/krb5-config)
|
|
|
|
CONFIGURE_ARGS+= --with-krb5=${DESTDIR}/usr --without-krb4
|
2005-10-15 00:55:59 +02:00
|
|
|
.else
|
2007-07-23 16:45:19 +02:00
|
|
|
LIB_DEPENDS+= krb5:${PORTSDIR}/security/krb5
|
|
|
|
CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} --without-krb4
|
2005-10-15 00:55:59 +02:00
|
|
|
.endif
|
|
|
|
|
2009-05-11 09:42:53 +02:00
|
|
|
.include <bsd.port.mk>
|