diff --git a/security/gnome-keyring/Makefile b/security/gnome-keyring/Makefile index df8da5a36031..890d4ded0384 100644 --- a/security/gnome-keyring/Makefile +++ b/security/gnome-keyring/Makefile @@ -1,38 +1,35 @@ PORTNAME= gnome-keyring -PORTVERSION= 42.1 -PORTREVISION= 6 +PORTVERSION= 48.0 CATEGORIES= security gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Program that keeps passwords and other secrets +WWW= https://gitlab.gnome.org/GNOME/gnome-keyring -LICENSE= GPLv2 +LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl LIB_DEPENDS= libdbus-1.so:devel/dbus \ libgpg-error.so:security/libgpg-error \ libgcr-base-3.so:security/gcr3 \ libtasn1.so:security/libtasn1 \ libp11-kit.so:security/p11-kit \ libgcrypt.so:security/libgcrypt RUN_DEPENDS= pinentry-gnome3:security/pinentry-gnome -PORTSCOUT= limitw:1,even - -USE_GNOME= cairo gtk30 intlhack libxslt:build -USES= compiler:c11 cpe gettext gmake gnome libtool localbase \ - pathfix pkgconfig tar:xz +USE_GNOME= cairo glib20 gtk30 libxslt:build +USES= compiler:c11 cpe gettext meson gnome localbase \ + pkgconfig tar:xz CPE_VENDOR= gnome -GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes -CONFIGURE_ARGS= --with-pam-dir="${PREFIX}/lib" -INSTALL_TARGET= install-strip +MESON_ARGS= -Dssh-agent=true \ + -Dselinux=disabled \ + -Dsystemd=disabled GLIB_SCHEMAS= org.gnome.crypto.cache.gschema.xml SUB_FILES= pkg-message .include diff --git a/security/gnome-keyring/distinfo b/security/gnome-keyring/distinfo index 2cbd9e960351..146c1dd6fa41 100644 --- a/security/gnome-keyring/distinfo +++ b/security/gnome-keyring/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1660069108 -SHA256 (gnome/gnome-keyring-42.1.tar.xz) = c7f4d040cc76a6b7fe67e08ef9106911c3c80d40fc88cbfc8e2684a4c946e3e6 -SIZE (gnome/gnome-keyring-42.1.tar.xz) = 1346284 +TIMESTAMP = 1744563757 +SHA256 (gnome/gnome-keyring-48.0.tar.xz) = f20518c920e9ea3f9c9b8b44be8c50d8d7feecd0dd5624960f77bd2ca4fbeb9d +SIZE (gnome/gnome-keyring-48.0.tar.xz) = 767428 diff --git a/security/gnome-keyring/files/patch-egg_egg-unix-credentials.c b/security/gnome-keyring/files/patch-egg_egg-unix-credentials.c new file mode 100644 index 000000000000..e54c436a03df --- /dev/null +++ b/security/gnome-keyring/files/patch-egg_egg-unix-credentials.c @@ -0,0 +1,21 @@ +--- egg/egg-unix-credentials.c.orig 2025-03-18 08:38:44 UTC ++++ egg/egg-unix-credentials.c +@@ -142,7 +142,9 @@ egg_unix_credentials_read (int sock, pid_t *pid, uid_t + cred = (struct sockcred *) CMSG_DATA (&cmsg.hdr); + *pid = 0; + *uid = cred->sc_euid; ++#ifndef __FreeBSD__ + set_local_creds(sock, 0); ++#endif + #elif defined(HAVE_GETPEEREID) /* OpenBSD */ + uid_t euid; + gid_t egid; +@@ -230,7 +232,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\n"); + retval = -1; + } + #endif diff --git a/security/gnome-keyring/files/patch-pam_meson.build b/security/gnome-keyring/files/patch-pam_meson.build new file mode 100644 index 000000000000..9a488d71adab --- /dev/null +++ b/security/gnome-keyring/files/patch-pam_meson.build @@ -0,0 +1,11 @@ +--- pam/meson.build.orig 2025-03-18 08:38:44 UTC ++++ pam/meson.build +@@ -33,7 +33,7 @@ libpam_gkr = shared_library('pam_gnome_keyring', + link_depends: pam_gkr_symbolmap, + include_directories: config_h_inc, + install: true, +- install_dir: get_option('libdir') / 'security', ++ install_dir: get_option('libdir'), + ) + + libpam_gkr_dep = declare_dependency( diff --git a/security/gnome-keyring/pkg-plist b/security/gnome-keyring/pkg-plist index d54d389c6add..648922830943 100644 --- a/security/gnome-keyring/pkg-plist +++ b/security/gnome-keyring/pkg-plist @@ -1,111 +1,113 @@ bin/gnome-keyring bin/gnome-keyring-3 bin/gnome-keyring-daemon etc/xdg/autostart/gnome-keyring-pkcs11.desktop etc/xdg/autostart/gnome-keyring-secrets.desktop etc/xdg/autostart/gnome-keyring-ssh.desktop lib/gnome-keyring/devel/gkm-gnome2-store-standalone.so lib/gnome-keyring/devel/gkm-secret-store-standalone.so lib/gnome-keyring/devel/gkm-ssh-store-standalone.so lib/gnome-keyring/devel/gkm-xdg-store-standalone.so lib/pam_gnome_keyring.so lib/pkcs11/gnome-keyring-pkcs11.so -share/man/man1/gnome-keyring-3.1.gz -share/man/man1/gnome-keyring-daemon.1.gz -share/man/man1/gnome-keyring.1.gz share/GConf/gsettings/org.gnome.crypto.cache.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/locale/ab/LC_MESSAGES/gnome-keyring.mo 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 share/locale/az/LC_MESSAGES/gnome-keyring.mo share/locale/be/LC_MESSAGES/gnome-keyring.mo share/locale/be@latin/LC_MESSAGES/gnome-keyring.mo share/locale/bg/LC_MESSAGES/gnome-keyring.mo share/locale/bn/LC_MESSAGES/gnome-keyring.mo share/locale/bn_IN/LC_MESSAGES/gnome-keyring.mo 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 share/locale/de/LC_MESSAGES/gnome-keyring.mo share/locale/dz/LC_MESSAGES/gnome-keyring.mo share/locale/el/LC_MESSAGES/gnome-keyring.mo 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 share/locale/hi/LC_MESSAGES/gnome-keyring.mo share/locale/hr/LC_MESSAGES/gnome-keyring.mo share/locale/hu/LC_MESSAGES/gnome-keyring.mo share/locale/id/LC_MESSAGES/gnome-keyring.mo share/locale/is/LC_MESSAGES/gnome-keyring.mo 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/kab/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 share/locale/mr/LC_MESSAGES/gnome-keyring.mo share/locale/ms/LC_MESSAGES/gnome-keyring.mo share/locale/nb/LC_MESSAGES/gnome-keyring.mo share/locale/ne/LC_MESSAGES/gnome-keyring.mo share/locale/nl/LC_MESSAGES/gnome-keyring.mo share/locale/nn/LC_MESSAGES/gnome-keyring.mo share/locale/oc/LC_MESSAGES/gnome-keyring.mo share/locale/or/LC_MESSAGES/gnome-keyring.mo share/locale/pa/LC_MESSAGES/gnome-keyring.mo share/locale/pl/LC_MESSAGES/gnome-keyring.mo share/locale/pt/LC_MESSAGES/gnome-keyring.mo share/locale/pt_BR/LC_MESSAGES/gnome-keyring.mo share/locale/ro/LC_MESSAGES/gnome-keyring.mo share/locale/ru/LC_MESSAGES/gnome-keyring.mo share/locale/rw/LC_MESSAGES/gnome-keyring.mo share/locale/si/LC_MESSAGES/gnome-keyring.mo share/locale/sk/LC_MESSAGES/gnome-keyring.mo share/locale/sl/LC_MESSAGES/gnome-keyring.mo share/locale/sq/LC_MESSAGES/gnome-keyring.mo share/locale/sr/LC_MESSAGES/gnome-keyring.mo share/locale/sr@latin/LC_MESSAGES/gnome-keyring.mo 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/man/man1/gnome-keyring-3.1.gz +share/man/man1/gnome-keyring-daemon.1.gz +share/man/man1/gnome-keyring.1.gz share/p11-kit/modules/gnome-keyring.module share/xdg-desktop-portal/portals/gnome-keyring.portal