summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Andreetta <satya@gentoo.org>2004-06-11 08:43:55 +0000
committerChristian Andreetta <satya@gentoo.org>2004-06-11 08:43:55 +0000
commitee2f08baee83fe9a5226d6492b8f0f2491d8c8c8 (patch)
tree35a4fa9bb1f67466de60b8f4c8287b6efe3d9da3 /net-www/ntlmaps/files
parentMove current -r6 to -r7 to make room for security update to -r5. (Manifest re... (diff)
downloadgentoo-2-ee2f08baee83fe9a5226d6492b8f0f2491d8c8c8.tar.gz
gentoo-2-ee2f08baee83fe9a5226d6492b8f0f2491d8c8c8.tar.bz2
gentoo-2-ee2f08baee83fe9a5226d6492b8f0f2491d8c8c8.zip
new package
Diffstat (limited to 'net-www/ntlmaps/files')
-rw-r--r--net-www/ntlmaps/files/digest-ntlmaps-0.9.81
-rw-r--r--net-www/ntlmaps/files/ntlmaps-0.9.8.patch12
-rw-r--r--net-www/ntlmaps/files/ntlmaps.init28
3 files changed, 41 insertions, 0 deletions
diff --git a/net-www/ntlmaps/files/digest-ntlmaps-0.9.8 b/net-www/ntlmaps/files/digest-ntlmaps-0.9.8
new file mode 100644
index 000000000000..30f4a1cc413d
--- /dev/null
+++ b/net-www/ntlmaps/files/digest-ntlmaps-0.9.8
@@ -0,0 +1 @@
+MD5 a824547a0751ee356ca8b054f23fb212 aps098.tar.gz 50437
diff --git a/net-www/ntlmaps/files/ntlmaps-0.9.8.patch b/net-www/ntlmaps/files/ntlmaps-0.9.8.patch
new file mode 100644
index 000000000000..d61d81f4f33c
--- /dev/null
+++ b/net-www/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/net-www/ntlmaps/files/ntlmaps.init b/net-www/ntlmaps/files/ntlmaps.init
new file mode 100644
index 000000000000..93177d00ec36
--- /dev/null
+++ b/net-www/ntlmaps/files/ntlmaps.init
@@ -0,0 +1,28 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-www/ntlmaps/files/ntlmaps.init,v 1.1 2004/06/11 08:43:55 satya 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 $?
+}