mozilla-ntlm-full-path.patch mozilla-1.9.2
authorWolfgang Rosenauer <wr@rosenauer.org>
Tue, 15 Feb 2011 00:04:06 +0100
branchmozilla-1.9.2
changeset 227 9f0ffc441295
parent 222 db4d70b9a7a4
child 233 e6d084b6d916
mozilla-ntlm-full-path.patch
mozilla-ntlm-full-path.patch
mozilla-xulrunner192/mozilla-ntlm-full-path.patch
mozilla-xulrunner192/mozilla-xulrunner192.changes
mozilla-xulrunner192/mozilla-xulrunner192.spec
series
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-ntlm-full-path.patch	Tue Feb 15 00:04:06 2011 +0100
@@ -0,0 +1,26 @@
+# HG changeset patch
+# User Petr Cerny <pcerny@novell.com>
+# Parent 685ce8f9d8549783e9643907b9e95a3efda526f0
+
+diff --git a/extensions/auth/nsAuthSambaNTLM.cpp b/extensions/auth/nsAuthSambaNTLM.cpp
+--- a/extensions/auth/nsAuthSambaNTLM.cpp
++++ b/extensions/auth/nsAuthSambaNTLM.cpp
+@@ -200,17 +200,17 @@ static PRUint8* ExtractMessage(const nsA
+ nsresult
+ nsAuthSambaNTLM::SpawnNTLMAuthHelper()
+ {
+     const char* username = PR_GetEnv("USER");
+     if (!username)
+         return NS_ERROR_FAILURE;
+ 
+     char* args[] = {
+-        "ntlm_auth",
++        "/usr/bin/ntlm_auth",
+         "--helper-protocol", "ntlmssp-client-1",
+         "--use-cached-creds",
+         "--username", const_cast<char*>(username),
+         nsnull
+     };
+ 
+     PRBool isOK = SpawnIOChild(args, &mChildPID, &mFromChildFD, &mToChildFD);
+     if (!isOK)  
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-xulrunner192/mozilla-ntlm-full-path.patch	Tue Feb 15 00:04:06 2011 +0100
@@ -0,0 +1,1 @@
+../mozilla-ntlm-full-path.patch
\ No newline at end of file
--- a/mozilla-xulrunner192/mozilla-xulrunner192.changes	Sun Jan 23 23:42:48 2011 +0100
+++ b/mozilla-xulrunner192/mozilla-xulrunner192.changes	Tue Feb 15 00:04:06 2011 +0100
@@ -1,9 +1,15 @@
 -------------------------------------------------------------------
-Sun Jan 23 22:41:47 UTC 2011 - wr@rosenauer.org
+Mon Feb 14 23:01:26 UTC 2011 - wr@rosenauer.org
 
 - security update to 1.9.2.14 (build1)
 
 -------------------------------------------------------------------
+Mon Feb 14 16:03:16 UTC 2011 - pcerny@novell.com
+
+- use full path to the ntlm_auth binary
+  (mozilla-ntlm-full-path.patch)
+
+-------------------------------------------------------------------
 Thu Nov 25 09:25:50 UTC 2010 - wr@rosenauer.org
 
 - security update to 1.9.2.13 (bnc#657016)
--- a/mozilla-xulrunner192/mozilla-xulrunner192.spec	Sun Jan 23 23:42:48 2011 +0100
+++ b/mozilla-xulrunner192/mozilla-xulrunner192.spec	Tue Feb 15 00:04:06 2011 +0100
@@ -41,7 +41,7 @@
 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
 Version:        1.9.2.14
 Release:        1
-%define         releasedate 2011012200
+%define         releasedate 2011020700
 %define         version_internal 1.9.2.14
 %define         apiversion 1.9.2
 %define         uaweight 192140
@@ -85,6 +85,7 @@
 Patch16:        mozilla-locale.patch
 Patch17:        mozilla-gdk-pixbuf.patch
 Patch18:        mozilla-prlog.patch
+Patch19:        mozilla-ntlm-full-path.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       mozilla-js192 = %{version}
 Requires(post):  update-alternatives coreutils
@@ -235,6 +236,7 @@
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
 
 %build
 %if %suse_version >= 1110
--- a/series	Sun Jan 23 23:42:48 2011 +0100
+++ b/series	Tue Feb 15 00:04:06 2011 +0100
@@ -15,6 +15,7 @@
 mozilla-locale.patch
 mozilla-gdk-pixbuf.patch
 mozilla-prlog.patch
+mozilla-ntlm-full-path.patch
 
 # Firefox patches
 firefox-libxul-sdk.patch