diff options
author | skv <skv@FreeBSD.org> | 2004-07-05 01:32:53 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-07-05 01:32:53 +0800 |
commit | a9877f718dfe20d3de39f3677db244a4e824fa70 (patch) | |
tree | 88c91435ac2ac1ae630737be6935c70d6970e1fc /www/mod_ntlm | |
parent | 1294968e2008517019b859f1ece0526a18a25c12 (diff) | |
download | freebsd-ports-gnome-a9877f718dfe20d3de39f3677db244a4e824fa70.tar.gz freebsd-ports-gnome-a9877f718dfe20d3de39f3677db244a4e824fa70.tar.zst freebsd-ports-gnome-a9877f718dfe20d3de39f3677db244a4e824fa70.zip |
Add mod_ntlm 0.4,
NTLM authentication module for the Apache
webserver.
Diffstat (limited to 'www/mod_ntlm')
-rw-r--r-- | www/mod_ntlm/Makefile | 35 | ||||
-rw-r--r-- | www/mod_ntlm/distinfo | 2 | ||||
-rw-r--r-- | www/mod_ntlm/pkg-descr | 11 | ||||
-rw-r--r-- | www/mod_ntlm/pkg-plist | 5 |
4 files changed, 53 insertions, 0 deletions
diff --git a/www/mod_ntlm/Makefile b/www/mod_ntlm/Makefile new file mode 100644 index 000000000000..b5c713f618bd --- /dev/null +++ b/www/mod_ntlm/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: mod_ntlm +# Date created: 04 July 2004 +# Whom: Sergey Skvortsov <skv@protey.ru> +# +# $FreeBSD$ +# + +PORTNAME= mod_ntlm +PORTVERSION= 0.4 +CATEGORIES= www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= modntlm + +MAINTAINER= skv@FreeBSD.org +COMMENT= NTLM authentication module for the Apache webserver + +USE_APACHE= YES +USE_REINPLACE= YES +MAKE_ENV= APXS=${APXS} + +post-patch: + ${FIND} ${WRKSRC}/smbval -name "*.inc.c" -type f|${XARGS} \ + ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" + ${REINPLACE_CMD} -e "s/APXS=.*//" ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e "s!#include <sys/vfs.*!!" \ + ${WRKSRC}/smbval/smbencrypt.inc.c + +post-install: +.ifndef(NOPORTDOCS) + @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/Documentation/mod_ntlm.html ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/www/mod_ntlm/distinfo b/www/mod_ntlm/distinfo new file mode 100644 index 000000000000..c58e5e49a92a --- /dev/null +++ b/www/mod_ntlm/distinfo @@ -0,0 +1,2 @@ +MD5 (mod_ntlm-0.4.tar.gz) = 5e9b8d1abf872926d6ff01a05a7deb2a +SIZE (mod_ntlm-0.4.tar.gz) = 40968 diff --git a/www/mod_ntlm/pkg-descr b/www/mod_ntlm/pkg-descr new file mode 100644 index 000000000000..421a90153378 --- /dev/null +++ b/www/mod_ntlm/pkg-descr @@ -0,0 +1,11 @@ +NTLM is an authentication protocol used by Microsoft Internet +Informations Server(tm) and Microsoft Internet Explorer(tm). While it +is not really secure, it offers background authentication (the +workstation logon credentials of users are passed through to the web +server). This feature is widely used in intranets based on these +Microsoft products. + +This module is implementing NTLM authentication for Apache on Unix +platforms. + +WWW: http://modntlm.sourceforge.net/ diff --git a/www/mod_ntlm/pkg-plist b/www/mod_ntlm/pkg-plist new file mode 100644 index 000000000000..55d9a2bedad9 --- /dev/null +++ b/www/mod_ntlm/pkg-plist @@ -0,0 +1,5 @@ +libexec/apache/mod_ntlm.so +@exec %D/sbin/apxs -e -A -n ntlm %D/%f +@unexec %D/sbin/apxs -e -A -n ntlm %D/%F +%%PORTDOCS%%%%DOCSDIR%%/mod_ntlm.html +%%PORTDOCS%%@dirrm %%DOCSDIR%% |