aboutsummaryrefslogtreecommitdiff
path: root/net/ntlmaps
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2007-08-01 10:38:40 +0000
committerKevin Lo <kevlo@FreeBSD.org>2007-08-01 10:38:40 +0000
commit5598fae42243f3e52501e3c1687c7c733b6177ad (patch)
tree9f72b22fc537198f5f2d861a0bb5b009cb57fc3d /net/ntlmaps
parentbe3adea30458c3dd9b4c4f3f6a6340bcac7dc2e7 (diff)
downloadports-5598fae42243f3e52501e3c1687c7c733b6177ad.tar.gz
ports-5598fae42243f3e52501e3c1687c7c733b6177ad.zip
Notes
Diffstat (limited to 'net/ntlmaps')
-rw-r--r--net/ntlmaps/Makefile39
-rw-r--r--net/ntlmaps/distinfo3
-rw-r--r--net/ntlmaps/pkg-descr8
-rw-r--r--net/ntlmaps/pkg-plist31
4 files changed, 81 insertions, 0 deletions
diff --git a/net/ntlmaps/Makefile b/net/ntlmaps/Makefile
new file mode 100644
index 000000000000..aec234e3b094
--- /dev/null
+++ b/net/ntlmaps/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: ntlmaps
+# Date created: 1 August 2007
+# Whom: kevlo
+#
+# $FreeBSD$
+
+PORTNAME= ntlmaps
+PORTVERSION= 0.9.9.0.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= kevlo@FreeBSD.org
+COMMENT= A proxy software that authenticates using the NTLM protocol
+
+USE_PYTHON= yes
+NO_BUILD= yes
+
+DOCS= COPYING Install.txt changelog.txt readme.txt research.txt
+
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's,^#! /usr/bin/python,#!${PYTHON_CMD},' ${WRKSRC}/main.py
+do-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+ @${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
+ @${MKDIR} ${PREFIX}/share/examples/ntlmaps
+ ${INSTALL_DATA} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/lib/*.py ${PYTHON_SITELIBDIR}/${PORTNAME}
+ ${CHMOD} +x ${PYTHON_SITELIBDIR}/${PORTNAME}/main.py
+ ${LN} -fs ${PYTHON_SITELIBDIR}/${PORTNAME}/main.py ${PREFIX}/bin/ntlmaps
+ ${INSTALL_DATA} ${WRKSRC}/server.cfg ${PREFIX}/share/examples/ntlmaps
+
+.include <bsd.port.mk>
diff --git a/net/ntlmaps/distinfo b/net/ntlmaps/distinfo
new file mode 100644
index 000000000000..3f6c2ba0d491
--- /dev/null
+++ b/net/ntlmaps/distinfo
@@ -0,0 +1,3 @@
+MD5 (ntlmaps-0.9.9.0.1.tar.gz) = 7ee0a00d5446f39ebbe5f0f90465986e
+SHA256 (ntlmaps-0.9.9.0.1.tar.gz) = 6f041d87b07f1608ac77866536b5b520d7b8515d3e9ad12317bcc811f458b1b8
+SIZE (ntlmaps-0.9.9.0.1.tar.gz) = 55908
diff --git a/net/ntlmaps/pkg-descr b/net/ntlmaps/pkg-descr
new file mode 100644
index 000000000000..5ab3e9b06644
--- /dev/null
+++ b/net/ntlmaps/pkg-descr
@@ -0,0 +1,8 @@
+NTLM Authorization Proxy Server (APS) is a proxy software that allows you
+to authenticate via an MS Proxy Server using the proprietary NTLM protocol.
+Since version 0.9.5 APS has an ability to behave as a standalone proxy server
+and authenticate http clients at web servers using NTLM method. It can change
+arbitrary values in your client's request header so that those requests will
+look like they were created by MS IE.
+
+WWW: http://ntlmaps.sourceforge.net/
diff --git a/net/ntlmaps/pkg-plist b/net/ntlmaps/pkg-plist
new file mode 100644
index 000000000000..a5fe301e0298
--- /dev/null
+++ b/net/ntlmaps/pkg-plist
@@ -0,0 +1,31 @@
+bin/ntlmaps
+%%EXAMPLESDIR%%/server.cfg
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/Install.txt
+%%PORTDOCS%%%%DOCSDIR%%/changelog.txt
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/research.txt
+%%PYTHON_SITELIBDIR%%/ntlmaps/U32.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/__init__.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/basic_auth.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/config.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/config_affairs.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/des.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/des_c.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/des_data.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/http_header.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/logger.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/main.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/md4.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/monitor_upstream.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/ntlm_auth.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/ntlm_messages.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/ntlm_procs.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/proxy_client.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/server.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/utils.py
+%%PYTHON_SITELIBDIR%%/ntlmaps/www_client.py
+@unexec rm %D/%%PYTHON_SITELIBDIR%%/ntlmaps/*.pyc 2>/dev/null || true
+@dirrm %%PYTHON_SITELIBDIR%%/ntlmaps
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%EXAMPLESDIR%%