pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/gnome-keyring



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Nov 22 21:26:51 UTC 2020

Modified Files:
        pkgsrc/security/gnome-keyring: DESCR Makefile PLIST distinfo
Added Files:
        pkgsrc/security/gnome-keyring/patches: patch-Makefile.in
            patch-egg_egg-armor.c patch-egg_egg-unix-credentials.c
            patch-pam_gkr-pam-module.c patch-pkcs11_rpc-layer_gkm-rpc-module.c
Removed Files:
        pkgsrc/security/gnome-keyring: MESSAGE buildlink3.mk
        pkgsrc/security/gnome-keyring/patches: patch-ad patch-ae patch-af
            patch-ag patch-configure

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/security/gnome-keyring/DESCR
cvs rdiff -u -r1.1 -r0 pkgsrc/security/gnome-keyring/MESSAGE
cvs rdiff -u -r1.97 -r1.98 pkgsrc/security/gnome-keyring/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/security/gnome-keyring/PLIST
cvs rdiff -u -r1.48 -r0 pkgsrc/security/gnome-keyring/buildlink3.mk
cvs rdiff -u -r1.44 -r1.45 pkgsrc/security/gnome-keyring/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/gnome-keyring/patches/patch-Makefile.in \
    pkgsrc/security/gnome-keyring/patches/patch-egg_egg-armor.c \
    pkgsrc/security/gnome-keyring/patches/patch-egg_egg-unix-credentials.c \
    pkgsrc/security/gnome-keyring/patches/patch-pam_gkr-pam-module.c \
    pkgsrc/security/gnome-keyring/patches/patch-pkcs11_rpc-layer_gkm-rpc-module.c
cvs rdiff -u -r1.7 -r0 pkgsrc/security/gnome-keyring/patches/patch-ad
cvs rdiff -u -r1.5 -r0 pkgsrc/security/gnome-keyring/patches/patch-ae \
    pkgsrc/security/gnome-keyring/patches/patch-ag
cvs rdiff -u -r1.4 -r0 pkgsrc/security/gnome-keyring/patches/patch-af
cvs rdiff -u -r1.1 -r0 pkgsrc/security/gnome-keyring/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/gnome-keyring/DESCR
diff -u pkgsrc/security/gnome-keyring/DESCR:1.1.1.1 pkgsrc/security/gnome-keyring/DESCR:1.2
--- pkgsrc/security/gnome-keyring/DESCR:1.1.1.1 Thu Apr  1 18:24:41 2004
+++ pkgsrc/security/gnome-keyring/DESCR Sun Nov 22 21:26:50 2020
@@ -1,15 +1,10 @@
-gnome-keyring is a program that keeps passwords and other secrets for
-users.  It is run as a damon in the session, similar to ssh-agent, and
-other applications can locate it by an environment variable.
+gnome-keyring is a program that keeps password and other secrets for
+users. It is run as a daemon in the session, similar to ssh-agent, and
+other applications locate it via an environment variable or a D-Bus.
 
 The program can manage several keyrings, each with its own master
 password, and there is also a session keyring which is never stored to
 disk, but forgotten when the session ends.
 
 The library libgnome-keyring is used by applications to integrate with
-the gnome keyring system.  However, at this point the library hasn't
-been tested and used enough to consider the API to be publically exposed.
-Therefore use of libgnome-keyring is at the moment limited to internal
-use in the gnome desktop.  However, we hope that the gnome-keyring API
-will turn out useful and good, so that later it can be made public for
-any application to use.
+the GNOME keyring system.

Index: pkgsrc/security/gnome-keyring/Makefile
diff -u pkgsrc/security/gnome-keyring/Makefile:1.97 pkgsrc/security/gnome-keyring/Makefile:1.98
--- pkgsrc/security/gnome-keyring/Makefile:1.97 Fri Oct 23 09:20:59 2020
+++ pkgsrc/security/gnome-keyring/Makefile      Sun Nov 22 21:26:50 2020
@@ -1,37 +1,38 @@
-# $NetBSD: Makefile,v 1.97 2020/10/23 09:20:59 tnn Exp $
+# $NetBSD: Makefile,v 1.98 2020/11/22 21:26:50 nia Exp $
 
