pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/netatalk Fix loading of pam modules on older versi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9e3bc22339b1
branches: trunk
changeset: 575182:9e3bc22339b1
user: markd <markd%pkgsrc.org@localhost>
date: Wed May 05 12:15:30 2010 +0000
description:
Fix loading of pam modules on older versions on NetBSD, where
the dependency of the module on libpam was not explicit.
diffstat:
net/netatalk/Makefile | 4 ++--
net/netatalk/distinfo | 3 ++-
net/netatalk/patches/patch-ap | 16 ++++++++++++++++
3 files changed, 20 insertions(+), 3 deletions(-)
diffs (49 lines):
diff -r 84b06d1cb87d -r 9e3bc22339b1 net/netatalk/Makefile
--- a/net/netatalk/Makefile Wed May 05 11:52:48 2010 +0000
+++ b/net/netatalk/Makefile Wed May 05 12:15:30 2010 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.68 2010/01/30 17:50:03 schwarz Exp $
+# $NetBSD: Makefile,v 1.69 2010/05/05 12:15:30 markd Exp $
DISTNAME= netatalk-2.0.5
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=netatalk/}
EXTRACT_SUFX= .tar.bz2
diff -r 84b06d1cb87d -r 9e3bc22339b1 net/netatalk/distinfo
--- a/net/netatalk/distinfo Wed May 05 11:52:48 2010 +0000
+++ b/net/netatalk/distinfo Wed May 05 12:15:30 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2010/01/30 17:50:03 schwarz Exp $
+$NetBSD: distinfo,v 1.33 2010/05/05 12:15:30 markd Exp $
SHA1 (netatalk-2.0.5.tar.bz2) = a38f98abc123b02d26628543e393a4de04481e4f
RMD160 (netatalk-2.0.5.tar.bz2) = 47247d376bf421652d9f9897c75853424215ae0a
@@ -18,5 +18,6 @@
SHA1 (patch-am) = a01ab55a793c5249cc6fa0a4d98d61e43f173021
SHA1 (patch-an) = 5472758813b927708ca178809fb89733719e67b4
SHA1 (patch-ao) = 1b140d7b8fc1df6b44b15a181ddc625744610bb9
+SHA1 (patch-ap) = 642051a6b4ab5336c334ef00b19d1e0091e33f06
SHA1 (patch-bi) = b592d058a1d61322c03d1c3d44e39b48f2ddf7c3
SHA1 (patch-bj) = 28f50f333d73b4a219d69412a1563ec11c4b63a2
diff -r 84b06d1cb87d -r 9e3bc22339b1 net/netatalk/patches/patch-ap
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/netatalk/patches/patch-ap Wed May 05 12:15:30 2010 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ap,v 1.6 2010/05/05 12:15:30 markd Exp $
+
+Fixes loading of pam modules on older versions on NetBSD, where
+the dependency of the module on libpam was not explicit.
+
+--- include/atalk/util.h.orig 2010-05-03 09:28:16.000000000 +0000
++++ include/atalk/util.h
+@@ -65,7 +65,7 @@ extern void mod_close __P((void *));
+ * OpenBSD currently does not use the second arg for dlopen(). For
+ * future compatibility we define DL_LAZY */
+ #ifdef __NetBSD__
+-#define mod_open(a) dlopen(a, RTLD_LAZY)
++#define mod_open(a) dlopen(a, RTLD_LAZY|RTLD_GLOBAL)
+ #elif defined(__OpenBSD__)
+ #define mod_open(a) dlopen(a, DL_LAZY)
+ #else /* ! __NetBSD__ && ! __OpenBSD__ */
Home |
Main Index |
Thread Index |
Old Index