diff options
Diffstat (limited to 'www-proxy')
-rw-r--r-- | www-proxy/ntlmaps/ChangeLog | 21 | ||||
-rw-r--r-- | www-proxy/ntlmaps/Manifest | 6 | ||||
-rw-r--r-- | www-proxy/ntlmaps/files/digest-ntlmaps-0.9.8 | 1 | ||||
-rw-r--r-- | www-proxy/ntlmaps/files/ntlmaps-0.9.8.patch | 12 | ||||
-rw-r--r-- | www-proxy/ntlmaps/files/ntlmaps.init | 28 | ||||
-rw-r--r-- | www-proxy/ntlmaps/metadata.xml | 10 | ||||
-rw-r--r-- | www-proxy/ntlmaps/ntlmaps-0.9.8.ebuild | 40 |
7 files changed, 118 insertions, 0 deletions
diff --git a/www-proxy/ntlmaps/ChangeLog b/www-proxy/ntlmaps/ChangeLog new file mode 100644 index 000000000000..8441a6ea27eb --- /dev/null +++ b/www-proxy/ntlmaps/ChangeLog @@ -0,0 +1,21 @@ +# ChangeLog for net-www/ntlmaps +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-proxy/ntlmaps/ChangeLog,v 1.1 2004/08/15 18:55:44 stuart Exp $ + +*ntlmaps-0.9.8 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +metadata.xml, + +files/ntlmaps-0.9.8.patch, +files/ntlmaps.init, +ntlmaps-0.9.8.ebuild: + Moved from net-www/ntlmaps to www-proxy/ntlmaps. + + 17 Jun 2004; Christian Andreetta <satya@gentoo.org> ntlmaps-0.9.8.ebuild: + added inherit eutils + +*ntlmaps-0.9.8 (11 Jun 2004) + + 11 Jun 2004; David Holm <dholm@gentoo.org> ntlmaps-0.9.8.ebuild: + Added to ~ppc. + + 10 Jun 2004; satya@gentoo.org : + New ebuild, as per bug #49958. Initscripts. + diff --git a/www-proxy/ntlmaps/Manifest b/www-proxy/ntlmaps/Manifest new file mode 100644 index 000000000000..2379301ad170 --- /dev/null +++ b/www-proxy/ntlmaps/Manifest @@ -0,0 +1,6 @@ +MD5 f57c840108e33c16120c41b2da53008c ntlmaps-0.9.8.ebuild 1016 +MD5 ef5b67907911883e8781d0ec6229fbb7 ChangeLog 501 +MD5 d9deb8db85ec3b52b53a3c21bd236125 metadata.xml 487 +MD5 7d839c8d8ec6ab58509f43c1d801d1f2 files/ntlmaps.init 787 +MD5 584fc4f03ea3e2cb11cf5d155a86fab0 files/ntlmaps-0.9.8.patch 358 +MD5 547d2124c00f02458c472025ac835071 files/digest-ntlmaps-0.9.8 57 diff --git a/www-proxy/ntlmaps/files/digest-ntlmaps-0.9.8 b/www-proxy/ntlmaps/files/digest-ntlmaps-0.9.8 new file mode 100644 index 000000000000..30f4a1cc413d --- /dev/null +++ b/www-proxy/ntlmaps/files/digest-ntlmaps-0.9.8 @@ -0,0 +1 @@ +MD5 a824547a0751ee356ca8b054f23fb212 aps098.tar.gz 50437 diff --git a/www-proxy/ntlmaps/files/ntlmaps-0.9.8.patch b/www-proxy/ntlmaps/files/ntlmaps-0.9.8.patch new file mode 100644 index 000000000000..d61d81f4f33c --- /dev/null +++ b/www-proxy/ntlmaps/files/ntlmaps-0.9.8.patch @@ -0,0 +1,12 @@ +diff -Naur /usr/ntlmaps/main.py /tmp/ntlmaps/main.py +--- main.py 2004-04-29 10:11:01.000000000 +0200 ++++ /tmp/ntlmaps/main.py 2004-04-30 12:49:23.000000000 +0200 +@@ -21,7 +21,7 @@ + + import socket, thread, sys, getpass, string + +-sys.path.append('lib') ++sys.path.append(sys.path[0]+'/lib') + + import server, logger + import config, ntlm_procs, config_affairs diff --git a/www-proxy/ntlmaps/files/ntlmaps.init b/www-proxy/ntlmaps/files/ntlmaps.init new file mode 100644 index 000000000000..bdb939cf83af --- /dev/null +++ b/www-proxy/ntlmaps/files/ntlmaps.init @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-proxy/ntlmaps/files/ntlmaps.init,v 1.1 2004/08/15 18:55:44 stuart Exp $ + +MY_CMD="/usr/bin/python /usr/ntlmaps/main.py" +MY_PID_FILE="/var/run/ntlmaps.pid" + +depend() { + need net +} + +start() { + ebegin "Starting ntlmaps" + touch ${MY_PID_FILE} + chown nobody.nogroup ${MY_PID_FILE} + start-stop-daemon --quiet --start --background --exec ${MY_CMD} \ + --make-pidfile --pidfile ${MY_PID_FILE} --chuid nobody -- \ + -c /etc/conf.d/ntlmaps.cfg < /dev/null + sleep 1 + eend $? +} +stop() { + ebegin "Stopping ntlmaps" + start-stop-daemon --stop --quiet --pidfile ${MY_PID_FILE} && \ + rm -f ${MY_PID_FILE} + eend $? +} diff --git a/www-proxy/ntlmaps/metadata.xml b/www-proxy/ntlmaps/metadata.xml new file mode 100644 index 000000000000..b3044b627389 --- /dev/null +++ b/www-proxy/ntlmaps/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>satya@gentoo.org</email> + <name>Christian A. Andreetta</name> +</maintainer> +<longdescription>ntlmaps is a http/ftp/socks proxy server written in python that implements samba-like ntlm authentication against a Microsoft Proxy Server (which does not support 'normal' digest authentication)</longdescription> +</pkgmetadata> diff --git a/www-proxy/ntlmaps/ntlmaps-0.9.8.ebuild b/www-proxy/ntlmaps/ntlmaps-0.9.8.ebuild new file mode 100644 index 000000000000..cf7e000d5c56 --- /dev/null +++ b/www-proxy/ntlmaps/ntlmaps-0.9.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-proxy/ntlmaps/ntlmaps-0.9.8.ebuild,v 1.1 2004/08/15 18:55:44 stuart Exp $ + +inherit eutils + +DESCRIPTION="NTLM proxy. Authentication against MS proxy/web server written in python" +HOMEPAGE="http://ntlmaps.sourceforge.net/" +MY_P_URL=`echo ${P} | sed -e 's|ntlmaps|aps|;s|-||g;s|\.||g'` +S=${WORKDIR}/${MY_P_URL} +SRC_URI="mirror://sourceforge/ntlmaps/${MY_P_URL}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +DEPEND=">=dev-lang/python-1.5" +IUSE="" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}.patch +} + +src_install() { + cd ${S} + dodir /usr/${PN}/lib + exeinto /usr/${PN} + doexe main.py + insinto /usr/${PN}/lib + doins lib/* + + dodoc COPYING Install.txt changelog.txt readme.txt research.txt + insinto /usr/share/doc/${P}/doc + doins doc/* + + insinto /etc/conf.d + newins ${S}/server.cfg ${PN}.cfg + exeinto /etc/init.d + newexe ${FILESDIR}/${PN}.init ${PN} +} |