diff options
Diffstat (limited to 'security/libsecret')
-rw-r--r-- | security/libsecret/Makefile | 30 | ||||
-rw-r--r-- | security/libsecret/distinfo | 6 | ||||
-rw-r--r-- | security/libsecret/files/patch-egg_egg-unix-credentials.c | 11 | ||||
-rw-r--r-- | security/libsecret/pkg-plist | 64 |
4 files changed, 90 insertions, 21 deletions
diff --git a/security/libsecret/Makefile b/security/libsecret/Makefile index 167804e517f3..9d01aa01e974 100644 --- a/security/libsecret/Makefile +++ b/security/libsecret/Makefile @@ -1,34 +1,30 @@ PORTNAME= libsecret -PORTVERSION= 0.20.5 -PORTREVISION= 3 +PORTVERSION= 0.21.7 +PORTREVISION= 1 CATEGORIES= security gnome MASTER_SITES= GNOME +DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Library to access the secret service API -WWW= https://wiki.gnome.org/Projects/Libsecret/ +WWW= https://gitlab.gnome.org/GNOME/libsecret -LICENSE= LGPL21 +LICENSE= APACHE20 GPLv2+ LGPL21+ +LICENSE_COMB= multi BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} \ docbook-xsl>=0:textproc/docbook-xsl LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygobject>0:devel/py-pygobject@${PY_FLAVOR} -USES= compiler gnome meson pkgconfig python tar:xz vala:build -USE_GNOME= glib20 intltool introspection:build libxslt:build +USES= compiler gettext gnome meson pkgconfig python tar:xz vala:build +USE_GNOME= glib20 introspection:build libxslt:build -TESTING_UNSAFE= gi.repository.GLib.GError: g-io-error-quark: Remote closed the output +MESON_ARGS= -Dbash_completion=disabled -pre-test: - @${MKDIR} ${BINARY_LINKDIR} - @${LN} -s ${PYTHON_CMD} ${BINARY_LINKDIR}/python3 +# see PR 287429 / https://gitlab.gnome.org/GNOME/libsecret/-/issues/106 +MESON_ARGS+= -Dc_args="-DHAVE_CMSGCRED" -.include <bsd.port.pre.mk> +PIE_UNSAFE= yes -.if ${COMPILER_TYPE} == clang -CFLAGS+= -Wno-incompatible-function-pointer-types -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/libsecret/distinfo b/security/libsecret/distinfo index 0bd7033a8a1b..2ca8029b98b6 100644 --- a/security/libsecret/distinfo +++ b/security/libsecret/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1651007209 -SHA256 (libsecret-0.20.5.tar.xz) = 3fb3ce340fcd7db54d87c893e69bfc2b1f6e4d4b279065ffe66dac9f0fd12b4d -SIZE (libsecret-0.20.5.tar.xz) = 187340 +TIMESTAMP = 1742739200 +SHA256 (gnome/libsecret-0.21.7.tar.xz) = 6b452e4750590a2b5617adc40026f28d2f4903de15f1250e1d1c40bfd68ed55e +SIZE (gnome/libsecret-0.21.7.tar.xz) = 207692 diff --git a/security/libsecret/files/patch-egg_egg-unix-credentials.c b/security/libsecret/files/patch-egg_egg-unix-credentials.c new file mode 100644 index 000000000000..8afe454939b8 --- /dev/null +++ b/security/libsecret/files/patch-egg_egg-unix-credentials.c @@ -0,0 +1,11 @@ +--- egg/egg-unix-credentials.c.orig 2024-02-23 09:53:23 UTC ++++ egg/egg-unix-credentials.c +@@ -230,7 +230,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/libsecret/pkg-plist b/security/libsecret/pkg-plist index 1c9fb3849803..beddb0dcce72 100644 --- a/security/libsecret/pkg-plist +++ b/security/libsecret/pkg-plist @@ -21,7 +21,6 @@ lib/libsecret-1.so.0 lib/libsecret-1.so.0.0.0 libdata/pkgconfig/libsecret-1.pc libdata/pkgconfig/libsecret-unstable.pc -share/man/man1/secret-tool.1.gz %%DOCSDIR%%-1/RedHatDisplay-Black.woff %%DOCSDIR%%-1/RedHatDisplay-Black.woff2 %%DOCSDIR%%-1/RedHatDisplay-BlackItalic.woff @@ -341,5 +340,68 @@ share/man/man1/secret-tool.1.gz %%DOCSDIR%%-1/vfunc.Service.prompt_finish.html %%DOCSDIR%%-1/vfunc.Service.prompt_sync.html share/gir-1.0/Secret-1.gir +share/locale/ab/LC_MESSAGES/libsecret.mo +share/locale/an/LC_MESSAGES/libsecret.mo +share/locale/ar/LC_MESSAGES/libsecret.mo +share/locale/as/LC_MESSAGES/libsecret.mo +share/locale/be/LC_MESSAGES/libsecret.mo +share/locale/bg/LC_MESSAGES/libsecret.mo +share/locale/bs/LC_MESSAGES/libsecret.mo +share/locale/ca/LC_MESSAGES/libsecret.mo +share/locale/ca@valencia/LC_MESSAGES/libsecret.mo +share/locale/ckb/LC_MESSAGES/libsecret.mo +share/locale/cs/LC_MESSAGES/libsecret.mo +share/locale/da/LC_MESSAGES/libsecret.mo +share/locale/de/LC_MESSAGES/libsecret.mo +share/locale/el/LC_MESSAGES/libsecret.mo +share/locale/en_GB/LC_MESSAGES/libsecret.mo +share/locale/eo/LC_MESSAGES/libsecret.mo +share/locale/es/LC_MESSAGES/libsecret.mo +share/locale/eu/LC_MESSAGES/libsecret.mo +share/locale/fa/LC_MESSAGES/libsecret.mo +share/locale/fi/LC_MESSAGES/libsecret.mo +share/locale/fr/LC_MESSAGES/libsecret.mo +share/locale/fur/LC_MESSAGES/libsecret.mo +share/locale/gl/LC_MESSAGES/libsecret.mo +share/locale/he/LC_MESSAGES/libsecret.mo +share/locale/hi/LC_MESSAGES/libsecret.mo +share/locale/hr/LC_MESSAGES/libsecret.mo +share/locale/hu/LC_MESSAGES/libsecret.mo +share/locale/id/LC_MESSAGES/libsecret.mo +share/locale/ie/LC_MESSAGES/libsecret.mo +share/locale/it/LC_MESSAGES/libsecret.mo +share/locale/ja/LC_MESSAGES/libsecret.mo +share/locale/ka/LC_MESSAGES/libsecret.mo +share/locale/kab/LC_MESSAGES/libsecret.mo +share/locale/kk/LC_MESSAGES/libsecret.mo +share/locale/ko/LC_MESSAGES/libsecret.mo +share/locale/lt/LC_MESSAGES/libsecret.mo +share/locale/lv/LC_MESSAGES/libsecret.mo +share/locale/ml/LC_MESSAGES/libsecret.mo +share/locale/ms/LC_MESSAGES/libsecret.mo +share/locale/nb/LC_MESSAGES/libsecret.mo +share/locale/ne/LC_MESSAGES/libsecret.mo +share/locale/nl/LC_MESSAGES/libsecret.mo +share/locale/oc/LC_MESSAGES/libsecret.mo +share/locale/pa/LC_MESSAGES/libsecret.mo +share/locale/pl/LC_MESSAGES/libsecret.mo +share/locale/pt/LC_MESSAGES/libsecret.mo +share/locale/pt_BR/LC_MESSAGES/libsecret.mo +share/locale/ro/LC_MESSAGES/libsecret.mo +share/locale/ru/LC_MESSAGES/libsecret.mo +share/locale/sk/LC_MESSAGES/libsecret.mo +share/locale/sl/LC_MESSAGES/libsecret.mo +share/locale/sr/LC_MESSAGES/libsecret.mo +share/locale/sr@latin/LC_MESSAGES/libsecret.mo +share/locale/sv/LC_MESSAGES/libsecret.mo +share/locale/ta/LC_MESSAGES/libsecret.mo +share/locale/tg/LC_MESSAGES/libsecret.mo +share/locale/tr/LC_MESSAGES/libsecret.mo +share/locale/uk/LC_MESSAGES/libsecret.mo +share/locale/vi/LC_MESSAGES/libsecret.mo +share/locale/zh_CN/LC_MESSAGES/libsecret.mo +share/locale/zh_HK/LC_MESSAGES/libsecret.mo +share/locale/zh_TW/LC_MESSAGES/libsecret.mo +share/man/man1/secret-tool.1.gz share/vala/vapi/libsecret-1.deps share/vala/vapi/libsecret-1.vapi |