-DISTNAME=      gnome-keyring-2.32.1
-PKGREVISION=   30
+DISTNAME=      gnome-keyring-3.36.0
+MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
 CATEGORIES=    security gnome
-MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gnome-keyring/2.32/}
-EXTRACT_SUFX=  .tar.bz2
+EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://www.gnome.org/
+HOMEPAGE=      https://wiki.gnome.org/Projects/GnomeKeyring/
 COMMENT=       GNOME password and secret manager
+LICENSE=       gnu-gpl-v2
 
-USE_TOOLS+=            gmake intltool msgfmt pkg-config
 GNU_CONFIGURE=         YES
 USE_LIBTOOL=           YES
 USE_PKGLOCALEDIR=      YES
+USE_TOOLS+=            gmake pkg-config
+USE_TOOLS+=            msgfmt msgmerge xgettext
 
-PKGCONFIG_OVERRIDE+=   gcr/gcr.pc.in
-PKGCONFIG_OVERRIDE+=   gp11/gp11.pc.in
+TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
 
-CFLAGS.HPUX+=          -DMAP_ANON=MAP_ANONYMOUS
-CONFIGURE_ENV.SunOS+=  ac_cv_header_security_pam_modules_h=yes
+XDG_EGDIR=     ${PREFIX}/share/examples/xdg/autostart
 
-.include "../../mk/dlopen.buildlink3.mk"
+CONF_FILES+=   ${XDG_EGDIR}/gnome-keyring-pkcs11.desktop \
+               ${PKG_SYSCONFDIR}/xdg/autostart/gnome-keyring-pkcs11.desktop
 
-BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:M*}
+CONF_FILES+=   ${XDG_EGDIR}/gnome-keyring-secrets.desktop \
+               ${PKG_SYSCONFDIR}/xdg/autostart/gnome-keyring-secrets.desktop
+
+CONF_FILES+=   ${XDG_EGDIR}/gnome-keyring-ssh.desktop \
+               ${PKG_SYSCONFDIR}/xdg/autostart/gnome-keyring-ssh.desktop
 
-BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.26.0
 .include "../../devel/glib2/schemas.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
+.include "../../security/gcr/buildlink3.mk"
 .include "../../security/libgcrypt/buildlink3.mk"
-.include "../../security/libtasn1/buildlink3.mk"
-.include "../../sysutils/dbus/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
 .include "../../mk/pam.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/security/gnome-keyring/PLIST
diff -u pkgsrc/security/gnome-keyring/PLIST:1.25 pkgsrc/security/gnome-keyring/PLIST:1.26
--- pkgsrc/security/gnome-keyring/PLIST:1.25    Wed Apr 13 16:39:14 2011
+++ pkgsrc/security/gnome-keyring/PLIST Sun Nov 22 21:26:50 2020
@@ -1,88 +1,25 @@
-@comment $NetBSD: PLIST,v 1.25 2011/04/13 16:39:14 drochner Exp $
+@comment $NetBSD: PLIST,v 1.26 2020/11/22 21:26:50 nia Exp $
 bin/gnome-keyring
+bin/gnome-keyring-3
 bin/gnome-keyring-daemon
-include/gcr/gcr/gcr-certificate-basics-widget.h
-include/gcr/gcr/gcr-certificate-details-widget.h
-include/gcr/gcr/gcr-certificate.h
-include/gcr/gcr/gcr-importer.h
-include/gcr/gcr/gcr-parser.h
-include/gcr/gcr/gcr-simple-certificate.h
-include/gcr/gcr/gcr-types.h
-include/gcr/gcr/gcr-unlock-options-widget.h
-include/gcr/gcr/gcr-unlock-options.h
-include/gcr/gcr/gcr.h
-include/gp11/gp11.h
-include/gp11/pkcs11.h
-include/gp11/pkcs11g.h
-include/gp11/pkcs11n.h
+lib/gnome-keyring/devel/gkm-gnome2-store-standalone.la
+lib/gnome-keyring/devel/gkm-secret-store-standalone.la
 lib/gnome-keyring/devel/gkm-ssh-store-standalone.la
