diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-04-22 19:15:12 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-04-22 19:15:12 +0000 |
commit | ed2d2be3dbcac3bde000f4d89f3ae5836cd53b93 (patch) | |
tree | ea35ca7703e69b2f955232964f66c73b9338e847 /net-proxy/ntlmaps | |
parent | Adding pcmcia flag. Closes #90025, Cheers Georgi (diff) | |
download | gentoo-2-ed2d2be3dbcac3bde000f4d89f3ae5836cd53b93.tar.gz gentoo-2-ed2d2be3dbcac3bde000f4d89f3ae5836cd53b93.tar.bz2 gentoo-2-ed2d2be3dbcac3bde000f4d89f3ae5836cd53b93.zip |
www-proxy -> net-proxy
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-proxy/ntlmaps')
-rw-r--r-- | net-proxy/ntlmaps/ChangeLog | 53 | ||||
-rw-r--r-- | net-proxy/ntlmaps/Manifest | 6 | ||||
-rw-r--r-- | net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9 | 1 | ||||
-rw-r--r-- | net-proxy/ntlmaps/files/ntlmaps-0.9.9-gentoo.patch | 37 | ||||
-rw-r--r-- | net-proxy/ntlmaps/files/ntlmaps.init | 26 | ||||
-rw-r--r-- | net-proxy/ntlmaps/metadata.xml | 10 | ||||
-rw-r--r-- | net-proxy/ntlmaps/ntlmaps-0.9.9.ebuild | 45 |
7 files changed, 178 insertions, 0 deletions
diff --git a/net-proxy/ntlmaps/ChangeLog b/net-proxy/ntlmaps/ChangeLog new file mode 100644 index 000000000000..fc4b1948af37 --- /dev/null +++ b/net-proxy/ntlmaps/ChangeLog @@ -0,0 +1,53 @@ +# ChangeLog for www-proxy/ntlmaps +# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ChangeLog,v 1.1 2005/04/22 19:15:11 mrness Exp $ + + 22 Apr 2005; Alin Nastac <mrness@gentoo.org> : + Rename category & herd www-proxy to net-proxy + + 02 Apr 2005; Simon Stelling <blubb@gentoo.org> ntlmaps-0.9.9.ebuild: + added ~amd64 + +*ntlmaps-0.9.9 (24 Feb 2005) + + 24 Feb 2005; Alin Nastac <mrness@gentoo.org> -files/ntlmaps-0.9.8.patch, + +files/ntlmaps-0.9.9-gentoo.patch, files/ntlmaps.init, + -ntlmaps-0.9.8-r1.ebuild, -ntlmaps-0.9.8.ebuild, +ntlmaps-0.9.9.ebuild: + Version bump. *nixize paths and filenames (#78197). + + 09 Jan 2005; Markus Rothe <corsair@gentoo.org> ntlmaps-0.9.8-r1.ebuild: + Added ~ppc64 to KEYWORDS + +*ntlmaps-0.9.8-r1 (05 Jan 2005) + + 05 Jan 2005; Christian Andreetta <satya@gentoo.org> files/ntlmaps.init, + +ntlmaps-0.9.8-r1.ebuild, ntlmaps-0.9.8.ebuild: + 0.9.8: changed config name to make portage depcache happy. + 0.9.8-r1: better pkg removal options, minor bugfix in conf file install + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 02 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> ntlmaps-0.9.8.ebuild: + Keyword ~alpha, bug 64113. + + 05 Sep 2004; Sven Wegener <swegener@gentoo.org> : + Fixed ChangeLog header. + +*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/net-proxy/ntlmaps/Manifest b/net-proxy/ntlmaps/Manifest new file mode 100644 index 000000000000..c07768ad3d65 --- /dev/null +++ b/net-proxy/ntlmaps/Manifest @@ -0,0 +1,6 @@ +MD5 e2fd4eeb91e7685257f39b6b0e830e52 ntlmaps-0.9.9.ebuild 1248 +MD5 9d205f5bd7e920f2dcd8ce2478ee44f5 ChangeLog 1883 +MD5 a65bb25d95d5de35ca0f2727b1e8e7c9 metadata.xml 489 +MD5 4ac59759588c1d0764a9dba7cb7bff23 files/ntlmaps.init 697 +MD5 89d940c1a5df0a265c10c920498f1a03 files/ntlmaps-0.9.9-gentoo.patch 1165 +MD5 677c6c0d28b021c5c460dcd020ca6dce files/digest-ntlmaps-0.9.9 64 diff --git a/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9 b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9 new file mode 100644 index 000000000000..9d4bc473464f --- /dev/null +++ b/net-proxy/ntlmaps/files/digest-ntlmaps-0.9.9 @@ -0,0 +1 @@ +MD5 02d0f83f499eaf988de4ffab2dfd3618 ntlmaps-0.9.9.tar.gz 55459 diff --git a/net-proxy/ntlmaps/files/ntlmaps-0.9.9-gentoo.patch b/net-proxy/ntlmaps/files/ntlmaps-0.9.9-gentoo.patch new file mode 100644 index 000000000000..02e90f2ccf9d --- /dev/null +++ b/net-proxy/ntlmaps/files/ntlmaps-0.9.9-gentoo.patch @@ -0,0 +1,37 @@ +diff -Nru ntlmaps-0.9.9.orig/__init__.py ntlmaps-0.9.9/__init__.py +--- ntlmaps-0.9.9.orig/__init__.py 2004-11-10 01:27:05.000000000 +0200 ++++ ntlmaps-0.9.9/__init__.py 2005-02-24 13:07:56.601327735 +0200 +@@ -22,8 +22,7 @@ + + import os, sys + +-ntlmaps_dir = os.path.dirname(os.path.abspath(__file__)) +-ntlmaps_libdir = ntlmaps_dir + '/lib' ++ntlmaps_dir = '/usr/lib/ntlmaps' + sys.path.append(ntlmaps_libdir) + + del os, sys +diff -Nru ntlmaps-0.9.9.orig/main.py ntlmaps-0.9.9/main.py +--- ntlmaps-0.9.9.orig/main.py 2005-02-01 04:45:02.000000000 +0200 ++++ ntlmaps-0.9.9/main.py 2005-02-24 13:11:46.762545214 +0200 +@@ -18,17 +18,17 @@ + # Free Software Foundation, Inc., + # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + # +-import __init__ +- + import sys + ++sys.path.append('/usr/lib/ntlmaps') ++ + import server, config, config_affairs + + + #-------------------------------------------------------------- + # config affairs + # look for default config name in lib/config.py +-conf = config.read_config(config.findConfigFileNameInArgv(sys.argv, __init__.ntlmaps_dir+'/')) ++conf = config.read_config('/etc/ntlmaps/server.cfg') + + conf['GENERAL']['VERSION'] = '0.9.9' + diff --git a/net-proxy/ntlmaps/files/ntlmaps.init b/net-proxy/ntlmaps/files/ntlmaps.init new file mode 100644 index 000000000000..8cf3288a0db0 --- /dev/null +++ b/net-proxy/ntlmaps/files/ntlmaps.init @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/files/ntlmaps.init,v 1.1 2005/04/22 19:15:11 mrness Exp $ + +PID_FILE="/var/run/ntlmaps.pid" + +depend() { + need net +} + +start() { + ebegin "Starting ntlmaps" + touch ${PID_FILE} + chown nobody:nogroup ${PID_FILE} + start-stop-daemon --quiet --start --background --exec /usr/bin/python \ + --make-pidfile --pidfile ${PID_FILE} --chuid nobody -- /usr/bin/ntlmaps < /dev/null && \ + sleep 1 + eend $? +} +stop() { + ebegin "Stopping ntlmaps" + start-stop-daemon --stop --quiet --pidfile ${PID_FILE} && \ + rm -f ${PID_FILE} + eend $? +} diff --git a/net-proxy/ntlmaps/metadata.xml b/net-proxy/ntlmaps/metadata.xml new file mode 100644 index 000000000000..9166bd3974db --- /dev/null +++ b/net-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>net-proxy</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/net-proxy/ntlmaps/ntlmaps-0.9.9.ebuild b/net-proxy/ntlmaps/ntlmaps-0.9.9.ebuild new file mode 100644 index 000000000000..8242b0ad63a9 --- /dev/null +++ b/net-proxy/ntlmaps/ntlmaps-0.9.9.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/ntlmaps/ntlmaps-0.9.9.ebuild,v 1.1 2005/04/22 19:15:11 mrness Exp $ + +inherit eutils + +DESCRIPTION="NTLM proxy Authentication against MS proxy/web server" +HOMEPAGE="http://ntlmaps.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~arm ~hppa ~ia64 ~ppc ~s390 ~x86 ~ppc64 ~amd64" +IUSE="" + +DEPEND="dev-lang/python" + +src_unpack() { + unpack ${A} + + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch + + sed -i -e 's/\r//' server.cfg *.txt doc/*.txt # stupid windoze style +} + +src_install() { + # exes ------------------------------------------------------------------ + exeinto /usr/bin + newexe main.py ${PN} || die + insinto /usr/lib/${PN} + doins lib/* || die + # doc ------------------------------------------------------------------- + dodoc *.txt doc/*.txt + dohtml doc/* + # conf ------------------------------------------------------------------ + insinto /etc/${PN} + doins server.cfg + newinitd ${FILESDIR}/${PN}.init ${PN} +} +pkg_prerm() { + einfo "Removing init script and python compiled bytecode" + rm -f /usr/lib/${PN}/*.py? + rm -f /etc/init.d/${PN} +} |