head 1.8; access; symbols pkgsrc-2020Q3:1.7.0.84 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.80 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.60 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.82 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.78 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.76 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.74 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.72 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.70 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.68 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.66 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.7.0.64 pkgsrc-2017Q4-base:1.7 pkgsrc-2017Q3:1.7.0.62 pkgsrc-2017Q3-base:1.7 pkgsrc-2017Q2:1.7.0.58 pkgsrc-2017Q2-base:1.7 pkgsrc-2017Q1:1.7.0.56 pkgsrc-2017Q1-base:1.7 pkgsrc-2016Q4:1.7.0.54 pkgsrc-2016Q4-base:1.7 pkgsrc-2016Q3:1.7.0.52 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.50 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.48 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.46 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.44 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.42 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.40 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.38 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.36 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.34 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.32 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.30 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.28 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.26 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.24 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.22 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.7.0.20 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.18 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.7.0.16 pkgsrc-2012Q1-base:1.7 pkgsrc-2011Q4:1.7.0.14 pkgsrc-2011Q4-base:1.7 pkgsrc-2011Q3:1.7.0.12 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.10 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.8 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.6 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.7.0.4 pkgsrc-2010Q3-base:1.7 pkgsrc-2010Q2:1.7.0.2 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.6.0.10 pkgsrc-2010Q1-base:1.6 pkgsrc-2009Q4:1.6.0.8 pkgsrc-2009Q4-base:1.6 pkgsrc-2009Q3:1.6.0.6 pkgsrc-2009Q3-base:1.6 pkgsrc-2009Q2:1.6.0.4 pkgsrc-2009Q2-base:1.6 pkgsrc-2009Q1:1.6.0.2 pkgsrc-2009Q1-base:1.6 pkgsrc-2008Q4:1.5.0.6 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.4 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.2 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.2; locks; strict; comment @# @; 1.8 date 2020.11.22.21.26.51; author nia; state dead; branches; next 1.7; commitid nDd9hbtTzADWCVwC; 1.7 date 2010.06.11.13.45.50; author drochner; state Exp; branches; next 1.6; 1.6 date 2009.03.15.18.14.24; author jmcneill; state Exp; branches; next 1.5; 1.5 date 2008.07.14.17.20.35; author drochner; state Exp; branches; next 1.4; 1.4 date 2008.05.30.13.55.48; author tron; state Exp; branches; next 1.3; 1.3 date 2008.05.30.12.30.07; author tron; state Exp; branches; next 1.2; 1.2 date 2008.05.29.10.47.52; author drochner; state Exp; branches; next 1.1; 1.1 date 2008.04.10.16.53.44; author drochner; state Exp; branches; next ; desc @@ 1.8 log @gnome-keyring: Update to 3.36.0 This brings us up to the latest GNOME 3 release. There's too many changes to easily list. @ text @$NetBSD: patch-ad,v 1.7 2010/06/11 13:45:50 drochner Exp $ --- egg/egg-unix-credentials.c.orig 2009-12-15 04:00:09.000000000 +0000 +++ egg/egg-unix-credentials.c @@@@ -127,7 +127,6 @@@@ egg_unix_credentials_read (int sock, pid cred = (struct sockcred *) CMSG_DATA (&cmsg.hdr); *pid = 0; *uid = cred->sc_euid; - set_local_creds(sock, 0); #elif defined(HAVE_GETPEEREID) /* OpenBSD */ uid_t euid; gid_t egid; @@@@ -215,7 +214,7 @@@@ egg_unix_credentials_setup (int sock) #if defined(LOCAL_CREDS) && !defined(HAVE_CMSGCRED) int val = 1; if (setsockopt (sock, 0, LOCAL_CREDS, &val, sizeof (val)) < 0) { - fprintf (stderr, "unable to set LOCAL_CREDS socket option on fd %d\n", fd); + fprintf (stderr, "unable to set LOCAL_CREDS socket option on fd %d\n", sock); retval = -1; } #endif @ 1.7 log @update to 2.30.1 This switches to the gnome-2.30 release branch pkgsrc note: temporarily add a dependency on libgnome-keyring which was split out of the old gnome-keyring pkg, so that client pkgs get the same as before @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update gnome-keyring to 2.26.0. Changes between 2.24.0 and 2.26.0: ================================== * Refactor PKI code to make it modular, loosely coupled and easier to hack and test. * Add standard widgets for display of certificates. * If login keyring doesn't exist when changing a PAM password, don't create it automatically. * Overhaul the secure memory allocator to have memory guards, be valgrind compatible, and also be sparing with secure memory. * When importing keys, prompt to initialize new PKCS#11 tokens. * Fix export of RSA keys to be more interoperable. * Make the gp11 library multi-thread safe. * Rework initialization of daemon, and the way that it integrates with the new session manager. * Close open file descriptors before starting daemon from PAM. * Don't leave keyring daemon running if PAM just started it for a password change. * Register environment variables with session properly. * Remove usage of deprecated glib/gtk stuff. * Hundreds of other smaller changes and fixes. @ text @d3 1 a3 1 --- egg/egg-unix-credentials.c.orig 2009-01-17 18:08:46.000000000 -0500 d5 1 a5 1 @@@@ -130,7 +130,6 @@@@ egg_unix_credentials_read (int sock, pid d13 9 @ 1.5 log @update to 2.22.3 changes: -Better initization of (non-crypto) random number generator -Build fixes @ text @d3 3 a5 3 --- common/gkr-unix-credentials.c.orig 2008-06-30 17:27:42.000000000 +0200 +++ common/gkr-unix-credentials.c @@@@ -126,7 +126,6 @@@@ gkr_unix_credentials_read (int sock, pid @ 1.4 log @Restore NetBSD specific part of the patch which got lost in the last commit. @ text @d3 3 a5 3 --- common/gkr-unix-credentials.c.orig 2008-05-26 17:03:16.000000000 +0100 +++ common/gkr-unix-credentials.c 2008-05-30 14:38:01.000000000 +0100 @@@@ -126,7 +126,6 @@@@ d9 1 a9 1 - set_local_creds(sock, FALSE); a12 11 @@@@ -135,8 +134,8 @@@@ if (getpeereid (sock, &euid, &egid) == 0) { *uid = euid; } else { - g_warning ("getpeereid() failed: %s", strerror (errno)); - return FALSE; + fprintf (stderr, "getpeereid() failed: %s", strerror (errno)); + return -1; } #elif defined(HAVE_GETPEERUCRED) ucred_t *uc = NULL; @ 1.3 log @Fix build problem under Mac OS X caused by broken code to support getpeereid() . @ text @d3 11 a13 3 --- common/gkr-unix-credentials.c.orig 2008-05-30 13:10:12.000000000 +0100 +++ common/gkr-unix-credentials.c 2008-05-30 13:16:17.000000000 +0100 @@@@ -134,8 +134,8 @@@@ @ 1.2 log @update to 2.22.2 changes: -minor UI improvements -bugfixes -portability improvements, in particular for credential passing on local sockets -- unfortunately a bit of the patch I submitted upstream got lost @ text @d3 13 a15 10 --- common/gkr-unix-credentials.c.orig 2008-05-26 18:03:16.000000000 +0200 +++ common/gkr-unix-credentials.c @@@@ -126,7 +126,6 @@@@ gkr_unix_credentials_read (int sock, pid cred = (struct sockcred *) CMSG_DATA (&cmsg.hdr); *pid = 0; *uid = cred->sc_euid; - set_local_creds(sock, FALSE); #elif defined(HAVE_GETPEEREID) /* OpenBSD */ uid_t euid; gid_t egid; @ 1.1 log @update to 2.22.1 This switches to the gnome-2.22 release branch. @ text @d3 3 a5 14 --- ./common/gkr-unix-credentials.c.orig 2008-02-13 22:07:15.000000000 +0100 +++ ./common/gkr-unix-credentials.c @@@@ -36,6 +36,10 @@@@ #include #endif +#ifdef __NetBSD__ +#include /* for LOCAL_CREDS */ +#endif + int gkr_unix_credentials_read (int sock, pid_t *pid, uid_t *uid) { @@@@ -125,7 +129,6 @@@@ gkr_unix_credentials_read (int sock, pid d9 4 a12 4 - set_local_creds(fd, FALSE); #elif defined(HAVE_GETPEERUCRED) ucred_t *uc = NULL; @