-lib/gnome-keyring/devel/gkm-user-store-standalone.la
-lib/gnome-keyring/gnome-keyring-pkcs11.la
-lib/gnome-keyring/standalone/gkm-roots-store-standalone.la
-lib/gnome-keyring/standalone/gkm-secret-store-standalone.la
-lib/libgcr.la
-lib/libgp11.la
-lib/pkgconfig/gcr-0.pc
-lib/pkgconfig/gp11-0.pc
+lib/gnome-keyring/devel/gkm-xdg-store-standalone.la
+lib/pkcs11/gnome-keyring-pkcs11.la
 lib/security/pam_gnome_keyring.la
-libexec/gnome-keyring-prompt
+man/man1/gnome-keyring-3.1
+man/man1/gnome-keyring-daemon.1
+man/man1/gnome-keyring.1
 share/GConf/gsettings/org.gnome.crypto.cache.convert
-share/GConf/gsettings/org.gnome.crypto.pgp.convert
+share/dbus-1/services/org.freedesktop.impl.portal.Secret.service
 share/dbus-1/services/org.freedesktop.secrets.service
 share/dbus-1/services/org.gnome.keyring.service
-share/gcr/ui/gcr-certificate-basics-widget.ui
-share/gcr/ui/gcr-import-dialog.ui
-share/gcr/ui/gcr-unlock-options-widget.ui
+share/examples/xdg/autostart/gnome-keyring-pkcs11.desktop
+share/examples/xdg/autostart/gnome-keyring-secrets.desktop
+share/examples/xdg/autostart/gnome-keyring-ssh.desktop
 share/glib-2.0/schemas/org.gnome.crypto.cache.gschema.xml
-share/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
-share/gnome-keyring/introspect/introspect-collection.xml
-share/gnome-keyring/introspect/introspect-item.xml
-share/gnome-keyring/introspect/introspect-prompt.xml
-share/gnome-keyring/introspect/introspect-service.xml
-share/gnome-keyring/introspect/introspect-session.xml
-share/gnome-keyring/ui/gku-prompt.ui
-share/gnome/autostart/gnome-keyring-gpg.desktop
-share/gnome/autostart/gnome-keyring-pkcs11.desktop
-share/gnome/autostart/gnome-keyring-secrets.desktop
-share/gnome/autostart/gnome-keyring-ssh.desktop
-share/gtk-doc/html/gcr-0/ch01.html
-share/gtk-doc/html/gcr-0/gcr-0.devhelp
-share/gtk-doc/html/gcr-0/gcr-0.devhelp2
-share/gtk-doc/html/gcr-0/gcr-GcrCertificate.html
-share/gtk-doc/html/gcr-0/gcr-gcr-certificate-basics-widget.html
-share/gtk-doc/html/gcr-0/gcr-gcr-certificate-details-widget.html
-share/gtk-doc/html/gcr-0/gcr-gcr-import-dialog.html
-share/gtk-doc/html/gcr-0/gcr-gcr-importer.html
-share/gtk-doc/html/gcr-0/gcr-gcr-initializer.html
-share/gtk-doc/html/gcr-0/gcr-gcr-parser.html
-share/gtk-doc/html/gcr-0/gcr-gcr-simple-certificate.html
-share/gtk-doc/html/gcr-0/gcr-gcr-types.html
-share/gtk-doc/html/gcr-0/gcr-gcr-xxx.html
-share/gtk-doc/html/gcr-0/home.png
-share/gtk-doc/html/gcr-0/index.html
-share/gtk-doc/html/gcr-0/index.sgml
-share/gtk-doc/html/gcr-0/left.png
-share/gtk-doc/html/gcr-0/right.png
-share/gtk-doc/html/gcr-0/style.css
-share/gtk-doc/html/gcr-0/up.png
-share/gtk-doc/html/gp11/GP11Module.html
-share/gtk-doc/html/gp11/GP11Object.html
-share/gtk-doc/html/gp11/GP11Session.html
-share/gtk-doc/html/gp11/GP11Slot.html
-share/gtk-doc/html/gp11/ch01.html
-share/gtk-doc/html/gp11/gp11-Errors.html
-share/gtk-doc/html/gp11/gp11-GP11Attribute.html
-share/gtk-doc/html/gp11/gp11-GP11Attributes.html
-share/gtk-doc/html/gp11/gp11-Miscellaneous-Functions.html
-share/gtk-doc/html/gp11/gp11.devhelp
-share/gtk-doc/html/gp11/gp11.devhelp2
-share/gtk-doc/html/gp11/home.png
-share/gtk-doc/html/gp11/index.html
-share/gtk-doc/html/gp11/index.sgml
-share/gtk-doc/html/gp11/left.png
-share/gtk-doc/html/gp11/right.png
-share/gtk-doc/html/gp11/style.css
-share/gtk-doc/html/gp11/up.png
+share/locale/af/LC_MESSAGES/gnome-keyring.mo
 share/locale/ar/LC_MESSAGES/gnome-keyring.mo
 share/locale/as/LC_MESSAGES/gnome-keyring.mo
 share/locale/ast/LC_MESSAGES/gnome-keyring.mo
