diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile index efd887cf2522..1e4f972af3a6 100644 --- a/security/libgpg-error/Makefile +++ b/security/libgpg-error/Makefile @@ -1,43 +1,42 @@ PORTNAME= libgpg-error -DISTVERSION= 1.49 +DISTVERSION= 1.50 CATEGORIES= security devel MASTER_SITES= GNUPG MAINTAINER= novel@FreeBSD.org COMMENT= Common error values for all GnuPG components WWW= https://www.gnupg.org/software/libgpg-error/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB USES= cpe libtool pathfix tar:bzip2 CPE_VENDOR= gnupg USE_LDCONFIG= yes GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip +INSTALL_TARGET= install-strip DOCS= AUTHORS ChangeLog NEWS README INFO= gpgrt -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-static=yes \ --enable-install-gpg-error-config OPTIONS_DEFINE= DOCS NLS TEST OPTIONS_SUB= yes NLS_USES= gettext iconv NLS_CONFIGURE_OFF= --disable-nls NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} --with-libintl-prefix=${LOCALBASE} TEST_CONFIGURE_ENABLE= tests TEST_TARGET= check post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/security/libgpg-error/distinfo b/security/libgpg-error/distinfo index d49f921a9747..70ab0dc9d42f 100644 --- a/security/libgpg-error/distinfo +++ b/security/libgpg-error/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1714755898 -SHA256 (libgpg-error-1.49.tar.bz2) = 8b79d54639dbf4abc08b5406fb2f37e669a2dec091dd024fb87dd367131c63a9 -SIZE (libgpg-error-1.49.tar.bz2) = 1081175 +TIMESTAMP = 1718990852 +SHA256 (libgpg-error-1.50.tar.bz2) = 69405349e0a633e444a28c5b35ce8f14484684518a508dc48a089992fe93e20a +SIZE (libgpg-error-1.50.tar.bz2) = 1082003 diff --git a/security/libgpg-error/files/patch-git-01-a59e902b887fd92337c9728f668cf9c89da3957a b/security/libgpg-error/files/patch-git-01-a59e902b887fd92337c9728f668cf9c89da3957a new file mode 100644 index 000000000000..5bcf5647d946 --- /dev/null +++ b/security/libgpg-error/files/patch-git-01-a59e902b887fd92337c9728f668cf9c89da3957a @@ -0,0 +1,30 @@ +From a59e902b887fd92337c9728f668cf9c89da3957a Mon Sep 17 00:00:00 2001 +From: Werner Koch +Date: Thu, 20 Jun 2024 12:05:15 +0200 +Subject: [PATCH] core: Declare environ for macOS and others. + +* src/spawn-posix.c (environ): Declare. +-- + +GnuPG-bug-id: 7169 +--- + src/spawn-posix.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/spawn-posix.c b/src/spawn-posix.c +index 7de02a9..96f1536 100644 +--- src/spawn-posix.c ++++ src/spawn-posix.c +@@ -57,6 +57,9 @@ + + #include "gpgrt-int.h" + ++/* (Only glibc's unistd.h declares this iff _GNU_SOURCE is used.) */ ++extern char **environ; ++ + + /* Definition for the gpgrt_spawn_actions_t. Note that there is a + * different one for Windows. */ +-- +2.30.2 + diff --git a/security/libgpg-error/pkg-plist b/security/libgpg-error/pkg-plist index 89b33dd70cac..13f79befecbf 100644 --- a/security/libgpg-error/pkg-plist +++ b/security/libgpg-error/pkg-plist @@ -1,45 +1,45 @@ bin/gpg-error bin/gpg-error-config bin/gpgrt-config bin/yat2m include/gpg-error.h include/gpgrt.h lib/libgpg-error.a lib/libgpg-error.so lib/libgpg-error.so.0 -lib/libgpg-error.so.0.36.0 +lib/libgpg-error.so.0.37.0 libdata/pkgconfig/gpg-error.pc share/man/man1/gpg-error-config.1.gz share/man/man1/gpgrt-config.1.gz share/aclocal/gpg-error.m4 share/aclocal/gpgrt.m4 share/common-lisp/source/gpg-error/gpg-error-codes.lisp share/common-lisp/source/gpg-error/gpg-error-package.lisp share/common-lisp/source/gpg-error/gpg-error.asd share/common-lisp/source/gpg-error/gpg-error.lisp %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README %%DATADIR%%/errorref.txt %%NLS%%share/locale/cs/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/da/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/de/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/eo/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/es/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/fr/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/hu/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/it/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/ja/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/nl/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/pl/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/pt/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/ro/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/ru/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/sr/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/sv/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/tr/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/uk/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/vi/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/libgpg-error.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/libgpg-error.mo