diff options
Diffstat (limited to 'net-proxy/ntlmaps/files/ntlmaps-0.9.9-gentoo.patch')
-rw-r--r-- | net-proxy/ntlmaps/files/ntlmaps-0.9.9-gentoo.patch | 37 |
1 files changed, 37 insertions, 0 deletions
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' + |