@@ -95,6 +32,7 @@ share/locale/bn_IN/LC_MESSAGES/gnome-key
 share/locale/bs/LC_MESSAGES/gnome-keyring.mo
 share/locale/ca/LC_MESSAGES/gnome-keyring.mo
 share/locale/ca@valencia/LC_MESSAGES/gnome-keyring.mo
+share/locale/ckb/LC_MESSAGES/gnome-keyring.mo
 share/locale/cs/LC_MESSAGES/gnome-keyring.mo
 share/locale/cy/LC_MESSAGES/gnome-keyring.mo
 share/locale/da/LC_MESSAGES/gnome-keyring.mo
@@ -104,13 +42,16 @@ share/locale/el/LC_MESSAGES/gnome-keyrin
 share/locale/en@shaw/LC_MESSAGES/gnome-keyring.mo
 share/locale/en_CA/LC_MESSAGES/gnome-keyring.mo
 share/locale/en_GB/LC_MESSAGES/gnome-keyring.mo
+share/locale/eo/LC_MESSAGES/gnome-keyring.mo
 share/locale/es/LC_MESSAGES/gnome-keyring.mo
 share/locale/et/LC_MESSAGES/gnome-keyring.mo
 share/locale/eu/LC_MESSAGES/gnome-keyring.mo
 share/locale/fa/LC_MESSAGES/gnome-keyring.mo
 share/locale/fi/LC_MESSAGES/gnome-keyring.mo
 share/locale/fr/LC_MESSAGES/gnome-keyring.mo
+share/locale/fur/LC_MESSAGES/gnome-keyring.mo
 share/locale/ga/LC_MESSAGES/gnome-keyring.mo
+share/locale/gd/LC_MESSAGES/gnome-keyring.mo
 share/locale/gl/LC_MESSAGES/gnome-keyring.mo
 share/locale/gu/LC_MESSAGES/gnome-keyring.mo
 share/locale/he/LC_MESSAGES/gnome-keyring.mo
@@ -122,12 +63,15 @@ share/locale/is/LC_MESSAGES/gnome-keyrin
 share/locale/it/LC_MESSAGES/gnome-keyring.mo
 share/locale/ja/LC_MESSAGES/gnome-keyring.mo
 share/locale/ka/LC_MESSAGES/gnome-keyring.mo
