diff options
author | markd <markd@pkgsrc.org> | 2010-05-05 12:15:30 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2010-05-05 12:15:30 +0000 |
commit | 919076b66062771536f6265ef21917ee2742a4f1 (patch) | |
tree | ec80de4a85f71e9a7ed8f7da1bac1db565fff5cb /net | |
parent | 7088e33b7d028bc140241800a22acea72c7366c3 (diff) | |
download | pkgsrc-919076b66062771536f6265ef21917ee2742a4f1.tar.gz |
Fix loading of pam modules on older versions on NetBSD, where
the dependency of the module on libpam was not explicit.
Diffstat (limited to 'net')
-rw-r--r-- | net/netatalk/Makefile | 4 | ||||
-rw-r--r-- | net/netatalk/distinfo | 3 | ||||
-rw-r--r-- | net/netatalk/patches/patch-ap | 16 |
3 files changed, 20 insertions, 3 deletions
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile index 924417e9743..25104ba06e1 100644 --- a/net/netatalk/Makefile +++ b/net/netatalk/Makefile @@ -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 --git a/net/netatalk/distinfo b/net/netatalk/distinfo index a85b2728fc3..e4e02fc92d9 100644 --- a/net/netatalk/distinfo +++ b/net/netatalk/distinfo @@ -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-ai) = e8f453569db891100221f27bf579c66a18a650b7 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 --git a/net/netatalk/patches/patch-ap b/net/netatalk/patches/patch-ap new file mode 100644 index 00000000000..538fbd2cb09 --- /dev/null +++ b/net/netatalk/patches/patch-ap @@ -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__ */ |