diff options
author | ben <ben@pkgsrc.org> | 2005-10-12 16:32:26 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2005-10-12 16:32:26 +0000 |
commit | d86f20aa1e311fb3a41a85c0b33527fcb05d8d3a (patch) | |
tree | 00aeeba380322f617dd20305d6f48dc8af95b093 /www | |
parent | 2f774b2802b6a08540def3872df375e480c73bc7 (diff) | |
download | pkgsrc-d86f20aa1e311fb3a41a85c0b33527fcb05d8d3a.tar.gz |
su-based authentication was OS-specific and broken on NetBSD.
Fix su-based authentication. This addresses PR#31260.
Diffstat (limited to 'www')
-rw-r--r-- | www/horde3/distinfo | 3 | ||||
-rw-r--r-- | www/horde3/patches/patch-aa | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/www/horde3/distinfo b/www/horde3/distinfo index fae9d122eb3..33533d6dd22 100644 --- a/www/horde3/distinfo +++ b/www/horde3/distinfo @@ -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 --git a/www/horde3/patches/patch-aa b/www/horde3/patches/patch-aa new file mode 100644 index 00000000000..3e06d7a89e1 --- /dev/null +++ b/www/horde3/patches/patch-aa @@ -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; + } |