+share/locale/kk/LC_MESSAGES/gnome-keyring.mo
+share/locale/km/LC_MESSAGES/gnome-keyring.mo
 share/locale/kn/LC_MESSAGES/gnome-keyring.mo
 share/locale/ko/LC_MESSAGES/gnome-keyring.mo
 share/locale/lt/LC_MESSAGES/gnome-keyring.mo
 share/locale/lv/LC_MESSAGES/gnome-keyring.mo
 share/locale/mai/LC_MESSAGES/gnome-keyring.mo
 share/locale/mg/LC_MESSAGES/gnome-keyring.mo
+share/locale/mjw/LC_MESSAGES/gnome-keyring.mo
 share/locale/mk/LC_MESSAGES/gnome-keyring.mo
 share/locale/ml/LC_MESSAGES/gnome-keyring.mo
 share/locale/mn/LC_MESSAGES/gnome-keyring.mo
@@ -155,11 +99,15 @@ share/locale/sr@latin/LC_MESSAGES/gnome-
 share/locale/sv/LC_MESSAGES/gnome-keyring.mo
 share/locale/ta/LC_MESSAGES/gnome-keyring.mo
 share/locale/te/LC_MESSAGES/gnome-keyring.mo
+share/locale/tg/LC_MESSAGES/gnome-keyring.mo
 share/locale/th/LC_MESSAGES/gnome-keyring.mo
 share/locale/tr/LC_MESSAGES/gnome-keyring.mo
+share/locale/ug/LC_MESSAGES/gnome-keyring.mo
 share/locale/uk/LC_MESSAGES/gnome-keyring.mo
 share/locale/vi/LC_MESSAGES/gnome-keyring.mo
 share/locale/xh/LC_MESSAGES/gnome-keyring.mo
 share/locale/zh_CN/LC_MESSAGES/gnome-keyring.mo
 share/locale/zh_HK/LC_MESSAGES/gnome-keyring.mo
 share/locale/zh_TW/LC_MESSAGES/gnome-keyring.mo
+share/p11-kit/modules/gnome-keyring.module
+share/xdg-desktop-portal/portals/gnome-keyring.portal

Index: pkgsrc/security/gnome-keyring/distinfo
diff -u pkgsrc/security/gnome-keyring/distinfo:1.44 pkgsrc/security/gnome-keyring/distinfo:1.45
--- pkgsrc/security/gnome-keyring/distinfo:1.44 Wed Nov  4 01:17:44 2015
+++ pkgsrc/security/gnome-keyring/distinfo      Sun Nov 22 21:26:51 2020
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.44 2015/11/04 01:17:44 agc Exp $
+$NetBSD: distinfo,v 1.45 2020/11/22 21:26:51 nia Exp $
 
