View | Details | Raw Unified | Return to bug 83111
Collapse All | Expand All

(-)Makefile (-19 / +6 lines)
Lines 8-19 Link Here
8
# Shamelessly stolen from will's mod_auth_any port.
8
# Shamelessly stolen from will's mod_auth_any port.
9
9
10
PORTNAME=	mod_auth_kerb
10
PORTNAME=	mod_auth_kerb
11
PORTVERSION=	4.11
11
PORTVERSION=	5.0.r6
12
PORTREVISION=	1
12
DISTNAME=	mod_auth_kerb-5.0-rc6
13
CATEGORIES=	www
13
CATEGORIES=	www
14
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
14
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
15
MASTER_SITE_SUBDIR=modauthkerb
15
MASTER_SITE_SUBDIR=modauthkerb
16
17
MAINTAINER=	apache@FreeBSD.org
16
MAINTAINER=	apache@FreeBSD.org
18
COMMENT=	An Apache module for authenticating users with Kerberos v5
17
COMMENT=	An Apache module for authenticating users with Kerberos v5
19
18
Lines 26-50 Link Here
26
LIB_DEPENDS=	krb5.3:${PORTSDIR}/security/krb5
25
LIB_DEPENDS=	krb5.3:${PORTSDIR}/security/krb5
27
26
28
USE_APACHE=	yes
27
USE_APACHE=	yes
29
WRKSRC=		${WRKDIR}/src/modules/kerberos
30
28
31
KRB5_HOME?=	${LOCALBASE}
29
KRB5_HOME?=	${LOCALBASE}
32
USE_REINPLACE=	yes
33
34
post-patch:
35
	@${REINPLACE_CMD} '379N;s/\n/ /' ${WRKSRC}/mod_auth_kerb.c
36
30
37
do-build:
31
# Don't fsck with CFLAGS
38
	cd ${WRKSRC} && \
32
CFLAGS:=
39
		${APXS} -I${KRB5_HOME}/include \
40
		-DKRB5 -DKRB5_VERIFY_TICKET -DKRB5_SAVE_CREDENTIALS \
41
		-DKRB5_DEFAULT_KEYTAB=\"\\\"FILE:${LOCALBASE}/etc/apache/keytab\\\"\" \
42
		-Dkerb_auth_module=auth_kerb_module \
43
		-c ${PORTNAME}.c \
44
		-L${KRB5_HOME}/lib -Wl,-rpath -Wl,${KRB5_HOME}/lib \
45
		-lkrb5 -lk5crypto -lcom_err
46
33
47
do-install:
34
GNU_CONFIGURE=	yes
48
	${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
35
CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME} --without-krb4
49
36
50
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (mod_auth_kerb-4.11.tar.gz) = 2f2c8a52117bfa6248a2c688efb52621
1
MD5 (mod_auth_kerb-5.0-rc6.tar.gz) = 274edfb950af20ce6ef0ddcb7c20263a
2
SIZE (mod_auth_kerb-4.11.tar.gz) = 14053
2
SIZE (mod_auth_kerb-5.0-rc6.tar.gz) = 68761

Return to bug 83111