network/mod_auth_kerb: require krb5 instead of heimdal

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Thibaut Notteboom 2013-10-28 21:50:23 -05:00 committed by Robby Workman
parent 86420ece8d
commit 5cb7ea0807
5 changed files with 5 additions and 18 deletions

View File

@ -4,10 +4,8 @@ the Negotiate authentication method, which performs full Kerberos
authentication based on ticket exchanges, and does not require authentication based on ticket exchanges, and does not require
users to insert their passwords to the browser. users to insert their passwords to the browser.
This requires heimdal.
You will need to add the following line to /etc/httpd/httpd.conf: You will need to add the following line to /etc/httpd/httpd.conf:
Include /etc/httpd/extra/mod_auth_kerb.conf Include /etc/httpd/extra/mod_auth_kerb.conf
Mod_auth_kerb can be further configured through the Apache configuration Mod_auth_kerb can be further configured through the Apache configuration file;
file; see the README in the package's documentation directory for details. see the README in the package's documentation directory for details.

View File

@ -12,5 +12,3 @@ config() {
} }
config etc/httpd/extra/mod_auth_kerb.conf.new config etc/httpd/extra/mod_auth_kerb.conf.new

View File

@ -69,13 +69,14 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
# Fix compilation with httpd-2.4
patch -p0 < $CWD/mod_auth_kerb.c.patch patch -p0 < $CWD/mod_auth_kerb.c.patch
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--with-krb5=/usr/heimdal \ --with-krb5=/usr/kerberos \
--without-krb4 \ --without-krb4 \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
@ -101,5 +102,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View File

@ -1,13 +1,5 @@
--- src/mod_auth_kerb.c.orig 2012-06-24 19:10:03.578437625 +0200 --- src/mod_auth_kerb.c.orig 2012-06-24 19:10:03.578437625 +0200
+++ src/mod_auth_kerb.c 2012-06-24 19:12:42.043441805 +0200 +++ src/mod_auth_kerb.c 2012-06-24 19:12:42.043441805 +0200
@@ -89,6 +89,7 @@
#include <krb5.h>
#ifdef HEIMDAL
# include <gssapi.h>
+# include <gssapi/gssapi_krb5.h>
#else
# include <gssapi/gssapi.h>
# include <gssapi/gssapi_generic.h>
@@ -179,6 +179,16 @@ static apr_global_mutex_t *s4u2proxy_loc @@ -179,6 +179,16 @@ static apr_global_mutex_t *s4u2proxy_loc
#define PROXYREQ_PROXY STD_PROXY #define PROXYREQ_PROXY STD_PROXY
#endif #endif

View File

@ -5,6 +5,6 @@ DOWNLOAD="http://fossies.org/unix/www/apache_httpd_modules/mod_auth_kerb-5.4.tar
MD5SUM="642b81763ad3ca81dba359cb952da5e3" MD5SUM="642b81763ad3ca81dba359cb952da5e3"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="heimdal" REQUIRES="krb5"
MAINTAINER="Thibaut Notteboom" MAINTAINER="Thibaut Notteboom"
EMAIL="tib@tibux.org" EMAIL="tib@tibux.org"