summaryrefslogtreecommitdiff
path: root/misc/libreoffice
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2021-04-10 13:13:47 +0000
committerryoon <ryoon@pkgsrc.org>2021-04-10 13:13:47 +0000
commit1a222508128bed36cac3e40fa735c2a99bc60b26 (patch)
treec0a46dfdd0061a0c1e0137a468db78e20457e2b8 /misc/libreoffice
parent6d8c618183f1a9ebc04badcf3b492efe341ea89a (diff)
downloadpkgsrc-1a222508128bed36cac3e40fa735c2a99bc60b26.tar.gz
libreoffice: Use portable 'command -v' instead of 'type -p' and fix segfault
Pointed out in PR pkg/56092 by gutteridge@. And convert to use OpenSSL TLS backend. Recent devel/nss change, libsoftkn3.so uses MD5_Update() from OpenSSL and it causes SIGSEGV. Bump PKGREVISION.
Diffstat (limited to 'misc/libreoffice')
-rw-r--r--misc/libreoffice/Makefile6
-rw-r--r--misc/libreoffice/distinfo4
-rw-r--r--misc/libreoffice/patches/patch-shell_source_unix_misc_senddoc.sh6
3 files changed, 8 insertions, 8 deletions
diff --git a/misc/libreoffice/Makefile b/misc/libreoffice/Makefile
index 3a7bf3e84d4..3b1d4fbde6b 100644
--- a/misc/libreoffice/Makefile
+++ b/misc/libreoffice/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.256 2021/04/09 06:55:01 wiz Exp $
+# $NetBSD: Makefile,v 1.257 2021/04/10 13:13:47 ryoon Exp $
VERREL= 7.1.2
VERRC= 2
VER= ${VERREL}.${VERRC}
DISTNAME= libreoffice-${VER}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://download.documentfoundation.org/libreoffice/src/${VERREL}/
EXTRACT_SUFX= .tar.xz
@@ -209,7 +209,7 @@ CONFIGURE_ARGS+= --with-boost-libdir=${BUILDLINK_PREFIX.boost-libs}/lib
CONFIGURE_ARGS+= --with-system-libs
CONFIGURE_ARGS+= --with-system-dicts
CONFIGURE_ARGS+= --with-vendor="pkgsrc"
-CONFIGURE_ARGS+= --with-tls="nss"
+CONFIGURE_ARGS+= --with-tls="openssl"
CONFIGURE_ARGS+= --without-doxygen
CONFIGURE_ARGS+= --without-junit
CONFIGURE_ARGS+= --without-krb5
diff --git a/misc/libreoffice/distinfo b/misc/libreoffice/distinfo
index de70f562eb6..c56cc742d11 100644
--- a/misc/libreoffice/distinfo
+++ b/misc/libreoffice/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.112 2021/04/05 10:17:21 ryoon Exp $
+$NetBSD: distinfo,v 1.113 2021/04/10 13:13:47 ryoon Exp $
SHA1 (libreoffice/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz) = 452eba922e4f41603539c9dc39947d2271e47093
RMD160 (libreoffice/0168229624cfac409e766913506961a8-ucpp-1.3.2.tar.gz) = dbeb7a7f8c89961ca2e544b810345d025561866b
@@ -246,7 +246,7 @@ SHA1 (patch-sal_osl_unx_system.hxx) = 478dd47dc512d283a554600951010bbaa10c2c0e
SHA1 (patch-sal_rtl_cipher.cxx) = e5e46d0b96e25572be86bf26f0053436859736cd
SHA1 (patch-sc_source_core_tool_math.cxx) = f288902962ad5d14dc766d1306d20c3122130cd6
SHA1 (patch-shell_source_unix_exec_shellexec.cxx) = 823069dbc63274f965f8a76b2e542a96329642f3
-SHA1 (patch-shell_source_unix_misc_senddoc.sh) = 5df842020a7021543f86e263e3ce2ce93af81b62
+SHA1 (patch-shell_source_unix_misc_senddoc.sh) = bd9916bf87a9db8098b432b792a72a23eb748efb
SHA1 (patch-slideshow_source_engine_box2dtools.cxx) = b59a872552754af29ce6208fd9dd3e25633c9fba
SHA1 (patch-solenv_gbuild_platform_NETBSD_AARCH64_GCC.mk) = eda8dbd0e9394b2dde2f98c0df39e7e9888f49dc
SHA1 (patch-store_source_storbase.hxx) = 69c58db3984f22de45c7e32fdfd4f7c28340adf1
diff --git a/misc/libreoffice/patches/patch-shell_source_unix_misc_senddoc.sh b/misc/libreoffice/patches/patch-shell_source_unix_misc_senddoc.sh
index af4172af2de..3d7cf8dbee7 100644
--- a/misc/libreoffice/patches/patch-shell_source_unix_misc_senddoc.sh
+++ b/misc/libreoffice/patches/patch-shell_source_unix_misc_senddoc.sh
@@ -1,4 +1,4 @@
-$NetBSD: patch-shell_source_unix_misc_senddoc.sh,v 1.1 2021/04/05 10:17:21 ryoon Exp $
+$NetBSD: patch-shell_source_unix_misc_senddoc.sh,v 1.2 2021/04/10 13:13:47 ryoon Exp $
* Fix xdg-open path. PR pkg/56092
https://bugs.documentfoundation.org/show_bug.cgi?id=108591
@@ -9,8 +9,8 @@ $NetBSD: patch-shell_source_unix_misc_senddoc.sh,v 1.1 2021/04/05 10:17:21 ryoon
MAILER=/usr/bin/kde-open
elif [ -x /usr/bin/xdg-open ] ; then
MAILER=/usr/bin/xdg-open
-+ elif type -p xdg-open >/dev/null 2>&1 ; then
-+ MAILER="$(type -p xdg-open)"
++ elif command -v xdg-open >/dev/null 2>&1 ; then
++ MAILER="$(command -v xdg-open)"
else
echo "Unsupported mail client: $(basename $MAILER | sed 's/-.*^//')"
exit 2