From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 19 12:40:16 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0C7416A4B3 for ; Sun, 19 Oct 2003 12:40:16 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D57143FE9 for ; Sun, 19 Oct 2003 12:40:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9JJe9FY021035 for ; Sun, 19 Oct 2003 12:40:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9JJe9ce021034; Sun, 19 Oct 2003 12:40:09 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 19 Oct 2003 12:40:09 -0700 (PDT) Resent-Message-Id: <200310191940.h9JJe9ce021034@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Clement Laforet Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CFAC16A4B3 for ; Sun, 19 Oct 2003 12:33:10 -0700 (PDT) Received: from cultdeadsheep.org (charon.cultdeadsheep.org [80.65.226.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEC6F43FA3 for ; Sun, 19 Oct 2003 12:33:05 -0700 (PDT) (envelope-from sheepkiller@cultdeadsheep.org) Received: (qmail 85166 invoked by uid 85); 19 Oct 2003 21:33:01 +0200 Received: from sheepkiller@cultdeadsheep.org by goofy.cultdeadsheep.org by uid 82 with qmail-scanner-1.20rc2 ( Clear:RC:1:. Processed in 0.078958 secs); 19 Oct 2003 19:33:01 -0000 Received: from lucifer.cultdeadsheep.org (192.168.0.2) by goofy.cultdeadsheep.org with SMTP; 19 Oct 2003 21:33:00 +0200 Received: by lucifer.cultdeadsheep.org (sSMTP sendmail emulation); Sun, 19 Oct 2003 21:32:32 +0200 Message-Id: <20031019193305.EEC6F43FA3@mx1.FreeBSD.org> Date: Sun, 19 Oct 2003 21:32:32 +0200 From: Clement Laforet To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: Clement Laforet Subject: ports/58249: [new port] www/mod_ntlm: Implements NTLM authentication for Apache 1.3.x X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Clement Laforet List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 19:40:17 -0000 X-List-Received-Date: Sun, 19 Oct 2003 19:40:17 -0000 X-List-Received-Date: Sun, 19 Oct 2003 19:40:17 -0000 X-List-Received-Date: Sun, 19 Oct 2003 19:40:17 -0000 >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 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 "" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ X 's|||g' Xpost-install: X.if !(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/Documentation/mod_ntlm.html ${DOCSDIR} X.endif X X.include 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 X #include X #include X-#include X #include 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: