summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2016-12-03 01:58:49 +0000
committermarino <marino@pkgsrc.org>2016-12-03 01:58:49 +0000
commit27dbcb59d66776f07aad424c7f029f36c1f8389f (patch)
tree8e8bdba2edba4812904cb0c63e32b5419fabcb2a
parent494a6b7a570a7206ff367c938d12edcb8a7a7225 (diff)
downloadpkgsrc-27dbcb59d66776f07aad424c7f029f36c1f8389f.tar.gz
security/polkit: Support DragonFly
-rw-r--r--security/polkit/distinfo8
-rw-r--r--security/polkit/patches/patch-test_mocklib_src_netdb.c4
-rw-r--r--security/polkit/patches/patch-test_mocklibc_src_grp.c4
-rw-r--r--security/polkit/patches/patch-test_mocklibc_src_pwd.c4
4 files changed, 10 insertions, 10 deletions
diff --git a/security/polkit/distinfo b/security/polkit/distinfo
index 751d0d91b7d..3836bd66e63 100644
--- a/security/polkit/distinfo
+++ b/security/polkit/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2016/09/27 21:56:13 maya Exp $
+$NetBSD: distinfo,v 1.4 2016/12/03 01:58:49 marino Exp $
SHA1 (polkit-0.113.tar.gz) = ef855c2d04184dceb38e0940dc7bec9cc3da415c
RMD160 (polkit-0.113.tar.gz) = 661b0a678f7c770c213404db3af604935fdb25bc
@@ -10,6 +10,6 @@ SHA1 (patch-src_polkitbackend_polkitbackendjsauthority.c) = f0771b27e192ed199c65
SHA1 (patch-src_polkitbackend_polkitd.c) = a567b31131f63f92f8e2967c3aabfa7f3d41f627
SHA1 (patch-src_programs_pkexec.c) = bfc0414c7a943c8e8b8412566a2519198eab8abd
SHA1 (patch-src_programs_pkttyagent.c) = 72a1c3750e6b496b981eb5479201946da80b6d15
-SHA1 (patch-test_mocklib_src_netdb.c) = 5d24d5d37eabd552bc8a3cf1d6de03c6c8ffa600
-SHA1 (patch-test_mocklibc_src_grp.c) = b393dad5f7b2242e431d9b7db9e48d2f837b0235
-SHA1 (patch-test_mocklibc_src_pwd.c) = ff69388ad64f883b1bb459f198e8fc24be1089fd
+SHA1 (patch-test_mocklib_src_netdb.c) = 0fe71068a6261d5e2c8874f2b4507e7e3c002526
+SHA1 (patch-test_mocklibc_src_grp.c) = 435ff94fd4c7f5511d74d03839fad453dd841633
+SHA1 (patch-test_mocklibc_src_pwd.c) = c65b02209db1bd1d531444026822fcca73d5027a
diff --git a/security/polkit/patches/patch-test_mocklib_src_netdb.c b/security/polkit/patches/patch-test_mocklib_src_netdb.c
index 3f609a90c24..3277a2edb1a 100644
--- a/security/polkit/patches/patch-test_mocklib_src_netdb.c
+++ b/security/polkit/patches/patch-test_mocklib_src_netdb.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-test_mocklib_src_netdb.c,v 1.2 2016/06/18 12:16:23 youri Exp $
+$NetBSD: patch-test_mocklib_src_netdb.c,v 1.3 2016/12/03 01:58:50 marino Exp $
Darwin has setnetgrent.
SunOS has endnetgrent.
@@ -9,7 +9,7 @@ SunOS has endnetgrent.
// REMEMBER: 1 means success, 0 means failure for netgroup methods
-+#if !defined(__APPLE__) && !defined(__FreeBSD__)
++#if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
int setnetgrent(const char *netgroup) {
if (!global_netgroup_head)
global_netgroup_head = netgroup_parse_all();
diff --git a/security/polkit/patches/patch-test_mocklibc_src_grp.c b/security/polkit/patches/patch-test_mocklibc_src_grp.c
index 63cc062c985..89b5777957c 100644
--- a/security/polkit/patches/patch-test_mocklibc_src_grp.c
+++ b/security/polkit/patches/patch-test_mocklibc_src_grp.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-test_mocklibc_src_grp.c,v 1.3 2016/09/27 21:56:13 maya Exp $
+$NetBSD: patch-test_mocklibc_src_grp.c,v 1.4 2016/12/03 01:58:50 marino Exp $
* XXX: no fgetgrent(3)
@@ -11,7 +11,7 @@ prototype: int setgrent(void)
static FILE *global_stream = NULL;
-+#if defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+static struct group *fgetgrent(FILE *stream) {
+ return NULL;
+}
diff --git a/security/polkit/patches/patch-test_mocklibc_src_pwd.c b/security/polkit/patches/patch-test_mocklibc_src_pwd.c
index edc7901a4b8..b32a6fa3e23 100644
--- a/security/polkit/patches/patch-test_mocklibc_src_pwd.c
+++ b/security/polkit/patches/patch-test_mocklibc_src_pwd.c
@@ -1,4 +1,4 @@
-$NetBSD: patch-test_mocklibc_src_pwd.c,v 1.2 2016/06/18 12:16:23 youri Exp $
+$NetBSD: patch-test_mocklibc_src_pwd.c,v 1.3 2016/12/03 01:58:50 marino Exp $
* XXX: no fgetpwent(3)
@@ -8,7 +8,7 @@ $NetBSD: patch-test_mocklibc_src_pwd.c,v 1.2 2016/06/18 12:16:23 youri Exp $
static FILE *global_stream = NULL;
-+#if defined(__NetBSD__) || defined(__FreeBSD__)
++#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+static struct passwd *fgetpwent(FILE* stream) {
+ return NULL;
+}