pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/horde3 su-based authentication was OS-specific and...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4219c8f57890
branches:  trunk
changeset: 500746:4219c8f57890
user:      ben <ben%pkgsrc.org@localhost>
date:      Wed Oct 12 16:32:26 2005 +0000

description:
su-based authentication was OS-specific and broken on NetBSD.
Fix su-based authentication.  This addresses PR#31260.

diffstat:

 www/horde3/distinfo         |   3 ++-
 www/horde3/patches/patch-aa |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r b692d6c06a02 -r 4219c8f57890 www/horde3/distinfo
--- a/www/horde3/distinfo       Wed Oct 12 16:28:29 2005 +0000
+++ b/www/horde3/distinfo       Wed Oct 12 16:32:26 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/03/30 21:58:08 adrianp Exp $
+$NetBSD: distinfo,v 1.5 2005/10/12 16:32:26 ben Exp $
 
 SHA1 (horde-3.0.4.tar.gz) = fce8a397653f6b5030dc1b5c2cb247e29a1dc70e
 RMD160 (horde-3.0.4.tar.gz) = ebc24fbdb7b76c4301b54fdb46205147b150ce18
 Size (horde-3.0.4.tar.gz) = 3378143 bytes
+SHA1 (patch-aa) = 9edb110586805d5efd84541b9d3821889967e785
diff -r b692d6c06a02 -r 4219c8f57890 www/horde3/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/horde3/patches/patch-aa       Wed Oct 12 16:32:26 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2005/10/12 16:32:26 ben Exp $
+
+--- lib/Horde/Auth/login.php.orig      2005-03-29 02:59:56.000000000 -0800
++++ lib/Horde/Auth/login.php
+@@ -88,7 +88,7 @@ class Auth_login extends Auth {
+             Horde::fatal(_("No password provided for Login authentication."), __FILE__, __LINE__);
+         }
+ 
+-        $proc = popen($this->_location . ' -c /bin/true ' . $userId, 'w');
++        $proc = popen($this->_location . ' ' . $userId . ' -c exit 0', 'w');
+         if (!is_resource($proc)) {
+             return false;
+         }



Home | Main Index | Thread Index | Old Index