-SHA1 (gnome-keyring-2.32.1.tar.bz2) = 3d0ecc3e29f426ecfcaa488ea17d3e330fe34eb6
-RMD160 (gnome-keyring-2.32.1.tar.bz2) = cb72f171f5918ff26f40feb7bba90dc7e2e120ec
-SHA512 (gnome-keyring-2.32.1.tar.bz2) = 23b91bc11be2805df228de98513a5f96386a89d6ead6434b7fdf4a3bee86b6601bb994b9de4524f8751c7d7f1ac9462c592bcd9b77c32234fc709148450e382b
-Size (gnome-keyring-2.32.1.tar.bz2) = 1619245 bytes
-SHA1 (patch-ad) = d49bc78227646b3de3c357cd0f1e90cd38862ee4
-SHA1 (patch-ae) = a4e6fabd0534a56b974ec799539ce93df6580ff1
-SHA1 (patch-af) = 38738bc4441a6db38c27198ee22c8d3a77559844
-SHA1 (patch-ag) = 56c977df4f0f43da04b5e39212551b00642ef674
-SHA1 (patch-configure) = de2997d31a79ac573e4c5e339b9817f6cb84e2f0
+SHA1 (gnome-keyring-3.36.0.tar.xz) = 10a6a1c1c9ac66baadd96cb5ef5f3d18aee86f6a
+RMD160 (gnome-keyring-3.36.0.tar.xz) = 60556a3a2785a32e87795a3599d6f0ed69622f9f
+SHA512 (gnome-keyring-3.36.0.tar.xz) = e5aed36ad109cbd2dcb534843f8565829366acc955cadc6e9bbe87ebbb6a8a907211aa3a42f7f26148ac69726af2f9238965707d1259319435bd20aa8c4859ed
+Size (gnome-keyring-3.36.0.tar.xz) = 1345360 bytes
+SHA1 (patch-Makefile.in) = 0bb5c9ff7de52fb932741fdc2246048a2392e6bb
+SHA1 (patch-egg_egg-armor.c) = 4e57b2f8d4434ad4f0e28230af0ba7e3a79d9851
+SHA1 (patch-egg_egg-unix-credentials.c) = a3d45837ec5257b6397cf839d2ac6aac890b9796
+SHA1 (patch-pam_gkr-pam-module.c) = 98d0af74ea7ba87cb1376aba4cefcaf77bfbc4f5
+SHA1 (patch-pkcs11_rpc-layer_gkm-rpc-module.c) = 0ac1939645f01eb52b7a532359555b7139aaa39e

Added files:

