aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_kerb
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-08-01 09:28:29 +0000
committerClement Laforet <clement@FreeBSD.org>2005-08-01 09:28:29 +0000
commitc7a36305d090bb6ecc1d064bf2aa5ea0073f3518 (patch)
treeef2a00b5ea5ee136844c083138b9a10f35d7005d /www/mod_auth_kerb
parent76c9d45bb85f5632ce152a0e562f2033d6b5917a (diff)
downloadports-c7a36305d090bb6ecc1d064bf2aa5ea0073f3518.tar.gz
ports-c7a36305d090bb6ecc1d064bf2aa5ea0073f3518.zip
Notes
Diffstat (limited to 'www/mod_auth_kerb')
-rw-r--r--www/mod_auth_kerb/Makefile29
-rw-r--r--www/mod_auth_kerb/distinfo4
2 files changed, 10 insertions, 23 deletions
diff --git a/www/mod_auth_kerb/Makefile b/www/mod_auth_kerb/Makefile
index 18b0575574c0..909f01635a14 100644
--- a/www/mod_auth_kerb/Makefile
+++ b/www/mod_auth_kerb/Makefile
@@ -8,12 +8,11 @@
# Shamelessly stolen from will's mod_auth_any port.
PORTNAME= mod_auth_kerb
-PORTVERSION= 4.11
-PORTREVISION= 1
+PORTVERSION= 5.0.r6
+DISTNAME= mod_auth_kerb-5.0-rc6
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=modauthkerb
-
MAINTAINER= apache@FreeBSD.org
COMMENT= An Apache module for authenticating users with Kerberos v5
@@ -26,25 +25,13 @@ COMMENT= An Apache module for authenticating users with Kerberos v5
LIB_DEPENDS= krb5.3:${PORTSDIR}/security/krb5
USE_APACHE= yes
-WRKSRC= ${WRKDIR}/src/modules/kerberos
KRB5_HOME?= ${LOCALBASE}
-USE_REINPLACE= yes
-
-post-patch:
- @${REINPLACE_CMD} '379N;s/\n/ /' ${WRKSRC}/mod_auth_kerb.c
-
-do-build:
- cd ${WRKSRC} && \
- ${APXS} -I${KRB5_HOME}/include \
- -DKRB5 -DKRB5_VERIFY_TICKET -DKRB5_SAVE_CREDENTIALS \
- -DKRB5_DEFAULT_KEYTAB=\"\\\"FILE:${LOCALBASE}/etc/apache/keytab\\\"\" \
- -Dkerb_auth_module=auth_kerb_module \
- -c ${PORTNAME}.c \
- -L${KRB5_HOME}/lib -Wl,-rpath -Wl,${KRB5_HOME}/lib \
- -lkrb5 -lk5crypto -lcom_err
-
-do-install:
- ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
+
+# Don't fsck with CFLAGS
+CFLAGS:=
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME} --without-krb4
.include <bsd.port.mk>
diff --git a/www/mod_auth_kerb/distinfo b/www/mod_auth_kerb/distinfo
index cbd10cbc6cac..ea1597f6042b 100644
--- a/www/mod_auth_kerb/distinfo
+++ b/www/mod_auth_kerb/distinfo
@@ -1,2 +1,2 @@
-MD5 (mod_auth_kerb-4.11.tar.gz) = 2f2c8a52117bfa6248a2c688efb52621
-SIZE (mod_auth_kerb-4.11.tar.gz) = 14053
+MD5 (mod_auth_kerb-5.0-rc6.tar.gz) = 274edfb950af20ce6ef0ddcb7c20263a
+SIZE (mod_auth_kerb-5.0-rc6.tar.gz) = 68761