summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-08-10 17:14:40 +0000
committerdrochner <drochner@pkgsrc.org>2007-08-10 17:14:40 +0000
commite49e8802cbc2c87877b6649fe4504a12eda9db0e (patch)
tree5a2ff734ca2751f2afb5e829b3515c5804e82498 /databases
parent62e1e5bf36eb971089e610dc6a2bf4054cbed9eb (diff)
downloadpkgsrc-e49e8802cbc2c87877b6649fe4504a12eda9db0e.tar.gz
correctly use shadowLastChange as _days_ since the epoch, from Edgar Fuss
per PR pkg/36625
Diffstat (limited to 'databases')
-rw-r--r--databases/nss_ldap/Makefile4
-rw-r--r--databases/nss_ldap/distinfo3
-rw-r--r--databases/nss_ldap/patches/patch-ah13
3 files changed, 17 insertions, 3 deletions
diff --git a/databases/nss_ldap/Makefile b/databases/nss_ldap/Makefile
index d6bf763d90d..c9bfbdced4e 100644
--- a/databases/nss_ldap/Makefile
+++ b/databases/nss_ldap/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2007/06/15 16:42:19 manu Exp $
+# $NetBSD: Makefile,v 1.17 2007/08/10 17:14:40 drochner Exp $
#
DISTNAME= nss_ldap-240
-PKGREVISION= 7
+PKGREVISION= 8
CATEGORIES= databases
MASTER_SITES= http://www.padl.com/download/
diff --git a/databases/nss_ldap/distinfo b/databases/nss_ldap/distinfo
index 6fa7616f837..30221891b9b 100644
--- a/databases/nss_ldap/distinfo
+++ b/databases/nss_ldap/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/09/19 16:13:26 drochner Exp $
+$NetBSD: distinfo,v 1.4 2007/08/10 17:14:40 drochner Exp $
SHA1 (nss_ldap-240.tar.gz) = 929cea7e0fe4542bf24112ae428efffb7dc510ba
RMD160 (nss_ldap-240.tar.gz) = 58a94bc8441461e779c546cbb447bee3efb0fead
@@ -6,3 +6,4 @@ Size (nss_ldap-240.tar.gz) = 228656 bytes
SHA1 (patch-ab) = 01493e92ffff0125dd3267810ee33cdeaab32ab2
SHA1 (patch-af) = 6dc9d1df0f601361686832ac8d632936e260281e
SHA1 (patch-ag) = 95741f39fb03195b3238d4f9c24360049fdd3698
+SHA1 (patch-ah) = 79bcb3b98fbb037520cbe242d50e8ee144bbc66c
diff --git a/databases/nss_ldap/patches/patch-ah b/databases/nss_ldap/patches/patch-ah
new file mode 100644
index 00000000000..fcc5fefb7fc
--- /dev/null
+++ b/databases/nss_ldap/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.3 2007/08/10 17:14:40 drochner Exp $
+
+--- ldap-pwd.c.orig 2007-08-09 19:20:45.000000000 +0200
++++ ldap-pwd.c
+@@ -185,7 +185,7 @@ _nss_ldap_parse_pw (LDAPMessage * e,
+ _nss_ldap_assign_attrval (e, AT (shadowLastChange), &tmp, &buffer,
+ &buflen);
+ if (stat == NSS_SUCCESS)
+- pw->pw_change += atol(tmp);
++ pw->pw_change += atol(tmp) * (24*60*60);
+ else
+ pw->pw_change = 0;
+ }