diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2015-07-25 14:36:12 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2015-07-25 14:36:12 +0000 |
commit | 989c90302f87a1e05526a71ffb27a8df4575c0a6 (patch) | |
tree | 1a2635ac14c2d81bc7eba6abea7b0bf1e8e9b88f /security/policykit | |
parent | 7e60daed62983ff78300a83777f1d7e0875da5fc (diff) | |
download | pkgsrc-989c90302f87a1e05526a71ffb27a8df4575c0a6.tar.gz |
Use correct /proc file name on Dragonfly. From David Shao in PR pkg/50088.
Bump revision.
Diffstat (limited to 'security/policykit')
-rw-r--r-- | security/policykit/Makefile | 4 | ||||
-rw-r--r-- | security/policykit/distinfo | 4 | ||||
-rw-r--r-- | security/policykit/patches/patch-af | 11 |
3 files changed, 14 insertions, 5 deletions
diff --git a/security/policykit/Makefile b/security/policykit/Makefile index 095b9376045..aaec2239285 100644 --- a/security/policykit/Makefile +++ b/security/policykit/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.30 2015/06/12 10:51:10 wiz Exp $ +# $NetBSD: Makefile,v 1.31 2015/07/25 14:36:12 bsiegert Exp $ # POLICYKIT_VER= 0.9 DISTNAME= PolicyKit-${POLICYKIT_VER} PKGNAME= policykit-${POLICYKIT_VER} -PKGREVISION= 17 +PKGREVISION= 18 CATEGORIES= security MASTER_SITES= http://hal.freedesktop.org/releases/ diff --git a/security/policykit/distinfo b/security/policykit/distinfo index 25ccf376625..9b8bf2277d7 100644 --- a/security/policykit/distinfo +++ b/security/policykit/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2012/12/27 21:04:11 bsiegert Exp $ +$NetBSD: distinfo,v 1.9 2015/07/25 14:36:12 bsiegert Exp $ SHA1 (PolicyKit-0.9.tar.gz) = ac99c580eff72f6d5df261c155fb047306439f85 RMD160 (PolicyKit-0.9.tar.gz) = 197262d1c48e55558dd4bd57d7bbd8734666129c @@ -8,7 +8,7 @@ SHA1 (patch-ab) = f79b7d55e8b414d0bd04680dceb7d5b0b6ab074c SHA1 (patch-ac) = cf4b1fcfec1f079c015672235996c5331801fb48 SHA1 (patch-ad) = 7d34235b9672680a146fe676d84ccaa09432f52c SHA1 (patch-ae) = b6a8c945de5cd7e605494d8575075e74c58da6a1 -SHA1 (patch-af) = 93c5cc1ca06a2fc4b1b21ee743978e972dd57594 +SHA1 (patch-af) = b9795a7a5f5984bbd6ec07f462a1d54a93c4c64c SHA1 (patch-ag) = 763d1c93986a19b04fbd84f19e22a3095db7f834 SHA1 (patch-ah) = a1ae419a77bb3c8be02706bb67476af9443af92a SHA1 (patch-ai) = 9ec3744b394b0f6181a8a3367f0ce93e32b7fc4f diff --git a/security/policykit/patches/patch-af b/security/policykit/patches/patch-af index 07dc7d2b5bb..7e1f0925d23 100644 --- a/security/policykit/patches/patch-af +++ b/security/policykit/patches/patch-af @@ -1,4 +1,4 @@ -$NetBSD: patch-af,v 1.3 2012/12/27 21:04:11 bsiegert Exp $ +$NetBSD: patch-af,v 1.4 2015/07/25 14:36:12 bsiegert Exp $ --- src/polkit/polkit-sysdeps.c.orig 2008-11-21 22:17:08.000000000 -0500 +++ src/polkit/polkit-sysdeps.c @@ -20,3 +20,12 @@ $NetBSD: patch-af,v 1.3 2012/12/27 21:04:11 bsiegert Exp $ tokens = kit_strsplit (contents, ' ', &num_tokens); if (tokens == NULL) goto out; +@@ -270,7 +270,7 @@ polkit_sysdeps_get_exe_for_pid (pid_t pi + ret = strlen (info.pr_psargs); + strncpy (out_buf, info.pr_psargs, ret); + #else +-#ifdef __FreeBSD__ ++#if defined(__FreeBSD__) || defined(__DragonFly__) + snprintf (proc_name, sizeof (proc_name), "/proc/%d/file", pid); + #else + snprintf (proc_name, sizeof (proc_name), "/proc/%d/exe", pid); |