diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-07-04 17:32:53 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-07-04 17:32:53 +0000 |
commit | 0b72cbc739b178dffefdb494ec7858a312030d19 (patch) | |
tree | e07e51677562396a1805ce1b136f46fe529ddf10 /www/mod_ntlm | |
parent | 8e22e0d446fb4940b6db28ab519f2d2da7fe605a (diff) |
Notes
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%% |