Date: Sun, 19 Oct 2003 21:32:32 +0200 From: Clement Laforet <sheepkiller@cultdeadsheep.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Clement Laforet <sheepkiller@cultdeadsheep.org> Subject: ports/58249: [new port] www/mod_ntlm: Implements NTLM authentication for Apache 1.3.x Message-ID: <20031019193305.EEC6F43FA3@mx1.FreeBSD.org> Resent-Message-ID: <200310191940.h9JJe9ce021034@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 58249 >Category: ports >Synopsis: [new port] www/mod_ntlm: Implements NTLM authentication for Apache 1.3.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Oct 19 12:40:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Clement Laforet >Release: FreeBSD 5.1-CURRENT i386 >Organization: cotds.org >Environment: System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Mon Sep 22 08:20:10 CEST 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386 >Description: 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 1.3.x. WWW: http://modntlm.sourceforge.net/ >How-To-Repeat: N/A. >Fix: --- mod_ntlm.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mod_ntlm # mod_ntlm/Makefile # mod_ntlm/distinfo # mod_ntlm/pkg-descr # mod_ntlm/pkg-plist # mod_ntlm/files # mod_ntlm/files/patch-smbval::smbencrypt.inc.c # mod_ntlm/files/patch-Makefile # echo c - mod_ntlm mkdir -p mod_ntlm > /dev/null 2>&1 echo x - mod_ntlm/Makefile sed 's/^X//' >mod_ntlm/Makefile << 'END-of-mod_ntlm/Makefile' X# New ports collection makefile for: mod_ntlm X# Date created: Sun Oct 19 X# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org> X# X# $FreeBSD$ X# X XPORTNAME= mod_ntlm XPORTVERSION= 0.4 XCATEGORIES= www XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= modntlm XDIST_SUBDIR= apache X XMAINTAINER= sheepkiller@cultdeadsheep.org XCOMMENT= Implements NTLM authentication for Apache 1.3.x X XBUILD_DEPENDS= ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13 XRUN_DEPENDS= ${BUILD_DEPENDS} XLIB_DEPENDS= ntlm.0:${PORTSDIR}/security/libntlm X XUSE_REINPLACE= yes XAPXS?= ${LOCALBASE}/sbin/apxs XMAKE_ARGS= APXS=${APXS} X Xpost-patch: X @${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ X 's|<malloc\.h>|<stdlib.h>|g' Xpost-install: X.if !(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/Documentation/mod_ntlm.html ${DOCSDIR} X.endif X X.include <bsd.port.mk> END-of-mod_ntlm/Makefile echo x - mod_ntlm/distinfo sed 's/^X//' >mod_ntlm/distinfo << 'END-of-mod_ntlm/distinfo' XMD5 (apache/mod_ntlm-0.4.tar.gz) = 5e9b8d1abf872926d6ff01a05a7deb2a END-of-mod_ntlm/distinfo echo x - mod_ntlm/pkg-descr sed 's/^X//' >mod_ntlm/pkg-descr << 'END-of-mod_ntlm/pkg-descr' XNTLM is an authentication protocol used by Microsoft Internet Informations XServer(tm) and Microsoft Internet Explorer(tm). While it is not really secure, Xit offers background authentication (the workstation logon credentials of users Xare passed through to the web server). This feature is widely used in intranets Xbased on these Microsoft products. XThis module is implementing NTLM authentication for Apache 1.3.x. X XWWW: http://modntlm.sourceforge.net/ END-of-mod_ntlm/pkg-descr echo x - mod_ntlm/pkg-plist sed 's/^X//' >mod_ntlm/pkg-plist << 'END-of-mod_ntlm/pkg-plist' Xlibexec/apache/mod_ntlm.so X@exec %D/sbin/apxs -e -a -n ntlm %D/%f X%%PORTDOCS%%%%DOCSDIR%%/mod_ntlm.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@unexec echo "===> If you do not plan on reinstalling mod_ntlm, you must manually remove"; echo "===> references to it in httpd.conf." END-of-mod_ntlm/pkg-plist echo c - mod_ntlm/files mkdir -p mod_ntlm/files > /dev/null 2>&1 echo x - mod_ntlm/files/patch-smbval::smbencrypt.inc.c sed 's/^X//' >mod_ntlm/files/patch-smbval::smbencrypt.inc.c << 'END-of-mod_ntlm/files/patch-smbval::smbencrypt.inc.c' X--- smbval/smbencrypt.inc.c.orig Sun Oct 19 13:03:11 2003 X+++ smbval/smbencrypt.inc.c Sun Oct 19 13:03:21 2003 X@@ -19,7 +19,6 @@ X #include <arpa/inet.h> X #include <dirent.h> X #include <string.h> X-#include <sys/vfs.h> X #include <netinet/in.h> X X #include "smblib-priv.h" END-of-mod_ntlm/files/patch-smbval::smbencrypt.inc.c echo x - mod_ntlm/files/patch-Makefile sed 's/^X//' >mod_ntlm/files/patch-Makefile << 'END-of-mod_ntlm/files/patch-Makefile' X--- Makefile.orig Sun Oct 19 13:41:19 2003 X+++ Makefile Sun Oct 19 13:41:30 2003 X@@ -5,8 +5,8 @@ X ## $Id: Makefile,v 1.3 2003/02/21 01:55:13 casz Exp $ X X # the used tools X-APXS=apxs X-APACHECTL=/etc/rc.d/apache X+#APXS=apxs X+#APACHECTL=/etc/rc.d/apache X X # additional defines, includes and libraries X #DEF=-Dmy_define=my_value X@@ -22,7 +22,7 @@ X X # install the shared object file into Apache X install: all X- $(APXS) -i -a -n 'ntlm' mod_ntlm.so X+ $(APXS) -i -A -n 'ntlm' mod_ntlm.so X X # cleanup X clean: END-of-mod_ntlm/files/patch-Makefile exit --- mod_ntlm.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031019193305.EEC6F43FA3>