aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2018-12-16 22:22:09 +0800
committernovel <novel@FreeBSD.org>2018-12-16 22:22:09 +0800
commitca44592533a04c29466ed4a5a4147c59b27c39df (patch)
tree10aa7da48481926ba5f69dca03b9e88c477baf90
parentbbe9005a479beb759b1ce3200cff4fff6979a51b (diff)
downloadfreebsd-ports-gnome-ca44592533a04c29466ed4a5a4147c59b27c39df.tar.gz
freebsd-ports-gnome-ca44592533a04c29466ed4a5a4147c59b27c39df.tar.zst
freebsd-ports-gnome-ca44592533a04c29466ed4a5a4147c59b27c39df.zip
security/libgpg-error: update to 1.33
Include upstream fix for not portable expr(1) usage. [1] 1: https://github.com/gpg/libgpg-error/commit/1d71dbb
-rw-r--r--security/libgpg-error/Makefile3
-rw-r--r--security/libgpg-error/distinfo6
-rw-r--r--security/libgpg-error/files/patch-src_gpgrt-config22
-rw-r--r--security/libgpg-error/pkg-plist5
4 files changed, 29 insertions, 7 deletions
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index 111ffa3e563b..f091d88373a0 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libgpg-error
-PORTVERSION= 1.32
-PORTREVISION= 1
+PORTVERSION= 1.33
CATEGORIES= security devel
MASTER_SITES= GNUPG
diff --git a/security/libgpg-error/distinfo b/security/libgpg-error/distinfo
index a82ce5b8fa22..a5fa582f16f8 100644
--- a/security/libgpg-error/distinfo
+++ b/security/libgpg-error/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1531485573
-SHA256 (libgpg-error-1.32.tar.bz2) = c345c5e73cc2332f8d50db84a2280abfb1d8f6d4f1858b9daa30404db44540ca
-SIZE (libgpg-error-1.32.tar.bz2) = 904382
+TIMESTAMP = 1544339276
+SHA256 (libgpg-error-1.33.tar.bz2) = 5d38826656e746c936e7742d9cde072b50baa3c4c49daa168a56813612bf03ff
+SIZE (libgpg-error-1.33.tar.bz2) = 918344
diff --git a/security/libgpg-error/files/patch-src_gpgrt-config b/security/libgpg-error/files/patch-src_gpgrt-config
new file mode 100644
index 000000000000..0f4fce937f51
--- /dev/null
+++ b/security/libgpg-error/files/patch-src_gpgrt-config
@@ -0,0 +1,22 @@
+--- src/gpgrt-config.orig 2018-11-15 16:10:09 UTC
++++ src/gpgrt-config
+@@ -448,8 +448,8 @@ sysroot () {
+ _result="$_result${_result:+ }$_opt"
+ shift
+ _result="$_result $PKG_CONFIG_SYSROOT_DIR$1"
+- elif expr "$1" : "^$_opt" >/dev/null; then
+- _result="$_result${_result:+ }$_opt$PKG_CONFIG_SYSROOT_DIR$(expr "$1" : "^$_opt\(.*\)")"
++ elif expr "x$1" : "^x$_opt" >/dev/null; then
++ _result="$_result${_result:+ }$_opt$PKG_CONFIG_SYSROOT_DIR$(expr "x$1" : "^x$_opt\(.*\)")"
+ else
+ _result="$_result${_result:+ }$1"
+ fi
+@@ -568,7 +568,7 @@ done
+
+ if [ -z "$module_list" ]; then
+ module_list=${myname%-config}
+-elif expr match "$module_list" "=\|!=\|<\|>\|<=\|>=" >/dev/null; then
++elif expr "$module_list" : "=\|!=\|<\|>\|<=\|>=" >/dev/null; then
+ module_list="${myname%-config} $module_list"
+ fi
+
diff --git a/security/libgpg-error/pkg-plist b/security/libgpg-error/pkg-plist
index 8bb714d62dda..108739cc3fd2 100644
--- a/security/libgpg-error/pkg-plist
+++ b/security/libgpg-error/pkg-plist
@@ -7,8 +7,9 @@ include/gpgrt.h
lib/libgpg-error.a
lib/libgpg-error.so
lib/libgpg-error.so.0
-lib/libgpg-error.so.0.24.3
-man/man1/gpg-error-config.1.gz
+lib/libgpg-error.so.0.25.0
+libdata/pkgconfig/gpg-error.pc
+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