aboutsummaryrefslogtreecommitdiff
path: root/www/mod_auth_kerb
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-11 07:35:41 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2009-05-11 07:35:41 +0000
commitdb3d4ce83ccf2ec03d9f0b747b1b25e62d3b37ef (patch)
tree3d1c8824115210bad5fe5dc83dba3b5215ff78d5 /www/mod_auth_kerb
parent150749226490aa5b67238703c087a222c2787a56 (diff)
downloadports-db3d4ce83ccf2ec03d9f0b747b1b25e62d3b37ef.tar.gz
ports-db3d4ce83ccf2ec03d9f0b747b1b25e62d3b37ef.zip
- Cleanup apxs -> APXS usage
- Clean up PLIST_SUB vars - Use %%AP*%% in pkg-plist
Notes
Notes: svn path=/head/; revision=233679
Diffstat (limited to 'www/mod_auth_kerb')
-rw-r--r--www/mod_auth_kerb/Makefile19
-rw-r--r--www/mod_auth_kerb/pkg-plist2
2 files changed, 2 insertions, 19 deletions
diff --git a/www/mod_auth_kerb/Makefile b/www/mod_auth_kerb/Makefile
index 01d338a98c65..413749263a81 100644
--- a/www/mod_auth_kerb/Makefile
+++ b/www/mod_auth_kerb/Makefile
@@ -17,29 +17,12 @@ MASTER_SITE_SUBDIR=modauthkerb
MAINTAINER= apache@FreeBSD.org
COMMENT= An Apache module for authenticating users with Kerberos v5
-#
-# This module allows users to send their Kerberos password in
-# plain text; it should only be used over an encrypted connection
-# (i.e., HTTP over SSL/TLS). Thus, we require as a dependency
-# a version of Apache which can do this.
-#
USE_APACHE= 1.3
USE_GMAKE= yes
-# Don't fsck with CFLAGS
-CFLAGS:=
GNU_CONFIGURE= yes
PORTSCOUT= limit:^5.3
-.include <bsd.port.pre.mk>
-
-.if exists(${PREFIX}/sbin/apxs)
-APACHE_MODULE_DIR!=${PREFIX}/sbin/apxs -q LIBEXECDIR
-.else
-APACHE_MODULE_DIR=libexec/apache
-.endif
-PLIST_SUB+= APMODDIR=${APACHE_MODULE_DIR:S/^${PREFIX}\///}
-
.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)
@@ -51,4 +34,4 @@ LIB_DEPENDS+= krb5:${PORTSDIR}/security/krb5
CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} --without-krb4
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/mod_auth_kerb/pkg-plist b/www/mod_auth_kerb/pkg-plist
index e10a6259ef13..cd2cc90e3dc4 100644
--- a/www/mod_auth_kerb/pkg-plist
+++ b/www/mod_auth_kerb/pkg-plist
@@ -1,3 +1,3 @@
-%%APMODDIR%%/mod_auth_kerb.so
+%%APACHEMODDIR%%/mod_auth_kerb.so
@exec %D/sbin/apxs -e -A -n auth_kerb %D/%F
@unexec %D/sbin/apxs -e -A -n auth_kerb %D/%F