Index: pkgsrc/security/gnome-keyring/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/security/gnome-keyring/patches/patch-Makefile.in:1.1
--- /dev/null   Sun Nov 22 21:26:51 2020
+++ pkgsrc/security/gnome-keyring/patches/patch-Makefile.in     Sun Nov 22 21:26:51 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/11/22 21:26:51 nia Exp $
+
+Install config files to examples.
+
+--- Makefile.in.orig   2020-03-11 04:41:34.000000000 +0000
++++ Makefile.in
+@@ -2230,7 +2230,7 @@ service_in_files = \
+ 
+ servicedir = $(DBUS_SERVICES_DIR)
+ service_DATA = $(service_in_files:.service.in=.service)
+-desktopdir = $(sysconfdir)/xdg/autostart
++desktopdir = $(datadir)/examples/xdg/autostart
+ desktop_in_in_files = \
+       daemon/gnome-keyring-pkcs11.desktop.in.in \
+       daemon/gnome-keyring-secrets.desktop.in.in \
Index: pkgsrc/security/gnome-keyring/patches/patch-egg_egg-armor.c
diff -u /dev/null pkgsrc/security/gnome-keyring/patches/patch-egg_egg-armor.c:1.1
--- /dev/null   Sun Nov 22 21:26:51 2020
+++ pkgsrc/security/gnome-keyring/patches/patch-egg_egg-armor.c Sun Nov 22 21:26:51 2020
@@ -0,0 +1,24 @@
+$NetBSD: patch-egg_egg-armor.c,v 1.1 2020/11/22 21:26:51 nia Exp $
+
+Argument to ctype functions must be unsigned char.
+
+--- egg/egg-armor.c.orig       2019-02-09 17:20:04.000000000 +0000
++++ egg/egg-armor.c
+@@ -188,7 +188,7 @@ armor_find_end (const gchar *data,
+ 
+       if (outer != NULL) {
+               at += ARMOR_SUFF_L;
+-              if (isspace (at[0]))
++              if (isspace ((unsigned char)at[0]))
+                       at++;
+               *outer = at;
+       }
+@@ -226,7 +226,7 @@ armor_parse_block (const gchar *data,
+               if (!x)
+                       break;
+               ++x;
+-              while (isspace (*x)) {
++              while (isspace ((unsigned char)*x)) {
+                       /* Found a second line, with only spaces between */
+                       if (*x == '\n') {
+                               hbeg = data;
Index: pkgsrc/security/gnome-keyring/patches/patch-egg_egg-unix-credentials.c
diff -u /dev/null pkgsrc/security/gnome-keyring/patches/patch-egg_egg-unix-credentials.c:1.1
--- /dev/null   Sun Nov 22 21:26:51 2020
+++ pkgsrc/security/gnome-keyring/patches/patch-egg_egg-unix-credentials.c      Sun Nov 22 21:26:51 2020
@@ -0,0 +1,34 @@
+$NetBSD: patch-egg_egg-unix-credentials.c,v 1.1 2020/11/22 21:26:51 nia Exp $
+
+LOCAL_CREDS path appears broken on NetBSD...
+
+--- egg/egg-unix-credentials.c.orig    2018-06-25 04:15:03.000000000 +0000
++++ egg/egg-unix-credentials.c
+@@ -48,6 +48,10 @@
+ #include <ucred.h>
+ #endif
+ 
++#if defined(__NetBSD__)
++#undef LOCAL_CREDS
++#endif
++
+ int
+ egg_unix_credentials_read (int sock, pid_t *pid, uid_t *uid)
+ {
+@@ -243,14 +247,14 @@ egg_unix_credentials_executable (pid_t p
+       char *result = NULL;
+ 
+       /* Try and figure out the path from the pid */
+-#if defined(__linux__) || defined(__FreeBSD__)
++#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
+       char path[1024];
+       char buffer[64];
+       int count;
+ 
+ #if defined(__linux__)
+       snprintf (buffer, sizeof (buffer), "/proc/%d/exe", (int)pid);
+-#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__NetBSD__)
+       snprintf (buffer, sizeof (buffer), "/proc/%d/file", (int)pid);
+ #endif
+ 
Index: pkgsrc/security/gnome-keyring/patches/patch-pam_gkr-pam-module.c
diff -u /dev/null pkgsrc/security/gnome-keyring/patches/patch-pam_gkr-pam-module.c:1.1
--- /dev/null   Sun Nov 22 21:26:51 2020
+++ pkgsrc/security/gnome-keyring/patches/patch-pam_gkr-pam-module.c    Sun Nov 22 21:26:51 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-pam_gkr-pam-module.c,v 1.1 2020/11/22 21:26:51 nia Exp $
+
+Argument to ctype functions must be unsigned char.
+
+--- pam/gkr-pam-module.c.orig  2020-02-15 09:30:19.000000000 +0000
++++ pam/gkr-pam-module.c
+@@ -137,7 +137,7 @@ static char* 
+ strbtrim (char* data)
+ {
+       assert (data);
+-      while (*data && isspace (*data))
++      while (*data && isspace ((unsigned char)*data))
+               ++data;
+       return (char*)data;
+ }
Index: pkgsrc/security/gnome-keyring/patches/patch-pkcs11_rpc-layer_gkm-rpc-module.c
diff -u /dev/null pkgsrc/security/gnome-keyring/patches/patch-pkcs11_rpc-layer_gkm-rpc-module.c:1.1
--- /dev/null   Sun Nov 22 21:26:51 2020
+++ pkgsrc/security/gnome-keyring/patches/patch-pkcs11_rpc-layer_gkm-rpc-module.c       Sun Nov 22 21:26:51 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-pkcs11_rpc-layer_gkm-rpc-module.c,v 1.1 2020/11/22 21:26:51 nia Exp $
+
+Argument to ctype functions must be unsigned char.
+
+--- pkcs11/rpc-layer/gkm-rpc-module.c.orig     2018-06-25 04:15:03.000000000 +0000
++++ pkcs11/rpc-layer/gkm-rpc-module.c
+@@ -143,7 +143,7 @@ parse_arguments (const char *string)
+                       *at++ = *src;
+ 
+               /* Space, not inside of quotes */
+-              } else if (isspace(*src)) {
++              } else if (isspace((unsigned char)*src)) {
+                       *at = 0;
+                       parse_argument (arg);
+                       arg = at;



Home | Main Index | Thread Index | Old Index