Compare commits

...

475 Commits
main ... 2020Q3

Author SHA1 Message Date
Christoph Moench-Tegeder c0d4489715 MFH: r550753
update firefox to 81.0.1 (rc1)

Release Notes (soon):
  https://www.mozilla.org/en-US/firefox/81.0.1/releasenotes/

Approved by:	portmgr (blanket: web browser)
2020-09-30 21:44:10 +00:00
Kirill Ponomarev 6b04a69ff1 MFH: r550466
dns/powerdns-recursor: update 4.3.3 -> 4.3.4

Improvements
- Ensure runtime dirs for virtual services differ.
  References: #9073, pull request 9397

Bug Fixes
- Allow some more depth headroom for the no-qname-minimization fallback case.
  References: #9375, pull request 9416
- Resize hostname to final size in getCarbonHostname().
  References: pull request 9367

PR:		249188
Submitted by:	Pascal Christen <pascal.christen@hostpoint.ch>
Reviewed by:	fernape
Approved by:	Ralf van der Enden <tremere@cainites.net> (maintainer)
Relnotes:	https://doc.powerdns.com/recursor/changelog/4.3.html#change-4.3.4

Approved by:	ports-secteam (blanket)
2020-09-30 07:50:54 +00:00
Kirill Ponomarev b21d2ec899 MFH: r550465
dns/powerdns: update 4.3.0 -> 4.3.1

Improvements:
- EL8 pkgs: Build mysql backend against mariadb-connector-c-devel
- gpgsql: Reintroduce prepared statements
- gsqlite3backend: add missing indexes
- use real remote for supermaster createSlaveDomain()
- Optimize IXFR-to-AXFR fallback path
- Install bind SQL schema files as part of bindbackend
- Do not send out of zone lookups to the backends

Bug Fixes:
- Raise an exception on invalid hex content in unknown records.
- Handle the extra single-row result set of MySQL stored procedures

PR:		249560
Submitted by:	Ralf van der Enden <tremere@cainites.net> (maintainer)
Security:	CVE-2020-17482
		https://doc.powerdns.com/authoritative/security-advisories/powerdns-advisory-2020-05.html
Relnotes:	https://doc.powerdns.com/authoritative/changelog/4.3.html#change-4.3.1

Approved by:	ports-secteam (blanket)
2020-09-30 07:49:07 +00:00
Danilo G. Baio 562d7e4f0a MFH: r550269
mail/pecl-mailparse: Update to 3.1.1

Changelog:	https://pecl.php.net/package-changelog.php?package=mailparse&release=3.1.1

Approved by:	ports-secteam (fluffy)
2020-09-27 22:16:26 +00:00
Thomas Zander 08398155c8 MFH: r542565
Fix build with multimedia/gpac-libgpac 1.0.0

PR:		248081
Submitted by:	riggs
Approved by:	koobs (maintainer)

Approved by:	ports-secteam (build fix blanket)
2020-09-27 13:10:29 +00:00
Niclas Zeising 72f7be018d MFH: r550179
x11/toolcits-pango: Actually apply security patch

Rename the patch that fixes CVE-2010-1010238 so that it is actually applied
when  building pango.
Regenerate it using make makepatch
bump portrevision

Reported by:	tobik
Security:	456375e1-cd09-11ea-9172-4c72b94353b5

Approved by:	ports-secteam (implicit, security fix)
2020-09-26 13:08:19 +00:00
Adriaan de Groot a6dee80daa MFH: r549922
emulators/virtualbox-ose-kmod: Fix a pair of VM bugs

- Use vm_pager_allocate() to allocate OBJT_PHYS objects.  This ensures
  that they're initialized properly.
- Don't assume that user wiring will succeed.

This had been a team effort, with multiple independent reports,
a wide variety of experiments, and patches written by kib@
and refined by markj@.

I'm bumping PORTREVISION and aligning the revision of both kmod and
application; it's possible the application bump isn't actually
needed but let's make sure they both get rebuilt with this
important (because of changed kernel assumptions) fix.

PR:		249326
Submitted by:	kib, markj
Reported by:	adridg, Rainer Hurling
Reviewed by:	adridg
Approved by:	koobs (vbox)

Approved by:	ports-secteam (fluffy)
2020-09-26 11:17:53 +00:00
Tobias C. Berner 4eabfd600d MFH: r550081
textproc/libxml2: Multiple vulnerabilities

Includes upstreams fixes for

	* CVE-2019-20388
	* CVE-2020-7595
	* CVE-2020-24977

PR:		249386
Submitted by:	daniel.engberg.lists@pyret.net

Approved by:	ports-secteam (fluffy)
2020-09-26 10:50:40 +00:00
Glen Barber 1e1a9399d0 MFH: r550099
Add MANIFESTs for 12.2-BETA3.
Prune MANIFESTS for 12.2-BETA2.

Approved by:	portmgr (implicit, re blanket)
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-09-26 01:05:44 +00:00
Fernando Apesteguía d1d2431b4b MFH: r550048
astro/wmglobe: fix 13-CURRENT build

Another instance of -fno-common issue.
Some minor build warnings fixed.

PR:	249389
Submitted by:	jd.fbsd@goneja.de (maintainer)

Approved by:	ports-secteam (blanket, runtime fix, -fno-common)
2020-09-25 15:24:42 +00:00
Jan Beich cb2a4eacc8 MFH: r550024
multimedia/libva: unbreak fetch

fetch: https://github.com/intel/libva/commit/f601fc614d8d.patch: size mismatch: expected 3148, actual 3150

--- 12525d4cd7c3.patch.old
+++ 12525d4cd7c3.patch
@@ -10,7 +10,7 @@ ld: error: unable to find library -ldl
  2 files changed, 10 insertions(+), 5 deletions(-)

 diff --git a/configure.ac b/configure.ac
-index acb4c79..a62f4fd 100644
+index acb4c799..a62f4fda 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -209,6 +209,11 @@ if test "$ac_cv_have_gnuc_visibility_attribute" = "yes"; then
@@ -26,7 +26,7 @@ index acb4c79..a62f4fd 100644
  ssp_cc=yes
  if test "X$CC-cc" != "X"; then
 diff --git a/va/Makefile.am b/va/Makefile.am
-index 6742177..6155895 100644
+index 67421775..6155895a 100644
 --- a/va/Makefile.am
 +++ b/va/Makefile.am
 @@ -92,7 +92,7 @@ libva_la_SOURCES		= $(libva_source_c)
--- 36f53f358a9c.patch.old
+++ 36f53f358a9c.patch
@@ -12,7 +12,7 @@ Subject: [PATCH] va/va: don't try to use RTLD_NODELETE
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/va/va.c b/va/va.c
-index 6230d7f..0c278f6 100644
+index 6230d7f9..0c278f67 100644
 --- a/va/va.c
 +++ b/va/va.c
 @@ -451,7 +451,7 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
--- 810d1974a54c.patch.old
+++ 810d1974a54c.patch
@@ -12,7 +12,7 @@ On DragonFly and FreeBSD config are installed to /usr/
  4 files changed, 7 insertions(+), 4 deletions(-)

 diff --git a/meson.build b/meson.build
-index aabae7b..41d338e 100644
+index aabae7b8..41d338ea 100644
 --- a/meson.build
 +++ b/meson.build
 @@ -63,6 +63,8 @@ libva_lt_version = '@0@.@1@.@2@'.format(libva_lt_current,
@@ -37,7 +37,7 @@ index aabae7b..41d338e 100644
    WITH_WAYLAND = wayland_dep.found()
  endif
 diff --git a/va/Makefile.am b/va/Makefile.am
-index c0b0cfd..6742177 100644
+index c0b0cfd3..67421775 100644
 --- a/va/Makefile.am
 +++ b/va/Makefile.am
 @@ -24,6 +24,7 @@ SUBDIRS =
@@ -49,7 +49,7 @@ index c0b0cfd..6742177 100644

  LDADD = \
 diff --git a/va/meson.build b/va/meson.build
-index 8c9d036..228489a 100644
+index 8c9d0362..228489a7 100644
 --- a/va/meson.build
 +++ b/va/meson.build
 @@ -62,7 +62,7 @@ libva = shared_library(
@@ -62,7 +62,7 @@ index 8c9d036..228489a 100644
    link_args : '-Wl,-version-script,' + libva_sym_path,
    link_depends : libva_sym,
 diff --git a/va/va.c b/va/va.c
-index 7f014a1..6230d7f 100644
+index 7f014a15..6230d7f9 100644
 --- a/va/va.c
 +++ b/va/va.c
 @@ -71,7 +71,7 @@ int va_parseConfig(char *env, char *env_value)
--- 853c679c628a.patch.old
+++ 853c679c628a.patch
@@ -14,7 +14,7 @@ sed: 1: "1i#include "sysdeps.h"
  1 file changed, 1 insertion(+), 1 deletion(-)

 diff --git a/va/wayland/Makefile.am b/va/wayland/Makefile.am
-index 705efa3..f48afb4 100644
+index 705efa3d..f48afb4d 100644
 --- a/va/wayland/Makefile.am
 +++ b/va/wayland/Makefile.am
 @@ -70,7 +70,7 @@ va_wayland_drm.c: $(protocol_source_h)
--- f601fc614d8d.patch.old
+++ f601fc614d8d.patch
@@ -20,7 +20,7 @@ Subject: [PATCH] va/va_trace: implement gettid() for B
  1 file changed, 34 insertions(+), 5 deletions(-)

 diff --git a/va/va_trace.c b/va/va_trace.c
-index d34fc40..8cdd27b 100755
+index d34fc405..8cdd27ba 100755
 --- a/va/va_trace.c
 +++ b/va/va_trace.c
 @@ -48,12 +48,41 @@

Approved by:	ports-secteam blanket
2020-09-25 12:50:39 +00:00
Yuri Victorovich 693f2c2763 MFH: r549974
biology/py-scikit-bio: Fix build on the i386 architecture

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-25 01:39:02 +00:00
Yuri Victorovich f3a6b7e8ca MFH: r549953
misc/vxl: Fix build on i386

On i386 architectures projects that need SSE2 have to explicitly enable it using -msse2.

Also fix WWW.

Approved by:	ports-secteam (fluffy)
2020-09-24 22:15:28 +00:00
Danilo G. Baio 3bc9b74974 MFH: r542025 r544404
Fix RUN_DEPENDS

- Bump PORTREVISION for dependency change

devel/py-importlib-metadata is not required for python 3.8+.

Update to 1.2.0

Changes:	https://github.com/matrix-org/python-canonicaljson/blob/master/CHANGES.md

MFH: r542200 (partial)
  Update Python requirements for security/py-signedjson (avoid break bulk -a)

PR:		249375
Approved by:	ports-secteam (fluffy)
2020-09-23 21:17:30 +00:00
Yuri Victorovich a2cc225b1d MFH: r549040 r549751
graphics/vv: Update 1.4.0-377 -> 1.4.0-383

graphics/vv: Fix build on some systems by adding the workaround for the bug in science/InsightToolkit

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-23 17:03:22 +00:00
Mathieu Arnold 6de023c4e8 MFH: r549731 r549732
Update to 9.11.23 & 9.16.7.

Changes:	https://downloads.isc.org/isc/bind9/9.11.23/RELEASE-NOTES-bind-9.11.23.html
Changes:	https://downloads.isc.org/isc/bind9/9.16.7/doc/arm/html/notes.html#notes-for-bind-9-16-7
2020-09-23 14:44:09 +00:00
Fernando Apesteguía 400dd65d7a MFH: r549712
misc/wmjulia fix 13-Current build

Another instance of -fno-common issue.

While here:

 * Add missig USE_XORG dependency
 * Reorganize WRKSRC so we don't generate weird patches
 * Pet linters

PR:	249462
Submitted by:	jd.fbsd@goneja.de

Approved by:	ports-secteam (blanket, runtime fix, -fno-common)
2020-09-23 12:14:29 +00:00
Yuri Victorovich 5813fcd1b3 MFH: r549652
misc/openmvg: Fix build by adding liblz4

For some reason lz4 symbols were missing during build.

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-23 05:48:24 +00:00
Yuri Victorovich c646c21ddb MFH: r549625
misc/glow: Fix build on 13

Add the workaround for a bug in Glow that it uses the default C++ compiler when the supplied LLVM version is different.

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-22 23:21:02 +00:00
Yuri Victorovich 4171d65e5c MFH: r549628
math/geogram: Fix build on 13

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-22 23:20:03 +00:00
Thomas Zander 472150afc0 MFH: r549639
Update to upstream version 0.21.26

Details:
Details:
- Bug fixes, see
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21.26/NEWS
- includes fix for potential crashes of bzip compressed files

Approved by:	ports-secteam (riggs)
2020-09-22 21:43:04 +00:00
Yuri Victorovich 566e4787fd MFH: r549539
audio/beatslash-lv2: Fix build on some systems

Waf warning about duplicately-installed files somehow caused failure to find some files later.
This commit adds the patch to prevent duplicate file installation. This fixes the warning and hopefully fixes poudriere build.
I couldn't reproduce this failure in my poudriere.

Also:
* Strip binarires
* Fix WWW

Approved by:	ports-secteam (fluffy)
2020-09-22 01:28:50 +00:00
Jan Beich e7b04b37f0 MFH: r549541
emulators/citra: update to s20200919

Changes:	df9e230d6...a576eb633
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-09-22 00:38:06 +00:00
Danilo G. Baio 1c3833cce3 MFH: r542468 r544604 r545291 r549046
net-im/py-matrix-synapse: update to 1.17.0

PR:		248016
Submitted by:	Sascha Biberhofer <ports@skyforge.at> (maintainer)

net-im/py-matrix-synapse: Update to 1.18.0

PR:		248566
Submitted by:	Sascha Biberhofer <ports@skyforge.at> (maintainer)

net-im/py-matrix-synapse: Update to 1.19.0

PR:		248719
Submitted by:	Sascha Biberhofer <ports@skyforge.at> (maintainer)

net-im/py-matrix-synapse: Update to 1.19.3

Changelog:	https://github.com/matrix-org/synapse/blob/v1.19.3/CHANGES.md

PR:		249375
Submitted by:	Sascha Biberhofer <ports@skyforge.at> (maintainer)
Event:		September 2020 Bugathon

Approved by:	ports-secteam (fluffy)
2020-09-21 22:36:34 +00:00
Yuri Victorovich 964bc1beaa MFH: r549527
audio/csound: Broken on 11 i386

Approved by:	ports-secteam (fluffy)
2020-09-21 22:21:21 +00:00
Yuri Victorovich 280dc881fa MFH: r549456
science/luscus: Fix build on 13

Add -fcommon

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-21 22:20:36 +00:00
Jan Beich 18757193f2 MFH: r548917
www/firefox: update to 81.0

Changes:	https://www.mozilla.org/firefox/81.0/releasenotes/
Approved by:	ports-secteam blanket
2020-09-21 19:05:20 +00:00
Bernard Spil a7cd174910 MFH: r545275
security/libressl: Update to 3.1.4

 * Interoperability and bug fixes (incl hang)

Approved by:	ports-secteam (joneum)
2020-09-21 17:53:02 +00:00
Bernard Spil 604c19b064 MFH: r542491 r546783 r548250
www/nextcloud: Update to 19.0.1

www/nextcloud: Update to 19.0.2

 * Remove no-op MEMCACHED option

www/nextcloud: Update to 19.0.3

Approved by:	ports-secteam (fluffy)
2020-09-21 17:50:21 +00:00
Matthias Andree 0b3e7594f8 MFH: r546739 r547549
mail/fetchmail: update to 6.4.12 (from 6.4.8)

(Note this isn't the usual MFH changelog as that doesn't make sense in this
particular case; head/ had some churn around a regression in 6.4.10 that
this MFH-of-two-changeset nicely skips over.)

Add: Romanian-language translation by Florentina Musat

Add: manual page now mentions that --sslfingerprint hash is of MD5 type.

Fix: README contained NEWS fragments (broken since c. 1 year/c. 6.4.2,
fixed in 6.4.12) instead of the actual contents.

Update: the > 2^31 "long long" local patch so it patches the right place of the
NEWS file.

PR:		248954
Approved by:	Corey Halpin (maintainer)

PR:		249009
Approved by:	Corey Halpin (maintainer)

Approved by:	ports-secteam@ (fluffy@)
2020-09-21 16:18:24 +00:00
Ganael LAPLANCHE d02295e72d MFH: r549433
Fix crash when accessing physical CD/DVD

PR:		248333
Reported by:	mfv@bway.net
Approved by:	koobs (vbox)

Approved by:	ports-secteam (fluffy)
2020-09-21 15:50:30 +00:00
Bradley T. Hughes 059b3562e7 MFH: r541224 r547569
Upgrade to v1.38.1.

Release notes at <https://github.com/libuv/libuv/releases/tag/v1.38.1>.

devel/libuv: Update 1.38.1 -> 1.39.0

Release notes at <https://github.com/libuv/libuv/releases/tag/v1.39.0>.

While here, take maintainership after an offer by thierry@, since this
is an important dependency for the Node.js ports.

Approved by:	thierry (maintainer)
Sponsored by:	Miles AS

Approved by:	ports-secteam (fluffy)
2020-09-21 09:52:26 +00:00
Yuri Victorovich fe1e6915d4 MFH: r549415
math/visualpolylib: Fix build on 13

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-21 03:45:27 +00:00
Yuri Victorovich 9c6507ca71 MFH: r549411
audio/stegosaurus-lv: Fix build on 13; GH account was renamed

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-21 02:22:43 +00:00
Yuri Victorovich fa00dbf52c MFH: r549409
science/xcrysden: Fix build on 13 by adding -fcommon

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-21 01:16:59 +00:00
Yuri Victorovich 5d018c8d46 MFH: r549405
misc/urbit: Fix build on 13 by adding -fcommon

Approved by:	ports-secteam (fluffy)
2020-09-21 00:35:27 +00:00
Yuri Victorovich ef1079fd52 MFH: r549404
science/chemtool: Fix build on 13 by adding -fcommon

Approved by:	ports-secteam (fluffy)
2020-09-21 00:33:00 +00:00
Yuri Victorovich c4c117dfab MFH: r549400
science/gabedit: Update 2.5.1-061218 -> 2.5.1-300720; Fix build on 13

Reported by:	fallout (breakage on 13)

Approved by:	ports-secteam (fluffy)
2020-09-21 00:32:05 +00:00
Yuri Victorovich 67921cf425 MFH: r549125
misc/mnn: Fix build on 13 by unbundling Flatbuffers

The bundled Flatbuffers was failing to build on 13 for some reason.

Reported by:	fallout

Approved by:	ports-secteam (joneum)
2020-09-20 21:07:56 +00:00
Yuri Victorovich ba36d24c52 MFH: r549089
audio/libaudec: Fix the i386 build by properly excluding tests from the build

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-20 16:50:16 +00:00
Yuri Victorovich 1353618573 MFH: r549081
games/wmtictactoe: Fix build with clang-11

PR:		249464
Submitted by:	jd.fbsd@goneja.de (initial version)

Approved by:	ports-secteam (fluffy)
2020-09-20 16:48:13 +00:00
Yuri Victorovich a210370526 MFH: r549056
science/py-pygmo2: Fix build thatwas failing because of the missing header

Approved by:	ports-secteam (fluffy)
2020-09-20 16:47:18 +00:00
Yuri Victorovich 484e0468b6 MFH: r549047
graphics/xournalpp: Update 1.0.18 -> 1.0.18.20200819; Fix build failure on 13-CURRENT with clang-11

Failure on 13: error: cannot initialize return object of type 'bool' with an rvalue of type 'nullptr_t'

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-20 16:46:17 +00:00
Yuri Victorovich f3b0b154dd MFH: r549049
audio/stegosaurus-lv2: Fix build on 13-CURRENT with clang-11

Symbol was defined in the header and included mutiple times.

Reported by:	fallout

Approved by:	ports-secteam (fluffy)
2020-09-20 16:44:43 +00:00
Rene Ladan 4749a5d08c MFH: r549048
audio/playumidi: update to version 0.8.3

This fixes the build on CURRENT after importing LLVM 11.

PR:		248848
Submitted by:	Koine Yuusuke (maintainer)
Event:		September 2020 Bugathon

Approved by:	ports-secteam (fluffy)
2020-09-20 13:52:47 +00:00
Rene Ladan 5dbcb34327 MFH: r548951
net/aslookup: unexpire by updating to 0.13d

- Various fixes are performed, by Chris, dinoex and myself.
- MASTER_SITES and WWW changed to a new home.
- AS queries are now ran against whois.epoch.net, the former server went
  offline.
- Hand over maintainership to Chris

PR:		246187
Submitted by:	Chris Hutchinson
Approved by:	previous maintainer

Approved by:	ports-secteam (fluffy)
2020-09-19 13:23:30 +00:00
Rene Ladan 810d8434b3 MFH: r548947
cad/openvsp: unexpire by allowing it to build on FreeBSD versions with PR 230888 fixed.

PR:		242229
Submitted by:	fernape@ (maintainer)
Approved by:	build fix blanket

Approved by:	ports-secteam (fluffy)
2020-09-19 13:21:44 +00:00
Dan Langille 2bbee4fd08 MFH: r546350
Update from 1.0.7 to 1.0.9.

<Security note>

Please consider updating brotli to version 1.0.9 (latest).

Version 1.0.9 contains a fix to "integer overflow" problem.  This
happens when "one-shot" decoding API is used (or input chunk for
streaming API is not limited), input size (chunk size) is larger
than 2GiB, and input contains uncompressed blocks. After the
overflow happens, `memcpy` is invoked with a gigantic `num`
value, that will likely cause the crash.

</Security note>

Approved by:	ports-secteam (fluffy)
2020-09-19 01:22:04 +00:00
Glen Barber 91c1e54aee MFH: r548923
Add MANIFEST files for 12.2-BETA2.
Prune files for 12.2-BETA1.

Approved by:	portmgr (implicit, re blanket)
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-09-18 22:18:45 +00:00
Bradley T. Hughes 8d29214ebe MFH: r541372 r543678 r543682 r545547 r545560 r547570 r548046 r548047 r548707 r548802
www/node: Update 14.4.0 -> 14.5.0

https://nodejs.org/en/blog/release/v14.5.0/

Refresh patches with `make makepatch`, and adapt them to the changes
from upstream due to the V8 upgrade.

Sponsored by:	Miles AS

www/node10: Update 10.21.0 -> 10.22.0

https://nodejs.org/en/blog/release/v10.22.0/

Sponsored by:	Miles AS

www/node: Update 14.6.0 -> 14.6.0_1

Bump PORTREVISION after updating the minimum version requirements for
libuv, libnghttp2, and libcares.

The previous change for www/node erroneously mentioned the most recent
www/node10 update. The correct changelog should have read:

www/node: Update 14.5.0 -> 14.6.0

https://nodejs.org/en/blog/release/v14.6.0/

Sponsored by:	Miles AS

www/node: Update 14.6.0_1 -> 14.7.0

https://nodejs.org/en/blog/release/v14.7.0/

Sponsored by:	Miles AS

www/node: Update 14.7.0 -> 14.8.0

https://nodejs.org/en/blog/release/v14.8.0/

Sponsored by:	Miles AS

www/node: Update 14.8.0 -> 14.9.0

https://nodejs.org/en/blog/release/v14.9.0/

Sponsored by:	Miles AS

www/node: Update 14.9.0 -> 14.10.0

https://nodejs.org/en/blog/release/v14.10.0/

While here, refresh patches with `make makepatch`.

Sponsored by:	Miles AS

www/node: add dependency on archivers/brotli

... instead of building the version bundled with Node.js. Bump
PORTREVISION due to the new dependency.

Sponsored by:	Miles AS

www/node: Update 14.10.0_1 -> 14.10.1

https://nodejs.org/en/blog/release/v14.10.1/

Sponsored by:	Miles AS

www/node: Update 14.10.1 -> 14.11.0

https://nodejs.org/en/blog/release/v14.11.0/

This is a security release. See
https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/

Security:	4ca5894c-f7f1-11ea-8ff8-0022489ad614
Sponsored by:	Miles AS

Approved by:	ports-secteam (fluffy)
2020-09-18 04:50:56 +00:00
Bradley T. Hughes 889d5f43d9 MFH: r541210 r543679 r548801
www/node12: fix runtime on powerpc64 elfv1, build / runtime on powerpc64 elfv2

Patches are backported from www/node and changed where necessary.

PR:             247433
Approved by:    bhughes (maintainer timeout)

www/node12: Update 12.18.2_1 -> 12.18.3

https://nodejs.org/en/blog/release/v12.18.3/

Sponsored by:	Miles AS

www/node12: Update 12.18.3 -> 12.18.4

https://nodejs.org/en/blog/release/v12.18.4/

This is a security release. See
https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/

Security:	4ca5894c-f7f1-11ea-8ff8-0022489ad614
Sponsored by:	Miles AS

Approved by:	ports-secteam (fluffy)
2020-09-18 04:43:56 +00:00
Bradley T. Hughes 3bb7e23907 MFH: r543680 r548800
www/node10: Update 10.21.0 -> 10.22.0

https://nodejs.org/en/blog/release/v10.22.0/

Sponsored by:	Miles AS

www/node10: Update 10.22.0 -> 10.22.1

https://nodejs.org/en/blog/release/v10.22.1/

This is a security release. See
https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/

Security:	4ca5894c-f7f1-11ea-8ff8-0022489ad614
Sponsored by:	Miles AS

Approved by:	ports-secteam (fluffy)
2020-09-18 04:39:41 +00:00
Jan Beich dabbe4839d MFH: r542913
x11/wev: backport memory leaking fix

Approved by:	ports-secteam blanket (reliability fixes)
2020-09-17 00:26:56 +00:00
Yuri Victorovich 28af89576e MFH: r548737
security/tor: Update 0.4.3.6 -> 0.4.4.5

Changelog: https://gitweb.torproject.org/tor.git/tree/ReleaseNotes?h=tor-0.4.4.5

Approved by:	ports-secteam
2020-09-16 01:35:43 +00:00
Li-Wen Hsu 3325f6f116 MFH: r548705
www/typo3-10: Update to 10.4.7

These versions are maintenance releases and contain bug fixes only.

For details about the releases, please see:

https://get.typo3.org/release-notes/10.4.7

PR:		249313
Submitted by:	Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer)

Approved by:	ports-secteam (fluffy)
2020-09-15 12:56:54 +00:00
Li-Wen Hsu 002a522dbe MFH: r548704
www/typo3-9: Update to 9.5.21

These versions are maintenance releases and contain bug fixes only.

For details about the releases, please see:

https://get.typo3.org/release-notes/9.5.21

PR:		249314
Submitted by:	Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer)
MFC after:	2 weeks

Approved by:	ports-secteam (fluffy)
2020-09-15 12:56:24 +00:00
Mikael Urankar 7ab3499976 MFH: r548091
security/nss: fix build on aarch64

Import upstream patch from https://bugzilla.mozilla.org/show_bug.cgi?id=1659256

PR:		249053
Reported by:	garga@
Approved by:	jbeich@

Approved by:	ports-secteam (joneum)
2020-09-14 17:04:03 +00:00
Fukang Chen 7f924e5d0d MFH: r548445
shells/zsh: Fix build with devel/ncurses 6.2

When devel/ncurses is installed in the system, the Zsh configure script
detects and uses ${LOCALBASE}/include/ncurses/ncurses.h instead.

The patch is obtained from this commit:
c6a8516361/

cc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I. -I/usr/local/include -DBOOL_DEFINED -DLIBICONV_PLUG -DHAVE_CONFIG_H -DMODULE -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fPIC -o curses..o curses.c
In file included from curses.c:210:
./curses_keys.h:93:15: error: use of undeclared identifier 'KEY_EVENT'
    {"EVENT", KEY_EVENT},
              ^
1 error generated.
*** Error code 1

Reviewed by:	koobs
Approved by:	koobs (ports, mentor)
Differential Revision:	https://reviews.freebsd.org/D26355

Approved by:	ports-secteam (fluffy)
2020-09-14 05:52:53 +00:00
Danilo G. Baio 8e45048881 MFH: r548424
www/py-webargs: Update to 6.1.1

Changelog:	https://github.com/marshmallow-code/webargs/blob/dev/CHANGELOG.rst#611-2020-09-08

PR:		249220
Submitted by:	Goran Mekic <meka@tilda.center> (maintainer)

Approved by:	ports-secteam (blanket: bugfix release)
2020-09-12 22:10:06 +00:00
Sunpoet Po-Chuan Hsieh 5cf9456670 MFH: r548374 r548375
Update to 2.0.20

Changes:	https://github.com/jasper-software/jasper/blob/master/NEWS
PR:		248912
Exp-run by:	antoine
Security:	6842ac7e-d250-11ea-b9b7-08002728f74c

Fix build with jasper 2.0.20

Approved by:	ports-secteam (joneum)
2020-09-12 21:19:44 +00:00
Sunpoet Po-Chuan Hsieh 19894276fc MFH: r548340 r548341 r548342 r548343 r548344 r548345 r548346 r548347 r548348 r548349 r548350 r548351 r548352
Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/activemodel/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/activerecord/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/actionview/CHANGELOG.md
Security:	7b630362-f468-11ea-a96c-08002728f74c

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/activejob/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/activesupport/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/actionmailbox/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/actionmailer/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/activestorage/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/actiontext/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/actioncable/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/actionpack/CHANGELOG.md

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/releases

Update to 6.0.3.3

Changes:	https://github.com/rails/rails/blob/6-0-stable/railties/CHANGELOG.md

Approved by:	ports-secteam (fluffy)
2020-09-12 21:10:33 +00:00
Sunpoet Po-Chuan Hsieh bf073befbf MFH: r548329 r548330 r548331 r548332 r548333 r548334 r548335 r548336 r548337 r548338 r548339 r548353
Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/activemodel/CHANGELOG.md

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/activerecord/CHANGELOG.md

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/actionview/CHANGELOG.md
Security:	7b630362-f468-11ea-a96c-08002728f74c

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/activejob/CHANGELOG.md

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/activesupport/CHANGELOG.md

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/actionmailer/CHANGELOG.md

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/activestorage/CHANGELOG.md

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/actioncable/CHANGELOG.md

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/actionpack/CHANGELOG.md

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/releases

Update to 5.2.4.4

Changes:	https://github.com/rails/rails/blob/5-2-stable/railties/CHANGELOG.md

Fix Gemfile for rubygem-rails52 5.2.4.4 update

- Update RUN_DEPENDS to match Gemfile
- Bump PORTREVISION for package change

Approved by:	ports-secteam (fluffy)
2020-09-12 21:03:18 +00:00
Glen Barber 78ff3259b9 MFH: r548388
Add MANIFEST files for 12.2-BETA1.

Approved by:	portmgr (implicit, re blanket)
Sponsored by:	Rubicon Communications, LLC (netgate.com)
2020-09-12 18:02:51 +00:00
Danilo G. Baio 719501de98 MFH: r548376
net/pecl-oauth2: Update to 2.0.6

Changelog:	https://pecl.php.net/package-changelog.php?package=oauth&release=2.0.6

Approved by:	ports-secteam (blanket: bugfix release)
2020-09-12 15:18:45 +00:00
Li-Wen Hsu daa28bcff5 MFH: r548286
lang/python35: Update to 3.5.10

ChangeLog: https://docs.python.org/3.5/whatsnew/changelog.html#python-3-5-10

PR:		249187

Approved by:	ports-secteam (joneum)
2020-09-12 07:13:45 +00:00
Danilo G. Baio 77d69ef232 MFH: r548276
security/py-bcrypt: Fix runtime dependencies

PR:		249235
Reported by:	Andrew Fyfe <andrew@neptune-one.net>

Approved by:	ports-secteam (blanket: runtime fix)
2020-09-12 01:59:18 +00:00
Jan Beich 4f3cd830ac MFH: r548270
emulators/citra: update to s20200910

Changes:	6a77547bd...df9e230d6
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-09-12 00:42:51 +00:00
Jan Beich 537d891731 MFH: r548266
www/firefox: fix tab crashing when not using pulseaudio

Submitted by:	Ka Ho Ng
Approved by:	ports-secteam blanket
Differential Revision:	https://reviews.freebsd.org/D26303
2020-09-12 00:42:21 +00:00
Craig Leres 52bd660ad2 MFH: r548170
security/zeek: Update to 3.0.10 to fix memory leaks and potential DOS:

    https://github.com/zeek/zeek/releases/tag/v3.0.10

 - Fix memory leak caused by re-entering AYIYA parsing

 - Fix memory leak caused by re-entering GTPv1 parsing

Other fixes:

 - Fix Input Framework 'change' events for 'set' destinations

 - Fix reported body-length of HTTP messages w/ sub-entities

Reported by:	Jon Siwek
Security:	2c92fdd3-896c-4a5a-a0d8-52acee69182d

Approved by:	ports-secteam (joneum)
2020-09-11 18:08:11 +00:00
Dmitri Goutnik ed3606ce59 lang/go: Update to 1.14.9
Changes:	https://golang.org/doc/devel/release.html#go1.14.minor
Approved by:	ports-secteam (joneum)
2020-09-11 12:25:30 +00:00
Li-Wen Hsu 597a043f20 MFH: r548228
net-im/tut: Update to 0.0.17

Changelog: https://github.com/RasmusLindroth/tut/releases/0.0.17

PR:		249243
Submitted by:	Lewis Cook <vulcan@wired.sh> (maintainer)

Approved by:	ports-secteam (joneum)
2020-09-11 12:11:34 +00:00
Thomas Zander 356ec6ef73 MFH: r548196
Update to upstream release 1.0.29

PR:		248665
Submitted by:	daniel.engberg.lists@pyret.net
Reviewed by:	tcberner

Approved by:	ports-secteam (riggs)
2020-09-10 10:51:40 +00:00
Dima Panov 3222dbf80c MFH: r548081
mail/exim: import exim-4.94+fixes branch as state of 2020.09.09

Used git diffs:

[27/37] Fix spelling of local_part_data in docs and debug output
[28/37] Fix ${readsocket } eol-replacement.  Bug 2630
[29/37] Taint: fix off-by-one in is_tainted().  Bug 2634
[30/37] Build: ifdef guard for EXPERIMENTAL_QUEUEFILE
[31/37] Taint: fix off-by-one in is_tainted().  Bug 2634
[32/37] DANE: force SNI to use $domain.  Bug 2265
[33/37] DANE: Fix 2-rcpt message, diff domins case.  Bug 2265
[34/37] Fix non-DANE build
[35/37] DANE: Fix 2 messages from queue case
[36/37] Fix non-DANE build

While here, make SPF option turned on by default

Approved by:	ports-secteam (joneum)
2020-09-10 07:46:41 +00:00
Fernando Apesteguía da65b395d1 MFH: r548072
security/snort2pfcd: Update to 2.9

Fixes -fno-common problem.

PR:	249122
Submitted by:	onestsam@gmail.com (maintainer)

Approved by:	ports-secteam (blanket, build fix, -fno-common)
2020-09-09 09:20:45 +00:00
Fernando Apesteguía 93b92ef4fb MFH: r548068
net/enet: update to 1.3.16

From ChangeLog: https://github.com/lsalzman/enet/blob/master/ChangeLog

 * fix bug in unreliable fragment queuing
 * use single output queue for reliable and unreliable packets for saner
   ordering
 * revert experimental throttle changes that were less stable than prior
   algorithm

Reported by:	portscout

Approved by:	ports-secteam (blanket, runtime fix)
2020-09-09 08:10:56 +00:00
Jan Beich 6cfabef4c1 MFH: r547978
x11-wm/picom: update to v8.1

Changes:	https://github.com/yshui/picom/releases/v8.1
Reported by:	GitHub (watch releases)
Approved by:	ports-secteam (joneum)
2020-09-09 01:32:25 +00:00
Danilo G. Baio fc7807a243 MFH: r548051
textproc/py-texttable: Update to 1.6.3

Changelog:	https://raw.githubusercontent.com/foutaise/texttable/v1.6.3/CHANGELOG.md

Approved by:	ports-secteam (blanket, bugfix release)
2020-09-08 23:20:01 +00:00
Torsten Zuehlsdorff d5966b01cb MFH: r547952
lang/php74: Upgrade from 7.4.9 to 7.4.10

Changelog:

    Core:
        Fixed bug #79884 (PHP_CONFIG_FILE_PATH is meaningless).
        Fixed bug #77932 (File extensions are case-sensitive).
        Fixed bug #79806 (realpath() erroneously resolves link to link).
        Fixed bug #79895 (PHP_CHECK_GCC_ARG does not allow flags with equal sign).
        Fixed bug #79919 (Stack use-after-scope in define()).
        Fixed bug #79934 (CRLF-only line in heredoc causes parsing error).
        Fixed bug #79947 (Memory leak on invalid offset type in compound assignment).
    COM:
        Fixed bug #48585 (com_load_typelib holds reference, fails on second call).
    Exif:
        Fixed bug #75785 (Many errors from exif_read_data).
    Gettext:
        Fixed bug #70574 (Tests fail due to relying on Linux fallback behavior for gettext()).
    LDAP:
        Fixed memory leaks.
    OPcache:
        Fixed bug #73060 (php failed with error after temp folder cleaned up).
        Fixed bug #79917 (File cache segfault with a static variable in inherited method).
    PDO:
        Fixed bug #64705 (errorInfo property of PDOException is null when PDO::__construct() fails).
    Session:
        Fixed bug #79724 (Return type does not match in ext/session/mod_mm.c).
    Standard:
        Fixed bug #79930 (array_merge_recursive() crashes when called with array with single reference).
        Fixed bug #79944 (getmxrr always returns true on Alpine linux).
        Fixed bug #79951 (Memory leak in str_replace of empty string).
    XML:
        Fixed bug #79922 (Crash after multiple calls to xml_parser_free()).

Sponsored by:	Bounce Experts

Approved by:	ports-secteam (joneum, implicit for PHP Updates)
2020-09-08 23:06:55 +00:00
Torsten Zuehlsdorff 2340b752a5 MFH: r547951
lang/php73: Upgrade from 7.3.21 to 7.3.22

Changelog:

    Core:
        Fixed bug #79884 (PHP_CONFIG_FILE_PATH is meaningless).
        Fixed bug #77932 (File extensions are case-sensitive).
        Fixed bug #79806 (realpath() erroneously resolves link to link).
        Fixed bug #79895 (PHP_CHECK_GCC_ARG does not allow flags with equal sign).
        Fixed bug #79919 (Stack use-after-scope in define()).
        Fixed bug #79934 (CRLF-only line in heredoc causes parsing error).
    COM:
        Fixed bug #48585 (com_load_typelib holds reference, fails on second call).
    Exif:
        Fixed bug #75785 (Many errors from exif_read_data).
    Gettext:
        Fixed bug #70574 (Tests fail due to relying on Linux fallback behavior for gettext()).
    LDAP:
        Fixed memory leaks.
    OPcache:
        Fixed bug #73060 (php failed with error after temp folder cleaned up).
    PDO:
        Fixed bug #64705 (errorInfo property of PDOException is null when PDO::__construct() fails).
    Standard:
        Fixed bug #79930 (array_merge_recursive() crashes when called with array with single reference).
        Fixed bug #79944 (getmxrr always returns true on Alpine linux).
        Fixed bug #79951 (Memory leak in str_replace of empty string).
    XML:
        Fixed bug #79922 (Crash after multiple calls to xml_parser_free()).

Sponsored by:	Bounce Experts

Approved by:	ports-secteam (joneum, implicit for PHP Updates)
2020-09-08 23:05:21 +00:00
Tijl Coosemans 45f955dc6e MFH: r547783
Update to 2.16.8.

Security:	https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-1
Security:	https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-2
Approved by:	ports-secteam (joneum)
2020-09-08 18:34:37 +00:00
Tijl Coosemans 175a03c485 MFH: r547781
Update to 3.6.15.

PR:		249190
Security:	https://gnutls.org/security-new.html#GNUTLS-SA-2020-09-04
Approved by:	ports-secteam (joneum)
2020-09-08 18:33:33 +00:00
Sunpoet Po-Chuan Hsieh 16a7b17d7c MFH: r547756
Update to 3.0.10

Changes:	https://docs.djangoproject.com/en/3.0/releases/
Security:	002432c8-ef6a-11ea-ba8f-08002728f74c

Approved by:	ports-secteam (joneum)
2020-09-08 18:03:44 +00:00
Sunpoet Po-Chuan Hsieh febf8b3c4c MFH: r547755
Update to 2.2.16

Changes:	https://docs.djangoproject.com/en/2.2/releases/
Security:	002432c8-ef6a-11ea-ba8f-08002728f74c

Approved by:	ports-secteam (joneum)
2020-09-08 18:02:45 +00:00
Thomas Zander 8138d3ed03 MFH: r547999
Update to upstream version 50.0.0

Details:
- New features and bugfixes, see
  https://mkvtoolnix.download/doc/NEWS.md

Approved by:	ports-secteam (riggs)
2020-09-08 17:26:16 +00:00
Jung-uk Kim 20e0228ae5 MFH: r547990
Update to 32.0.0.433.

Approved by:	ports-secteam (blanket, fetch failure)
2020-09-08 15:34:39 +00:00
Joseph Mingrone 253595f522 MFH: r543896 r544918
- Update to git snapshot fbe363f
- Explicitly disable selinux, and libsystemd configure flags

- Update to git snapshot f712cdb

Approved by:	ports-secteam (blanket, build fix)
2020-09-08 11:50:59 +00:00
Xin LI 06884a2287 MFH: r545507, r546343, r546946, r547867:
net/mpd5: import r2272 from upstream
net/mpd5: improve logging in rare case of libpdel failure.
net/mpd5: remove required_files from startup script
net/mpd5: update to version 5.9

Approved by:	ports-secteam
Security:	CVE-2020-7465, CVE-2020-7466
2020-09-07 18:08:32 +00:00
Li-Wen Hsu 22d9b1f92f MFH: r547855
Correct COMMENT of devel/*-{eabi,elf}-gcc

Approved by:	manu (maintainer)
Differential Revision:	https://reviews.freebsd.org/D26338

Approved by:	portmgr (blanket: metadata sync)
2020-09-06 16:05:53 +00:00
Thomas Zander a8971e7791 MFH: r547594
Update to upstream release 1.7.26

Details:
- Bug- and doc fixes, see
  https://github.com/containous/traefik/releases/tag/v1.7.26

Approved by:	ports-secteam(riggs)
2020-09-05 06:31:56 +00:00
Matthias Andree 6dbdf30a4d MFH: r547547
converters/recode: fix info file, add LICENCE, quiet portlint/portclippy

This has been broken for almost 10 months, and again 3 months of silence
from the maintainer, so let me step in to just fix it for the nonce.

- Add LICENSE=GPLv2+
- Add USES=makeinfo to fix .info file in clean-room builds (poudriere) [1]
- Reshuffle a few lines to please portclippy and portlint
- Bump PORTREVISION to flush out the broken packages and force rebuild

- Add DISABLED example to strip library in order to also please
  stage-qa with DEVELOPER=yes (would require maintainer approval),
  in post-install (just remove @: and the comment line to enable).

PR:		241879 [1]
Submitted by:	Victor Sudakov <vas@sibptus.ru> [1]
Approved by:	portmgr@ (blanket, see next line)
Approved by:	ports-secteam@ (blanket: add dependency to fix broken .info, add LICENSE, fix portlint/portclippy issues)
2020-09-04 15:59:35 +00:00
Fernando Apesteguía a9a5515693 MFH: r547530
biology/mapm3: Fix build with llvm11, gcc10

Another instance of -fno-common issue.

While here:

 * strip executables
 * add license

PR:	249077
Submitted by:	tphilipp@potion-studios.com (maintainer)

Approved by:	ports-secteam (blanket, build fix, -fno-common)
2020-09-04 11:30:40 +00:00
Tobias Kortkamp 3c32370ab3 MFH: r547519
sysutils/runit-faster: Update to 2.1.3.7

Changes:	https://github.com/t6/freebsd-runit/releases/tag/v2.1.3.7

Approved by:	ports-secteam blanket
2020-09-04 10:05:13 +00:00
Adam Weinberger 127f603f0c MFH: r541749 r546681 r547499
Approved by:	portmgr (with hat)

gnupg: Update to 2.2.21

 * gpg: Improve symmetric decryption speed by about 25%.
   See commit 144b95cc9d.

 * gpg: Support decryption of AEAD encrypted data packets.

 * gpg: Add option --no-include-key-block. [#4856]

 * gpg: Allow for extra padding in ECDH.  [#4908]

 * gpg: Only a single pinentry is shown for symmetric encryption if
   the pinentry supports this.  [#4971]

 * gpg: Print a note if no keys are given to --delete-key.  [#4959]

 * gpg,gpgsm: The ridiculous passphrase quality bar is not anymore
   shown.  [#2103]

 * gpgsm: Certificates without a CRL distribution point are now
   considered valid without looking up a CRL.  The new option
   --enable-issuer-based-crl-check can be used to revert to the
   former behaviour.

 * gpgsm: Support rsaPSS signature verification.  [#4538]

 * gpgsm: Unless CRL checking is disabled lookup a missing issuer
   certificate using the certificate's authorityInfoAccess.  [#4898]

 * gpgsm: Print the certificate's serial number also in decimal
   notation.

 * gpgsm: Fix possible NULL-deref in messages of --gen-key.  [#4895]

 * scd: Support the CardOS 5 based D-Trust Card 3.1.

 * dirmngr: Allow http URLs with "LOOKUP --url".

 * wkd: Take name of sendmail from configure.  Fixes an OpenBSD
   specific bug.  [#4886]

 Release-info: https://dev.gnupg.org/T4897

security/gnupg: Update to 2.2.22

Also, sort plist. The new gpgsplit binary is getting installed as
gpgsplit2 to avoid a conflict with security/gnupg1.

Noteworthy changes in version 2.2.22
====================================

  * gpg: Change the default key algorithm to rsa3072.

  * gpg: Add regular expression support for Trust Signatures on all
    platforms.  [#4843]

  * gpg: Fix regression in 2.2.21 with non-default --passphrase-repeat
    option.  [#4991]

  * gpg: Ignore --personal-digest-prefs for ECDSA keys.  [#5021]

  * gpgsm: Make rsaPSS a de-vs compliant scheme.

  * gpgsm: Show also the SHA256 fingerprint in key listings.

  * gpgsm: Do not require a default keyring for --gpgconf-list.  [#4867]

  * gpg-agent: Default to extended key format and record the creation
    time of keys.  Add new option --disable-extended-key-format.

  * gpg-agent: Support the WAYLAND_DISPLAY envvar.  [#5016]

  * gpg-agent: Allow using --gpgconf-list even if HOME does not
    exist.  [#4866]

  * gpg-agent: Make the Pinentry work even if the envvar TERM is set
    to the empty string.  [#4137]

  * scdaemon: Add a workaround for Gnuk tokens <= 2.15 which wrongly
    incremented the error counter when using the "verify" command of
    "gpg --edit-key" with only the signature key being present.

  * dirmngr: Better handle systems with disabled IPv6.  [#4977]

  * gpgpslit: Install tool.  It was not installed in the past to avoid
    conflicts with the version installed by GnuPG 1.4.  [#5023]
    (We're installing it as gpgsplit2 to avoid conflict with security/gnupg1)

  * gpgtar: Handle Unicode file names on Windows correctly (requires
    libgpg-error 1.39).  [#4083]

  * gpgtar: Make --files-from and --null work as documented.  [#5027]

  * Build the Windows installer with the new Ntbtls 0.2.0 so that TLS
    connections succeed for servers demanding GCM.

  Release-info: https://dev.gnupg.org/T5030

security/gnupg: Update to 2.2.23

Importing an OpenPGP key having a preference list for AEAD algorithms
will lead to an array overflow and thus often to a crash or other
undefined behaviour.

Importing an arbitrary key can often easily be triggered by an attacker
and thus triggering this bug.  Exploiting the bug aside from crashes is
not trivial but likely possible for a dedicated attacker.  The major
hurdle for an attacker is that only every second byte is under their
control with every first byte having a fixed value of 0x04.

Software distribution verification should not be affected by this bug
because such a system uses a curated list of keys.

Security:	CVE-2020-25125
2020-09-04 02:20:42 +00:00
Mark Linimon f1362cbd80 MFH: r542727
audio/bjumblr-lv2: fix build on GCC architectures

Require C++11 compiler because of -std=c++11.

Include climits in FileChooser.hpp because of INT64_MAX (GCC doesn't do that by default).

PR:		248134
Approved by:	portmgr (blanket: build fix)
2020-09-04 01:25:25 +00:00
Piotr Kubaj ab7af76236 MFH: r547488
net-mgmt/fastnetmon: unbreak on powerpc64, others non-x86 need testing

LuaJIT is not available on powerpc64.

Approved by:	portmgr (fix build blanket)
2020-09-03 22:34:38 +00:00
Jochen Neumeister e92033371a MFH: r546322
databases/mysql57-server: fix build on current (temporary fix)

- add temporary work around to use llvm from ports on recent currents

Approved by:	ports-secteam (with hat)
2020-09-03 18:55:45 +00:00
Jochen Neumeister c188b0339e MFH: r547473
fix build on current
- add temporary work around to use llvm from ports on recent currents

Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-09-03 18:54:05 +00:00
Joseph Mingrone 6e4934e7dc MFH: r547299
Update to 20200901 master-branch commit, 2e3ec40

Approved by:	ports-secteam (blanket, build fix)
2020-09-03 18:42:30 +00:00
Piotr Kubaj 3ec7dc7a95 MFH: r547453
deskutils/xfce4-generic-slider: fix build on GCC architectures

Use C11 compiler:
/usr/local/include/xfce4/libxfce4util/xfce-kiosk.h:37: error: redefinition of typedef 'XfceKiosk'
/usr/local/include/xfce4/libxfce4util/xfce-kiosk.h:35: error: previous declaration of 'XfceKiosk' was here

Approved by:	portmgr (fix build blanket)
2020-09-03 14:04:26 +00:00
Li-Wen Hsu f2f174637c MFH: r547413
mail/postfinger: Fix fetch and add license information

PR:		248983
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org>
Approved by:	Andrew J. Caines <A.J.Caines@halplant.com>

Approved by:	portmgr (blanket: fix fetch and sync metadata)
2020-09-03 05:40:36 +00:00
Loïc Bartoletti 2f0cec94ef MFH: r546879
databases/grass7: fix build on 11i386

When I added the option for compiling with openmp, like other ports, I don't use compiler:openmp but directly the default compiler because it works just as well. However, on FreeBSD 11, grass only builds well with LLVM90.

While I'm here I added with-proj-[includes|libs] to be more thorough

Approved by:	tcberner
Differential Revision:	https://reviews.freebsd.org/D25712

Approved by:	ports-secteam (joneum)
2020-09-03 04:23:44 +00:00
Li-Wen Hsu d47e1c8ea5 MFH: r547405
Add WWW

Approved by:	portmgr (blanket: metadata sync)
2020-09-03 03:32:08 +00:00
Jan Beich 6b785d98a7 MFH: r547395
emulators/citra: update to s20200902

Changes:	f4be73335...6a77547bd
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-09-03 00:58:13 +00:00
Fernando Apesteguía e2b0c0d455 MFH: r547351
x11-clocks/wmbinclock: fix build in current

Another case of -fno-common issue.

While here, add a couple of missing xorg modules and remove a noop REINPLACE_CMD

PR:	249048
Submitted by:	logix@foobar.franken.de

Approved by:	ports-secteam (blanket, build fix, -fno-common)
2020-09-02 10:12:23 +00:00
Fernando Apesteguía d3fd134e56 MFH: r547345
security/snuffleupagus: update to 0.5.1, build fix

From ChangeLog: https://github.com/jvoisin/snuffleupagus/releases/tag/v0.5.1

 * Add support for syslog
 * Improve OSX support
 * Improve marginally of php8+ compatibility
 * Improve php7.4 compatibility
 * Improve the default ruleset
 * Improve the documentation
 * Improve the gitlab CI

Includes build fix for -fno-common issue.

Pet linters.

PR:	248974
Submitted by:	franco@opnsense.org (maintainer)

Approved by:	ports-secteam (blanket, build fix, -fno-common)
2020-09-02 09:11:37 +00:00
Fernando Apesteguía 62dd83e740 MFH: r547338
devel/xboard: fix build in 13-current

Another case of -fno-common
This fixes the slave port devel/xboard-devel too.

While here, add missing USE_XORG modules.

PR:	248984
Reported by:	kalten@gmx.at

Approved by:	ports-secteam (blanket, build fix, -fno-common)
2020-09-02 08:08:51 +00:00
Fernando Apesteguía 4986ec323a MFH: r547332
ftp/tnftpd: update to 20200704

Includes fix for clang11 -fno-common issue
While here, pet linters.

PR:	248831
Submitted by:	cejkar@fit.vutbr.cz (maintainer)

Approved by:	ports-secteam (blanket, build fix -fno-common)
2020-09-02 06:45:22 +00:00
Kurt Jaeger 90083a054b MFH: r547191
www/squid: update 4.12 -> 4.13

- https://lists.freebsd.org/pipermail/freebsd-ports/2020-August/119290.html
  mentions security issues, but no CVEs

PR:		248856
Submitted by:	Pavel Timofeev <timp87@gmail.com> (maintainer)
Relnotes:	http://www.squid-cache.org/Versions/v4/changesets/
Security:	probably
Approved by:	portmgr (joneum)
2020-09-02 04:33:57 +00:00
Dmitri Goutnik 987a59758a lang/go: Update to 1.14.8
Changes:	https://golang.org/doc/devel/release.html#go1.14.minor
Security:	67b050ae-ec82-11ea-9071-10c37b4ac2ea
Approved by:	ports-secteam (joneum)
2020-09-01 20:58:05 +00:00
Fernando Apesteguía f824567c94 MFH: r547282
lang/libobjc2: Fix build in 11.3

We need -lm in order to use the ceilf function.

PR:	249046
Reported by:	brad@facefault.org

Approved by:	ports-secteam (blanket, runtime fix)
2020-09-01 16:51:58 +00:00
Danilo G. Baio 9343b63496 MFH: r547261
net-mgmt/zabbix4-*: Update to 4.0.24

Changelog:	https://www.zabbix.com/rn/rn4.0.23
		https://www.zabbix.com/rn/rn4.0.24

PR:		249020
Approved by:	Pakhom Golynga <pg@pakhom.spb.ru> (maintainer)

Approved by:	ports-secteam (blanket, bugfix release)
2020-09-01 10:37:10 +00:00
Piotr Kubaj 8972ea46a0 MFH: r547259
net/intel-ixl-kmod: fix build of slave ports

Use PATCH* block to already existing if for the master port.

Approved by:	portmgr (fix build blanket)
2020-09-01 10:33:31 +00:00
Olli Hauer 66d86855dc MFH: r547158
- update to 3.5.7

Approved by:	portmgr (blanket)
2020-09-01 04:05:22 +00:00
Jan Beich caeaca3da3 MFH: r547224
emulators/citra: update to s20200831

Changes:	4135a12cb...f4be73335
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-09-01 01:35:38 +00:00
Jan Beich 2edfff1154 MFH: r547221
www/firefox: update to 80.0.1

Changes:	https://www.mozilla.org/firefox/80.0.1/releasenotes/
Approved by:	ports-secteam blanket
2020-09-01 01:27:11 +00:00
Piotr Kubaj cc5a506e51 MFH: r547140
databases/mysqlwsrep57-server: fix build on powerpc64

Use the same fix that mysql57-server needs for building with GCC.

Approved by:	portmgr (fix build blanket)
2020-08-31 01:27:25 +00:00
Danilo G. Baio fe95bb5118 MFH: r547129
net-mgmt/zabbix5-*: Update to 5.0.3

Changelog:	https://www.zabbix.com/rn/rn5.0.3

PR:		248978
Submitted by:	Juraj Lutter <juraj@lutter.sk>
Approved by:	Pakhom Golynga <pg@pakhom.spb.ru> (maintainer)

Approved by:	ports-secteam (blanket, bugfix release)
2020-08-30 22:30:24 +00:00
Kyle Evans 605393d858 MFH: r547124
math/reduce: fix the build with LLVM 11

reduce started to fail with the default switch to -fno-common in LLVM 11
(and GCC 10). This patch was written then confirmed to be the fix that
upstream also provided in late March.

Approved by:	ports-secteam (implicit, -fno-common build fix)
2020-08-30 21:06:53 +00:00
Jan Beich 5031c6b79e MFH: r546963
emulators/citra: update to s20200829

Changes:	b94f21eac...4135a12cb
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-08-30 00:53:34 +00:00
Jan Beich 6285c2e403 MFH: r546957
emulators/{citra,yuzu}: update OSS patches

Changes:	957847c...49312d4
Approved by:	ports-secteam blanket (reliability fixes)
2020-08-30 00:23:37 +00:00
Jan Beich b864b9cf01 MFH: r546956
gecko: update OSS patches

Changes:	957847c...49312d4
Approved by:	ports-secteam blanket
2020-08-30 00:22:31 +00:00
Jan Beich 6dd5c6d0d7 MFH: r546940
multimedia/mpc-qt: switch to the new home

$ make checksum TRYBROKEN= MASTER_SITE_BACKUP= DISTDIR=$(mktemp -dt distfiles)
===>  License GPLv2 accepted by the user
===>   mpc-qt-18.08_5 depends on file: /usr/local/sbin/pkg - found
=> wm4-mpc-qt-v18.08-4bf2ca5_GH0.tar.gz doesn't seem to exist in /tmp/distfiles.0rnwbNiC/.
=> Attempting to fetch https://codeload.github.com/wm4/mpc-qt/tar.gz/4bf2ca5?dummy=/wm4-mpc-qt-v18.08-4bf2ca5_GH0.tar.gz
fetch: https://codeload.github.com/wm4/mpc-qt/tar.gz/4bf2ca5?dummy=/wm4-mpc-qt-v18.08-4bf2ca5_GH0.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /tmp/distfiles.0rnwbNiC/ and try again.
*** Error code 1

Approved by:	ports-secteam blanket (build + WWW fix)
2020-08-29 19:38:55 +00:00
Jan Beich 20f194d8d2 MFH: r546941
x11-wm/cage: update WWW

fetch: https://hjdskes.nl/projects/cage: No address record

Reported by:	Repology
Approved by:	ports-secteam blanket
2020-08-29 19:34:19 +00:00
Kyle Evans faaf389cf2 MFH: r546866
emulators/simh-hp3000: fix the build with LLVM 11.

Similar to the patch for emulators/simh-hp2100, drop an -fcommon in to fix
the build in the face of GCC 10 / LLVM 11 switching the default to
-fno-common.

Minor cleanup while we're here, remove USES= compiler and just use ${CC} for
the compiler.

PR:		248872

Approved by:	ports-secteam (implicit, -fno-common build fix)
2020-08-29 02:26:56 +00:00
Kyle Evans 0111d3702b MFH: r546865
games/megaglest: fix build with LLVM 11

The fallout here is due to the new -fno-common default in GCC 10 / LLVM 11.

PR:		248870
Obtained from:	https://github.com/MegaGlest/megaglest-source/issues/197

Approved by:	ports-secteam (-fno-common build fix)
2020-08-29 02:25:38 +00:00
Kyle Evans 8de69798f4 MFH: r546863
emulators/simh-hp2100: fix the build with LLVM 11

This patch adds -fcommon to the build flags to fix the build with LLVM 11,
which now defaults to -fno-common.

PR:		248871

Approved by:	ports-secteam (implicit, -fno-common build fix)
2020-08-29 02:11:27 +00:00
Kyle Evans 447d4d3392 MFH: r546861
print/gtklp: fix build with -fno-common

Just a couple of duplicate symbols here.

PR:		248852

Approved by:	ports-secteam (implicit, -fno-common build fix)
2020-08-29 01:41:11 +00:00
Wen Heping e542bfe6b7 MFH: r546286
- Update to 3.7.9(security update)

PR:		248753
Submitted by:	wen@(myself)
Exp-run by:	antoine@
Security:	CVE-2020-15801, CVE-2020-15523, CVE-2020-14422

Approved by:	ports-secteam@(joneum@)
2020-08-28 23:10:27 +00:00
Kyle Evans 0528f7fdc9 MFH: r546780
x11-wm/tvtwm: Fix build with LLVM 11

The fix for this is identical to that of x11-wm/piewm; remove the patch that
explicitly de-externs yylineno when it's explicitly defined in another
compilation unit (by flex).

PR:		248976

Approved by:	ports-secteam (implicit, -fno-common build fix)
2020-08-28 18:12:06 +00:00
Piotr Kubaj 35f52f7b0c MFH: r546763
net/pwnat: enable on powerpc64

Builds fine.

Approved by:	portmgr (fix build blanket)
2020-08-28 17:33:36 +00:00
Piotr Kubaj 7bf4cf90f9 MFH: r546750
security/tpm2-tss: fix build on GCC architectures

Use newer GCC, base GCC can't build it:
src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:49: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'decryptAllowed'
src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:50: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'encryptAllowed'
src/tss2-sys/api/Tss2_Sys_AC_GetCapability.c:51: error: '_TSS2_SYS_CONTEXT_BLOB' has no member named 'authAllowed'

Approved by:	portmgr (fix build blanket)
2020-08-28 16:39:10 +00:00
Kyle Evans 62b1169385 MFH: r546348
x11-wm/piewm: fix the build with LLVM 11

This patch de-extern'd yylineno to actually cause the build failure that
popped up with the new -fno-common default that debuted in LLVM 11 and GCC
10. Simply remove the patch to fix the build.

PR:		248859

Approved by:	ports-secteam (implicit, -fno-common build fix)
2020-08-27 14:34:53 +00:00
Jan Beich 5a0fe7fa84 MFH: r545620
devel/rust-cbindgen: update to 0.14.4

Changes:	https://github.com/eqrion/cbindgen/compare/v0.14.3...v0.14.4
Reported by:	GitHub (watch releases)
Approved by:	ports-secteam blanket (required by Firefox 82)
2020-08-27 00:54:27 +00:00
Jan Beich a24cd1c55d MFH: r546114
security/nss: update to 3.56

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.56_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_56_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
Approved by:	ports-secteam blanket (required by Firefox 81)
2020-08-27 00:53:17 +00:00
Jan Beich e0135533ac MFH: r546113
devel/nspr: update to 4.28

Changes:	http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-28-Release-td386342.html
ABI:		https://abi-laboratory.pro/tracker/timeline/nspr/
Reported by:	Repology
Approved by:	ports-secteam blanket (required by Firefox 81)
2020-08-27 00:52:38 +00:00
Jan Beich 8fc4af15b6 MFH: r546279
www/firefox: document GeckoProfiler is no longer missing

https://hg.mozilla.org/mozilla-central/rev/74707e8ecf38

Approved by:	ports-secteam blanket
2020-08-26 13:22:56 +00:00
Piotr Kubaj 761f70b2ca MFH: r546277
net-mgmt/nfdump: fix build on GCC architectures and check-plist on others

Use C11 compiler:
In file included from nfcapd.c:69:
nfx.h:946: error: redefinition of typedef 'extension_map_t'
nfdump.h:64: error: previous declaration of 'extension_map_t' was here
In file included from nfcapd.c:70:
exporter.h:78: error: redefinition of typedef 'exporter_info_record_t'
nfdump.h:63: error: previous declaration of 'exporter_info_record_t' was here

Remove unconditional installation of nfpcapd, it breaks check-plist and there's an option for installing it.

Bump PORTREVISION for package change.

Approved by:	portmgr (fix build blanket, packaging fix)
2020-08-26 13:16:42 +00:00
Fernando Apesteguía e2a873d776 MFH: r546265
ports-mgmt/pkg_replace: update to 20200821

ChangeLog: https://github.com/kdeguchi/pkg_replace/blob/master/ChangeLog

 * Fix bug in function install_package

PR:     248919
Submitted by:   kdeguchi@sz.tokoha-u.ac.jp (maintainer)

Approved by:	ports-secteam (blanket, runtime fix)
2020-08-26 11:38:32 +00:00
Piotr Kubaj 3495783f7f MFH: r546263
games/libretro-mame2003: fix build on GCC architectures

Define __BSD_VISIBLE if it's not defined to uncover u_int:
In file included from src/libretro-deps/libFLAC/cpu.c:83:
/usr/include/sys/sysctl.h:1101:25: error: unknown type name 'u_int'; did you mean 'int'?
 1101 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
      |                         ^~~~~
      |                         int

Approved by:	portmgr (fix build blanket)
2020-08-26 11:29:45 +00:00
Fernando Apesteguía fb52419b7a MFH: r546258
sysutils/dsbmd: Update to 1.11

ChangeLog: https://freeshell.de/~mk/projects/dsbmd-relnotes.html

 * A bug has been fixed where DSBMD exits with an error when the user tries to
   mount a smartphone after a previously failed attempt.

 * Command functions now run in a thread so that time-limit exceeding commands
   executing an uninterruptible system call will not block the daemon.

PR:	248915
Submitted by:	mk@nic-nac-project.org (maintainer)

Approved by:	ports-secteam (blanket, runtime fix)
2020-08-26 10:03:53 +00:00
Christoph Moench-Tegeder 92405e8551 MFH: r546254
update thunderbird to 68.12.0 (rc1, looks like GA)

https://www.thunderbird.net/en-US/thunderbird/68.12.0/releasenotes/

Approved by:	portmgr (blanket: web browser alike)
2020-08-26 09:23:01 +00:00
Piotr Kubaj c189faff4e MFH: r546251
games/libretro-fbalpha: fix build on powerpc*

Same issue as with games/libretro-fbneo.

Approved by:	portmgr (fix build blanket)
2020-08-26 08:59:44 +00:00
Torsten Zuehlsdorff 8076a48ca9 MFH: r546237
lang/php72: Update from 7.2.22 to 7.2.23

The last log entry is the same, because i accidently performed an update from
7.2.21 to 7.2.22. I ignored the update to 7.2.22 because for FreeBSD its a no-op.
But when 7.2.23 was released i only increased the version by one.
This time its the real update! :)

Changelog:

    Core:
        Fixed bug #79877 (getimagesize function silently truncates after a null byte) (cmb)
    Phar:
        Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile function). (CVE-2020-7068)

Reported by:	José García Juanino <jjuanino@gmail.com>
Sponsored by:	Bounce Experts

Approved by:	ports-secteam (joneum, implicit for PHP Updates)
2020-08-25 23:13:00 +00:00
Piotr Kubaj d81faefd06 MFH: r546238
games/libretro-mame2003_plus: fix build on GCC architectures

Define __BSD_VISIBLE if it's not defined to make u_int visible:
In file included from src/libretro-deps/libFLAC/cpu.c:83:
/usr/include/sys/sysctl.h:1101:25: error: unknown type name 'u_int'; did you mean 'int'?
 1101 | int sysctl(const int *, u_int, void *, size_t *, const void *, size_t);
      |                         ^~~~~
      |                         int

Approved by:	portmgr (fix build blanket)
2020-08-25 23:11:02 +00:00
Jan Beich 619a19ec75 x11-servers/xwayland-devel: backport 2020-08-25 secfixes
https://lists.x.org/archives/xorg-announce/2020-August/003058.html

Approved by:	ports-secteam blanket
2020-08-25 20:05:55 +00:00
Niclas Zeising 6677af44e1 MFH: r546199
x11-servers/xorg-server: Fix several security issues

Fix several security issues in x11-servers/xorg-server and slave ports which
ultimately can lead to local privilege escalations if xorg-server is running
privileged.

More info:
https://lists.x.org/archives/xorg-announce/2020-August/003058.html

Security:	ffa15b3b-e6f6-11ea-8cbf-54e1ad3d6335

Approved by:	ports-secteam (implicit, security update)
2020-08-25 17:32:51 +00:00
Niclas Zeising 73253d3c73 MFH: r546198
x11/libX11: Update to 1.6.12

Update x11/libX11 to 1.6.12, which contains a fix for a double free
vulnerability.
The update also contains fixes already included in the FreeBSD libX11 port.

Announcement and changelog:
https://lists.x.org/archives/xorg-announce/2020-August/003057.html

Security:	8da79498-e6f6-11ea-8cbf-54e1ad3d6335

Approved by:	ports-secteam (implicit, security update)
2020-08-25 17:31:51 +00:00
Piotr Kubaj 79da05bca1 MFH: r546191
games/libretro-fbneo: fix build on powerpc*

Merge upstream patch to solve:
undefined reference to __mftb()

and use newer GCC to solve:
cc1: error: unrecognized command line option "-Wno-pedantic"cc1: error: unrecognized command line option "-Wno-pedantic"

Approved by:	portmgr (fix build blanket)
2020-08-25 16:34:02 +00:00
Kyle Evans 998ec31d77 MFH: r546029
security/bsmtrace: backport the -fno-common fix

This port is the older version of bsmtrace and should go away in due time,
but it's easy enough to backport the fix in the meantime. This version did
need an additional fix to log.{c,h} that was no longer needed in 3.x.

PR:		248756
Approved by:	csjp (maintainer, also discussed with)

Approved by:	ports-secteam (implicit, -fno-common build fix)
2020-08-25 12:54:23 +00:00
Kyle Evans 01f743b578 MFH: r546027
security/bsmtrace3: update to the 3.1 -fno-common build fix

The only changes between 3.0 and 3.1 are a change to the README to note work
sponsored by an organization, and the -fno-common build fix.

-fno-common is now the default in LLVM 11/GCC 10.

PR:		248756
Approved by:	csjp (maintainer, also discussed with)

Approved by:	ports-secteam (implicit, -fno-common build fix)
2020-08-25 12:53:05 +00:00
Piotr Kubaj ed0df9ffb3 MFH: r546155
games/libretro-uae: fix build on powerpc*

ifdef powerpc needs to be added to prevent compiling code with bad assembly.

Approved by:	portmgr (fix build blanket)
2020-08-25 11:39:50 +00:00
Piotr Kubaj 04e183d978 MFH: r546122
textproc/qr: fix build on GCC architectures

sqrt() is only defined since C99:
/tmp/ccn0UwwD.o:(.text+0x1cc): undefined reference to `sqrt'

Approved by:	portmgr (fix build blanket)
2020-08-24 23:36:41 +00:00
Niclas Zeising 310c2c330e MFH: r546119
grapics/drm-legacy-kmod: Deprecate

Deprecate graphics/drm-legacy-kmod.  Update the drivers to include a
deprecation message when the drivers are loaded.

drm-legacy-kmod is holding back changes in the FreeBSD VM subsystem, and it
requires substantial changes to be updated to work with the VM changes.
See the e-mail to x11@FreeBSD.org for more information.

Approved by:	ports-secteam (implicit, drm-drivers blanket)
2020-08-24 22:53:44 +00:00
Jan Beich f421c7bc0b emulators/yuzu-qt5: rebuild after r546081
Approved by:	ports-secteam blanket
2020-08-24 12:59:34 +00:00
Jan Beich 5cc3475967 MFH: r546076
emulators/{citra,yuzu}: update OSS patches

Changes:	123ce2a...957847c
PR:		248817
Submitted by:	Ka Ho Ng
Approved by:	ports-secteam blanket (reliability fixes)
2020-08-24 12:57:28 +00:00
Jan Beich 8ab62fd7b1 MFH: r546075
gecko: update OSS patches

Changes:	123ce2a...957847c
PR:		248816
Submitted by:	Ka Ho Ng
Approved by:	ports-secteam blanket
2020-08-24 12:55:56 +00:00
Jan Beich 6fd2476cd6 MFH: r546074
www/firefox: document native audio is no longer a missing feature

Submitted by:	Goran Mekić
PR:		248847
Approved by:	ports-secteam blanket
2020-08-24 12:53:32 +00:00
Jan Beich 98944779ed MFH: r546073
www/firefox: document probing order for the default audio backend

PR:		248847
Approved by:	ports-secteam blanket
2020-08-24 12:52:40 +00:00
Joseph Mingrone 83de19c561 MFH: r546067
print/foomatic-filters: Fix build with -fno-common

Submitted by:	zeising
Reviewed by:	rene, zeising
Differential Revision:	https://reviews.freebsd.org/D26164

Approved by:	ports-secteam (blanket: -fno-common build fix)
2020-08-24 11:57:47 +00:00
Kubilay Kocak 94f4d76a17 MFH: r546039 devel/libhtp: Update to 0.5.33
- Sort pkg-plist (ports compliance)

Changelog:

  https://github.com/OISF/libhtp/blob/0.5.33/ChangeLog

PR:	248483

Approved by:	ports-secteam (blanket: bugfix release(s))
2020-08-24 03:20:54 +00:00
Piotr Kubaj 67843114b6 MFH: r545795
net/intel-ixl-kmod: fix runtime on powerpc64

It looks like the fix for powerpc64 wasn't committed to the upstream yet. Take the patch that was committed to head and use it to patch this port (from https://svnweb.freebsd.org/base/head/sys/dev/ixl/ixl_pf_main.c?view=patch&r1=358698&r2=358697&pathrev=358698)

Approved by:	portmgr (fix runtime blanket)
2020-08-22 23:54:58 +00:00
Piotr Kubaj 8558cf8ea6 MFH: r545792
net/intel-ixl-kmod: enable building on powerpc64

ixl has been fixed in head some time ago on powerpc64.

Approved by:	portmgr (fix build blanket)
2020-08-22 23:16:17 +00:00
Piotr Kubaj 9cf627f4c9 MFH: r545790
net/appkonference: fix build on powerpc64

Approved by:	portmgr (fix build blanket)
2020-08-22 23:06:44 +00:00
Piotr Kubaj dbc473a3e6 MFH: r545783
science/hdf: update to 4.2.15 to fix build on powerpc64

Newest version builds on powerpc64 just fine.

Approved by:	portmgr (fix build blanket)
2020-08-22 20:45:25 +00:00
Matthias Andree 911f67192b MFH: r545759
net/chrony: security update to 3.5.1

This upstream update essentially contains one Git commit:
https://git.tuxfamily.org/chrony/chrony.git/commit/?h=3.5-stable&id=f00fed20092b6a42283f29c6ee1f58244d74b545

It is to fix a symlink vulnerability when writing the pidfile.

Changelog: https://listengine.tuxfamily.org/chrony.tuxfamily.org/chrony-announce/2020/08/msg00000.html

Security:	CVE-2020-14367
Security:	719f06af-e45e-11ea-95a1-c3b8167b8026

Approved by:	ports-secteam (blanket, upstream update contains only security fix)
2020-08-22 11:04:21 +00:00
Niclas Zeising ed8689817b MFH: r545744
sysutils/htop: Fix build with -fno-common

Fix the build of sysutils/htop with -fno-common, which is the default in
llvm 11 (and gcc 10)

PR:		248823
Submitted by:	Yasuhiro KIMURA

Approved by:	ports-secteam (joenum, implicit, -fno-common fixes)
2020-08-22 08:34:21 +00:00
Niclas Zeising 95cfc359a0 MFH: r545570
security/gnupg1: Build with -fcommon

With llvm 11, builds are using -fno-common by default.
I've tried to fix gnupg1 to build with this, but it is qyite hard and
requires a lot of patches.  In the meantime, upstream code has changed
significantly, and gnupg1 is old, so just switch it to use -fcommon instead,
to make it build.

Approved by:	ports-secteam (joenum, implicit, -fno-common fixes)
2020-08-22 08:33:27 +00:00
Niclas Zeising 72b0226846 MFH: r545562
net/bird2: Fix build with -fno-common

Fix the build of net/bird2 when compiled with -fno-common, which is the
default with llvm 11.

Approved by:	ports-secteam (joenum, implicit, -fno-common fixes)
2020-08-22 08:32:20 +00:00
Niclas Zeising 7322156a00 MFH: r545563
net/bird: Fix build with -fno-common

Fix the build of net/bird when compiled with -fno-common, which is the
default with llvm 11.

Approved by:	ports-secteam (joenum, implicit, -fno-common fixes)
2020-08-22 08:30:55 +00:00
Jan Beich bcb4ffc0af MFH: r545619
emulators/{citra,yuzu}: replace ALSA with OSS (a la r545611)

OSS is enabled if neither pulseaudio, jackit, sndio are installed.
Unlike www/firefox it's not yet possible to override cubeb backend.

Approved by:	ports-secteam (joneum)
2020-08-22 03:28:38 +00:00
Kyle Evans 577a98da1c MFH: r545616
mail/mmh: fix build with -fno-common

mmh had just a minor build issue with -fno-common, fixed with a trivial
patch to extern the variable in question.

PR:		248812
Approved by:	satanist+freebsd@bureaucracy.de (maintainer)

Approved by:	ports-secteam (implicit: -fno-common build fix)
2020-08-21 18:20:13 +00:00
Jan Beich d899c734c1 MFH: r545611
gecko: add native OSS support, replacing ALSA as fallback

OSS is always built but during runtime only selected by default if
neither pulseaudio, jackit or sndio are installed. In particular,
Gnome and KDE users would still be offered PulseAudio by default due
to integration with multi-app volume widgets, current song bars,
screensharing with audio, etc. that prefer to talk over DBus.
Those can opt out via media.cubeb.backend=oss in about:config.

Submitted by:	Ka Ho Ng <khng300@gmail.com> (based on)
Approved by:	ports-secteam blanket
2020-08-21 16:39:03 +00:00
Jan Beich 1fe9f1a6da MFH: r545203 r545254 r545473
www/firefox: update to 80.0

Changes:	https://www.mozilla.org/firefox/80.0/releasenotes/
Approved by:	ports-secteam blanket
2020-08-21 16:38:22 +00:00
Jan Beich 29af900ce7 MFH: r545204
www/firefox-esr: update to 68.12.0

Changes:	https://www.mozilla.org/firefox/68.12.0/releasenotes/
Approved by:	ports-secteam blanket
2020-08-21 16:36:17 +00:00
Rene Ladan 70855b22be MFH: r545587
multimedia/w_scan: schedule for removal on 2020-09-01, software is abandonded.

While here fix build by slapping -fcommon on it.

Approved by:	ports-secteam (joneum)
2020-08-21 11:48:12 +00:00
Li-Wen Hsu baa937028b MFH: r545176
Update to 2.235.5

Approved by:	swils (maintainer, implicitly)
Security:	09ea1b08-1d3e-4bf2-91a1-d6573f4da3d8
Sponsored by:	The FreeBSD Foundation

Approved by:	ports-secteam (joneum)
2020-08-21 10:39:04 +00:00
Jan Beich ff63e4795d MFH: r545498
x11/waybar: install icons font by default

Default config uses icons for cpu, memory, speaker/mic, etc.

Approved by:	ports-secteam (joneum)
2020-08-21 10:10:10 +00:00
Sunpoet Po-Chuan Hsieh 3be4757427 MFH: r545347
Update to 7.72.0

Changes:	https://curl.haxx.se/changes.html
Security:	b905dff4-e227-11ea-b0ea-08002728f74c

Approved by:	ports-secteam (joneum)
2020-08-21 10:00:58 +00:00
Mathieu Arnold 39e5eb05d3 MFH: r542640 r545578 r545579
Update to 9.11.22 and 9.16.6.

Security:	CVE-2020-8620, CVE-2020-8621, CVE-2020-8622,
		CVE-2020-8623, CVE-2020-8624
Approved by:	ports-secteam (blanket)
2020-08-21 09:16:43 +00:00
Bradley T. Hughes a312bc24ed MFH: r545565
www/node: build with python < 3.7

r535334 introduced a patch for tools/genv8constants.py that only worked
with Python >= 3.7. The "text" argument added to Python's
subprocess.Popen() is an alias for "universal_newlines", which works on
all versions of Python, including 2.7.

PR:		248167
Submitted by:	James French <james@french.id.au>
Reported by:	Miroslav Lachman <000.fbsd@quip.cz>
Sponsored by:	Miles AS

Approved by:	ports-secteam (joneum)
2020-08-20 21:37:04 +00:00
Kyle Evans e8608b73fa MFH: r545542
biology/paml: fix the build with LLVM 11

LLVM 11 switched from -fcommon to -fno-common by default. This revealed a
slight misposition of names in paml.h, which caused one symbol per enum
that's not used anywhere.

The fix just moves the names back so that the enums are named that, rather
than creating new unused symbols.

Reviewed by:	zeising
Approved by:	jrm (maintainer)

Approved by:	ports-secteam (joneum)
2020-08-20 21:11:43 +00:00
Niclas Zeising 1082f94997 MFH: r545535
dns/adns: Update to 1.6.0

Update dns/adns to 1.6.0.
This fixes several security issues in adns.
This fixes the build with -fno-common, which is the default with llvm 11.

PR:		248780
Approved by:	pi@ (maintainer)
Security:	08de38d2-e2d0-11ea-9538-0c9d925bbbc0

Approved by:	ports-secteam (joenum)
2020-08-20 19:30:16 +00:00
Niclas Zeising 40c4caaf53 MFH: r545468
devel/ocl-icd: FIx build with -fno-common

Fix the build of devel/ocl-icd with -fno-common, which is the default with
llvm 11.

Approved by:	ports-secteam (joenum)
2020-08-20 19:28:21 +00:00
Niclas Zeising c9e57b4d41 MFH: r545467
security/ykpers: Fix build with -fno-common

Add a patch from upstream to fix the build with -fno-common, which is the
default with llvm 11.

Approved by:	ports-secteam (joenum)
2020-08-20 19:27:39 +00:00
Niclas Zeising 21b9a64528 MFH: r545453
multimeida/libv4l: Fix build with -fno-common

Add a patch from upstream to fix the build of multimedia/libv4l with
-fno-common, which is the default with llvm 11.

PR:		248738
Reported by:	dim

Approved by:	ports-secteam (joenum)
2020-08-20 19:26:59 +00:00
Niclas Zeising de99979bf2 MFH: r545441
print/texlive-base: Fix build with -fno-common

Fix the build of print/texlive-base when built with -fno-common, which is
the default with llvm 11.

Approved by:	ports-secteam (joenum)
2020-08-20 19:26:21 +00:00
Niclas Zeising 5837e0b304 MFH: r545440
devel/binutils: fix build with -fno-common

Add a patch from upstream to fix the build of devel/binutils when compiled
with -fno-common, which is the default with llvm 11.

PR:		248701

Approved by:	ports-secteam (joenum)
2020-08-20 19:23:30 +00:00
Niclas Zeising af27ca5fdd MFH: r545322
graphics/freeglut: fix for -fno-common

Fix the build of graphics/freeglut when built with -fno-common, which is the
default with llvm 11.

Approved by:	ports-secteam (joenum)
2020-08-20 19:22:40 +00:00
Niclas Zeising 1701f3dcbc MFH: r545317
graphics/argyllcms: Fix -fno-common build

Fix the build with -fno-common (default with llvm 11)
While here, remove a useless REINPLACE_CMD.

Approved by:	ports-secteam (joenum)
2020-08-20 19:21:40 +00:00
Dmitri Goutnik 848067739b MFH: r545532
textproc/elasticsearch6: Update to 6.8.12

Changes:	https://www.elastic.co/guide/en/elasticsearch/reference/6.8/release-notes-6.8.12.html
PR:		248761
Submitted by:	Juraj Lutter <juraj@lutter.sk> (maintainer)
Security:	fbca6863-e2ad-11ea-9d39-00a09858faf5

Approved by:	ports-secteam (joneum)
2020-08-20 19:07:19 +00:00
Li-Wen Hsu c6c3f09be3 MFH: r545512
www/pecl-solr: Fix build for php 7.4

PR:		247364
Submitted by:	hagabard@gmail.com
Approved by:	Hung-Yi Chen <gaod@hychen.org> (maintainer)

Approved by:	portmgr (blanket: build fix)
2020-08-20 09:32:55 +00:00
Rodrigo Osorio 0255083316 MFH: r543580 r543582 r543637 r544331 r545124
net/rsync upgrade to 3.2.2

Major changes and bugfixes:
 3.1.3 -> 3.2.0
 * Avoid potential out-of-bounds read in daemon mode
 * Fix defaul list list of skip-compress files for non-daemon transfers
 * Fix xattr filter rules losing an 'x' attribute in a non-local transfer
 * zlib fixes for CVE-2016-9843, CVE-2016-9842, CVE-2016-9841, and CVE-2016-9840
 * Fixed a crash in the --iconv code
 * Checksum enhancements, including the addition of xxhash
 * The checksum preference order of the negotiation can be customized or forced
 * Compression enhancements, including the addition of zstd and lz4 compression algorithms
 * Added openssl & preliminary gnutls support to the rsync-ssl script
 * Added the proxy protocol daemon parameter that allows your rsyncd to know the real remote
   IP when it is setup behind a proxy

 3.2.0 -> 3.2.1
 * Fix potential issue with MD5 assembly-language code
 * option --backup-dir=STR now implies --backup

 3.2.1 -> 3.2.2
 * Avoid a crash when a daemon module enables transfer logging without setting a log format value

Full release message: https://download.samba.org/pub/rsync/NEWS#3.2.2

Security: CVE-2016-9843 CVE-2016-9842 CVE-2016-9841 CVE-2016-9840
MFH after: 2 weeks

rsync: Unbreak fetch

rsync: Unbreak and fix depends

rsync now depends on stuff in LOCALBASE. Previously, clang only needed to know
about LOCALBASE if POPT or ICONV was enabled. When those options are off, xxhash
and zstd were not found by configure.

Also, a depend on libssl was missing, and there were some noop reinplaces.

With hat: portmgr

- Fix fetch
- Fix license and add LICENSE_FILE
- Add missing dependency on liblz4
- Whitespace fixes
- Switch to options helpers

Approved by:	portmgr blanket

net/rsync upgrade to 3.2.3

major changes:
 - Fix multiple bugs in xattr code.
 - Restored the ability to use --bwlimit=0 to specify no bandwidth limit.
 - Fix a bug when combining --delete-missing-args with --no-implied-dirs & -R where rsync might create the destination path of a missing arg.
 - Fixed an issue where hard-linked devices could cause the rdev_major value to get out of sync between the sender and the receiver.
 - Rsync now complains about a missing --temp-dir before starting any file transfers.
 - A completely empty source arg is now a fatal error.

See full changelog: https://download.samba.org/pub/rsync/NEWS#3.2.3

Also, fix build issue with ACL option (patch is not required anymore)

PR:		248318 247795

Approved by:	ports-secteam (joenum)
2020-08-20 07:17:51 +00:00
Xin LI f11f676491 MFH: r545496
Fix build.

Approved by:	ports-secteam (build fix blanket)
2020-08-20 04:44:42 +00:00
Alan Somers edf11c1a36 MFH: 544720
sysutils/openzfs-kmod: fix the build with a nonstandard SRC_BASE

ports that need FreeBSD's src code should check $SRC_BASE rather than assume
/usr/src. For example, it should be possible to build openzfs-kmod with a
command like this:

env SRC_BASE=$HOME/freebsd/base/head make

Approved by:    ports-secteam (joneum)
2020-08-20 02:01:09 +00:00
Torsten Zuehlsdorff 377bcefffd MFH: r545456
lang/php74: Update from 7.4.8 to 7.4.9

Changelog:

    Apache:
        Fixed bug #79030 (Upgrade apache2handler's php_apache_sapi_get_request_time to return usec).
    COM:
        Fixed bug #63208 (BSTR to PHP string conversion not binary safe).
        Fixed bug #63527 (DCOM does not work with Username, Password parameter).
    Core:
        Fixed bug #79740 (serialize() and unserialize() methods can not be called statically).
        Fixed bug #79783 (Segfault in php_str_replace_common).
        Fixed bug #79778 (Assertion failure if dumping closure with unresolved static variable).
        Fixed bug #79779 (Assertion failure when assigning property of string offset by reference).
        Fixed bug #79792 (HT iterators not removed if empty array is destroyed).
        Fixed bug #78598 (Changing array during undef index RW error segfaults).
        Fixed bug #79784 (Use after free if changing array during undef var during array write fetch).
        Fixed bug #79793 (Use after free if string used in undefined index warning is changed).
        Fixed bug #79862 (Public non-static property in child should take priority over private static).
        Fixed bug #79877 (getimagesize function silently truncates after a null byte) (cmb)
    Fileinfo:
        Fixed bug #79756 (finfo_file crash (FILEINFO_MIME)).
    FTP:
        Fixed bug #55857 (ftp_size on large files).
    Mbstring:
        Fixed bug #79787 (mb_strimwidth does not trim string).
    Phar:
        Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile function). (CVE-2020-7068)
    Reflection:
        Fixed bug #79487 (::getStaticProperties() ignores property modifications).
        Fixed bug #69804 (::getStaticPropertyValue() throws on protected props).
        Fixed bug #79820 (Use after free when type duplicated into ReflectionProperty gets resolved).
    Standard:
        Fixed bug #70362 (Can't copy() large 'data://' with open_basedir).
        Fixed bug #78008 (dns_check_record() always return true on Alpine).
        Fixed bug #79839 (array_walk() does not respect property types).

Sponsored by:	Bounce Experts

Approved by:	ports-secteam (joneum, implicit for PHP Updates)
2020-08-19 22:02:34 +00:00
Torsten Zuehlsdorff 3e22221a37 MFH: r545455
lang/php73: Update from 7.3.20 to 7.3.21

Changelog:

    Apache:
        Fixed bug #79030 (Upgrade apache2handler's php_apache_sapi_get_request_time to return usec).
    Core:
        Fixed bug #79877 (getimagesize function silently truncates after a null byte).
        Fixed bug #79778 (Assertion failure if dumping closure with unresolved static variable).
        Fixed bug #79792 (HT iterators not removed if empty array is destroyed).
    COM:
        Fixed bug #63208 (BSTR to PHP string conversion not binary safe).
        Fixed bug #63527 (DCOM does not work with Username, Password parameter).
    Curl:
        Fixed bug #79741 (curl_setopt CURLOPT_POSTFIELDS asserts on object with declared properties).
    Fileinfo:
        Fixed bug #79756 (finfo_file crash (FILEINFO_MIME)).
    FTP:
        Fixed bug #55857 (ftp_size on large files).
    Mbstring:
        Fixed bug #79787 (mb_strimwidth does not trim string).
    Phar:
        Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile function). (CVE-2020-7068)
    Standard:
        Fixed bug #70362 (Can't copy() large 'data://' with open_basedir).
        Fixed bug #79817 (str_replace() does not handle INDIRECT elements).
        Fixed bug #78008 (dns_check_record() always return true on Alpine).

Sponsored by:	Bounce Experts

Approved by:	ports-secteam (joneum, implicit for PHP Updates)
2020-08-19 22:01:00 +00:00
Torsten Zuehlsdorff 9b2de6de80 MFH: r545454
lang/php72: Update from 7.2.22 to 7.2.23

Changelog:

    Core:
        Fixed bug #79877 (getimagesize function silently truncates after a null byte) (cmb)
    Phar:
        Fixed bug #79797 (Use of freed hash key in the phar_parse_zipfile function). (CVE-2020-7068)

Sponsored by:	Bounce Experts

Approved by:	ports-secteam (joneum, implicit for PHP Updates)
2020-08-19 21:58:59 +00:00
Joseph Mingrone 4ee9ed7b55 MFH: r545266 r545308
www/chromium: Update to version 84.0.4147.135

Upstream changes:
https://chromereleases.googleblog.com/2020/08/stable-channel-update-for-desktop_18.html

Approved by:	cem
Differential Revision:	https://reviews.freebsd.org/D26117

www/chromium: unbreak with libglvnd

[188/188] LINK gn
ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit code.
    pkgresult = exec_script(pkg_config_script, args, "value")
                ^----------
Package gbm was not found in the pkg-config search path.
Perhaps you should add the directory containing `gbm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gbm', required by 'virtual:world', not found
Could not run pkg-config.

See //third_party/minigbm/BUILD.gn:122:3: whence it was called.
  pkg_config("libgbm") {
  ^---------------------
See //ui/gfx/linux/BUILD.gn:41:5: which caused the file to be included.
    "//third_party/minigbm",
    ^----------------------

Approved by:	ports-secteam (blanket: security and build fix)
2020-08-19 18:18:09 +00:00
Piotr Kubaj e844fa2df2 MFH: r545336
lang/racket: fix build on non-x86

Even without JIT option available, FUTURES is enabled by default, breaking build. Make FUTURES also x86-only.

Approved by:	portmgr (fix build blanket)
2020-08-19 15:35:29 +00:00
Piotr Kubaj 2c38c9554e MFH: r545326
audio/geonkick-lv2: fix build on GCC architectures

-lstdc++fs is necessary for gcc.

Approved by:	portmgr (fix build blanket)
2020-08-19 13:50:37 +00:00
Li-Wen Hsu 4ec222c83a MFH: r545313
math/units: Add a default option READLINE to tuggle readline support

This makes sure the readline support is tuggled in the build time and not
affected by the libreadline installed or not during build/run time.

PR:		248631
Submitted by:	ports-units@shalott.net
Approved by:	jharris@widomaker.com (maintainer)

Approved by:	portmgr (blanket: build, run, dependency fix)
2020-08-19 11:20:02 +00:00
Piotr Kubaj 49b609a5c6 MFH: r545302
deskutils/terminal-image-viewer: fix build on GCC architectures

-lstdc++fs is necessary for GCC:
/usr/local/bin/ld: tiv.cpp:(.text.startup+0x19cc): undefined reference to `std::experimental::filesystem::v1::__cxx11::directory_iterator::operator++()'

Approved by:	portmgr (fix build blanket)
2020-08-19 10:38:39 +00:00
Piotr Kubaj 93286c0b32 MFH: r545294
science/simgrid: fix build on non-aarch64, non-x86

Add libunwind to LIB_DEPENDS only on aarch64, amd64 and i386. Port builds fine without it on powerpc64

Approved by:	portmgr (fix build blanket)
2020-08-19 09:29:16 +00:00
Ganael LAPLANCHE ad176ca4ac MFH: r545276
Fix sssd startup following libldb changes

PR:		239022
Submitted by:	patrik@hildingsson.se
Approved by:	lukas.slebodnik@intrak.sk (maintainer timeout)

Approved by:	ports-secteam (joneum)
2020-08-19 09:21:08 +00:00
Niclas Zeising 7e200874af MFH: r545235
devel/libunwind: Fix build with -fno-common

Fix the build of devel/libunwind with -fno-common (the default on FreeBSD
current after the llvm 11 update).
Add an upstream patch (pulling it from the official github mirror) to fix
the build woth -fno-common.

Approved by:	ports-secteam (joenum)
2020-08-19 08:42:48 +00:00
Niclas Zeising e84388b685 MFH: r545265
emulators/tpm-emulator: Fix -fno-common

Fix the build with -fno-common, which is the default in llvm 11.

Approved by:	ports-secteam (joenum)
2020-08-19 08:39:53 +00:00
Niclas Zeising 24f4959a80 MFH: r545264
security/trousers: fix security issues

Fix three security issues in security/trousers:

* CVE-2020-24332
  If the tcsd daemon is started with root privileges,
  the creation of the system.data file is prone to symlink attacks

* CVE-2020-24330
  If the tcsd daemon is started with root privileges,
  it fails to drop the root gid after it is no longer needed

* CVE-2020-24331
  If the tcsd daemon is started with root privileges,
  the tss user has read and write access to the /etc/tcsd.conf file

Add patches to fix potential use-after-free
Fix build with -fno-common

Security:	e37a0a7b-e1a7-11ea-9538-0c9d925bbbc0

Approved by:	ports-secteam (joenum)
2020-08-19 08:37:56 +00:00
Niclas Zeising 9d6a279f53 MFH: r545262
x11-drivers/xf86-video-intel: Update snapshot

Update the snapshot of x11-driver/xf86-video-intel
- Fix build with -fno-common
- Fix MIT-SHM detection
- Drop SNA/UXA options in favor of xorg.conf(5)
- Add hyphen to output names for consistency with modesetting(4x)
- Add UDEV and XVMC options
- Add "make test" support
- Drop unused dependencies
- Switch to upstream versioning scheme
- Document all patches
- Simplify and deprecate _WITH_GETLINE
- Fix most style warnings

PR:		236003
Submitted by:	jbiech

Approved by:	ports-secteam (joenum)
2020-08-19 08:37:00 +00:00
Niclas Zeising 189d3fae83 MFH: r545261
x11-drivers/xf86-video-openchrome: fix -fno-common

Fix the build with -fno-common, which is the default with llvm 11.

Approved by:	ports-secteam (joenum)
2020-08-19 08:35:52 +00:00
Niclas Zeising 4c6b50423d MFH: r545260
x11/drivers/xf86-video-amdgpu: Fix -fno-common

Pull in a patch from upstream to fix the build of xf86-video-amdgpu with
-fno-common, which is the default with llvm 11.

Approved by:	ports-secteam (joenum)
2020-08-19 08:32:48 +00:00
Niclas Zeising 1db700806b MFH: r545240
graphics/mesa: Fix build with -fno-common

Pull in a bunch of upstream patches to graphics/mesa to fix build with
-fno-common, which is the default after the llvm 11 import.

Approved by:	ports-secteam (joenum)
2020-08-19 08:31:54 +00:00
Niclas Zeising bb06cbbcec MFH: r545237
cad/iverilog: Fix build with -fno-common

Fix the build with -fno-common, which is the default in llvm 11 (and gcc10).

Approved by:	ports-secteam (joenum)
2020-08-19 08:28:38 +00:00
Dmitri Goutnik d1911b1240 MFH: r545229
shells/elvish: Update to 0.14.1

- pet portclippy while here

Changes:	https://github.com/elves/elvish/releases/tag/v0.14.1
PR:		248700
Submitted by:	Adam Jimerson <vendion@gmail.com> (maintainer)

Approved by:	ports-secteam blanket (bugfix release)
2020-08-18 12:37:42 +00:00
Jan Beich 2492c858ee MFH: r545207
www/py-flexget: update to 3.1.67

Changes:	https://github.com/Flexget/Flexget/compare/v3.1.65...v3.1.67
Reported by:	Repology
Approved by:	ports-secteam blanket (crash fix)
2020-08-18 00:55:50 +00:00
Piotr Kubaj f38a453ca4 MFH: r545200
audio/faustlive: fix build on GCC architectures

Don't explicitly add -L/usr/lib, it makes GCC from ports link against base libstdc++. Clang still links fine to base libraries.

Approved by:	portmgr (fix build blanket)
2020-08-18 00:02:47 +00:00
Piotr Kubaj 9f8d7322dd MFH: r545197
math/cadical: fix build on GCC architectures

Use | instead of , in the sed command to workaround for -Wl,rpath in CXXFLAGS.

Approved by:	portmgr (fix build blanket)
2020-08-17 23:55:56 +00:00
Florian Smeets 5290c24670 MFH: r545185
Update to 14.2.11

Release info:
We're happy to announce the availability of the eleventh release in the
Nautilus series. This release brings a number of bugfixes across all
major components of Ceph. We recommend that all Nautilus users upgrade
to this release.

Notable Changes
---------------
* RGW: The `radosgw-admin` sub-commands dealing with orphans --
  `radosgw-admin orphans find`, `radosgw-admin orphans finish`,
  `radosgw-admin orphans list-jobs` -- have been deprecated. They
  have not been actively maintained and they store intermediate
  results on the cluster, which could fill a nearly-full cluster.
  They have been replaced by a tool, currently considered
  experimental, `rgw-orphan-list`.

* Now when noscrub and/or nodeep-scrub flags are set globally or per pool,
  scheduled scrubs of the type disabled will be aborted. All user initiated
  scrubs are NOT interrupted.

* Fixed a ceph-osd crash in _committed_osd_maps when there is a failure to encode
  the first incremental map. issue#46443: https://github.com/ceph/ceph/pull/46443

For the detailed changelog please refer to the blog entry at
https://ceph.io/releases/v14-2-11-nautilus-released/

PR:		248673
Submitted by:	Willem Jan Withagen <wjw@digiware.nl>
Security:	f20eb9a4-dfea-11ea-a9b8-9c5c8e84d621
Approved by:	ports-secteam (joneum)
2020-08-17 20:19:12 +00:00
Piotr Kubaj 92a0edd07b MFH: r545180
www/osrm-backend: fix build on GCC architectures

Merge two upstream commits to fix build:
/wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp: In member function 'bool osrm::storage::IOConfig::IsValid() const':
/wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:18:89: error: call of overloaded 'is_regular_file(<brace-enclosed initializer list>)' is ambiguous
   18 |         if (!boost::filesystem::is_regular_file({base_path.string() + fileName.string()}))
      |                                                                                         ^
In file included from /usr/local/include/boost/filesystem.hpp:18,
                 from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/include/storage/io_config.hpp:8,
                 from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:1:
/usr/local/include/boost/filesystem/directory.hpp:171:20: note: candidate: 'bool boost::filesystem::is_regular_file(const boost::filesystem::directory_entry&)'
  171 | inline bool        is_regular_file(const directory_entry& e) BOOST_NOEXCEPT { return filesystem::is_regular_file(e.status()); }
      |                    ^~~~~~~~~~~~~~~
In file included from /usr/local/include/boost/filesystem.hpp:19,
                 from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/include/storage/io_config.hpp:8,
                 from /wrkdirs/usr/ports/www/osrm-backend/work/osrm-backend-5.22.0/src/storage/io_config.cpp:1:
/usr/local/include/boost/filesystem/operations.hpp:169:6: note: candidate: 'bool boost::filesystem::is_regular_file(const boost::filesystem::path&)'
  169 | bool is_regular_file(const path& p)  {return is_regular_file(detail::status(p));}
      |      ^~~~~~~~~~~~~~~

Approved by:	portmgr (fix build blanket)
2020-08-17 20:02:04 +00:00
Niclas Zeising bd7f2cece0 MFH: r543914 r544154 r544630 r545155
With these changes libX11 in 2020Q3 branch should be mostly up to date with
what's in the default ports tree branch.

This is needed because the amount of patches fixing various issues started to
pile up, and it was hard to merge the needed patches one by one.

x11/libX11: Update to 1.6.10

Update x11/libX11 to 1.6.10.
Changelog:
https://lists.x.org/archives/xorg-announce/2020-July/003052.html

PR:		248409
Submitted by:	VVD

x11/libX11: Fix regression after security fixes

Add an upstream patch that fixes regressions after the last round of
security updates, and the update to 1.6.10.
This regression causes issues with emacs, at least.

Reported by:	Kevin Oberman

x11/libX11: Update to 1.6.11

Update x11/libX11 to 1.6.11.
This is effectively a noop, since the only change between 1.6.10 and 1.6.11
has already been included in the port.
Bump the version anyway to keep things up to date.

x11/libX11: Fix regression with inputh methods

Add an upstream patch to fix regressions with input metods, where input
method clients can't connect to the input method server. [1]
While here, add a patch that removes register keywords and fixes compiles
against libX11 headers with C++17.

PR:		248549 [1]
Reported by:	Atsuo Ohki

Approved by:	ports-secteam (joenum)
2020-08-17 17:01:51 +00:00
Piotr Kubaj a698e325b5 MFH: r545169
science/code_saturne: fix build on GCC architectures

Use C++11 compiler:
cs_paramedmem_remapper.cxx:124: error: ISO C++ forbids initialization of member '_sphere_cen'

Define __XSI_VISIBLE to make gettimeofday() available.

Approved by:	portmgr (fix build blanket)
2020-08-17 15:34:47 +00:00
Tijl Coosemans e9d3f27dd6 MFH: r541216
print/cups-pdf: fix patching paths

Approved by:	ports-secteam (build fix blanket)
2020-08-17 08:47:30 +00:00
Koichiro Iwao d34512b3b0 MFH: r545139
mail/coolmail: Update maintainer's email

PR:		248687
Submitted by:	Udo.Schweigert@siemens.com (maintainer)

Approved by:	portmgr blanket (consistent metadata)
2020-08-17 08:40:40 +00:00
Koichiro Iwao 29a59604f3 MFH: r545138
net/iplog: Mark broken on 13-CURRENT

Also update maintainer's email.

PR:		248686
Submitted by:	Udo.Schweigert@siemens.com (maintainer)

Approved by:	portmgr blanket (consistent metadata)
2020-08-17 08:38:45 +00:00
Piotr Kubaj 82b48f0c63 MFH: r545127
security/libfido2: fix build on GCC architectures

Use newer compiler:
/wrkdirs/usr/ports/security/libfido2/work/libfido2-1.4.0/src/fido.h:115: error: wrong number of arguments specified for '__deprecated__' attribute

Approved by:	portmgr (fix build blanket)
2020-08-16 18:46:05 +00:00
Steve Wills 9a33016c8b MFH: r545114
security/py-ecdsa: update to 0.13.3

PR:		247823
Reported by:	ehaupt
Approved by:	koobs (maintainer)
Security:	a23ebf36-e8b6-4665-b0f3-4c977f9a145c

Approved by:	ports-secteam (implicit)
2020-08-16 13:28:46 +00:00
Steve Wills c38e98b901 MFH: r541347
sysutils/consul: update to 1.8.0

While here, fix bug in rc script creation

Approved by:	ports-secteam (implicit)
2020-08-16 13:16:38 +00:00
Piotr Kubaj 3a79a13688 MFH: r545108
multimedia/php-pHash: fix build on GCC architectures

x265 requires C++11 compiler:
/usr/local/lib/libx265.so.179: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)@GLIBCXX_3.4.21'

Approved by:	portmgr (fix build blanket)
2020-08-16 13:08:49 +00:00
Matthias Andree 75935eef6f MFH: r544849
graphics/ilmbase, graphics/openexr: security update to v2.5.3

ChangeLog:
https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.3

"Patch release with various bug/security fixes and build/install fixes, plus a performance optimization:

 * Various sanitizer/fuzz-identified issues related to handling of invalid input
 * Fixes to misc compiler warnings [...]
 * Read performance optimization (#782)
 * Fix for building on non-glibc (#798)
 * Fixes to tests"

The full name of shared libraries changed from *.25.0.1 to *.25.0.2
=> PORTREVISION bumps for all ports that use either ilmbase or openexr
coming up in separate commit to ease MFH.

All test builds of direct users succeeded on 12.1 amd64.

Bump PORTREVISION of all ports using ilmbase or openexr.

Security:	b1d6b383-dd51-11ea-a688-7b12871ef3ad

Approved by:	ports-secteam@ (joneum@)
2020-08-16 09:51:32 +00:00
Joseph Mingrone 59c22beddc MFH: r545067 r545068
www/chromium: Update to version 84.0.4147.125

Upstream changes:
https://chromereleases.googleblog.com/2020/08/stable-channel-update-for-desktop.html

--

www/chromium: Fix U2F authentication

PR:		247744
Submitted by:	gonzo
Reported by:	Henry Hu <henry.hu.sh@gmail.com>

Approved by:	ports-secteam (blanket)
2020-08-15 21:02:33 +00:00
Tijl Coosemans 202ffb3143 MFH: r544878
Update to 7.29.0-57.el7_8.1.

Approved by:	ports-secteam (linux blanket)
2020-08-15 16:49:46 +00:00
Tijl Coosemans 1c9f615e25 MFH: r542337
Update to 1.10.24-14.el7_8.

Approved by:	ports-secteam (linux blanket)
2020-08-15 16:48:22 +00:00
Tijl Coosemans 46aa06f12d MFH: r542338 r544880
Update kernel-headers to 3.10.0-1127.13.1.el7.

Update kernel-headers to 3.10.0-1127.18.2.el7.

Approved by:	ports-secteam (linux blanket)
2020-08-15 16:46:59 +00:00
Tijl Coosemans fce4f00a06 MFH: r542333 r544879
Update to 219-73.el7_8.8.

Update to 219-73.el7_8.9.

Approved by:	ports-secteam (linux blanket)
2020-08-15 16:45:12 +00:00
Larry Rosenman 5984eddf32 MFH: r544857
mail/dovecot, mail/dovecot-pigeonhole: upgrade to 2.3.11.3 and 0.5.11, repectively.

dovecot changelog:
* CVE-2020-12100: Parsing mails with a large number of MIME parts could
  have resulted in excessive CPU usage or a crash due to running out of
  stack memory.
* CVE-2020-12673: Dovecot's NTLM implementation does not correctly check
  message buffer size, which leads to reading past allocation which can
  lead to crash.
* CVE-2020-10967: lmtp/submission: Issuing the RCPT command with an
  address that has the empty quoted string as local-part causes the lmtp
  service to crash.
* CVE-2020-12674: Dovecot's RPA mechanism implementation accepts
  zero-length message, which leads to assert-crash later on.
* Events: Fix inconsistency in events. See event documentation in
  https://doc.dovecot.org.
* imap_command_finished event's cmd_name field now contains "unknown"
  for unknown commands. A new "cmd_input_name" field contains the
  command name exactly as it was sent.
* lib-index: Renamed mail_cache_compress_* settings to mail_cache_purge_*.
  Note that these settings are mainly intended for testing and usually
  shouldn't be changed.
* events: Renamed "index" event category to "mail-index".
* events: service:<name> category is now using the name from
  configuration file.
* dns-client: service dns_client was renamed to dns-client.
* log: Prefixes generally use the service name from configuration file.
  For example dict-async service will now use
  "dict-async(pid): " log prefix instead of "dict(pid): "
* *-login: Changed logging done by proxying to use a consistent prefix
  containing the IP address and port.
* *-login: Changed disconnection log messages to be slightly clearer.
+ dict: Add events for dictionaries.
+ lib-index: Finish logging with events.
+ oauth2: Support local validation of JWT tokens.
+ stats: Add support for dynamic histograms and grouping. See
  https://doc.dovecot.org/configuration_manual/stats/.
+ imap: Implement RFC 8514: IMAP SAVEDATE
+ lib-index: If a long-running transaction (e.g. SORT/FETCH on a huge
  folder) adds a lot of data to dovecot.index.cache file, commit those
  changes periodically to make them visible to other concurrent sessions
  as well.
+ stats: Add OpenMetrics exporter for statistics. See
  https://doc.dovecot.org/configuration_manual/stats/openmetrics/.
+ stats: Support disabling stats-writer socket by setting
  stats_writer_socket_path="".
- auth-worker: Process keeps slowly increasing its memory usage and
  eventually dies with "out of memory" due to reaching vsz_limit.
- auth: Prevent potential timing attacks in authentication secret
  comparisons: OAUTH2 JWT-token HMAC, imap-urlauth token, crypt() result.
- auth: Several auth-mechanisms allowed input to be truncated by NUL
  which can potentially lead to unintentional issues or even successful
  logins which should have failed.
- auth: When auth policy returned a delay, auth_request_finished event
  had policy_result=ok field instead of policy_result=delayed.
- auth: auth process crash when auth_policy_server_url is set to an
  invalid URL.
- auth: Lua passdb/userdb leaks stack elements per call, eventually
  causing the stack to become too deep and crashing the auth or
  auth-worker process.
- dict-ldap: Crash occurs if var_expand template expansion fails.
- dict: If dict client disconnected while iteration was still running,
  dict process could have started using 100% CPU, although it was still
  handling clients.
- doveadm: Running doveadm commands via proxying may hang, especially
  when doveadm is printing a lot of output.
- imap: "MOVE * destfolder" goes to a loop copying the last mail to the
  destination until the imap process dies due to running out of memory.
- imap: Running "UID MOVE 1:* Trash" on an empty folder goes to infinite
  loop.
- imap: SEARCH doesn't support $.
- lib-compress: Buffer over-read in zlib stream read.
- lib-dns: If DNS lookup times out, lib-dns can cause crash in calling
  process.
- lib-index: Fixed several bugs in dovecot.index.cache handling that
  could have caused cached data to be lost.
- lib-index: Writing to >=1 GB dovecot.index.cache files may cause
  assert-crashes:
  Panic: file mail-index-util.c: line 37 (mail_index_uint32_to_offset):
  assertion failed: (offset < 0x40000000)
- lib-mail: v2.3.11 regression: MIME parts not returned correctly by
  Dovecot MIME parser.
- lib-ssl-iostream: Fix buggy OpenSSL error handling without
  assert-crashing. If there is no error available, log it as an error
  instead of crashing:
  Panic: file iostream-openssl.c: line 599 (openssl_iostream_handle_error):
  assertion failed: (errno != 0)
- lib-ssl-iostream: ssl_key_password setting did not work.
- pop3-login: Login didn't handle commands in multiple IP packets properly.
  This mainly affected large XCLIENT commands or a large SASL initial
  response parameter in the AUTH command.
- pop3: pop3_deleted_flag setting was broken, causing:
  Panic: file seq-range-array.c: line 472 (seq_range_array_invert):
  assertion failed: (range[count-1].seq2 <= max_seq)
- pop3-login: Login would fail with "Input buffer full" if the initial
  response for SASL was too long.
- submission: A segfault crash may occur when the client or server
  disconnects while a non-transaction command like NOOP or VRFY is still
  being processed.
- virtual: Copying/moving mails with IMAP into a virtual folder
assert-crashes:
  Panic: file cmd-copy.c: line 152 (fetch_and_copy): assertion failed:
  (copy_ctx->copy_count == seq_range_count(&copy_ctx->saved_uids))

pigeonhole changelog:
* managesieve: managesieve_max_line_length setting is now a "size" type
  instead of just number of bytes. This allows using e.g. "64k" as the
  value.
- lib-sieve: When folding white space is used in the Message-ID header,
  it is not stripped away correctly before the message ID value is used,
  causing e.g. garbled log lines at delivery.

PR:		248640
PR:		248644
Submitted by:	juraj@lutter.sk
Reported by:	juraj@lutter.sk
Security:	87a07de1-e55e-4d51-bb64-8d117829a26a
Security:	CVE-2020-12100
Security:	CVE-2020-12673
Security:	CVE-2020-10967
Security:	CVE-2020-12674

Approved by:	ports-secteam (joneum)
2020-08-15 16:05:35 +00:00
Danilo G. Baio 077b27bca7 MFH: r544946
net-mgmt/snmptt: Update to 1.4.2, Fix security issue

Changelog:	http://snmptt.sourceforge.net/changelog.shtml

PR:		248162
Submitted by:	nistor@snickers.org (maintainer)
Security:	b8ea5b66-deff-11ea-adef-641c67a117d8

Approved by:	ports-secteam (blanket: bug and security fix release)
2020-08-15 14:48:25 +00:00
Steve Wills e24be5f908 MFH: r542133 r542984
security/vault: update to 1.4.3

security/vault: update to 1.5.0

Approved by:	ports-secteam (implicit)
2020-08-15 13:38:53 +00:00
Tobias C. Berner e0c6110861 MFH: r544922
editors/jove: fix fetch

PR:		248588
Submitted by:	gspu <gspurki@gmail.com>

Approved by:	ports-secteam (implicit)
2020-08-15 08:43:45 +00:00
Tobias C. Berner ccfe159bda MFH: r544912
games/homura: Switch back to wine-devel

This fixes internet problems in AdventureQuest3D, Origin and maybe in other
games too.

PR:		248539
Submitted by:	Alexander Vereeken <Alexander88207@protonmail.com> (maintainer)

Approved by:	ports-secteam (implicit)
2020-08-15 06:00:27 +00:00
Dima Panov c012967e58 MFH: r544870
Update LibreOffice suite to 6.4.6 maintenance release

Relnotes:	https://wiki.documentfoundation.org/ReleaseNotes/6.4

Approved by:	ports-secteam (joneum via irc)
2020-08-14 11:34:08 +00:00
Piotr Kubaj 6219baaaa6 MFH: r544844
misc/nn-insight: fix build with GCC and on head

Add missing includes. This fixes build on stable/12 for powerpc64 (with GCC) and on head with powerpc64. Looking at https://www.freshports.org/misc/nn-insight/, it seems currently doesn't build even on head/amd64, so those includes should fix it.

The original error that made me look into it was:
/wrkdirs/usr/ports/misc/nn-insight/work/nn-insight-1.0.5/tensor.h:18:75: error: 'std::shared_ptr' has not been declared
   18 | bool readTensorDataAsJson(const char *fileName, const TensorShape &shape, std::shared_ptr<const float> &tensorData);
      |                                                                           ^~~

Approved by:	portmgr (fix build blanket)
2020-08-13 21:43:07 +00:00
Jung-uk Kim fad4763883 MFH: r544827
Fix building emulators/virtualbox-ose-additions on head after vaccess(9) KPI
change.

Approved by:	ports-secteam (blanket, build fix)
2020-08-13 18:22:22 +00:00
Cy Schubert 2afc11fe92 MFH: r544738
pkg delete tripwire results in an infinite loop due to it askking
whether to retain the tripwrie databse or not. The resolution is
to notify the user to manually remove the tripwrie database if it
is not longer needed. (Packaging bugfix.)

Approved by:	portmgr (joneum)
2020-08-13 13:46:33 +00:00
Fernando Apesteguía 7870d88ad1 MFH: r544794
devel/sigar: build after filedesc struct change

In base revision r363214[1] we dropped the fd_lastfile field of the
filedesc struct. This breaks devel/sigar.

The applied solution was proposed by mjg@ in this[2] mail thread.

[1] https://svnweb.freebsd.org/changeset/base/363214
[2] https://lists.freebsd.org/pipermail/freebsd-ports/2020-August/119093.html

PR:	248460
Submitted by:	ronald-lists@klop.ws

Approved by:	ports-secteam (blanket, build fix)
2020-08-13 11:33:04 +00:00
Jason E. Hale 42e41492dd MFH: r544802
x11-themes/qtcurve: Fix patch from r544732

===>  Applying distribution patches for qtcurve-1.9.0
patch: **** can't cd to /wrkdirs/usr/ports/x11-themes/qtcurve/work/qtcurve-1.9: No such file or directory
===>  FAILED Applying distribution patch ee2228ea2f18ac5da9b434ee6089381df815aa94.patch with -p1
*** Error code 1

Reported by:	pkg-fallout

Approved by:	ports-secteam (build fix blanket)
2020-08-13 11:29:06 +00:00
Piotr Kubaj 355d71c446 MFH: r544792
misc/xiphos: fix build on GCC architectures

Use C11 compiler:
/usr/local/include/unicode/localpointer.h:224: error: expected ';' before 'noexcept'

Also required is bumping GCC for misc/biblesync because of libstdc++ ABI error.

Approved by:	portmgr (fix build blanket)
2020-08-13 09:09:58 +00:00
Li-Wen Hsu 3f37eec5e7 MFH: r544748
Update to 2.235.4

Approved by:	swils (maintainer, implicitly)
Security:	eef0d2d9-78c0-441e-8b03-454c5baebe20
Sponsored by:	The FreeBSD Foundation

Approved by:	ports-secteam (joneum)
2020-08-13 03:45:15 +00:00
Li-Wen Hsu 95a9f765fa MFH: r544747
Update to 2.252

Security:	eef0d2d9-78c0-441e-8b03-454c5baebe20
Sponsored by:	The FreeBSD Foundation

Approved by:	ports-secteam (joneum)
2020-08-13 03:44:07 +00:00
Niclas Zeising b72436c264 MFH: r544690
devel/libgudev: Update to 233

Update devel/libgudev to 233. [1]
Change to use MASTER_SITE_GNOME.
Disable umockdev since we don't have that in ports, and it's only used for
tests.
Fix COMMENT per portlint.

PR:		248565 [1]
Requested by:	jbeich [1]

Approved by:	ports-secteam (joenum)
2020-08-12 16:47:31 +00:00
Danilo Egea Gondolfo 1de0257dbd MFH: r544616
- Update to 5.6

This revision fixes multiple vulnerabilities, please see: http://bftpd.sourceforge.net/news.html

Approved by:	portmgr (joneum)
2020-08-12 16:13:43 +00:00
Piotr Kubaj d679c44061 MFH: r544732
x11-themes/qtcurve: fix build on GCC architectures

Merge upstream patch to fix build:
/wrkdirs/usr/ports/x11-themes/qtcurve-gtk2/work/qtcurve-1.9/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/gtkprops.h: In member function 'constexpr GObject* QtCurve::GtkWidgetProps::Props::_SigConn_tabChildAdd_ObjGetter::operator()(QtCurve::GtkWidgetProps::Props::SigConn<QtCurve::GtkWidgetProps::Props::_SigConn_tabChildAdd_ObjGetter>*) const':
/wrkdirs/usr/ports/x11-themes/qtcurve-gtk2/work/qtcurve-1.9/.cmake_utils_base/cmake_c_macros/include_fix/qtcurve-utils/gtkprops.h:80:24: error: a reinterpret_cast is not a constant expression
   80 |                 return (GObject*)qtcContainerOf(p, Props, name)->m_w;   \
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Approved by:	portmgr (fix build blanket)
2020-08-12 00:05:33 +00:00
Kirill Ponomarev fd5b3ac0f1 MFH: r544708
Upgrade to 3001.1

Approved by:	maintainer

Approved by:	portmgr (security blanket)
2020-08-11 19:07:00 +00:00
Jung-uk Kim 12feb5d10b MFH: r544706
Update to 32.0.0.414.

Approved by:	ports-secteam (blanket, fetch failure)
2020-08-11 18:43:05 +00:00
Fernando Apesteguía 4c41f7fc4e MFH: r544702
deskutils/ultralist: Update to 1.2

From ChangeLog: https://github.com/ultralist/ultralist/releases/1.2

* Tasks can now have a status. This adds a new dimension for how you
  can organize your lists. Additionally, it allows for a kanban view when
  using Ultralist Pro.
* Fix an input bug for next/last week.

PR:	248592
Submitted by:	vulcan@wired.sh (maintainer)

Approved by:	ports-secteam (blanket, bugfix release)
2020-08-11 17:21:51 +00:00
Fernando Apesteguía 3f75157b50 MFH: r544699
benchmarks/blogbench: fix rand()-related crash

blogbench uses rand(3) unsafely from different threads which leads to crashes.
Use arc4random(3) instead.

Bump PORTREVISION

While here, relocate USES variable.

PR:	248420
Submitted by:	sigsys@gmail.com
Approved by:	jmohacsi@bsd.hu (maintainer)

Approved by:	ports-secteam (blanket, runtime fix)
2020-08-11 17:01:49 +00:00
Jason W. Bacon bea98f43ad MFH: r544687
sysutils/auto-admin: Upgrade to 0.6.7 bugfix release

"date +%m" reports the month with a leading 0, which the shell interprets
as octal, causing auto-pkg-branch to fail in August and September.
This prevents auto-update-system from functioning properly with quarterly
snapshots.

Approved by:	portmgr (blanket: bugfix)
2020-08-11 15:34:08 +00:00
Koichiro Iwao 73a03785a4 MFH: r544315
net/xrdp: adjust configure arguments

Set --enable-pam-config=freebsd explicitly. If this is not given, PAM
configuration will be autodetected however it might be misdetected on some
environments. Quit relying on autodetection.

Force rebuild because built packages might include misconfigured pam files
as reported in the bugzilla issue..

PR:		248481
Reported by:	Sascha Folie <sascha.folie@safo.at>
Sponsored by:	HAW International

Approved by:	portmgr blanket
2020-08-11 05:19:30 +00:00
Kurt Jaeger 3348261aa6 MFH: r544547
www/trafficserver: update 8.0.2 -> 8.0.8, fix CVE-2020-9494

PR:		247713
Submitted by:	Hung-YI Chen <gaod@hychen.org> (maintainer), spam123@bitbert.com
Relnotes:	https://raw.githubusercontent.com/apache/trafficserver/8.0.x/CHANGELOG-8.0.8
		https://raw.githubusercontent.com/apache/trafficserver/8.0.x/CHANGELOG-8.0.7
		https://raw.githubusercontent.com/apache/trafficserver/8.0.x/CHANGELOG-8.0.6
		https://raw.githubusercontent.com/apache/trafficserver/8.0.x/CHANGELOG-8.0.5
		https://raw.githubusercontent.com/apache/trafficserver/8.0.x/CHANGELOG-8.0.4
		https://raw.githubusercontent.com/apache/trafficserver/8.0.x/CHANGELOG-8.0.3
Security:	CVE-2020-9494
Approved by:	portmgr (joneum)
2020-08-10 08:01:16 +00:00
Piotr Kubaj d223c02f61 MFH: r544577
devel/abseil: fix build on powerpc64

sys/sysctl.h needs to be included after sys/types.h.
For once_flag, threads.h needs to be included.
For call_once, absl/base/call_once.h needs to be included.

Approved by:	portmgr (fix build blanket)
2020-08-09 20:41:27 +00:00
Piotr Kubaj 99e97b4601 MFH: r544563
devel/py-grpcio: fix build on powerpc(64)

Some mingling with headers is required to build abseil properly.

BoringSSL doesn't support powerpc and powerpc64 at all, only powerpc64le (ppc64le) is supported, so use system OpenSSL. BoringSSL is used because ALPN support is required, but it was implemented back in OpenSSL 1.0.2, which even stable/11 branch has. There's no need to use external SSL library at all.

Bump PORTREVISION because of package change.

PR:		248550
Approved by:	vanilla (maintainer)

Approved by:	portmgr (fix build blanket)
2020-08-09 12:18:16 +00:00
Cy Schubert fb1833c45f MFH: r544301
Update to the latest Christos Zoulas commit on github (202000801).
Fixes 13-CURRENT build errors.

Additional change required to fixup pkg-plist was to move rc.d files
to their proper location.

Approved by:	portmgr (joneum)
2020-08-09 01:58:36 +00:00
Jan Beich 138464f2fa MFH: r544526
graphics/waifu2x-ncnn-vulkan: back out r539374

ncnn API is not stable, updates frequently break this port.
Binary is also smaller when using bundled ncnn.

 $ size $(which waifu2x-ncnn-vulkan)
    text    data     bss     dec     hex filename
-7245567  242384   58992 7546943  73283f /usr/local/bin/waifu2x-ncnn-vulkan
+3281223    3152   58840 3343215  33036f /usr/local/bin/waifu2x-ncnn-vulkan

$ waifu2x-ncnn-vulkan -i foo.png -o bar.png
[0 Intel(R) HD Graphics 530 (SKL GT2)]  queueC=0[1]  queueG=0[1]  queueT=0[1]
[0 Intel(R) HD Graphics 530 (SKL GT2)]  bugsbn1=0  buglbia=0  bugcopc=0  bugihfa=0
[0 Intel(R) HD Graphics 530 (SKL GT2)]  fp16p=1  fp16s=1  fp16a=1  int8s=1  int8a=1
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
pipeline specialization count mismatch, expect 4 but got 1
new_pipeline failed
Process 8606 stopped
* thread #14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
    frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
   1369
   1370    assert(_set < MAX_PUSH_DESCRIPTORS);
   1371
-> 1372    struct anv_descriptor_set_layout *set_layout = layout->set[_set].layout;
   1373
   1374    struct anv_descriptor_set *set =
   1375       anv_cmd_buffer_push_descriptor_set(cmd_buffer, template->bind_point,
(lldb) bt
* thread #14, name = 'waifu2x-ncnn-vul', stop reason = signal SIGSEGV: invalid address (fault address: 0x28)
  * frame #0: 0x0000000802080be9 libvulkan_intel.so`anv_CmdPushDescriptorSetWithTemplateKHR(commandBuffer=0x000000080c432800, descriptorUpdateTemplate=0x0000000000000000, _layout=0x0000000000000000, _set=0, pData=0x000000080c440140) at anv_cmd_buffer.c:1372:69
    frame #1: 0x00000000004facce waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=0x00000008045e3400, buffer_bindings=0x00007fffc35ea418, image_bindings=0x00007fffc35ea0f0, constants=0x00007fffc35ea400, dispatcher=0x00007fffc35ea110) at command.cpp:1457:13
    frame #2: 0x00000000004f981c waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(ncnn::Pipeline const*, std::__1::vector<ncnn::VkMat, std::__1::allocator<ncnn::VkMat> > const&, std::__1::vector<ncnn::vk_constant_type, std::__1::allocator<ncnn::vk_constant_type> > const&, ncnn::VkMat const&) [inlined] ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, buffer_bindings=<unavailable>, image_bindings=0x00007fffc35ea0f0, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1187:5
    frame #3: 0x00000000004f97bb waifu2x-ncnn-vulkan`ncnn::VkCompute::record_pipeline(this=<unavailable>, pipeline=<unavailable>, bindings=<unavailable>, constants=<unavailable>, dispatcher=<unavailable>) at command.cpp:1175
    frame #4: 0x000000000086b516 waifu2x-ncnn-vulkan`Waifu2x::process(this=0x00007fffffffdd58, inimage=0x00007fffc35eaf30, outimage=0x00007fffc35eaf70) const at waifu2x.cpp:457:25
    frame #5: 0x000000000084cd45 waifu2x-ncnn-vulkan`proc(args=0x00007fffffffdb70) at main.cpp:281:18
    frame #6: 0x00000008008fd1c9 libthr.so.3`thread_start(curthread=0x0000000807874300) at thr_create.c:292:16

Approved by:	ports-secteam blanket
2020-08-08 20:51:25 +00:00
Bernard Spil 41a7a710cb MFH: r544237
www/apache24: Update to 2.4.46

Approved by:	ports-secteam (joneum)
Security:	76700d2f-d959-11ea-b53c-d4c9ef517024
2020-08-08 18:55:51 +00:00
Kurt Jaeger df754b64ae MFH: r544378
mail/filtermail: update 0.8.3 -> 0.8.6

- fix build with more recent flex versions
- pet portlint

PR:		247771
Submitted by:	Mike Clarke <jmc-freebsd2@milibyte.co.uk> (maintainer)
Relnotes:	https://raw.githubusercontent.com/nondeterministic/mailfilter/master/NEWS
Approved by:	portmgr (joneum)
2020-08-08 15:16:07 +00:00
Danilo G. Baio f254641c37 MFH: r544270 r544271 r544289
mail/notmuch: reset maintainership

Maintainer stops using FreeBSD.

PR:	248492
Submitted by:	seschwar@gmail.com (maintainer)

mail/py-afew: reset maintainership

Maintainer stops using FreeBSD.

PR:	248491
Submitted by:   seschwar@gmail.com (maintainer)

mail/py-afew, mail/notmuch: Take MAINTAINER'ship

Approved by:	ports-secteam (blanket: consistent port/package metadata)
Reported by:	koobs
2020-08-08 14:38:41 +00:00
Wen Heping ac15d36bd4 MFH: r544194
- Update to 2.2.15(bugfix release)
- Adjust CONFLICTS to welcome Django31

Approved by:	ports-secteam@(joneum@)
2020-08-07 10:43:55 +00:00
Wen Heping f4bacec569 MFH: r544195
- Update to 3.0.9(bugfix release)
- Adjust CONFLICTS to welcome Django31

Approved by:	ports-secteam@(joneum@)
2020-08-07 10:39:08 +00:00
Dmitri Goutnik 77fbf675a9 MFH: r544284
lang/go: Update to 1.14.7

Changes:	https://golang.org/doc/devel/release.html#go1.14.minor
Security:	bc7aff8c-d806-11ea-a5aa-0800272260e5

Approved by:	ports-secteam (joneum)
2020-08-06 18:37:29 +00:00
Mateusz Piotrowski 07f06add8f MFH: r543974
x11/dmenu: Get the latest bug fixes from upstream

Users are still reporting issues with the dmenu version 4.9. The patch we
have currently in the ports tree was meant to be a temporary fix as we
waited for a new dmenu release. A new release is not coming apparently,
so let's just get the latest patches from upstream.

Also, switch to a GitHub-hosted mirror of the dmenu repository
as it is painful to get artifacts from https://git.suckless.org/
without a Git client.

While here, replace REINPLACE_CMD with patches.

Reported by:	Scott Robbins
Approved by:	ports-secteam (joneum)
2020-08-05 14:05:05 +00:00
Jochen Neumeister ce2575c7fa MFH: r544158
Update to 10.4.6

  Changelogs:
  - https://typo3.org/article/typo3-1046-and-9520-security-releases-published
  - https://typo3.org/security/advisory/typo3-core-sa-2020-007
  - https://typo3.org/security/advisory/typo3-core-sa-2020-008

PR:		248429
Reported by:	Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer)
Security:	eab964f8-d632-11ea-9172-4c72b94353b5
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-08-04 09:47:33 +00:00
Jochen Neumeister d2673731ba MFH: r544156
Update to 9.5.20

Changelogs:
- https://typo3.org/article/typo3-1046-and-9520-security-releases-published
- https://typo3.org/security/advisory/typo3-core-sa-2020-007
- https://typo3.org/security/advisory/typo3-core-sa-2020-008

PR:		248430
Reported by:	Helmut Ritter <freebsd-ports@charlieroot.de> (maintainer)
Security:	eab964f8-d632-11ea-9172-4c72b94353b5
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-08-04 09:46:22 +00:00
Jan Beich 9b5a8e98a4 MFH: r544120
emulators/citra: update to s20200728

Changes:	b4ec50ba2...b94f21eac
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-08-04 00:27:05 +00:00
Danilo G. Baio e10dd1d25e MFH: r544118
www/grafana7: Update to 7.1.0

PR:		248141
Submitted by:	Robson Mantovani <robsonmantovani@gmail.com> (maintainer)

Approved by:	ports-secteam (blanket, bugfix release)
2020-08-04 00:16:18 +00:00
Fernando Apesteguía 769821a005 MFH: r544081
security/sssd: Fix pkg-plist to include PAC files

In PR 244778 this port was reported to fail during package. sssd_pac and others
were not generated by the build process. They were removed from the pkg-plist
and the issue closed (maintainer timed out).

Recently joerg@ reported sssd_pac should be included. It turns out,
files/patch-src_external_pac__responder.m4 needs to be updated whenever a
version bump of security/krb5 occurs[1]. This is kind of obscure since building
security/sssd with default options does not reproduce the problem (SMB=on is
needed).

[1] https://svnweb.freebsd.org/changeset/ports/526479

PR:	244778
Reported by:	joerg@
Approved by:	maintainer (timeout)

Approved by:	ports-secteam@ (blanket, plist fix)
2020-08-03 18:09:20 +00:00
Jung-uk Kim da9b02e29d MFH: r544089
Add an upstream patch to fix build without OpenGL.

d5eedf0d5c

PR:		248418
Approved by:	ports-secteam (blanket, build fix)
2020-08-03 17:53:17 +00:00
Rene Ladan db3b2e6358 MFH: r543922
www/chromium: fix build when using Python 3.{x!=7} as default

Submitted by:	kib (private mail)

Approved by:	ports-secteam (joneum)
2020-08-02 18:38:42 +00:00
Mark Linimon e998877695 MFH: r543987
Add compiler:c11 to USES to fix build on GCC-based systems:

  src/egg-play-preview.c:714: error: #pragma GCC diagnostic not allowed inside functions

Approved by:	portmgr (tier-2 blanket)
2020-08-02 18:30:55 +00:00
Dan Langille cf82fcae8d MFH: r543948
Include missing plugin scripts

Thanks to Frank Wall <fw@moov.de> for the patch.

PR:		248425
Submitted by:	phedoreanu <phedoreanu@wearehackerone.com>

Approved by:	ports-secteam (joneum)
2020-08-02 14:02:13 +00:00
Jan Beich 66af948d12 x11-servers/xwayland-devel: backport CVE-2020-14347 fix
https://lists.x.org/archives/xorg-announce/2020-July/003051.html

Approved by:	ports-secteam blanket
2020-08-02 12:59:58 +00:00
Danilo G. Baio ddce2c247f MFH: r543950
sysutils/duplicity: Update to 0.8.15

Changelog:	https://launchpad.net/duplicity/+milestone/0.8.15

Approved by:	ports-secteam (blanket, bugfix release)
2020-08-02 12:51:46 +00:00
Niclas Zeising 13e315b510 MFH: r543911 r543912
x11-servers/xorg-server: Fix CVE-2020-14347

Add upstream patch to fix CVE-2020-14347, Pixel Data Uninitialized Memory
Information Disclosure.
Announcement:
https://lists.x.org/archives/xorg-announce/2020-July/003051.html

PR:		248410 (based on)
Submitted by:	VVD
Security:	3c7ba82a-d3fb-11ea-9aba-0c9d925bbbc0

x11/libX11: Fix CVE-2020-14347

Add upstream patches to x11/libX11 to fix Heap corruption in the X input
method client in libX11.
Announcement:
https://lists.x.org/archives/xorg-announce/2020-July/003050.html

PR:		248409 (based on)
Submitted by:	VVD
Security:	6faa7feb-d3fa-11ea-9aba-0c9d925bbbc0

Approved by:	ports-secteam (implicit, security update)
2020-08-01 14:24:01 +00:00
Jochen Neumeister 9bb0ae454b MFH: r543902
Mark Broken on armv6

configuring additional dynamic modules
adding module in /wrkdirs/usr/ports/security/modsecurity3-nginx/work/ModSecurity-nginx-1.0.1
checking for ModSecurity library ... not found
checking for ModSecurity library in /usr/local/modsecurity ... not found
 ./configure: error: ngx_http_modsecurity_module requires the ModSecurity library.
===>  Script "configure" failed unexpectedly.

Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-08-01 09:49:45 +00:00
Piotr Kubaj 9d8a82aa7f MFH: r543899
math/wxmaxima: fix build on GCC architectires

Use C++11 compiler:
CMake Error in src/CMakeLists.txt:
  Target "wxmaxima" requires the language dialect "CXX11" (with compiler
  extensions), but CMake does not know the compile flags to use to enable it.

Approved by:	portmgr (fix build blanket)
2020-08-01 09:23:31 +00:00
Rene Ladan d9f4b928a6 MFH: r543833
www/chromium: update to 84.0.4147.105

Submitted by:	Matthias Wolf via GitHub
Security:	http://vuxml.freebsd.org/freebsd/9a447f78-d0f8-11ea-9837-e09467587c17.html
Security:	http://vuxml.freebsd.org/freebsd/870d59b0-c6c4-11ea-8015-e09467587c17.html

Approved by:	ports-secteam (joneum)
2020-08-01 08:31:47 +00:00
Thomas Zander 3522296c75 MFH: r542531 r543892 r543893
Update to upstream version 1.0.0

PR:		245932
Submitted by:	shoesoft@gmx.net
Reviewed by:	riggs

Enable static modules (preparation for build fix of multimedia/gpac-mp4box)

PR:		245933
Reported by:	shoesoft@gmx.net
Reviewed by:	rene, riggs

Un-break build, update to 1.0.0, switch to GitHub repository.

PR:		245933
Submitted by:	shoesoft@gmx.net
Reviewed by:	rene, riggs
Approved by:	maintainer timeout

Approved by:	ports-secteam (build fix blanket)
2020-08-01 07:27:04 +00:00
Loïc Bartoletti 464ce24e2c MFH: r543817
games/py-mnemosyne: Take Maintainer'ship, fix runtime error and add missing dependencies

Latest version of games/py-mnemosyne requires new dependencies. This commit adds the missing dependencies:

 - audio/py-gtts
 - security/py-gtts-token (required by audio/py-gtts)
 - textproc/py-googletrans

The games/py-mnemosyne port needs to be limited to Python 3.7+ to keep the dependency chains intact. This is because textproc/py-googletrans depends on www/py-httpx which is only for Python 3.7+.

PR:		247595
Submitted by:	kai
Reported by:	gspurki@gmail.com
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D25895

Approved by:	ports-secteam (joneum)
2020-08-01 07:15:38 +00:00
Tobias Kortkamp 9b422a0d5a MFH: r543618
www/webkit2-gtk3: Update to 2.28.4

Changes:	https://webkitgtk.org/2020/04/24/webkitgtk2.28.2-released.html
Changes:	https://webkitgtk.org/2020/07/09/webkitgtk2.28.3-released.html
Changes:	https://webkitgtk.org/2020/07/28/webkitgtk2.28.4-released.html
PR:		246996
Submitted by:	Marco Beishuizen <mbeis@xs4all.nl> (update to 2.28.2, 2.28.3)
Approved by:	gnome (maintainer timeout, >1 month)

Approved by:	ports-secteam web browser blanket
2020-07-31 17:10:03 +00:00
Wen Heping 18e26e42ec MFH: r543245
- Update to 3.8.5(include security fix)

Approved by:	ports-secteam@(joneum@)
2020-07-31 14:01:49 +00:00
Jochen Neumeister 05d2c54fcd MFH: r543856
Mark Broken on armv6: qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Reported by:	fallout
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-31 12:18:43 +00:00
Piotr Kubaj a17354d944 MFH: r543794
multimedia/pHash: fix build on GCC architectures

Use newer GCC to link against libavcodec:
checking whether FFmpeg is present... checking for avcodec_decode_video2 in -lavcodec... no

Approved by:	portmgr (fix build blanket)
2020-07-30 15:40:43 +00:00
Sunpoet Po-Chuan Hsieh 6fe7de9a4d MFH: r543783
Handle encoding properly

- Process README.rst using UTF-8
- Use ASCII character instead of UTF-8 in pkg-descr
- Bump PORTREVISION for package change

PR:		248295
Submitted by:	John W. O'Brien <john@saltant.com>

Approved by:	ports-secteam (blanket)
2020-07-30 10:05:34 +00:00
Tobias C. Berner be18111c28 MFH: r543542
devel/py-selectors2: Update to 2.0.2 (

https://github.com/sethmlarson/selectors2/releases/tag/2.0.2

PR:		248298
Submitted by:	John W. O'Brien <john@saltant.com> (maintainer)

Approved by:	ports-secteam (blanket)
2020-07-30 04:39:26 +00:00
Tobias C. Berner 95a5cd59ae MFH: r543704
archivers/ark: security fix

KDE Project Security Advisory
=============================

Title:           Ark: maliciously crafted archive can install files outside the extraction directory.
Risk Rating:     Important
CVE:             CVE-2020-16116
Versions:        ark <= 20.04.3
Author:          Elvis Angelaccio <elvis.angelaccio@kde.org>
Date:            30 July 2020

Overview
========

A maliciously crafted archive with "../" in the file paths
would install files anywhere in the user's home directory upon extraction.

Proof of concept
================

For testing, an example of malicious archive can be found at
https://github.com/jwilk/traversal-archives/releases/download/0/relative2.zip

Impact
======

Users can unwillingly install files like a modified .bashrc, or a malicious
script placed in ~/.config/autostart

Workaround
==========

Users should not use the 'Extract' context menu from the Dolphin file manager.
Before extracting a downloaded archive using the Ark GUI, users should inspect it
to make sure it doesn't contain entries with "../" in the file path.

Solution
========

Ark 20.08.0 prevents loading of malicious archives and shows a warning message
to the users.

Alternatively,
0df592524f
can be applied to previous releases.

Credits
=======

Thanks to Dominik Penner for finding and reporting this issue and thanks to
Elvis Angelaccio and Albert Astals Cid for fixing it.

Approved by:	ports-secteam (blanket)
2020-07-30 04:34:54 +00:00
Piotr Kubaj 0db10e9cdd MFH: r543686
net/libusrsctp: fix build on GCC architectures

Disable -Werror:
/wrkdirs/usr/ports/net/libusrsctp/work/usrsctp-0.9.3.0-856-g66a25d7/usrsctplib/netinet/sctp_auth.c:197: warning: declaration of 'index' shadows a global declaration

Approved by:	portmgr (fix build blanket)
2020-07-29 22:47:33 +00:00
Piotr Kubaj f6a8db477d MFH: r543683
devel/libcjson: fix build on GCC architectures

Disable -Werror, along with other -W flags, that cause build to break with GCC (builds with Clang as well):
/wrkdirs/usr/ports/devel/libcjson/work/cJSON-1.7.13/cJSON.c:559:15: error: conversion from 'double' to 'float' may change value [-Werror=float-conversion]

Approved by:	portmgr (fix build blanket)
2020-07-29 22:14:40 +00:00
Xin LI cb1fa045f4 MFH: r543676
www/dokuwiki: update to 2020-07-29

PR:		248345
Submitted by:	Yasuhiro KIMURA <yasu utahime org>
Approved by:	ports-secteam
2020-07-29 21:40:26 +00:00
Kai Knoblich a1079569c1 MFH: r543647
textproc/py-pikepdf: Update to 1.17.3

Changelog since 1.17.3:

https://github.com/pikepdf/pikepdf/blob/v1.17.3/docs/release_notes.rst

Approved by:	ports-secteam (joneum)
2020-07-29 10:17:18 +00:00
Sunpoet Po-Chuan Hsieh 86f010a83f MFH: r543314
Update to 2.9.3

Changes:	https://docs.wagtail.io/en/latest/releases/index.html
		https://github.com/wagtail/wagtail/releases
Security:	e1d3a580-cd8b-11ea-bad0-08002728f74c

Approved by:	ports-secteam (joneum)
2020-07-29 02:53:40 +00:00
Piotr Kubaj 5181a2ccd6 MFH: r542766
devel/nasm: fix build on GCC architectures

Use newer GCC:
asm/nasm.c:1730: error: #pragma GCC diagnostic not allowed inside functions

Approved by:	portmgr (fix build blanket)
2020-07-29 00:02:40 +00:00
Kyle Evans 25340a5320 MFH: r543571
net/freerdp: update to security/bugfix release 2.2.0

This update primarily fixes CVE-2020-15103. See the full changelog for
other bugfixes that were included:

https://github.com/FreeRDP/FreeRDP/releases/tag/2.2.0

PR:		248198
Submitted by:	VVD <vvd unislabs com>
Security:	a955cdb7-d089-11ea-8c6f-080027eedc6a

Approved by:	ports-secteam (joneum)
2020-07-28 18:30:10 +00:00
Niclas Zeising 017bbea59b MFH: r543623
net/rpki-client: Update to 6.7p1

Update net/rpki-client to 6.7p1

Changelog:
* Include OpenBSD 6.7 errata 015:
In rpki-client, incorrect use of EVP_PKEY_cmp allows an authentication bypass.

Approved by:	ports-secteam (joenum)
2020-07-28 18:03:34 +00:00
Craig Leres 38f51a4bec MFH: r543560
security/zeek: Update to 3.0.8 and address various vulnerabilities:

    https://github.com/zeek/zeek/releases/tag/v3.0.8

 - Fix potential DNS analyzer stack overflow

 - Fix potential NetbiosSSN analyzer stack overflow

Other fixes:

 - Fix DHCP Client ID Option misformat for Hardware Type 0

 - Fix/allow copying/cloning of opaque of Broker::Store

 - Fix ConnPolling memory over-use

 - Fix compress_path not normalizing some paths correctly

 - Fix integer conversion error for Tag subtypes/enums

 - Fix bro_prng() results not staying within modulus

 - Prevent providing a 0 seed to bro_prng() since the LCG parameters
   don't allow that

Reported by:	Jon Siwek
Security:	e333084c-9588-4eee-8bdc-323e02cb4fe0

Approved by:	ports-secteam (joneum)
2020-07-28 17:52:12 +00:00
Steve Wills 670ece78a4 MFH: r542990
devel/gh: Update to 0.11.0

PR:		248218
Submitted by:	Lewis Cook <vulcan@wired.sh> (maintainer)
Approved by:	ports-secteam (implicit)
2020-07-28 13:22:01 +00:00
Jochen Neumeister c302ad483b MFH: r543594
Update to 7.0.10-24

This Update fix a vulnerabiliy:
2020-06-14 7.0.10-20 <quetzlzacatenango@image...>
Fix out-of-bounds vulnerability when reading sixel images (reference https://github.com/ImageMagick/ImageMagick/issues/2143).

Full Changelog: https://imagemagick.org/script/changelog.php

PR:		246337
Reported by:	VVD <vvd@unislabs.com>
Approved by:	kwm (maintainer timeout)
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-28 13:03:39 +00:00
Thomas Zander 714f0e223e MFH: r543591
Update to upstream prerelease snapshot 1.0.29 as of 20200620

Details:
* Pull source code from GitHub
* Switch to cmake
* Remove clipping option (autodetected)
* Fix denial-of-service (CVE-2019-3832, since CVE-2018-19758 appears
  to be incomplete.)

PR:		248268
Submitted by:	daniel.engberg.lists@pyret.net
Security:	CVE-2019-3832

Approved by:	ports-secteam (riggs)
2020-07-28 12:07:32 +00:00
Renato Botelho e9d757aef2 MFH: r543526
www/squid: Update to 4.12 among other changes

- Update to 4.12
- Remove upstreamed patches
- Enhance rc script (thanks to Walter von Entferndt for ideas!):
-- create piddir if missing (/var/run may be a tmpfs)
-- don't wait endlessly if squid can't create a pidfile
-- define squid_group
- address GREASEd (thanks to Joshua Kinard and Juraj Lutter!)

PR:		247397
Submitted by:	Juraj Lutter <juraj@lutter.sk>
Reworked by:	maintainer
Approved by:	maintainer
Sponsored by:	Rubicon Communications, LLC (Netgate)
Approved by:	ports-secteam (joneum)
2020-07-28 11:05:02 +00:00
Tobias Kortkamp d778d55366 MFH: r543583
www/youtube_dl: Update to 2020.07.28

Changes:	https://github.com/ytdl-org/youtube-dl/releases/tag/2020.07.28

Approved by:	ports-secteam bug fix blanket
2020-07-28 08:43:39 +00:00
Jochen Neumeister 48f66dd2f5 MFH: r543584
Update to 1.2.13

With this release, there are a number of CVE's that have been addressed. We would like to take this moment to thank those who have contributed to Cacti with special mention to: Mayfly277 ddb4github yingbaiibm DavidLiedke kim-fitness bmfmancini riversdev0 The Cacti Group are made up of volunteers where all help and contributions are appreciated. Thanks to GitHub's recent Sponsors program, you can now also contribute financially to the project by using the "Sponsors" button on the GitHub Cacti repository or when viisting https://github.com/sponsors/Cacti We hope that you enjoy this release and that in the current unsettling climate, you are all safe and well.

Changelog: https://www.cacti.net/release_notes.php?version=1.2.13

PR:		248139
Reported by:	Michael Muenz <m.muenz@gmail.com> (maintainer)
Relnotes:	cd2dc126-cfe4-11ea-9172-4c72b94353b5
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-28 08:42:28 +00:00
Dmitri Goutnik 34af0d3ebf MFH: r543536
x11-wm/i3-gaps: Update to 4.18.2

Changes:	https://github.com/Airblader/i3/blob/4.18.2/RELEASE-NOTES-4.18.2

Approved by:	ports-secteam blanket (bugfix release)
2020-07-27 16:25:59 +00:00
Jan Beich bd85613992 MFH: r543386
devel/nspr: update to 4.27

Changes:	http://mozilla.6506.n7.nabble.com/ANNOUNCE-NSPR-4-27-Release-td386081.html
ABI:		https://abi-laboratory.pro/tracker/timeline/nspr/
Reported by:	Repology
Approved by:	ports-secteam blanket (required by Firefox 80)
2020-07-27 16:19:53 +00:00
Jan Beich fcf881a728 MFH: r543387
security/nss: update to 3.55

Changes:	https://developer.mozilla.org/docs/Mozilla/Projects/NSS/NSS_3.55_release_notes
Changes:	https://hg.mozilla.org/projects/nss/shortlog/NSS_3_55_RTM
ABI:		https://abi-laboratory.pro/tracker/timeline/nss/
Reported by:	Repology
Approved by:	ports-secteam blanket (required by Firefox 80)
2020-07-27 16:18:38 +00:00
Jan Beich b898f624fe MFH: r542677
www/firefox-esr: update to 68.11.0

Changes:	https://www.mozilla.org/firefox/68.11.0/releasenotes/
Approved by:	ports-secteam blanket
2020-07-27 16:16:48 +00:00
Jan Beich 1288cb8065 MFH: r542676
www/firefox: update to 79.0

Changes:	https://www.mozilla.org/firefox/79.0/releasenotes/
Approved by:	ports-secteam blanket
2020-07-27 16:16:18 +00:00
Christoph Moench-Tegeder 29aaf6774b MFH: r542931
mail/thunderbird: update to 68.11.0 (rc1)

Release Notes (soon):
  https://www.thunderbird.net/en-US/thunderbird/68.11.0/releasenotes/

drop patch-bug1640982 in favour of upstream resolution

Approved by:	portmgr (blanket: web browser alike)
2020-07-27 09:29:30 +00:00
Danilo G. Baio 482ad3caf7 MFH: r543493
security/arirang: Fix patch in some envs

/nxb-bin/usr/bin/sed -i.bak -e 's/cc//nxb-bin/usr/bin/cc/g' /wrkdirs/usr/ports/security/arirang/work/arirang-2.03/extconf.rb sed: 1:
"s/cc//nxb-bin/usr/bin/c ...": bad flag in substitute command: 'n'

Approved by:	ports-secteam (blanket, build fix)
2020-07-26 19:50:01 +00:00
Tobias C. Berner d19af3047f MFH: r543482
net/py-wsdd: Update to 0.6.1

0.6.1 fixes a critical bug pertaining to BSD, where the HTTP server in wsdd
would basically "do nothing" due to listen(2) being called _after_ kevent(2)
(and pending network socket I/O was therefore never processed).  I was the
reporter and analyst of this bug: https://github.com/christgau/wsdd/issues/49

- Additionally: little change to rc.d script to properly stop the daemon.

PR:		247626
Submitted by:	Hiroo Ono <hiroo.ono+freebsd@gmail.com> (maintainer)
Reported by:	Jeremy Chadwick <jdc@koitsu.org>

Approved by:	ports-secteam (blanket)
2020-07-26 14:35:29 +00:00
Koichiro Iwao 67900eb088 MFH: r543420
security/softether: increase SecureNAT sessions

to 20000 as well as security/softether5. The factory default is 4096.

Sponsored by:	HAW International

Approved by:	 portmgr blanket (minor fix on leaf ports)
2020-07-25 15:01:16 +00:00
Koichiro Iwao 642316b715 MFH: r543419
security/softether5: increase SecureNAT sessions

to 20000. The factory default is 4096.

Sponsored by:	HAW International

Approved by:	portmgr blanket (minor fix on leaf port)
2020-07-25 14:59:19 +00:00
Jan Beich 394a8a4ed3 MFH: r543392
emulators/citra: update to s20200723

Changes:	d88d22080...b4ec50ba2
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-07-25 00:56:30 +00:00
Tobias Kortkamp 59ffd59e84 MFH: r541873 r543274
Re-enable the pnmquant test, which was fixed in 10.89.

Approved by:	tobik

graphics/netpbm: Update to 10.91.01

Changes:	https://github.com/t6/netpbm/blob/v10.91.01/doc/HISTORY

Approved by:	ports-secteam bug fix blanket
2020-07-24 18:04:58 +00:00
Rene Ladan 08959590f2 MFH: r542938
www/iridium: update to 2020.04.81

PR:		245959
Submitted by:	Matthias Wolf
Security:	any Chromium vulnerability between 73 and 81

Approved by:	ports-secteam (joneum)
2020-07-24 16:22:33 +00:00
Sunpoet Po-Chuan Hsieh f66d33bc67 MFH: r543221
Switch default database to gnudb.gnudb.org

- Bump PORTREVISION for package change

freedb.freedb.org is down, use gnudb.gnudb.org instead.

PR:		247875
Submitted by:	brooks

Approved by:	ports-secteam (joneum)
2020-07-24 10:14:16 +00:00
Jan Beich 2bce300d75 MFH: r542999
multimedia/ffmpeg: revert r538687 after r541984/r542846

SVT patches no longer need to be applied in a specific order to enable
more than one SVT encoder.

PR:		248166
Submitted by:	VVD <vvd@unislabs.com>
Approved by:	ports-secteam (joneum)
2020-07-24 04:48:18 +00:00
Jochen Neumeister f857a760cc MFH: r542951
SECURITY UPDATE: Buffer overflow

Gnome Pango 1.42 and later is affected by: Buffer Overflow. The impact is: The heap based buffer overflow can be used to get code execution. The component is: function name: pango_log2vis_get_embedding_levels, assignment of nchars and the loop condition. The attack vector is: Bug can be used when application pass invalid utf-8 strings to functions like pango_itemize.

PR:		239563
Reported by:	Miyashita Touka <imagin8r@protonmail.com>
Approved by:	gnome (maintainer timeout)
Security:	456375e1-cd09-11ea-9172-4c72b94353b5
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-23 18:36:06 +00:00
Jochen Neumeister 7634d34439 MFH: r542939
www/mattermost-{webapp,server}: Update to 5.21.0

Mattermost v5.21.0 contains low level security fixes.
Full Changlog: https://docs.mattermost.com/administration/changelog.html#release-v5-21-feature-release

PR:		244136
Reported by:	Marius Halden <marius.halden@modirum.com>
Approved by:	loic.blot@unix-experience.fr (maintainer)
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-23 16:48:15 +00:00
Jochen Neumeister 5d72db3fd1 Merge www/tomcat{7,85,9,-devel} to 2020Q3
PR:		247975
Reported by:	VVD <vvd@unislabs.com>
Approved by:	ports-secteam (with hat)
Sponsored by:	Netzkommune GmbH
2020-07-23 14:35:31 +00:00
Jochen Neumeister c8f57a61ec MFH: r542924
Update to 1.2.0 and take Maintainership

- Fix a bug where uninitialized memory could be accessed when looking up
  a path in a database.
- You may now set MMDB_ADDR to use that IP address rather than the
  remote address when doing the lookup.
- Add new directive MaxMindDBNetworkEnv that allows setting an
  environment variable containing the network associated with an IP
  address.
- Add new directive MaxMindDBSetNotes. When set to On, Apache request
  notes will be set in addition to environment variables.

Approved by:	mmokhi (via private-eMail)
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-23 10:47:40 +00:00
Kurt Jaeger 60b97ba842 MFH: r542904
converters/wkhtmltopdf: update 0.12.5 -> 0.12.6, fix build

- remove dependency on www/qt5-webkit
- BREAKING CHANGE: block local filesystem access by default
- pet portlint

PR:		243349, 248039, 247556, 241397
Submitted by:	r.quakkelaar@quaras.nl
Reported by:	ohartmann@walstatt.org, rs@bytecamp.net
Reviewed by:	jonc@chen.org.nz, jhibbits
Relnotes:	https://github.com/wkhtmltopdf/wkhtmltopdf/releases/tag/0.12.6
Approved by:	portmgr (build fix blanket)
2020-07-23 01:39:01 +00:00
Piotr Kubaj ec80fdfade MFH: r542896
sysutils/rovclock: fix build on aarch64, armv6, armv7, mips, mips64, powerpc64

Probably other architectures are also fixed but only those are marked broken.

machine/pio.h is necessary for outl().

PR:		248170
Approved by:	portmgr (blanket: build fix (multiple archs))
2020-07-22 22:04:43 +00:00
Mikael Urankar c0fe05ecc9 MFH: r542882
deskutils/noti: fix build on -head

PR:		247759
Approved by:	portmgr (blanket: build fix)
Approved by:	ports-secteam (joneum)
2020-07-22 18:46:43 +00:00
Mikael Urankar 2dc16dd835 MFH: r542881
net-im/6cord: fix build on -head

Import upstream patch: efee8394fa

PR:		247760
Approved by:	Lewis Cook (maintainer)
Approved by:	ports-secteam (joneum)
2020-07-22 18:45:36 +00:00
Cy Schubert 58a6aae411 MFH: r542878
Update 1.9.1 --> 1.9.2

Major changes between sudo 1.9.2 and 1.9.1

 * The configure script now uses pkg-config to find the openssl
   cflags and libs where possible.

 * The contents of the log.json I/O log file is now documented in
   the sudoers manual.

 * The sudoers plugin now properly exports the sudoers_audit symbol
   on systems where the compiler lacks symbol visibility controls.
   This caused a regression in 1.9.1 where a successful sudo command
   was not logged due to the missing audit plugin.  Bug #931.

 * Fixed a regression introduced in 1.9.1 that can result in crash
   when there is a syntax error in the sudoers file.  Bug #934.

PR:		248179
Submitted by:	cy
Reported by:	cy
Approved by:	garga
Approved by:	portmgr (joneum)
Obtained from:	sudo-announce mailing list
2020-07-22 18:23:05 +00:00
Li-Wen Hsu f8e8461e5f MFH: r542855
Fix pkg-message displaying

PR:		248151
Approved by:	jrm (maintainer)

Approved by:	ports-secteam (joneum
2020-07-22 16:53:19 +00:00
Niclas Zeising 617c27f1d8 MFH: r542660 r542869
devel/nasm: Update to 2.15.03

Update devel/nasm to 2.15.03
Add a patch to fix nasm's ELF_OSABI field when emitting object files [1]

Changelog:
https://nasm.us/doc/nasmdocc.html

PR:		245069 [1]
Submitted by:	dim [1]
Reported by:	unitrunker gmail com [1]

devel/nasm: Update to 2.15.03

Update devel/nasm to 2.15.03
Changelog:
https://nasm.us/doc/nasmdocc.html

Approved by:	ports-secteam (joenum)
2020-07-22 16:27:32 +00:00
Niclas Zeising 7896d32d45 MFH: r542669
databases/rrdtool: Don't hardcode in start script

Upate the start script of the rrdtool component rrdcached to not hardcode
things like group, socket and pid.
These can now be overridden in /etc/rc.conf with rrdcached_group,
rrdcached_address and rrdcached_pid, respectively.
The defaults are still the same.

PR:		246122
Submitted by:	Dries Michiels

Approved by:	ports-secteam (joenum)
2020-07-22 16:24:28 +00:00
Niclas Zeising a6ac8fc3dd MFH: r542666
x11/xkeyboard-config: Update to 2.30

Update x11/xkeyboard-config to 2.30

Approved by:	ports-secteam (joenum)
2020-07-22 16:23:01 +00:00
Niclas Zeising a4c2903de6 MFH: r542663
devel/libevent: Update to 2.1.12

Update devel/libevent to 2.1.12 [1]
Change to use the dist archives instead of the tarball provided by GitHub,
per notice from upstream developers. [2] [3]
Add CPE information [2]

[3]: https://github.com/libevent/libevent/releases/tag/release-2.1.12-stable
Changelog:
https://raw.githubusercontent.com/libevent/libevent/release-2.1.11-stable/ChangeLog

PR:		247985 [1]
Reported by:	Yasuhiro KIMURA [1]
Suggested by:	daniel.engberg.lists pyret net [2]

Approved by:	ports-secteam (joenum)
2020-07-22 16:21:11 +00:00
Yuri Victorovich a5561feebf MFH: r542814
www/py-internetarchive: Fix python dependencies

Particularly, tqdm was missing.

PR:		248156
Reported by:	sdalu@sdalu.com

Approved by:	ports-secteam (joenum)
2020-07-22 15:36:17 +00:00
Fernando Apesteguía 6eaf39f194 MFH: r542861
net/enet: Update to 1.3.15

From ChangeLog: https://github.com/lsalzman/enet/blob/master/ChangeLog

 * quicker RTT initialization
 * use fractional precision for RTT calculations
 * fixes for packet throttle with low RTT variance
 * miscellaneous socket bug fixes

While here, reorder USE_LDCONFIG.

PR:	248083
Submitted by:	marcel@herrbischoff.com

Approved by:	ports-secteam (blanket, runtime fix)
2020-07-22 15:09:06 +00:00
Jan Beich b31e0ace59 MFH: r542301 r542846
multimedia/svt-vp9: update to 0.2.2

Changes:	https://github.com/OpenVisualCloud/SVT-VP9/releases/tag/v0.2.1
Changes:	https://github.com/OpenVisualCloud/SVT-VP9/releases/tag/v0.2.2
Reported by:	GitHub (watch releases)
Approved by:	ports-secteam (joneum)
2020-07-22 13:35:44 +00:00
Dan Langille 8854d01439 MFH: r542817
Update to 1.3.4

This is a security related update.

See https://github.com/PrivateBin/PrivateBin/releases/tag/1.3.4
    https://github.com/PrivateBin/PrivateBin/releases/tag/1.3.3

Remove wddx from PHP options as it no longer exist.
Code doesn't reference it now.

Take over as maintainer

PR:		248144
Submitted by:	dvl@FreeBSD.org
Approved by:	ports-secteam (joneum)
2020-07-22 12:42:07 +00:00
Piotr Kubaj 36536619c1 MFH: r542847
net/bsdec2-image-upload: fix build on GCC architectures

-W\#warnings is incorrect for GCC:
cc1: error: -Werror=#warnings: No option -W#warnings

Approved by:	portmgr (fix build blanket)
2020-07-22 10:18:17 +00:00
Joseph Mingrone c328cd0fa9 MFH: r542306
editors/emacs-devel: Update to 20200715 commit, 85eaa83

This is being merged to quarterly, because commit e98ddd6 from 20200701 is
sometimes dumping core when building on i386.  While the underlying problem may
not yet be resolved, we (emacs@FreeBSD.org) have not observed any core dumps
with commit 85eaa83 from 20200715.

Approved by:	portmgr (blanket)
2020-07-22 00:27:47 +00:00
Piotr Kubaj 9af4421a00 MFH: r542818
x11-wm/spectrwm: fix build on GCC architectures

Switch to newer GCC to workaround -Werror:
/usr/local/include/xcb/xinput.h:3072: warning: this decimal constant is unsigned only in ISO C90

Adding -Wno-error doesn't fix it, it's still overwritten by -Werror.

Approved by:	portmgr (fix build blanket)
2020-07-21 23:27:34 +00:00
Jan Beich 2b42caf5ab x11/grim: partially revert r542791
2020Q3 has wlroots 0.10.1 with old rotate behavior, making grim 1.3.1
take inverted screenshots.

Approved by:	ports-secteam blanket
2020-07-21 22:10:19 +00:00
Jan Beich b7e57efe5c MFH: r542784
x11/grim: update to 1.3.1

Changes:	https://github.com/emersion/grim/releases/tag/v1.3.1
Reported by:	GitHub (watch releases)
Approved by:	ports-secteam (joneum)
2020-07-21 21:29:22 +00:00
Tobias C. Berner eb4ae7b612 MFH: r542768
devel/pydbus-common: add missing dependeny in HTMLDOCS option

PR:		248113
Reported by:	Brad Ackerman <brad@facefault.org>

Approved by:	ports-secteam (implicit)
2020-07-21 17:54:05 +00:00
Tobias C. Berner b0a6c2235d MFH: r542762
graphics/exiv2 fix TEST option

PR:		247869
Submitted by:	daniel.engberg.lists@pyret.net
Reported by:	gja822@narod.ru

Approved by:	ports-secteam (implicit)
2020-07-21 17:28:53 +00:00
Piotr Kubaj 43ae050ac6 MFH: r542755
cad/caneda: fix build on GCC architectures

Use C++11 compiler:
  The compiler feature "cxx_decltype" is not known to CXX compiler

  "GNU"

  version 4.2.1.

Approved by:	portmgr (fix build blanket)
2020-07-21 16:57:06 +00:00
Gerald Pfeifer 45a24fc25b MFH: r542350
Backport r540756 | gerald | 2020-06-29 from emulators/wine-devel:

  Explicitly configure --without-usb. There does not appear to be a way
  for the configure test to pass on FreeBSD right now (even with extra
  ports available), so this simply makes this explicit and avoids a
  warning from configure.

Approved by:	portmgr (blanket: missing dependency)
2020-07-21 12:01:21 +00:00
Piotr Kubaj 7793486d8f MFH: r542728
audio/lenticular-lv2: fix build on GCC architectures

Use newer GCC:
cc1plus: error: unrecognized command line option "-Wno-unused-local-typedefs"

Approved by:	portmgr (fix build blanket)
2020-07-21 08:42:35 +00:00
Piotr Kubaj afdc7719a6 MFH: r542725
audio/bharvestr-lv2: fix build on GCC architectures

Require C++11 compiler because of -std=c++11.

Include climits in FileChooser.hpp because of INT64_MAX (GCC doesn't do that by default).

PR:		248134
Approved by:	portmgr (blanket: build fix)
2020-07-21 08:24:07 +00:00
Piotr Kubaj 16c9a2fb6d MFH: r542673
math/cocoalib: fix build on GCC architectures

Use C++11 compiler:
/wrkdirs/usr/ports/math/cocoalib/work/CoCoALib-0.99710/include/CoCoA/TmpPBMill.H:263: error: 'nullptr' was not declared in this scope

Approved by:	portmgr (fix build blanket)
2020-07-20 21:16:48 +00:00
Matthias Andree 56e1c13d3b MFH: r542600
dns/dnsmasq: update to 2.82 (regression and bug fixes)

Quoting Simon Kelley "This fixes a nasty problem
introduced in 2.81 which causes random crashes on systems where there's
significant DNS activity over TCP. It also fixes DNSSEC validation
problems with zero-TTL DNSKEY and DS records."

Changelog:
<http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob;f=CHANGELOG;h=e6a223119ffcd9ead6cb15153cd49bd3c61e114f;hb=f60fea1fb0a288011f57a25dfb653b8f6f8b46b9#l1>

Approved by:	ports-secteam@ (joneum@)
2020-07-20 16:47:51 +00:00
Wen Heping fe7fc3563e MFH: r542246
- Update python38 doc to 3.8.4

Approved by:	ports-secteam@(jonuem@)
2020-07-20 08:19:01 +00:00
Wen Heping 28fcb0532e MFH: r542175
- Update to 3.8.4(include securiy fix)
  https://docs.python.org/release/3.8.4/whatsnew/changelog.html#changelog

Approved by:	ports-secteam@(joneum@)
2020-07-20 08:15:00 +00:00
Wen Heping db38dba9c9 MFH: r542172
- Update moodle to 3.9.1, 3.8.4, 3.7.7 and 3.5.13
- Update CONFLICTS

Approved by:	ports-secteam@(joneum@)
2020-07-20 07:52:58 +00:00
Piotr Kubaj 751bc7254b MFH: r542591
emulators/simh-hp3000: fix build on GCC architectures

Use GCC when necessary. Builds with both GCC and Clang.

Approved by:	portmgr (fix build blanket)
2020-07-19 18:43:53 +00:00
Piotr Kubaj 9fbd58c15f MFH: r542589
graphics/dspdfviewer: fix build on GCC architectures

To build with Qt5, use C++11 compiler.

Hide Clang-only flags behind .if and add one for GCC.

Approved by:	portmgr (fix build blanket)
2020-07-19 17:39:36 +00:00
Jason W. Bacon 7e12e68056 MFH: r542587
desktop-installer: Upgrade to 0.6.17 bugfix release

MFH reason: Unbreak Gnome and Gnome-lite setup
A few other minor enhancements

Approved by:	portmgr, blanket runtime fix
2020-07-19 16:15:35 +00:00
Thomas Zander 8b728b2477 MFH: r542577
Update to upstream release 1.7.25

Details:
- Bug- and doc fixes, see
  https://github.com/containous/traefik/releases/tag/v1.7.25

Approved by:	ports-secteam (riggs)
2020-07-19 13:42:10 +00:00
Piotr Kubaj 9501aa0f88 MFH: r542560
net-im/pidgin-sipe: fix build on GCC architectures

Set -Wno-error:
cc1: warnings being treated as errors
purple-plugin.c:165: warning: missing initializer

Approved by:	portmgr (fix build blanket)
2020-07-19 11:31:16 +00:00
Guido Falsi bbaf98e836 MFH: r542551
- Update VirtualBox ports to 5.2.44
- Adapt and regenerate patches
- Reduce differences in patch-src_VBox_Devices_PC_vbox-cpuhotplug.dsl [1]

Patch based on one provided by Mario Lobo <lobo@bsd.com.br>.

Many thanks to people who provided ideas and suggetions in the
PR and review.

PR:			244212
Submitted by:		Nikita Stepanov <nikitastepan0v@bk.ru>
Reviewed by:		kevans [1]
Tested by:		lwshu
Approved by:		ports-secteam (joneum)
Security:		1e7b316b-c6a8-11ea-a7d5-001999f8d30b
Differential Revision:	https://reviews.freebsd.org/D25496

Approved by:		ports-secteam (joneum, via bugzilla PR)
2020-07-19 09:21:49 +00:00
Piotr Kubaj 137ce3c91a MFH: r542544
audio/audacity: fix build on non-x86

Disable MMX/SSE/SSE2 on non-x86.

Include cstring in allegro.h to make memcpy() available.

PR:		248076
Approved by:	xxjack12xx@gmail.com (maintainer)

Approved by:	portmgr (fix build blanket)
2020-07-19 08:45:03 +00:00
Thomas Zander fa1ea881e4 MFH: r542505
Update to upstream snapshot as of 2020-07-02

Details:
- Allow connections to mpd via unix domain sockets

Approved by:	ports-secteam (riggs)
2020-07-18 14:56:54 +00:00
Guido Falsi 6ab7fd1b40 MFH: r542357
Import patch merged upstream to fix sporadic crashes caused by an
incorrect assertion in the cose.

PR:		247961
Submitted by:	rozhuk.im@gmail.com

Approved by:	ports-secteam (joneum)
2020-07-18 10:27:49 +00:00
Guido Falsi dd66b10d57 MFH: r542356
Import patch merged upstream. Fixes an issue which causes processes
to not being removed from list sometimes.

PR:		247960
Submitted by:	rozhuk.im@gmail.com

Approved by:	ports-secteam (joneuom)
2020-07-18 10:26:42 +00:00
Dima Panov 99aa5d71c1 MFH: r542419
mail/exim: import exim-4.94+fixes branch as state of 2020.07.17

Used git diffs:

[02/26] Taint: fix pam expansion condition.  Bug 2587
[03/26] Taint: fix listcount expansion operator.  Bug 2586
[04/26] Docs: fix mistaken variable name
[06/26] Docs: typoes
[07/26] Taint: fix multiple ACL actions to properly manage tainted argument data
[08/26] Fix -bi.  Bug 2590
[09/26] Filters: fix "vacation" in Exim filter.  Bug 2593
[10/26] TLS: use RFC 6125 rules for certifucate name checks when CNAMES are present. Bug 2594
[11/26] Taint: fix radius expansion condition
[13/26] Taint: fix verify.  Bug 2598
[14/26] Fix string_copy() macro to not multiple-eval args. Bug 2603
[15/26] Cutthrough: handle request when a callout-hold is active.  Bug 2604
[16/26] Lookups: Fix "subdir" filter on a dsearch.
[18/26] Sqlite: fix segfault on bad/missing sqlite_dbfile.  Bug 2606
[19/26] Taint: fix ACL "spam" condition, to permit tainted name arguments.
[20/26] Fix message-reception clock usage.  Bug 2615
[21/26] typoes
[22/26] Fix DKIM signing to always ;-terminate.  Bug 2295
[23/26] Fix taint trap in parse_fix_phrase().  Bug 2617
[24/26] Taint: fix ACL "spam" condition, to permit tainted name arguments
[25/26] Fix debug_print_socket()
[26/26] debug_print_socket(): output formatting

Approved by:	ports-secteam (joneum)
2020-07-18 09:54:49 +00:00
Matthias Andree 8535fac538 MFH: r542352 r542353
graphics/ilmbase: graphics/openexr: security update to 2.5.2

ChangeLog: https://github.com/AcademySoftwareFoundation/openexr/releases/tag/v2.5.2
Verbosely: https://github.com/AcademySoftwareFoundation/openexr/blob/v2.5.2/CHANGES.md#version-252-june-15-2020

openexr/ilmbase update w/ shlib rename => PORTREVISION bumps of dependent ports

OpenEXR and ILMBASE updates to 2.5.2 rename the full shlib version
names from .0.0 to .0.1 => to be on the safe side, bump PORTREVISIONs.

Security:	714e6c35-c75b-11ea-aa29-d74973d1f9f3
Approved by:	ports-secteam@ (joneum@)
2020-07-18 09:31:19 +00:00
Jan Beich 6550b772fb MFH: r542454
x11/swaylock: limit root to authenticating child process

Taken from initialize_pw_backend in shadow.c.

PR:		248053
Approved by:	ports-secteam blanket
2020-07-17 22:35:19 +00:00
Jan Beich 033f2cc92a MFH: r542450
x11/swaylock: unbreak PAM locking

Since 1.5 it includes "login" service which doesn't ask for password
from user running Wayland session. Before pam_authenticate(3) failed
with PAM_AUTH_ERR due to missing permissions password database.

PR:		248053
Reported by:	many
Submitted by:	andrew|_|tao11.riddles.org.uk, jbeich
Tested by:	ashish
Approved by:	ports-secteam blanket
2020-07-17 22:14:24 +00:00
Dmitri Goutnik d3df1c6409 MFH: r542430
lang/go: Update to 1.14.6

Changes:	https://golang.org/doc/devel/release.html#go1.14.minor

Approved by:	ports-secteam blanket (bugfix release)
2020-07-17 13:08:58 +00:00
Kurt Jaeger b52f1c9251 MFH: r542405
security/clamav: update 0.102.3 -> 0.102.4

PR:		248028
Submitted by:	Yasuhiro KIMURA <yasu@utahime.org> (maintainer)
Relnotes:	https://blog.clamav.net/2020/07/clamav-01024-security-patch-released.html
Security:	CVE-2020-3350, CVE-2020-3327, CVE-2020-3481
Approved by:	portmgr (security blanket)
2020-07-17 05:40:38 +00:00
Danilo G. Baio 965ec8d1e9 MFH: r542396
net-mgmt/zabbix4-*: Update to 4.0.22

Changelog:	https://www.zabbix.com/rn/rn4.0.22

PR:		248012
Submitted by:	Pakhom Golynga <pg@pakhom.spb.ru> (maintainer)

Approved by:	ports-secteam (blanket, bugfix release)
2020-07-17 00:21:09 +00:00
Piotr Kubaj 31a717e21b MFH: r542380
editors/encryptpad: fix PORTVERSION

My bad, typo.

Approved by:	portmgr (just fix it)
2020-07-16 19:13:30 +00:00
Piotr Kubaj 161a45b603 MFH: r542378
editors/encryptpad: fix runtime on powerpc64

configure.py sets ppc32 as target architecture:
   INFO: Canonicalized CPU target powerpc to ppc32
   INFO: Autodetected platform information: OS="FreeBSD" machine="powerpc" proc="powerpc64"

Approved by:	portmgr (runtime fix blanket)
2020-07-16 19:09:33 +00:00
Mathieu Arnold 216215fea1 MFH: r542363 r542365
Update to 9.11.21 & 9.16.5.

Changes:	https://downloads.isc.org/isc/bind9/9.16.5/doc/arm/html/notes.html#notes-for-bind-9-16-5
Changes:	https://downloads.isc.org/isc/bind9/9.11.21/RELEASE-NOTES-bind-9.11.21.html
2020-07-16 15:53:13 +00:00
Li-Wen Hsu 19879e5eb6 MFH: r542272
Update to 2.245

Security:	1ddab5cb-14c9-4632-959f-802c412a9593
Sponsored by:	The FreeBSD Foundation

Approved by:	ports-secteam (joneum)
2020-07-16 10:51:40 +00:00
Li-Wen Hsu 3f4018c02e MFH: r542273
Update to 2.235.2

Approved by:	swils (maintainer, implicitly)
Security:	1ddab5cb-14c9-4632-959f-802c412a9593
Sponsored by:	The FreeBSD Foundation

Approved by:	ports-secteam (joneum)
2020-07-16 10:43:30 +00:00
Guido Falsi 97f0d0ef34 MFH: r542258
Update patch to Fix leaked keygrabs when layout changes to code
merged upstream.

PR:			244290
Submitted by:		Aryeh Friedman <aryeh.friedman AT gmail.com>, many others
Obtained from:		https://gitlab.xfce.org/xfce/libxfce4ui/-/merge_requests/2
Differential Revision:	https://reviews.freebsd.org/D24995

Approved by:		portmgr (joneum)
2020-07-16 08:48:39 +00:00
Jan Beich 9dc5efc0fe MFH: r542299
emulators/citra: update to s20200714

Changes:	96fa75fb9...d88d22080
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-07-16 00:52:58 +00:00
Danilo G. Baio 99c38f7ad8 MFH: r542259
net-mgmt/zabbix5-*: Update to 5.0.2

Changelog:	https://www.zabbix.com/rn/rn5.0.2

PR:		247972
Submitted by:	Pakhom Golynga <pg@pakhom.spb.ru> (maintainer)

Approved by:	ports-secteam (blanket, bugfix release)
2020-07-15 13:54:12 +00:00
Dmitri Goutnik c10a970aea MFH: r542256
lang/go: Update to 1.14.5

Changes:	https://golang.org/doc/devel/release.html#go1.14.minor

Approved by:	ports-secteam blanket (bugfix release)
2020-07-15 13:25:47 +00:00
Danilo G. Baio 4b4421eafd MFH: r541387 r542241
Update to 7.0.5

PR:		247815
Submitted by:	Robson Mantovani <robsonmantovani@gmail.com> (maintainer)

www/grafana7: Update to 7.0.6

PR:		247969
Submitted by:	Robson Mantovani <robsonmantovani@gmail.com> (maintainer)

Approved by:	ports-secteam (blanket, bugfix release)
2020-07-15 01:48:29 +00:00
Jochen Neumeister fb70934664 MFH: r542227
databases/mysql80-{client, server}: Update to latest release 8.0.21

Full Changelog: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-21.html

Submitted by:	fluffy
Security:	0ed71663-c369-11ea-b53c-d4c9ef517024
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-14 18:03:21 +00:00
Jung-uk Kim 5e12bdfafb MFH: r542221
Update to 32.0.0.403.

Approved by:	ports-secteam (blanket, fetch failure)
2020-07-14 15:18:17 +00:00
Kai Knoblich 002154d0f6 MFH: r542219
mail/rss2email3: Update to 3.11

* This update unbreaks the port at runtime by using the builtin
  "html.unescape()" function (introduced in Python 3.4) instead of the
  "html2text.unescape()" function from textproc/py-text2html which was
  removed since the 2019.8.11 release.

* Submitter becomes maintainer because the previous maintainer seems to be
  missing in action as there was no feedback over five months.

While I'm here:

* Switch manpages to the preferred share/man location.
* Remove no longer required CONFLICTS_INSTALL entry.
* Update the WWW field to point to the new upstream repository.

Changelog since 3.9:

https://github.com/rss2email/rss2email/blob/v3.11/CHANGELOG

PR:		243515
Submitted by:	Corey Halpin <chalpin@cs.wisc.edu> (based on)
Reported by:	Michael Bueker <m.bueker@berlin.de>
Approved by:	maintainer timeout (5+ months)

Approved by:	ports-secteam runtime fix blanket
2020-07-14 14:19:36 +00:00
Jochen Neumeister 61d7a030cb MFH: r542203
databases/mysq56-{client, server}: Update to latest release 5.6.49

Full changelog: https://dev.mysql.com/doc/relnotes/mysql/5.6/en/news-5-6-49.html

Security:	0ed71663-c369-11ea-b53c-d4c9ef517024
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (wit hat)
2020-07-14 09:25:29 +00:00
Kai Knoblich ee93bb0196 MFH: r542195
textproc/py-pikepdf: Update to 1.17.0

Changelog:

https://github.com/pikepdf/pikepdf/blob/v1.17.0/docs/release_notes.rst

Approved by:	ports-secteam bugfix blanket
2020-07-14 06:36:31 +00:00
Jung-uk Kim 2f51c9f336 MFH: r542177
Fix build with recent byacc on head after r363170.

PR:		247522
Approved by:	ports-secteam (blanket, build fix)
2020-07-14 02:20:44 +00:00
Jung-uk Kim e680e7f6da MFH: r542176
Fix build with recent byacc on head after r363170.

PR:		247522
Approved by:	ports-secteam (blanket, build fix)
2020-07-14 02:19:36 +00:00
Jung-uk Kim 7a3664f5dd MFH: r542174
Fix build with recent byacc on head after r363170`.

PR:		247522

Approved by:	ports-secteam (blanket, build fix)
2020-07-14 02:18:01 +00:00
Jung-uk Kim 1f84ec76e1 MFH: r542173
Honor $YACC and fix build with recent byacc on head after r363170.

PR:		247522

Approved by:	ports-secteam (blanket, build fix)
2020-07-14 02:16:21 +00:00
Jochen Neumeister d9ac66d3ee MFH: r542151
databases/mysq57-{client, server}: Update to latest release 5.7.31

Full Changelog: https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-31.html

Submitted by:	fluffy
Security:	0ed71663-c369-11ea-b53c-d4c9ef517024
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-13 19:10:14 +00:00
Jason W. Bacon dc21b80ce6 MFH: r542001
sysutils/auto-admin: Upgrade to 0.6.6

MFH reason: Fix auto-check-ports-branch to prevent desktop-installer abort
Add auto-firewall-setup to enable basic IPFW config
Other minor bug fixes and enhancements

Approved by:	ports-secteam
2020-07-13 15:41:33 +00:00
Dmitri Goutnik 9996aecf7f MFH: r542135
net-mgmt/prometheus2: Update to 2.19.2

Changes:	https://github.com/prometheus/prometheus/releases/tag/v2.19.2
PR:		247937
Submitted by:	David O'Rourke <dor.bsd@xm0.uk> (maintainer)

Approved by:	ports-secteam blanket (bugfix release)
2020-07-13 14:10:10 +00:00
Jan Beich a09cc9dd5b MFH: r542123
multimedia/ffmpeg: update to 4.3.1

Changes:	https://git.ffmpeg.org/gitweb/ffmpeg.git/blob/n4.3.1:/Changelog
ABI:		https://abi-laboratory.pro/tracker/timeline/ffmpeg/
Reported by:	Repology
Security:	CVE-2020-13904 CVE-2020-14212
Approved by:	ports-secteam blanket
2020-07-13 10:52:49 +00:00
Ganael LAPLANCHE 0824821cf0 MFH: r541479
Fix linking error

ld: error: undefined symbol: pow

Approved by:	portmgr (blanket)
2020-07-13 10:22:10 +00:00
Jan Beich 4e7a3a242b MFH: r542115
emulators/ppsspp: update to 1.10.3

Changes:	https://github.com/hrydgard/ppsspp/compare/v1.10.2...v1.10.3
Reported by:	GitHub (watch releases), portscout
Approved by:	ports-secteam blanket (reliability fixes)
2020-07-13 08:24:17 +00:00
Antoine Brodin 701664027f MFH: r541135
devel/py-srsly: Add missing python version requirement

Requires python 3.6+

Reported by:    pkg-fallout
2020-07-12 20:23:05 +00:00
Antoine Brodin 1742f6208a MFH: r542105
Mark BROKEN

Reported by:	pkg-fallout
2020-07-12 20:19:15 +00:00
Antoine Brodin 319e2903b3 MFH: r542102
Mark BROKEN

Reported by:	pkg-fallout
2020-07-12 20:16:53 +00:00
Antoine Brodin b8ebb855c6 MFH: r542100
Mark BROKEN

Reported by:	pkg-fallout
2020-07-12 20:15:07 +00:00
Antoine Brodin 0ce15c3cc4 MFH: r542098
Mark BROKEN

WITH_SCOTCH selected but no installation of Scotch could be found

Reported by:	pkg-fallout
2020-07-12 20:12:29 +00:00
Antoine Brodin 7abadbcf41 MFH: r542096
Mark BROKEN

cups.c:42:12: error: incomplete definition of type 'struct _ipp_s'

Reported by:	pkg-fallout
2020-07-12 20:08:29 +00:00
Antoine Brodin d20093a8eb MFH: r542094
Mark BROKEN: fails to build

(cd /wrkdirs/usr/ports/games/burrtools/work/burrtools-0.6.3 && /bin/cat burricons.ico | winicontoppm -bestqual |  pnmtopng -transparent=black > burricons.png)
winicontoppm: abnormal bit per pixel value 32
pnmtopng: Error reading first byte of what is expected to be a Netpbm magic number.  Most often, this means your input file is empty

Reported by:	pkg-fallout
2020-07-12 20:05:44 +00:00
Ashish SHUKLA 32a5fa4ef8 MFH: r542090
- Import a patch from upstream to fix bug related to SSL
  certificate verification in Profanity

PR:		247871
Approved by:	arved (maintainer)
Approved by:	portmgr (reliability fix blanket)
2020-07-12 19:20:29 +00:00
Bernard Spil d401bf5602 MFH: r542085
databases/mariadb104-server: Fix breakage

 * Unbreak clean installs (USERS/GROUPS)
 * INSTALL_UNIX_ADDRDIR is a FILE, add the socket filename
 * Built-in socket path now confirmed to be consistent between client, lib and daemon

PR:		247747
Submitted by:	VVD <vvd unislabs com>
Reported by:	dinoex

Approved by:	ports-secteam (joneum)
2020-07-12 15:13:47 +00:00
Piotr Kubaj d81313c738 MFH: r542079
cad/ngspice_rework: fix build on GCC architectures

Use newer GCC:
dstring.o: In function `copy':
dstring.c:(.opd+0x240): multiple definition of `copy'
spice2poly/dlmain.o:dlmain.c:(.opd+0x6f0): first defined here

Approved by:	portmgr (fix build blanket)
2020-07-12 13:32:53 +00:00
Thomas Zander 03a9ab7947 MFH: r542076
Update to upstream release 0.21.25

Details:
- Bug fixes, see
  https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21.25/NEWS
- Includes memory leak in opus decoding, and
- fixes potential crashes when playing opus and vorbis

Approved by:	ports-secteam (riggs)
2020-07-12 12:42:59 +00:00
Dmitri Goutnik 3d64322dc4 MFH: r542074
mail/mutt: Update to 1.14.6

Changes:	https://marc.info/?l=mutt-users&m=159450037229752&w=2
PR:		247928
Submitted by:	Derek Schrock <dereks@lifeofadishwasher.com> (maintainer)

Approved by:	ports-secteam blanket (bugfix release)
2020-07-12 12:34:05 +00:00
Niclas Zeising 0e3d17e371 MFH: r542055
x11/xkeyboard-config: Add NLS option

Add NLS option to x11/xkeyboard-config.  This was broken in the past, but is
fixed now.

PR:		243070 (based on)
Submitted by:	Andrew Romanenko
Event:		Julu 2020 bugathon

Approved by:	ports-secteam (joenum)
2020-07-12 07:05:20 +00:00
Dmitri Goutnik f6c864d3af MFH: r541992
net/go-bapu: Unbreak build

PR:		247903
Approved by:	cs (maintainer)

Approved by:	ports-secteam blanket (build fix)
2020-07-11 17:04:50 +00:00
Jan Beich 76ed65f141 MFH: r541984
multimedia/ffmpeg: properly update svt-av1 patch after r540738

v0.8.4 raw link referred to a pre-release branch with the same name.

$ make checksum TRYBROKEN= MASTER_SITE_BACKUP= DISTDIR=$(mktemp -dt distfiles)
===>  License GPLv3+ LGPL3+ accepted by the user
===>   ffmpeg-4.3_3,1 depends on file: /usr/local/sbin/pkg - found
=> ffmpeg-4.3.tar.xz doesn't seem to exist in /tmp/distfiles.kl07C25q/.
=> Attempting to fetch https://ffmpeg.org/releases/ffmpeg-4.3.tar.xz
ffmpeg-4.3.tar.xz                                     9158 kB 3382 kBps    03s
=> 0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch doesn't seem to exist in /tmp/distfiles.kl07C25q/.
=> Attempting to fetch https://github.com/Intel/SVT-HEVC/raw/v1.4.3/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wra          21 kB  695 kBps    00s
=> 0002-doc-Add-libsvt_hevc-encoder-docs.patch doesn't seem to exist in /tmp/distfiles.kl07C25q/.
=> Attempting to fetch https://github.com/Intel/SVT-HEVC/raw/v1.4.3/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch
0002-doc-Add-libsvt_hevc-encoder-docs.patch           5332  B 5690 kBps    00s
=> 0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch doesn't seem to exist in /tmp/distfiles.kl07C25q/.
=> Attempting to fetch https://github.com/OpenVisualCloud/SVT-AV1/raw/v0.8.4/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
fetch: https://github.com/OpenVisualCloud/SVT-AV1/raw/v0.8.4/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /tmp/distfiles.kl07C25q/ and try again.
*** Error code 1

Changes:	https://github.com/OpenVisualCloud/SVT-AV1/compare/f5f390ab3..v0.8.4
PR:		247873
Approved by:	ports-secteam blanket (unbreak fetch)
2020-07-11 15:59:32 +00:00
Danilo G. Baio 79b0abb087 MFH: r541966
security/py-certbot: Improve periodic script

This change will keep the default behavior in the periodic script
and will add options to customize each parameter for those who want to:
 - weekly_certbot_pre_hook
 - weekly_certbot_post_hook
 - weekly_certbot_deploy_hook
 - weekly_certbot_custom_args

PR:		245674, 245954
Reported by:	amdmi3, fjoe
Reviewed by:	koobs
Approved by:	dbaio, koobs (python, maintainer)
Differential Revision:	https://reviews.freebsd.org/D25391

Approved by:	ports-secteam (joneum)
2020-07-11 12:50:20 +00:00
Dmitri Goutnik 476f9fff3f MFH: r541964
net-mgmt/netdata-go: Update to 0.19.2

Changes:	https://github.com/netdata/go.d.plugin/releases/tag/v0.19.2
PR:		247326
Submitted by:	Dries Michiels <driesm.michiels@gmail.com> (maintainer)

Approved by:	ports-secteam blanket (bugfix release)
2020-07-11 12:24:27 +00:00
Bernard Spil 4cbee1591d MFH: r541343
sysutils/py-rdiff-backup: Update to 2.0.3

PR:		247780
Approved by:	Zolt Udvari <uzsolt uzolt hu> (maintainer)

Approved by:	ports-secteam (joneum)
2020-07-11 11:50:15 +00:00
Jan Beich c88b0a57da MFH: r541894
emulators/citra: update to s20200708

Changes:	910cc9efc...96fa75fb9
Approved by:	ports-secteam (swills, implicit for snapshots)
2020-07-11 00:46:56 +00:00
Jan Beich c38c3e5b29 MFH: r541892
multimedia/libva-intel-media-driver: update to 20.2.0

Changes:	https://github.com/intel/media-driver/compare/intel-media-20.2.pre4...intel-media-20.2.0
Changes:	https://github.com/intel/media-driver/releases/tag/intel-media-20.2.0
Reported by:	GitHub (watch releases)
Approved by:	ports-secteam blanket (regression/stability fixes)
2020-07-11 00:46:29 +00:00
Tobias Kortkamp 53fd9f773d MFH: r541871
www/hiawatha: Update to 10.11

Changes:	https://www.hiawatha-webserver.org/changelog

Approved by:	ports-secteam bug fix blanket
2020-07-10 16:57:15 +00:00
Dima Panov 2485fec184 MFH: r541383
Update LibreOffice suite to 6.4.5 release

QT5 VCL fixes:
- Reduce startup flickering
- Always use cairo font renderer

Special thanks to:	tijl

PR:		247444

Approved by:	ports-secteam (joneum)
2020-07-10 14:32:45 +00:00
Torsten Zuehlsdorff 807e77835a MFH: r541855
lang/php74: Upgrade from 7.4.7 to 7.4.8

Changelog:

    Core:
        Fixed bug #79595 (zend_init_fpu() alters FPU precision).
        Fixed bug #79650 (php-win.exe 100% cpu lockup).
        Fixed bug #79668 (get_defined_functions(true) may miss functions).
        Fixed bug #79657 ("yield from" hangs when invalid value encountered).
        Fixed bug #79683 (Fake reflection scope affects __toString()).
        Fixed possibly unsupported timercmp() usage.
    Exif:
        Fixed bug #79687 (Sony picture - PHP Warning - Make, Model, MakerNotes).
    Fileinfo:
        Fixed bug #79681 (mime_content_type/finfo returning incorrect mimetype).
    Filter:
        Fixed bug #73527 (Invalid memory access in php_filter_strip).
    GD:
        Fixed bug #79676 (imagescale adds black border with IMG_BICUBIC).
    OpenSSL:
        Fixed bug #62890 (default_socket_timeout=-1 causes connection to timeout).
    PDO SQLite:
        Fixed bug #79664 (PDOStatement::getColumnMeta fails on empty result set).
    phpdbg:
        Fixed bug #73926 (phpdbg will not accept input on restart execution).
        Fixed bug #73927 (phpdbg fails with windows error prompt at "watch array").
        Fixed several mostly Windows related phpdbg bugs.
    SPL:
        Fixed bug #79710 (Reproducible segfault in error_handler during GC involved an SplFileObject).
    Standard:
        Fixed bug #74267 (segfault with streams and invalid data).

Sponsored by:	Bounce Experts

Approved by:	ports-secteam (joneum, implicit for PHP Updates)
2020-07-10 11:29:05 +00:00
Torsten Zuehlsdorff 9af5eb2332 MFH: r541854
lang/php73: Update from 7.3.19 to 7.3.20

Changelog:

    Core:
        Fixed bug #79650 (php-win.exe 100% cpu lockup).
        Fixed bug #79668 (get_defined_functions(true) may miss functions).
        Fixed possibly unsupported timercmp() usage.
    Exif:
        Fixed bug #79687 (Sony picture - PHP Warning - Make, Model, MakerNotes).
    Filter:
        Fixed bug #73527 (Invalid memory access in php_filter_strip).
    GD:
        Fixed bug #79676 (imagescale adds black border with IMG_BICUBIC).
    OpenSSL:
        Fixed bug #62890 (default_socket_timeout=-1 causes connection to timeout).
    PDO SQLite:
        Fixed bug #79664 (PDOStatement::getColumnMeta fails on empty result set).
    SPL:
        Fixed bug #79710 (Reproducible segfault in error_handler during GC involved an SplFileObject).
    Standard:
        Fixed bug #74267 (segfault with streams and invalid data).

Sponsored by:	Bounce Experts

Approved by:	ports-secteam (joneum, implicit for PHP Updates)
2020-07-10 11:28:05 +00:00
Jochen Neumeister 9a6b135d75 MFH: r541752
The garbd options are semicolon separated key value pairs.
The current rc.d script does not support multiple options(eg. "gmcast.listen_addr=tcp://0.0.0.0:5567;pc.weight=1")

The variable garb_galera_options need to be quoted in command line.

PR:		236795
Reported by:	TAO ZHOU <zhoutao@laocius.org>
Approved by:	devel@galeracluster.com (maintainer)
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-09 22:00:50 +00:00
Jochen Neumeister b40944a87c MFH: r541747
The garbd options are semicolon separated key value pairs.
The current rc.d script does not support multiple options(eg. "gmcast.listen_addr=tcp://0.0.0.0:5567;pc.weight=1")

The variable garb_galera_options need to be quoted in command line.

PR:		236795
Reported by:	TAO ZHOU <zhoutao@laocius.org>
Approved by:	devel@galeracluster.com (maintainer)
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-09 21:59:53 +00:00
Jochen Neumeister 4de2bd3dee MFH: r541743
Add xmlwriter for USE_PHP: this fix a Problem with 2FA

PR:		247134
Reported by:	epopen@gmail.com
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-09 21:58:57 +00:00
Jochen Neumeister 763699c189 MFH: r541739
databases/mysql57-client: fix SIGSEGV due to static OpenSSL linking

As opposed to MySQL 8.0.x branch that switched to dynamic linking for OpenSSL libraries, MySQL 5.7.30 still statically links client applications with OpenSSL.

Meantime, OpenSSL supports dynamic loading of external engines like security/gost-engine. If such engine is configured to load in the openssl.cnf, mysql CLI application crashes at start with SIGSEGV early trying to initialize OpenSSL.

This loads dynamic engine library libgost.so that calls OpenSSL function using second (uninitialized) instance of OpenSSL leading to crash.

The problem is fixed with small backport from MySQL 8.0.x for cmake/ssl.cmake distribution file we already patching anyway.

https://github.com/openssl/openssl/issues/12368

PR:		247803
Reported by:	eugen
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-09 21:57:52 +00:00
Jochen Neumeister e8e796ac37 MFH: r541824
MyBB 1.8.22 is now available, and is a security & maintenance release.

Changelog: https://blog.mybb.com/2019/12/30/mybb-1-8-22-released-security-maintenance-release/

Security:	198a120d-c22d-11ea-9172-4c72b94353b5
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-09 21:56:07 +00:00
Matthias Fechner cf266ff97e MFH: r541403
Security update to 13.1.3.
Changelog:
https://about.gitlab.com/releases/2020/07/06/critical-security-release-gitlab-13-1-3-released/

Security:	f7a97d43-c039-11ea-a051-001b217b3468

Approved by:	ports-secteam (joneum)
2020-07-09 20:50:42 +00:00
Yuri Victorovich 92b39dcdae MFH: r541763
security/tor-devel: Update 0.4.4.1-alpha -> 0.4.4.2-alpha (contains major and minor security and other bugfixes)

Changelog: https://gitweb.torproject.org/tor.git/tree/ChangeLog?h=tor-0.4.4.2-alpha

Approved by:	ports-secteam (joenum)
2020-07-09 18:23:55 +00:00
Yuri Victorovich 7cf8fd0a81 MFH: r541762
security/tor: Update 0.4.3.5 -> 0.4.3.6 (contains major and minor security and crash bugfixes)

Changelog: https://gitweb.torproject.org/tor.git/tree/ChangeLog?h=tor-0.4.3.6

Reported by:	upstream notification

Approved by:	ports-secteam (joenum)
2020-07-09 18:23:05 +00:00
Yuri Victorovich e5bd2f9bab MFH: r541755
misc/lf: Fix the keyboard problem

Fix suggested by the GH user flw-cn in https://github.com/gokcehan/lf/issues/392

Reported in:		https://forums.freebsd.org/threads/terminal-file-manager-misc-lf-not-operational.75804/

Approved by:	ports-secteam (joenum)
2020-07-09 18:22:22 +00:00
Sunpoet Po-Chuan Hsieh 1342f64715 MFH: r541702
Update to 2.3.0

Changes:	https://kramdown.gettalong.org/news.html
		https://github.com/gettalong/kramdown/blob/master/doc/news/release_2_3_0.page
Security:	20b46222-c12b-11ea-abe8-08002728f74c

Approved by:	ports-secteam (joneum)
2020-07-09 17:49:45 +00:00
Josh Paetzel f55a462f07 MFH: r541348
Fix some regressions in the 1.18 reboot of development.

PR:	247529
Submitted by:	vvd@unislabs.com daniel.engberg.lists@pyret.net
Reported by:	tobik

Approved by:	ports-secteam (joneum)
2020-07-09 14:01:07 +00:00
Piotr Kubaj 6739cf131c MFH: r541745
graphics/exiv2: fix build on ARM and PPC platforms

exiv2 added -fcf-protection, which is not supported on either ARM or PPC.
1ea63ccb34 fixes that but only for ARM.

Merge this commit and add modify it to also fix PPC. This is likely the wrong approach, since -fcf-protection seems to be available only on amd64, but this is the approach that upstream chose.

Approved by:	portmgr (fix build blanket)
2020-07-09 11:54:38 +00:00
Tijl Coosemans e06bcc084d MFH: r541411
Update to 2.16.7.

Security:	https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-07
Approved by:	ports-secteam (joneum)
2020-07-09 10:48:21 +00:00
Tobias C. Berner b39a225d4b MFH: r541320
graphics/exiv2: update to 0.27.3

PR:		247708
Submitted by:	daniel.engberg.lists@pyret.net
Exp-run by:	antoine

Approved by:	ports-secteam (joneum)
2020-07-09 10:41:37 +00:00
Jan Beich c4261cef8d MFH: r541727
www/firefox: update to 78.0.2

Changes:	https://www.mozilla.org/firefox/78.0.2/releasenotes/
Approved by:	ports-secteam blanket
2020-07-09 00:51:35 +00:00
Fernando Apesteguía a7310b0f8f MFH: r541503
devel/caf: update to 0.17.5

ChangeLog:
https://github.com/actor-framework/actor-framework/releases/tag/0.17.5

Approved by:	ports-secteam (blanket, runtime fix)
2020-07-08 16:24:42 +00:00
Danilo G. Baio 418dc2e16f MFH: r541494
devel/py-azure-multiapi-storage: Fix packaging

Reported by:	lwhsu

Approved by:	ports-secteam (blanket, runtime fix)
2020-07-08 14:31:25 +00:00
Tobias C. Berner 6068338f53 MFH: r541489
x11-wm/hikari: Update to 2.0.5

Changelog:
	https://hub.darcs.net/raichoo/hikari/browse/CHANGELOG.md

PR:		247846
Submitted by:	Alexander Sieg <ports@xanderio.de> (maintainer)

Approved by:	ports-secteam (blanket)
2020-07-08 13:52:56 +00:00
Piotr Kubaj 35b7bec987 MFH: r541485
audio/adplay: fix build on GCC architectures

Use C++11 compiler:
/usr/local/lib/libadplug.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)@GLIBCXX_3.4.21'

Approved by:	portmgr (fix build blanket)
2020-07-08 10:50:57 +00:00
Piotr Kubaj d6f401bf84 MFH: r541482
biology/cufflinks: fix build on GCC architectures

Using Boost requires modern compiler.

Approved by:	portmgr (fix build blanket)
2020-07-08 10:38:10 +00:00
Piotr Kubaj 207ccc9d95 MFH: r541475
emulators/simh-hp2100: fix build on GCC architectures

GCC architectures don't have clang. Tested to build on both 12.1 with GCC and head with LLVM.

Approved by:	portmgr (fix build blanket)
2020-07-08 09:53:40 +00:00
Piotr Kubaj c8df1239a5 MFH: r541425
sysutils/nss_ndb: fix build on GCC architectures

Use newer GCC to workaround GCC 4.2 bug:
cc -fstack-protector-strong -g -o makendb makendb.o nss_ndb.o  -lpthread -ldl
cc: Internal error: Segmentation fault (program ld)

Approved by:	portmgr (fix build blanket)
2020-07-07 15:09:11 +00:00
Jan Beich dca13871c5 MFH: r541299 r541376
emulators/ppsspp: update to 1.10.2

Changes:	https://github.com/hrydgard/ppsspp/compare/v1.10...v1.10.2
Approved by:	ports-secteam blanket (crash fixes)
2020-07-06 23:58:18 +00:00
Piotr Kubaj 435b0fbef2 MFH: r541369
deskutils/nautilus-sendto: fix build on GCC architectures

Use newer GCC:
../src/nautilus-sendto.c:383: error: #pragma GCC diagnostic not allowed inside functions

Approved by:	portmgr (fix build blanket)
2020-07-06 21:59:10 +00:00
Piotr Kubaj a5106836ae MFH: r541367
mail/claws-mail-litehtml_viewer: fix build on GCC architectures

Use C++11 compiler:
cc1plus: error: unrecognized command line option "-std=c++11"

Approved by:	portmgr (fix build blanket)
2020-07-06 21:52:46 +00:00
Piotr Kubaj 8e7ac5c97a MFH: r541360
graphics/elementary-photos: fix build on GCC architectures

Use newer GCC:
cc1: error: unrecognized command line option "-Wno-incompatible-pointer-types"

Approved by:	portmgr (fix build blanket)
2020-07-06 19:39:16 +00:00
Wen Heping 686a3950d4 MFH: r541063
- Update to 3.7.8(include security fix)

PR:		247630
Submitted by:	wen@
Exp-run by:	antoine@

Approved by:	ports-secteam@(joneum@)
2020-07-06 08:49:57 +00:00
Tobias C. Berner f98c0576d3 MFH: r541312
devel/dbus: update to 1.12.20

From upstreams changelog [1]:

dbus 1.12.20 (2020-07-02)
=========================

The “temporary nemesis” release.

Maybe security fixes:

• On Unix, avoid a use-after-free if two usernames have the same
  numeric uid. In older versions this could lead to a crash (denial of
  service) or other undefined behaviour, possibly including incorrect
  authorization decisions if <policy group=...> is used.
  Like Unix filesystems, D-Bus' model of identity cannot distinguish
  between users of different names with the same numeric uid, so this
  configuration is not advisable on systems where D-Bus will be used.
  Thanks to Daniel Onaca.
  (dbus#305, dbus!166; Simon McVittie)

Other fixes:

• On Solaris and its derivatives, if a cmsg header is truncated, ensure
  that we do not overrun the buffer used for fd-passing, even if the
  kernel tells us to.
  (dbus#304, dbus!165; Andy Fiddaman)

[1] https://gitlab.freedesktop.org/dbus/dbus/blob/dbus-1.12/NEWS

PR:		247730
Exp-run by:	antoine

Approved by:	ports-secteam (joneum)
2020-07-06 06:50:05 +00:00
Kai Knoblich 14db4e4c9f MFH: r541279
textproc/py-pikepdf: Update to 1.16.1

* Add JBIG2 option as support for extracting JBIG2 images was introduced
  with the 1.16.0 release.

Changelog since 1.14.0:

https://github.com/pikepdf/pikepdf/blob/v1.16.1/docs/release_notes.rst

Approved by:	ports-secteam bug/regression fix blanket
2020-07-06 06:41:08 +00:00
Thomas Zander 07a772b741 MFH: r541314
Fix runtime link error: Undefined symbol "php_hash_bin2hex" and segfault

PR:		247717
Submitted by:	juraj@lutter.sk, daniel@blodan.se (maintainer)
Reviewed by:	daniel@blodan.se (maintainer)

Approved by:	ports-secteam (riggs)
2020-07-06 06:39:31 +00:00
Martin Matuska 5130346ede MFH: r541275
databases/proftpd-mod_sql_tds:
  Update distfiles and bump PORTREVISION for proftpd slave ports

ftp/proftpd-mod_vroot:
  Update distfiles and bump PORTREVISION for proftpd slave ports

security/proftpd-mod_clamav:
  Update distfiles and bump PORTREVISION for proftpd slave ports

Approved by:	portmgr (fix build blanket)
2020-07-05 21:00:11 +00:00
Tobias C. Berner aa1b31f94d MFH: r541292
textproc/markdown: fix WWW

Give maintainership to Miguel Gocobachi <miguel@gocobachi.dev>

PR:		247499
Submitted by:	Miguel Gocobachi <miguel@gocobachi.dev>

Approved by:	ports-secteam (blanket)
2020-07-05 16:50:13 +00:00
Piotr Kubaj d5ad740c49 MFH: r541266
math/clasp: fix build on GCC architectures

Use C++11 compiler:
CMake Error in app/CMakeLists.txt:
  Target "clasp" requires the language dialect "CXX11" (with compiler
  extensions), but CMake does not know the compile flags to use to enable it.

Approved by:	portmgr (fix build blanket)
2020-07-05 09:25:54 +00:00
Piotr Kubaj 437ec8ddeb MFH: r541264
sysutils/bamf: fix build on GCC architectures

Use newer GCC:
cc1: error: unrecognized command line option "-Warray-bounds"

Approved by:	portmgr (fix build blanket)
2020-07-05 09:14:03 +00:00
Jochen Neumeister 79cc6ff8d2 MFH: r541261
Update to 5.5.5

This Update fix CVE-2020-13160: AnyDesk before 5.5.3 on Linux and FreeBSD has a format string vulnerability that can be exploited for remote code execution.

PR:		247406
Submitted by:	Martin Filla <freebsd@sysctl.cz> (maintainer)
Security:	4344861a-be0b-11ea-9172-4c72b94353b5
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-05 09:06:11 +00:00
Danilo G. Baio a4cf48cb11 MFH: r541240
sysutils/duplicity: Update to 0.8.14

Changelog:	https://launchpad.net/duplicity/+milestone/0.8.14

Approved by:	ports-secteam (blanket, bugfix release)
2020-07-04 23:01:41 +00:00
Fernando Apesteguía 38418edbdf MFH: r541222
net-mgmt/nsca-ng: Update to 1.6

This is not broken anymore in 12 and 13

ChangeLog:
https://github.com/weiss/nsca-ng/blob/master/NEWS#changes-in-release-16-2019-03-19

Accumulated changes from 1.4:

 * Work around TLSv1.3 PSK bug in (at least) OpenSSL 1.1.1b.
 * Fix static linking against recent OpenSSL versions.
 * Update our copy of libev from version 4.22 to version 4.25. The new release
   provides a few platform compatibilty fixes and small enhancements.
 * Apply a few minor improvements.
 * Include an experimental NSCA-ng client module for Perl.
 * Link against libsystemd instead of libsystemd-daemon when using systemd
   version 210 or newer, where the latter library has been merged into the
   former.
 * Include the systemd.service(5) and systemd.socket(5) files with the release
   tarball.
 * Update our copy of libev from version 4.15 to version 4.22. The new release
   provides a number of bug fixes and small enhancements.

While here, update WWW in pkg-descr

PR:	247145
Submitted by:	knan-bfo@modirum.com
Reviewed by:	pi, fernape
Approved by:	alexander@sulfrian.net (maintainer, timeout > 1 month)
Differential Revision:	https://reviews.freebsd.org/D25208

Approved by:	ports-secteam (blanket, build fix)
2020-07-04 18:00:59 +00:00
Niclas Zeising b9ae284672 MFH: r541061
net/rpki-client: Fix creaton of cache and db dir

Fix the creation of the cahce and db dir for rpki-client.  When running the
build as root, the rpki-client build infra tries to change the owner of the
cache and db dir, which fails since the user isn't created until later.
Since we deal with special perimissions and owners/groups of files in
pkg-plist anyway, there is no need to try to change the owner/group from the
rpki-client build infra, so add a patch that just creates the directories
without changing ownership.

This fixes the build of rpki-client on the package cluster.

Approved by:	ports-secteam (joenum)
2020-07-04 13:29:14 +00:00
Piotr Kubaj 15378f5ada MFH: r541210
www/node12: fix runtime on powerpc64 elfv1, build / runtime on powerpc64 elfv2

Patches are backported from www/node and changed where necessary.

PR:             247433
Approved by:    bhughes (maintainer timeout)

Approved by:	portmgr (fix build / runtime blanket)
2020-07-04 12:48:40 +00:00
Piotr Kubaj 5eec7a98f9 MFH: r541208
sysutils/mate-control-center: fix build on GCC architectures

Use C99 mode:
mate-da-capplet.c:689: error: 'for' loop initial declaration used outside C99 mode

Approved by:	portmgr (fix build blanket)
2020-07-04 12:39:59 +00:00
Li-Wen Hsu 32ac62d8d0 MFH: r541080
Update to 1.15.2

PR:		247720
Submitted by:	Sascha Biberhofer <ports@skyforge.at> (maintainer)
Security:	d9f686f3-fde0-48dc-ab0a-01c2fe3e0529

Approved by:	ports-secteam (joneum)
2020-07-04 09:26:58 +00:00
Li-Wen Hsu 3b2732a1ab MFH: r541046
Restore ipcdir to /var/run

PR:		247719 [1] 247286 [2]
Submitted by:	cmt [1]
Reported by:	Tatsuki Makino [2]
Approved by:	maintainer timeout (followup last coomit)

Approved by:	ports-secteam (joneum)
2020-07-04 09:24:20 +00:00
Guido Falsi bf2bbceb29 MFH: r541151
Switch to the 2.0 API for locationforecast.

PR:		247644
Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>

Approved by:	ports-secteam (joneum)
2020-07-04 09:00:50 +00:00
Matthias Fechner 910f43de08 MFH: r541059
Security update to 13.1.2.
Changelog:
https://about.gitlab.com/releases/2020/07/01/security-release-13-1-2-release/

Security:	0a305431-bc98-11ea-a051-001b217b3468

Approved by:	ports-secteam (joneum)
2020-07-04 06:44:29 +00:00
Jan Beich ce69e1d7bf MFH: r541155
multimedia/libva-intel-driver: note which GPUs are not supported

Icelake (Gen11) is not supported. Cannonlake (Gen10) was discontinued,
so it's not clear.

Approved by:	ports-secteam blanket
2020-07-03 23:24:36 +00:00
Jan Beich 841418ff51 MFH: r541133
x11-servers/xwayland-devel: update to 1.20.0.673

Changes:	b670527429...b0413b6e9
Approved by:	ports-secteam (joneum)
2020-07-03 23:20:03 +00:00
Emmanuel Vadot 9b3328c155 MFH: mesa-dri: Use gallium SWRAST on x86 and aarch64
Mesa have two software rasterizer, the classic mesa dri one and
the gallium one.
The classic dri one is starting to be deprecated upstream (like all
dri drivers) so switch the arches that can build the gallium one to it.

Approved by:	portmgr (bapt@)
2020-07-03 20:59:38 +00:00
Piotr Kubaj cf02f50705 MFH: r541100
devel/opencl: don't include altivec.h

altivec.h shouldn't be included directly by users. It's managed with -maltivec / -mno-altivec compiler switches.

Including it causes compiler errors when using clang.

Already upstreamed.

PR:		247396
Approved by:	ohartman@zedat.fu-berlin.de (maintainer timeout)

Approved by:	portmgr (fixes build of other ports)
2020-07-03 12:05:24 +00:00
Fernando Apesteguía 3232dc5817 MFH: r541081
graphics/xaos: update to 4.1

From ChangeLog: https://github.com/xaos-project/XaoS/releases/tag/release-4.1

New Features

 * Added option to show Cartesian coordinate grid.
 * Custom palette helps visualizing palette before applying changes through
   slider selectable values now.
 * PNGs exported using 'Save Image' option can be imported back and users can
   continue zooming on it.

Bug Fixes

 * Fixed crash on recording XaoS animations.
 * Fixed crash on rendering using command line.
 * Fix handling non-ASCII paths on Windows.
 * Only error messages are shown on incorrect commands.
 * Some other small bug fixes.

Reported by:	portscout

Approved by:	ports-secteam (blanket, runtime fix)
2020-07-03 07:12:48 +00:00
Jason E. Hale c70f7f1f79 MFH: r541067
devel/libchipcard: Fix pkg-plist after r540811

Reported by:	pkg-fallout

Approved by:	ports-secteam (build-fix blanket)
2020-07-03 03:06:39 +00:00
Tobias Kortkamp 0cc0a16342 MFH: r541065
audio/audacity: Update to 2.4.2

- This should fix hangs on startup on FreeBSD 11.4
- Remove NYQUIST option since it is mandatory and disabling it does
  not work

Changes:	https://www.audacityteam.org/audacity-2-4-2-released/
PR:		247604
Submitted by:	maintainer

Approved by:	ports-secteam blanket
2020-07-03 02:59:58 +00:00
Jason E. Hale 27c23f8ab3 MFH: r541036
audio/picard-plugins: Fix distinfo

Approved by:	ports-secteam (build fix blanket)
2020-07-02 13:37:04 +00:00
Jochen Neumeister 61d14644ae MFH: r541029
Update to 4.3.2

This update contains a security fix for CVE-2020-14196.

The issue is:

CVE-2020-14196: An issue has been found in PowerDNS Recursor where the ACL applied to the internal web server via webserver-allow-from is not properly enforced, allowing a remote attacker to send HTTP queries to the internal web server, bypassing the restriction.

In the default configuration the API webserver is not enabled. Only installations using a non-default value for webserver and webserver-address are affected.

As usual, there were also other smaller enhancements and bugfixes. In particular, the 4.3.2 release contains fixes that allow long CNAME chains to resolve properly, where previously they could fail if qname minimization is enabled.

PR:		247707
Submitted by:	Ralf van der Enden <tremere@cainites.net> (maintainer)
Security:	641cd669-bc37-11ea-babf-6805ca2fa271
Sponsored by:	Netzkommune GmbH

Approved by:	ports-secteam (with hat)
2020-07-02 10:22:06 +00:00
2329 changed files with 27430 additions and 14868 deletions

View File

@ -77,7 +77,7 @@ BINARY_ALIAS+= python3=python${PYTHON3_DEFAULT}
BUNDLE_LIBS= yes
BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \
rust-cbindgen>=0.14.1:devel/rust-cbindgen \
rust-cbindgen>=0.14.3:devel/rust-cbindgen \
${RUST_DEFAULT}>=1.41:lang/${RUST_DEFAULT} \
${LOCALBASE}/bin/python${PYTHON3_DEFAULT}:lang/python${PYTHON3_DEFAULT:S/.//g} \
node:www/node
@ -234,8 +234,6 @@ MOZ_OPTIONS+= --disable-libproxy
.if ${PORT_OPTIONS:MALSA}
BUILD_DEPENDS+= ${LOCALBASE}/include/alsa/asoundlib.h:audio/alsa-lib
RUN_DEPENDS+= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins
RUN_DEPENDS+= alsa-lib>=1.1.1_1:audio/alsa-lib
MOZ_OPTIONS+= --enable-alsa
.endif

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1590778599
SHA256 (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_langpack_ar.tar.gz) = ed5980590fa9529c9061c6f46cc9c70248b6a631e557149eb3265a1f12eb26b5
SIZE (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_langpack_ar.tar.gz) = 1655105
SHA256 (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_helppack_ar.tar.gz) = 831029269cae67610f5761fb087a86c6e769bfe5532514eee8486a2f510437df
SIZE (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_helppack_ar.tar.gz) = 2224552
TIMESTAMP = 1597379188
SHA256 (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_langpack_ar.tar.gz) = 9405d2a9ecaf49a61949450cc502510400b08ab768e6c2e096e820a1dbc1cf71
SIZE (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_langpack_ar.tar.gz) = 1656466
SHA256 (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_helppack_ar.tar.gz) = 39adf59da8120609ac3c8cd61f300eeb7999a0e35340ed4f3523105553c6b3c8
SIZE (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_helppack_ar.tar.gz) = 2224407

View File

@ -1,6 +1,21 @@
--- arclzw.c.orig 2010-08-07 13:06:42 UTC
+++ arclzw.c
@@ -560,7 +560,7 @@ decomp(squash, f, t) /* decompress a fi
@@ -57,9 +57,11 @@ static VOID putcode();
#define NOT_FND 0xFFFF
extern u_char *pinbuf;
-u_char *inbeg, *inend;
-u_char *outbuf;
-u_char *outbeg, *outend;
+u_char *inbeg;
+u_char *inend;
+extern u_char *outbuf;
+u_char *outbeg;
+extern u_char *outend;
static int sp; /* current stack pointer */
static int inflag;
@@ -560,7 +562,7 @@ decomp(squash, f, t) /* decompress a file */
*/
if (code >= free_ent) {
if (code > free_ent) {

View File

@ -1,6 +1,17 @@
--- arcunp.c.orig 2010-08-07 13:06:42 UTC
+++ arcunp.c
@@ -122,7 +122,7 @@ unpack(f, t, hdr) /* unpack an archive
@@ -39,8 +39,8 @@ extern int lastc;
#define NOHIST 0 /* no relevant history */
#define INREP 1 /* sending a repeated value */
-short crcval; /* CRC check value */
-long stdlen; /* bytes to read */
+extern short crcval; /* CRC check value */
+extern long stdlen; /* bytes to read */
#if !DOS
static int gotcr; /* got a carriage return? */
#endif
@@ -122,7 +122,7 @@ unpack(f, t, hdr) /* unpack an archive entry */
break;
default: /* unknown method */
@ -9,7 +20,7 @@
printf("I don't know how to unpack file %s\n", hdr->name);
printf("I think you need a newer version of ARC\n");
nerrs++;
@@ -134,7 +134,7 @@ unpack(f, t, hdr) /* unpack an archive
@@ -134,7 +134,7 @@ unpack(f, t, hdr) /* unpack an archive entry */
/* cleanups common to all methods */
if (crcval != hdr->crc) {

View File

@ -2,6 +2,7 @@
PORTNAME= ark
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= archivers kde kde-applications
MAINTAINER= kde@FreeBSD.org

View File

@ -0,0 +1,46 @@
From 0df592524fed305d6fbe74ddf8a196bc9ffdb92f Mon Sep 17 00:00:00 2001
From: Elvis Angelaccio <elvis.angelaccio@kde.org>
Date: Wed, 29 Jul 2020 23:45:30 +0200
Subject: [PATCH] Fix vulnerability to path traversal attacks
Ark was vulnerable to directory traversal attacks because of
missing validation of file paths in the archive.
More details about this attack are available at:
https://github.com/snyk/zip-slip-vulnerability
Job::onEntry() is the only place where we can safely check the path of
every entry in the archive. There shouldn't be a valid reason
to have a "../" in an archive path, so we can just play safe and abort
the LoadJob if we detect such an entry. This makes impossibile to
extract this kind of malicious archives and perform the attack.
Thanks to Albert Astals Cid for suggesting to use QDir::cleanPath()
so that we can still allow loading of legitimate archives that
contain "../" in their paths but still resolve inside the extraction folder.
---
kerfuffle/jobs.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/kerfuffle/jobs.cpp b/kerfuffle/jobs.cpp
index fdaa48695..f73b56f86 100644
--- kerfuffle/jobs.cpp
+++ kerfuffle/jobs.cpp
@@ -180,6 +180,14 @@ void Job::onError(const QString & message, const QString & details)
void Job::onEntry(Archive::Entry *entry)
{
+ const QString entryFullPath = entry->fullPath();
+ if (QDir::cleanPath(entryFullPath).contains(QLatin1String("../"))) {
+ qCWarning(ARK) << "Possibly malicious archive. Detected entry that could lead to a directory traversal attack:" << entryFullPath;
+ onError(i18n("Could not load the archive because it contains ill-formed entries and might be a malicious archive."), QString());
+ onFinished(false);
+ return;
+ }
+
emit newEntry(entry);
}
--
GitLab

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= brotli
PORTVERSION= 1.0.7
PORTREVISION= 2
PORTVERSION= 1.0.9
DISTVERSIONPREFIX= v
PORTEPOCH= 1
CATEGORIES= archivers devel

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1540423662
SHA256 (google-brotli-v1.0.7_GH0.tar.gz) = 4c61bfb0faca87219ea587326c467b95acb25555b53d1a421ffa3c8a9296ee2c
SIZE (google-brotli-v1.0.7_GH0.tar.gz) = 23827908
TIMESTAMP = 1598538126
SHA256 (google-brotli-v1.0.9_GH0.tar.gz) = f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46
SIZE (google-brotli-v1.0.9_GH0.tar.gz) = 486984

View File

@ -18,8 +18,9 @@ LIB_DEPENDS= libwraster.so:x11-wm/libwraster
USES= xorg
USE_XORG= x11 xext xpm
PLIST_FILES= bin/wmglobe \
man/man1/wmglobe.1.gz
MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
PLIST_FILES= bin/wmglobe \
man/man1/wmglobe.1.gz
.include <bsd.port.mk>

View File

@ -0,0 +1,20 @@
--- src/myconvert.c.orig 2020-09-16 20:04:28 UTC
+++ src/myconvert.c
@@ -253,7 +253,7 @@ static RXImage *image2PseudoColor(RContext * ctx, RIma
const unsigned short bmask = rmask;
unsigned short *rtable, *gtable, *btable;
const int cpccpc = cpc * cpc;
- unsigned char *data;
+ char *data;
int ofs;
/*register unsigned char maxrgb = 0xff; */
@@ -420,7 +420,7 @@ static RXImage *image2GrayScale(RContext * ctx, RImage
const int cpc = ctx->attribs->colors_per_channel;
unsigned short gmask;
unsigned short *table;
- unsigned char *data;
+ char *data;
int ofs;
/*register unsigned char maxrgb = 0xff; */

View File

@ -0,0 +1,23 @@
--- src/rend.c.orig 2020-09-15 14:31:47 UTC
+++ src/rend.c
@@ -33,6 +33,20 @@
#include "wmglobe.h"
+/*
+ * variables globales
+ */
+
+double solu[DIAMETRE][DIAMETRE][3];
+int tabsolu[DIAMETRE][DIAMETRE];
+double moon_lat,moon_long;
+struct timeval tlast, tnext, trend, tdelay, tini, tbase;
+time_t tsunpos;
+double center_dist;
+double light_x, light_y, light_z; /* vector of sunlight with lengt 1 */
+double c_coef, b_coef;
+int radius_proj, aml;
+
static RColor mygetMapColorLinear
(double longitude, double latitude, double angle);

View File

@ -0,0 +1,29 @@
--- src/wmglobe.c.orig 2001-08-12 15:41:22 UTC
+++ src/wmglobe.c
@@ -35,7 +35,17 @@
#include "defnimap.xpm"
#endif
+/*
+ * variables globales
+ */
+Display *dpy;
+Pixmap pix, pixmask;
+XEvent Event;
+RImage *map, *small, *mapnight;
+Window iconwin, win;
+GC NormalGC;
+double marker[MAX_MARKERS][3];
@@ -414,7 +424,7 @@ int main(int argc, char *argv[])
if (do_something) {
if (!myRConvertImage(ctx, small, &pix)) {
fprintf(stderr, "crash !?\n");
- fprintf(stderr, RMessageForError(RErrorCode));
+ fprintf(stderr, "%s", RMessageForError(RErrorCode));
exit(1);
}
wmg.pixmap = pix;

View File

@ -0,0 +1,141 @@
--- src/wmglobe.h.orig 2001-08-12 15:41:22 UTC
+++ src/wmglobe.h
@@ -34,7 +34,6 @@
#include <ctype.h> /*toupper */
#include <stdarg.h>
#include <time.h>
-#include <sys/timeb.h>
#include <sys/time.h>
#include <sys/types.h>
#include <X11/Xlib.h>
@@ -83,17 +82,17 @@ typedef struct {
int right;
} MOUSE_REGION;
-MOUSE_REGION mouse_region[MAX_MOUSE_REGION];
+extern MOUSE_REGION mouse_region[MAX_MOUSE_REGION];
typedef struct MPO {
int r, g, b;
} MPO;
-MPO *md[4], *mn[4];
+extern MPO *md[4], *mn[4];
-double solu[DIAMETRE][DIAMETRE][3];
-int tabsolu[DIAMETRE][DIAMETRE];
-int solution;
+extern double solu[DIAMETRE][DIAMETRE][3];
+extern int tabsolu[DIAMETRE][DIAMETRE];
+extern int solution;
typedef struct {
Pixmap pixmap;
@@ -102,72 +101,72 @@ typedef struct {
} XpmIcon;
-Display *dpy;
+extern Display *dpy;
-char *dayfile, *nightfile, *dpy_name;
+extern char *dayfile, *nightfile, *dpy_name;
-Pixmap pix, pixmask;
+extern Pixmap pix, pixmask;
-XEvent Event;
+extern XEvent Event;
-RImage *map, *small, *mapnight;
+extern RImage *map, *small, *mapnight;
-XpmIcon screenpos, scrdate, scrdiv, numpix, txtpix, wmg;
+extern XpmIcon screenpos, scrdate, scrdiv, numpix, txtpix, wmg;
-Window iconwin, win;
-int onlyshape, option_iw;
-GC NormalGC;
+extern Window iconwin, win;
+extern int onlyshape, option_iw;
+extern GC NormalGC;
/********* rendering********/
#if WITH_MARKERS
-double marker[MAX_MARKERS][3];
-int nb_marker, sun_marker, moon_marker;
-RColor sun_col, moon_col;
-double moon_lat,moon_long;
+extern double marker[MAX_MARKERS][3];
+extern int nb_marker, sun_marker, moon_marker;
+extern RColor sun_col, moon_col;
+extern double moon_lat,moon_long;
#endif
-double delay, time_multi;
+extern double delay, time_multi;
/*
* struct timeval delta_tim, last_tim, next_tim, render_tim, base_tim,
* vec_tim;
*
* time_t beg_time, ini_time,t1901;
*/
-struct timeval tlast, tnext, trend, tdelay, tini, tbase;
-time_t tsunpos;
+extern struct timeval tlast, tnext, trend, tdelay, tini, tbase;
+extern time_t tsunpos;
-int sens, fun, funx, funy, oknimap, mratiox, mratioy, gotoscr;
+extern int sens, fun, funx, funy, oknimap, mratiox, mratioy, gotoscr;
-int typecadre, p_type, use_nightmap, use_default_nightmap, use_nmap_ini,
-firstTime, stoprand, do_something, iop;
+extern int typecadre, p_type, use_nightmap, use_default_nightmap,
+ use_nmap_ini, firstTime, stoprand, do_something, iop;
-double v_lat, v_long, old_dvlat, old_dvlong, dv_lat, dv_long;
-double dlat, dlong, addlat, addlong, ratiox, ratioy, dawn;
+extern double v_lat, v_long, old_dvlat, old_dvlong, dv_lat, dv_long;
+extern double dlat, dlong, addlat, addlong, ratiox, ratioy, dawn;
-double sun_lat;
-double sun_long;
+extern double sun_lat;
+extern double sun_long;
-double fov;
-double radius;
-double proj_dist; /* distance to projection plane */
+extern double fov;
+extern double radius;
+extern double proj_dist; /* distance to projection plane */
-double center_dist; /* distance to center of earth */
+extern double center_dist; /* distance to center of earth */
-double ambient_light; /* how dark is the dark side? */
+extern double ambient_light; /* how dark is the dark side? */
-double light_x, light_y, light_z; /* vector of sunlight with lengt 1 */
+extern double light_x, light_y, light_z; /* vector of sunlight with lengt 1 */
-double c_coef, b_coef;
-double zoom;
-int radius_proj, aml; /* radius of sphere on screen */
+extern double c_coef, b_coef;
+extern double zoom;
+extern int radius_proj, aml; /* radius of sphere on screen */
-RColor noir;
+extern RColor noir;
#ifdef DEBUG
-double minhz;
+extern double minhz;
#endif
-int stable;
+extern int stable;
/****************************************************************/
/* Function Prototypes */

View File

@ -0,0 +1,40 @@
--- src/wmgutil.c.orig 2020-09-15 14:29:30 UTC
+++ src/wmgutil.c
@@ -32,6 +32,37 @@
#include "scrtime.xpm"
#include "scrdiv.xpm"
+/*
+ * variables globales
+ */
+
+MOUSE_REGION mouse_region[MAX_MOUSE_REGION];
+MPO *md[4], *mn[4];
+int solution;
+char *dayfile, *nightfile, *dpy_name;
+XpmIcon screenpos, scrdate, scrdiv, numpix, txtpix, wmg;
+int onlyshape, option_iw;
+int nb_marker, sun_marker, moon_marker;
+RColor sun_col, moon_col;
+double delay, time_multi;
+int sens, fun, funx, funy, oknimap, mratiox, mratioy, gotoscr;
+int typecadre, p_type, use_nightmap, use_default_nightmap, use_nmap_ini,
+ firstTime, stoprand, do_something, iop;
+double v_lat, v_long, old_dvlat, old_dvlong, dv_lat, dv_long;
+double dlat, dlong, addlat, addlong, ratiox, ratioy, dawn;
+double sun_lat;
+double sun_long;
+double fov;
+double radius;
+double proj_dist; /* distance to projection plane */
+double ambient_light;
+double zoom;
+RColor noir;
+double minhz;
+int stable;
+
+
+
static void move_earth(double vla, double vlo);
static int flush_expose(Window w);
static void mqparam();

View File

@ -658,6 +658,7 @@
SUBDIR += py-fmoo-audiotools
SUBDIR += py-gmusicapi
SUBDIR += py-gmusicproxy
SUBDIR += py-gtts
SUBDIR += py-hsaudiotag
SUBDIR += py-karaoke
SUBDIR += py-mpd

View File

@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libadplug.so:audio/libadplug \
libbinio.so:devel/libbinio
USES= autoreconf libtool pkgconfig
USES= autoreconf compiler:c++11-lang libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= adplug

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= audacity
PORTVERSION= 2.4.1
PORTVERSION= 2.4.2
DISTVERSIONPREFIX= Audacity-
CATEGORIES= audio
@ -35,18 +35,19 @@ CMAKE_ARGS= -Daudacity_lib_preference:STRING=system \
-Daudacity_use_portsmf:STRING=local \
-Daudacity_use_portmixer:STRING=local \
-Daudacity_use_portaudio:STRING=system
CMAKE_OFF= audacity_use_pch
OPTIONS_DEFINE= DEBUG DOCS FFMPEG FLAC ID3TAG LADSPA LAME LV2 MAD \
MIDI NYQUIST OGG SBSMS SOUNDTOUCH TWOLAME VAMP \
MIDI OGG SBSMS SOUNDTOUCH TWOLAME VAMP \
VORBIS VST
OPTIONS_DEFAULT= FLAC ID3TAG LADSPA MAD MIDI NYQUIST OGG SBSMS \
OPTIONS_DEFAULT= FLAC ID3TAG LADSPA MAD MIDI OGG SBSMS \
SOUNDTOUCH TWOLAME VAMP VORBIS VST
OPTIONS_EXCLUDE_i386= SBSMS
LAME_DESC= Use lame for import and export support
LV2_DESC= Add LV2 plug-in support
MAD_DESC= Use libmad for mp2/3 decoding support
MIDI_DESC= MIDI support
NYQUIST_DESC= Nyquist synthesis and composition support
SBSMS_DESC= Use libsbsms for pitch and tempo changing
SOUNDTOUCH_DESC= Use libSoundTouch for pitch and tempo changing
TWOLAME_DESC= Use libtwolame for MP2 export support
@ -99,9 +100,6 @@ MIDI_CMAKE_OFF= -Daudacity_use_midi:STRING=off
# TODO: fix NLS support properly
PLIST_SUB+= NLS=""
NYQUIST_CMAKE_ON= -Daudacity_use_nyquist:STRING=local
NYQUIST_CMAKE_OFF= -Daudacity_use_nyquist:STRING=off
OGG_CMAKE_ON= -Daudacity_use_ogg:STRING=system
OGG_CMAKE_OFF= -Daudacity_use_ogg:STRING=local
OGG_LIB_DEPENDS= libogg.so:audio/libogg
@ -128,6 +126,14 @@ VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \
VST_CMAKE_BOOL= audacity_use_vst
.include <bsd.port.options.mk>
.if ${ARCH} != amd64 && ${ARCH} != i386
CMAKE_ARGS+= -DHAVE_MMX:BOOL=OFF \
-DHAVE_SSE:BOOL=OFF \
-DHAVE_SSE2:BOOL=OFF
.endif
post-patch:
@${REINPLACE_CMD} -e 's,Python2,Python${PYTHON_MAJOR_VER}, ; \
/CMAKE_CXX_STANDARD/s,14,11,' ${WRKSRC}/CMakeLists.txt

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1589881433
SHA256 (audacity-audacity-Audacity-2.4.1_GH0.tar.gz) = 50240f07471373a7e5c2df65cc26eeeaaced9a0850ad1f95cb795f171ea3009f
SIZE (audacity-audacity-Audacity-2.4.1_GH0.tar.gz) = 63935461
TIMESTAMP = 1593304211
SHA256 (audacity-audacity-Audacity-2.4.2_GH0.tar.gz) = cdb4800c8e9d1d4ca19964caf8d24000f80286ebd8a4db566c2622449744c099
SIZE (audacity-audacity-Audacity-2.4.2_GH0.tar.gz) = 61248430

View File

@ -1,7 +1,7 @@
--- cmake-proxies/CMakeLists.txt.orig 2020-05-19 09:43:53 UTC
--- cmake-proxies/CMakeLists.txt.orig 2020-06-19 15:16:47 UTC
+++ cmake-proxies/CMakeLists.txt
@@ -150,7 +150,7 @@ addlib( lame lame LAME YES
addlib( lib-widget-extra libextra EXTRA YES YES "" )
@@ -132,7 +132,7 @@ addlib( expat expat EXPAT YES
addlib( lame lame LAME YES YES "lame >= 3.100" )
addlib( libsndfile sndfile SNDFILE YES YES "sndfile >= 1.0.28" )
addlib( libsoxr soxr SOXR YES YES "soxr >= 0.1.1" )
-addlib( portaudio-v19 portaudio PORTAUDIO YES YES "" )

View File

@ -1,10 +0,0 @@
--- cmake-proxies/sbsms/CMakeLists.txt.orig 2020-05-19 09:43:53 UTC
+++ cmake-proxies/sbsms/CMakeLists.txt
@@ -28,6 +28,7 @@ list( APPEND INCLUDES
list( APPEND OPTIONS
PRIVATE
$<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-enum-compare>
+ ${SSE_FLAG}
)
find_package( Threads )

View File

@ -1,6 +1,6 @@
--- lib-src/libnyquist/nyquist/cmt/cext.h.orig 2018-10-01 14:07:33 UTC
+++ lib-src/libnyquist/nyquist/cmt/cext.h
@@ -58,7 +58,7 @@ EXIT(n) -- calls exit(n) after shutting down/dealloca
@@ -61,7 +61,7 @@ EXIT(n) -- calls exit(n) after shutting down/dealloca
#include <malloc.h>
#endif

View File

@ -1,6 +1,6 @@
--- lib-src/libnyquist/nyquist/xlisp/xlisp.h.orig 2016-07-26 13:34:06 UTC
+++ lib-src/libnyquist/nyquist/xlisp/xlisp.h
@@ -160,6 +160,15 @@ extern long ptrtoabs();
@@ -161,6 +161,15 @@ extern long ptrtoabs();
#endif
#endif

View File

@ -0,0 +1,10 @@
--- lib-src/portsmf/allegro.h.orig 2020-07-18 17:54:26 UTC
+++ lib-src/portsmf/allegro.h
@@ -51,6 +51,7 @@
#include <assert.h>
#include <istream>
#include <ostream>
+#include <cstring>
#define ALG_EPS 0.000001 // epsilon
#define ALG_DEFAULT_BPM 100.0 // default tempo

View File

@ -0,0 +1,11 @@
--- src/AboutDialog.cpp.orig 2020-06-28 06:25:54 UTC
+++ src/AboutDialog.cpp
@@ -63,7 +63,7 @@ hold information about one contributor to Audacity.
// RevisionIdent.h may contain #defines like these ones:
//#define REV_LONG "28864acb238cb3ca71dda190a2d93242591dd80e"
//#define REV_TIME "Sun Apr 12 12:40:22 2015 +0100"
-#include <RevisionIdent.h>
+//#include <RevisionIdent.h>
#ifndef REV_TIME
#define REV_TIME "unknown date and time"

View File

@ -1,6 +1,6 @@
--- src/AudioIO.cpp.orig 2018-10-01 14:07:33 UTC
--- src/AudioIO.cpp.orig 2020-06-19 15:16:47 UTC
+++ src/AudioIO.cpp
@@ -480,7 +480,6 @@ TimeTrack and AudioIOListener and whether the playback
@@ -491,7 +491,6 @@ time warp info and AudioIOListener and whether the pla
#define ROUND(x) (int) ((x)+0.5)
//#include <string.h>
// #include "../lib-src/portmidi/pm_common/portmidi.h"
@ -8,7 +8,7 @@
#include "NoteTrack.h"
#endif
@@ -793,13 +797,22 @@ struct AudioIO::ScrubState (private)
@@ -815,13 +814,22 @@ struct AudioIoCallback::ScrubState (private)
// return the system time as a double
static double streamStartTime = 0; // bias system time to small number

View File

@ -1,6 +1,6 @@
--- src/FFmpeg.h.orig 2018-10-01 14:07:33 UTC
+++ src/FFmpeg.h
@@ -667,7 +667,7 @@ extern "C" {
@@ -685,7 +685,7 @@ extern "C" {
FFMPEG_FUNCTION_WITH_RETURN(
AVOutputFormat*,
av_oformat_next,
@ -9,7 +9,7 @@
(f)
);
#endif
@@ -748,7 +748,7 @@ extern "C" {
@@ -766,7 +766,7 @@ extern "C" {
FFMPEG_FUNCTION_WITH_RETURN(
int,
av_fifo_size,
@ -18,7 +18,7 @@
(f)
);
#endif
@@ -810,7 +810,7 @@ extern "C" {
@@ -828,7 +828,7 @@ extern "C" {
FFMPEG_FUNCTION_WITH_RETURN(
AVDictionaryEntry *,
av_dict_get,

View File

@ -3,6 +3,7 @@ man/man1/audacity.1.gz
share/appdata/audacity.appdata.xml
share/applications/audacity.desktop
%%DATADIR%%/EQDefaultCurves.xml
%%DATADIR%%/modules/mod-script-pipe.so
%%DATADIR%%/nyquist/aud-do-support.lsp
%%DATADIR%%/nyquist/dspprims.lsp
%%DATADIR%%/nyquist/envelopes.lsp

View File

@ -3,7 +3,7 @@
PORTNAME= beatslash
DISTVERSIONPREFIX= v
DISTVERSION= 1.0.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= audio
PKGNAMESUFFIX= -lv2
@ -29,4 +29,7 @@ USE_GNOME= atkmm gdkpixbuf2 gtkmm24
post-patch:
@${REINPLACE_CMD} -e 's|#include <lvtk-1/lvtk|#include <lvtk-2/lvtk|' ${WRKSRC}/src/*.?pp
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/beatslash.lv2/*.so
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
--- wscript.orig 2016-11-06 20:24:40 UTC
--- wscript.orig 2019-02-23 21:03:41 UTC
+++ wscript
@@ -31,9 +31,9 @@ def configure(conf):
autowaf.check_pkg(conf, 'gtk+-2.0', uselib_store='GTK2', atleast_version='2.24.0')
@ -13,3 +13,12 @@
check = 'Extended Initializer Lists'
conf.check_cxx(msg = check,
@@ -78,7 +78,7 @@ def build_plugin(bld, bundle, name, source, cxxflags=[
# Install data file
data_file = '%s.ttl' % name
- bld.install_files('${LV2DIR}/' + bundle, os.path.join(bundle, data_file))
+ #bld.install_files('${LV2DIR}/' + bundle, os.path.join(bundle, data_file)) # see https://github.com/blablack/beatslash-lv2/issues/9
def build_plugin_gui(bld, bundle, name, source, cxxflags=[], libs=[], add_source=[]):

View File

@ -4,4 +4,4 @@ Features:
* the beat repeater will repeat the current beat
* the beat slicer will randomly repeat parts of a live sample
WWW: https://objectivewave.wordpress.com/beatslash-lv2/
WWW: https://github.com/blablack/beatslash-lv2

View File

@ -17,7 +17,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libsndfile.so:audio/libsndfile
USES= gmake gnome pkgconfig xorg
USES= compiler:c++11-lang gmake gnome pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= sjaehn
GH_PROJECT= BHarvestr

View File

@ -0,0 +1,10 @@
--- src/BWidgets/FileChooser.hpp.orig 2020-07-20 09:39:49 UTC
+++ src/BWidgets/FileChooser.hpp
@@ -24,6 +24,7 @@
#include "PopupListBox.hpp"
#include "TextButton.hpp"
#include <regex>
+#include <climits>
namespace BWidgets
{

View File

@ -16,7 +16,7 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libsndfile.so:audio/libsndfile
USES= gmake gnome pkgconfig xorg
USES= compiler:c++11-lang gmake gnome pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= sjaehn
GH_PROJECT= BJumblr

View File

@ -0,0 +1,10 @@
--- src/BWidgets/FileChooser.hpp.orig 2020-07-20 09:39:49 UTC
+++ src/BWidgets/FileChooser.hpp
@@ -24,6 +24,7 @@
#include "PopupListBox.hpp"
#include "TextButton.hpp"
#include <regex>
+#include <climits>
namespace BWidgets
{

View File

@ -156,6 +156,12 @@ WIIMOTE_DESC= Build the Wiimote opcodes
WIIMOTE_CMAKE_BOOL= BUILD_WIIMOTE_OPCODES
WIIMOTE_BROKEN= Need to port wiiuse: https://github.com/rpavlik/wiiuse
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
BROKEN_FreeBSD_11= libcsound64.so.6.0: undefined reference to `__atomic_store_8' / undefined reference to `__atomic_load_8'
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/local|${LOCALBASE}|' \
@ -185,4 +191,4 @@ post-install:
post-install-FLTK-on:
@${LN} -sf libCsoundAC.so.6.0 ${STAGEDIR}${PREFIX}/lib/libCsoundAC.so.6
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -52,7 +52,8 @@ post-patch:
@${REINPLACE_CMD} -e ' \
s|########## LIBS AND FLAGS|CXXFLAGS+=$$$$system($$$$LLVM_CONFIG --cflags)| ; \
s|/use/local|${LOCALBASE}| ; \
s|-L/opt/local/lib$$|-L${LOCALBASE}/lib -lexecinfo|' \
s|-L/opt/local/lib$$|-L${LOCALBASE}/lib -lexecinfo| ; \
s|-L/usr/lib/||' \
${WRKSRC}/Build/FreeBSD/FaustLive.pro
@${REINPLACE_CMD} -e ' \
s|#!/bin/bash|#!/bin/sh|' \

View File

@ -12,10 +12,6 @@ COMMENT= Software percussion synthesizer
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
.if exists(/usr/include/c++/v1) && !exists(/usr/include/c++/v1/filesystem)
BROKEN= STL feature 'filesystem' isn't available # '
.endif
BUILD_DEPENDS= lv2>0:audio/lv2 \
gmake:devel/gmake \
rapidjson>0:devel/rapidjson \
@ -35,4 +31,11 @@ CMAKE_ARGS= -DFREEBSD_GMAKE=${GMAKE}
#INSTALLS_ICONS= yes # disabled because it causes: gtk-update-icon-cache: Failed to open file /usr/local/share/icons/hicolor/.icon-theme.cache : Permission denied
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == clang
EXTRA_PATCHES= ${FILESDIR}/extra-patch-plugin_lv2_CMakeLists.txt \
${FILESDIR}/extra-patch-standalone_CMakeLists.txt
.endif
.include <bsd.port.post.mk>

View File

@ -22,4 +22,6 @@ USES= desktop-file-utils gnome pkgconfig
USE_CSTD= gnu89
USE_GNOME= libglade2
LDFLAGS+= -lm
.include <bsd.port.mk>

View File

@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= lv2>0:audio/lv2
USES= gmake pkgconfig
USES= compiler:c++11-lang gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= polyeffects
GH_PROJECT= lenticular_lv2

View File

@ -19,7 +19,7 @@ USE_GITHUB= yes
GH_ACCOUNT= alex-tee
USE_LDCONFIG= yes
MESON_ARGS= -Dbuild-tests=false
MESON_ARGS= -Dtests=false
PLIST_FILES= bin/audec \
include/audec/audec.h \

View File

@ -1,6 +1,6 @@
--- meson.build.orig 2020-05-16 11:50:13 UTC
--- meson.build.orig 2020-08-15 13:40:04 UTC
+++ meson.build
@@ -177,7 +177,7 @@ config_h_dep = declare_dependency (
@@ -162,7 +162,7 @@ config_h_dep = declare_dependency (
)
audec_deps += config_h_dep
@ -9,14 +9,3 @@
'audec',
sources: srcs,
dependencies: [
@@ -212,7 +212,9 @@ audec_exe = executable (
install: not meson.is_subproject(),
)
-subdir('tests')
+if get_variable('build-tests', true)
+ subdir('tests')
+endif
summary = [
'',

View File

@ -2,10 +2,9 @@
# $FreeBSD$
PORTNAME= libsndfile
PORTVERSION= 1.0.28
PORTREVISION= 2
DISTVERSION= 1.0.29
CATEGORIES= audio
MASTER_SITES= http://www.mega-nerd.com/libsndfile/files/
MASTER_SITES= https://github.com/erikd/${PORTNAME}/releases/download/v1.0.29/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
@ -13,37 +12,45 @@ COMMENT= Reading and writing files containing sampled sound (like WAV or AIFF)
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= cpe gmake libtool localbase pkgconfig
USES= cmake cpe localbase pkgconfig python:build,test shebangfix \
tar:bz2
SHEBANG_FILES= programs/test-sndfile-metadata-set.py \
src/binheader_writef_check.py \
src/create_symbols_file.py
CPE_VENDOR= ${CPE_PRODUCT}_project
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gcc-pipe \
--disable-sqlite \
--disable-alsa \
--disable-octave \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG= yes
TEST_TARGET= check
INSTALL_TARGET= install-strip
OPTIONS_DEFINE= CPU_CLIP EXTERNAL DOCS
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA:BOOL=True \
-DCMAKE_DISABLE_FIND_PACKAGE_Sndio:BOOL=True \
-DCMAKE_DISABLE_FIND_PACKAGE_Speex:BOOL=True \
-DCMAKE_DISABLE_FIND_PACKAGE_SQLite3:BOOL=True
OPTIONS_DEFINE= DOCS EXTERNAL STATIC TEST
OPTIONS_SUB= yes
OPTIONS_DEFAULT= EXTERNAL
CPU_CLIP_DESC= Allow machine-dependent clipping
EXTERNAL_DESC= Enable FLAC and Ogg Vorbis support
CPU_CLIP_VARS= MANUAL_PACKAGE_BUILD="WITH_CPU_CLIP may customize the package for the build machine"
CPU_CLIP_CONFIGURE_OFF= --disable-cpu-clip
EXTERNAL_DESC= Enable FLAC, Ogg Vorbis, Opus support
TEST_DESC= Build tests (forces static library only)
TEST_IMPLIES= STATIC
EXTERNAL_LIB_DEPENDS= libFLAC.so:audio/flac \
libogg.so:audio/libogg \
libopus.so:audio/opus \
libvorbis.so:audio/libvorbis
EXTERNAL_CONFIGURE_OFF= --disable-external-libs
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/ doc / /g' ${WRKSRC}/Makefile.in
STATIC_CMAKE_OFF= -DBUILD_SHARED_LIBS:BOOL=ON
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${TAR} -C ${WRKSRC}/doc --exclude "*Makefile*" --exclude "*.in" \
-cf - . | ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
TEST_CMAKE_ON= -DBUILD_TESTING:BOOL=ON
TEST_CMAKE_OFF= -DBUILD_TESTING:BOOL=OFF
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MEXTERNAL}
EXTRA_PATCHES= ${FILESDIR}/extrapatch-cmake_SndFileChecks.cmake-disableexternallibs
.endif
do-test:
(cd ${TEST_WRKSRC} && CTEST_OUTPUT_ON_FAILURE=1 ctest -V)
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1494006962
SHA256 (libsndfile-1.0.28.tar.gz) = 1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9
SIZE (libsndfile-1.0.28.tar.gz) = 1202833
TIMESTAMP = 1598210411
SHA256 (libsndfile-1.0.29.tar.bz2) = 2ba20d44817c8176f097ab25eff44ef0aeec9e00973def5a7174c5ae0764b22f
SIZE (libsndfile-1.0.29.tar.bz2) = 831090

View File

@ -0,0 +1,32 @@
--- cmake/SndFileChecks.cmake.orig 2020-07-23 13:42:53 UTC
+++ cmake/SndFileChecks.cmake
@@ -31,28 +31,7 @@ if (VCPKG_TOOLCHAIN AND (NOT CMAKE_VERSION VERSION_LES
set (CMAKE_FIND_PACKAGE_PREFER_CONFIG ON)
endif ()
-if (CMAKE_FIND_PACKAGE_PREFER_CONFIG)
- find_package (Ogg 1.3 CONFIG)
- find_package (Vorbis CONFIG COMPONENTS Enc)
- find_package (FLAC CONFIG)
- find_package (Opus CONFIG)
-
- include (FindPackageHandleStandardArgs)
- find_package_handle_standard_args (Ogg CONFIG_MODE)
- find_package_handle_standard_args (Vorbis CONFIG_MODE)
- find_package_handle_standard_args (FLAC CONFIG_MODE)
- find_package_handle_standard_args (Opus CONFIG_MODE)
-else ()
- find_package (Ogg 1.3)
- find_package (Vorbis COMPONENTS Enc)
- find_package (FLAC)
- find_package (Opus)
-endif ()
-if (Vorbis_FOUND AND FLAC_FOUND AND Opus_FOUND)
- set (HAVE_EXTERNAL_XIPH_LIBS 1)
-else ()
- set (HAVE_EXTERNAL_XIPH_LIBS 0)
-endif ()
+set (HAVE_EXTERNAL_XIPH_LIBS 0)
find_package (Speex)
find_package (SQLite3)

View File

@ -1,82 +0,0 @@
From cf7a8182c2642c50f1cf90dddea9ce96a8bad2e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= <osmanx@problemloesungsmaschine.de>
Date: Wed, 14 Jun 2017 12:25:40 +0200
Subject: [PATCH] src/common.c: Fix heap buffer overflows when writing strings
in binheader
Fixes the following problems:
1. Case 's' only enlarges the buffer by 16 bytes instead of size bytes.
2. psf_binheader_writef() enlarges the header buffer (if needed) prior to the
big switch statement by an amount (16 bytes) which is enough for all cases
where only a single value gets added. Cases 's', 'S', 'p' however
additionally write an arbitrary length block of data and again enlarge the
buffer to the required amount. However, the required space calculation does
not take into account the size of the length field which gets output before
the data.
3. Buffer size requirement calculation in case 'S' does not account for the
padding byte ("size += (size & 1) ;" happens after the calculation which
uses "size").
4. Case 'S' can overrun the header buffer by 1 byte when no padding is
involved
("memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + 1) ;" while
the buffer is only guaranteed to have "size" space available).
5. "psf->header.ptr [psf->header.indx] = 0 ;" in case 'S' always writes 1 byte
beyond the space which is guaranteed to be allocated in the header buffer.
6. Case 's' can overrun the provided source string by 1 byte if padding is
involved ("memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size) ;"
where "size" is "strlen (strptr) + 1" (which includes the 0 terminator,
plus optionally another 1 which is padding and not guaranteed to be
readable via the source string pointer).
Closes: https://github.com/erikd/libsndfile/issues/292
--- src/common.c.orig 2017-04-02 06:33:16 UTC
+++ src/common.c
@@ -681,16 +681,16 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...)
/* Write a C string (guaranteed to have a zero terminator). */
strptr = va_arg (argptr, char *) ;
size = strlen (strptr) + 1 ;
- size += (size & 1) ;
- if (psf->header.indx + (sf_count_t) size >= psf->header.len && psf_bump_header_allocation (psf, 16))
+ if (psf->header.indx + 4 + (sf_count_t) size + (sf_count_t) (size & 1) > psf->header.len && psf_bump_header_allocation (psf, 4 + size + (size & 1)))
return count ;
if (psf->rwf_endian == SF_ENDIAN_BIG)
- header_put_be_int (psf, size) ;
+ header_put_be_int (psf, size + (size & 1)) ;
else
- header_put_le_int (psf, size) ;
+ header_put_le_int (psf, size + (size & 1)) ;
memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size) ;
+ size += (size & 1) ;
psf->header.indx += size ;
psf->header.ptr [psf->header.indx - 1] = 0 ;
count += 4 + size ;
@@ -703,16 +703,15 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...)
*/
strptr = va_arg (argptr, char *) ;
size = strlen (strptr) ;
- if (psf->header.indx + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, size))
+ if (psf->header.indx + 4 + (sf_count_t) size + (sf_count_t) (size & 1) > psf->header.len && psf_bump_header_allocation (psf, 4 + size + (size & 1)))
return count ;
if (psf->rwf_endian == SF_ENDIAN_BIG)
header_put_be_int (psf, size) ;
else
header_put_le_int (psf, size) ;
- memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + 1) ;
+ memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + (size & 1)) ;
size += (size & 1) ;
psf->header.indx += size ;
- psf->header.ptr [psf->header.indx] = 0 ;
count += 4 + size ;
break ;
@@ -724,7 +723,7 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...)
size = (size & 1) ? size : size + 1 ;
size = (size > 254) ? 254 : size ;
- if (psf->header.indx + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, size))
+ if (psf->header.indx + 1 + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, 1 + size))
return count ;
header_put_byte (psf, size) ;

View File

@ -1,29 +0,0 @@
From 85c877d5072866aadbe8ed0c3e0590fbb5e16788 Mon Sep 17 00:00:00 2001
From: Fabian Greffrath <fabian@greffrath.com>
Date: Thu, 28 Sep 2017 12:15:04 +0200
Subject: [PATCH] double64_init: Check psf->sf.channels against upper bound
This prevents division by zero later in the code.
While the trivial case to catch this (i.e. sf.channels < 1) has already
been covered, a crafted file may report a number of channels that is
so high (i.e. > INT_MAX/sizeof(double)) that it "somehow" gets
miscalculated to zero (if this makes sense) in the determination of the
blockwidth. Since we only support a limited number of channels anyway,
make sure to check here as well.
CVE-2017-14634
Closes: https://github.com/erikd/libsndfile/issues/318
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
--- src/double64.c.orig 2016-04-01 21:08:53 UTC
+++ src/double64.c
@@ -91,7 +91,7 @@ int
double64_init (SF_PRIVATE *psf)
{ static int double64_caps ;
- if (psf->sf.channels < 1)
+ if (psf->sf.channels < 1 || psf->sf.channels > SF_MAX_CHANNELS)
{ psf_log_printf (psf, "double64_init : internal error : channels = %d\n", psf->sf.channels) ;
return SFE_INTERNAL ;
} ;

View File

@ -1,90 +0,0 @@
From: Hugo Lefeuvre <hle@owl.eu.com>
Date: Mon, 24 Dec 2018 06:43:48 +0100
Subject: a/ulaw: fix multiple buffer overflows (#432)
i2ulaw_array() and i2alaw_array() fail to handle ptr [count] = INT_MIN
properly, leading to buffer underflow. INT_MIN is a special value
since - INT_MIN cannot be represented as int.
In this case round - INT_MIN to INT_MAX and proceed as usual.
f2ulaw_array() and f2alaw_array() fail to handle ptr [count] = NaN
properly, leading to null pointer dereference.
In this case, arbitrarily set the buffer value to 0.
This commit fixes #429 (CVE-2018-19661 and CVE-2018-19662) and
fixes #344 (CVE-2017-17456 and CVE-2017-17457).
---
src/alaw.c | 9 +++++++--
src/ulaw.c | 9 +++++++--
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/src/alaw.c b/src/alaw.c
index 063fd1a..4220224 100644
--- src/alaw.c
+++ src/alaw.c
@@ -19,6 +19,7 @@
#include "sfconfig.h"
#include <math.h>
+#include <limits.h>
#include "sndfile.h"
#include "common.h"
@@ -326,7 +327,9 @@ s2alaw_array (const short *ptr, int count, unsigned char *buffer)
static inline void
i2alaw_array (const int *ptr, int count, unsigned char *buffer)
{ while (--count >= 0)
- { if (ptr [count] >= 0)
+ { if (ptr [count] == INT_MIN)
+ buffer [count] = alaw_encode [INT_MAX >> (16 + 4)] ;
+ else if (ptr [count] >= 0)
buffer [count] = alaw_encode [ptr [count] >> (16 + 4)] ;
else
buffer [count] = 0x7F & alaw_encode [- ptr [count] >> (16 + 4)] ;
@@ -346,7 +349,9 @@ f2alaw_array (const float *ptr, int count, unsigned char *buffer, float normfact
static inline void
d2alaw_array (const double *ptr, int count, unsigned char *buffer, double normfact)
{ while (--count >= 0)
- { if (ptr [count] >= 0)
+ { if (!isfinite (ptr [count]))
+ buffer [count] = 0 ;
+ else if (ptr [count] >= 0)
buffer [count] = alaw_encode [lrint (normfact * ptr [count])] ;
else
buffer [count] = 0x7F & alaw_encode [- lrint (normfact * ptr [count])] ;
diff --git a/src/ulaw.c b/src/ulaw.c
index e50b4cb..b6070ad 100644
--- src/ulaw.c
+++ src/ulaw.c
@@ -19,6 +19,7 @@
#include "sfconfig.h"
#include <math.h>
+#include <limits.h>
#include "sndfile.h"
#include "common.h"
@@ -827,7 +828,9 @@ s2ulaw_array (const short *ptr, int count, unsigned char *buffer)
static inline void
i2ulaw_array (const int *ptr, int count, unsigned char *buffer)
{ while (--count >= 0)
- { if (ptr [count] >= 0)
+ { if (ptr [count] == INT_MIN)
+ buffer [count] = ulaw_encode [INT_MAX >> (16 + 2)] ;
+ else if (ptr [count] >= 0)
buffer [count] = ulaw_encode [ptr [count] >> (16 + 2)] ;
else
buffer [count] = 0x7F & ulaw_encode [-ptr [count] >> (16 + 2)] ;
@@ -847,7 +850,9 @@ f2ulaw_array (const float *ptr, int count, unsigned char *buffer, float normfact
static inline void
d2ulaw_array (const double *ptr, int count, unsigned char *buffer, double normfact)
{ while (--count >= 0)
- { if (ptr [count] >= 0)
+ { if (!isfinite (ptr [count]))
+ buffer [count] = 0 ;
+ else if (ptr [count] >= 0)
buffer [count] = ulaw_encode [lrint (normfact * ptr [count])] ;
else
buffer [count] = 0x7F & ulaw_encode [- lrint (normfact * ptr [count])] ;

View File

@ -1,19 +0,0 @@
From f833c53cb596e9e1792949f762e0b33661822748 Mon Sep 17 00:00:00 2001
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Tue, 23 May 2017 20:15:24 +1000
Subject: [PATCH] src/aiff.c: Fix a buffer read overflow
Secunia Advisory SA76717.
Found by: Laurent Delosieres, Secunia Research at Flexera Software
--- src/aiff.c.orig 2017-04-01 07:18:02 UTC
+++ src/aiff.c
@@ -1905,7 +1905,7 @@ aiff_read_chanmap (SF_PRIVATE * psf, unsigned dword)
psf_binheader_readf (psf, "j", dword - bytesread) ;
if (map_info->channel_map != NULL)
- { size_t chanmap_size = psf->sf.channels * sizeof (psf->channel_map [0]) ;
+ { size_t chanmap_size = SF_MIN (psf->sf.channels, layout_tag & 0xffff) * sizeof (psf->channel_map [0]) ;
free (psf->channel_map) ;

View File

@ -1,53 +0,0 @@
From fd0484aba8e51d16af1e3a880f9b8b857b385eb3 Mon Sep 17 00:00:00 2001
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Wed, 12 Apr 2017 19:45:30 +1000
Subject: [PATCH] FLAC: Fix a buffer read overrun
Buffer read overrun occurs when reading a FLAC file that switches
from 2 channels to one channel mid-stream. Only option is to
abort the read.
Closes: https://github.com/erikd/libsndfile/issues/230
Addresses: CVE-2017-8361 CVE-2017-8363 CVE-2017-8365
--- src/common.h.orig 2017-04-01 09:40:45 UTC
+++ src/common.h
@@ -725,6 +725,7 @@ enum
SFE_FLAC_INIT_DECODER,
SFE_FLAC_LOST_SYNC,
SFE_FLAC_BAD_SAMPLE_RATE,
+ SFE_FLAC_CHANNEL_COUNT_CHANGED,
SFE_FLAC_UNKOWN_ERROR,
SFE_WVE_NOT_WVE,
--- src/flac.c.orig 2018-03-01 19:51:26 UTC
+++ src/flac.c
@@ -434,6 +434,19 @@ sf_flac_meta_callback (const FLAC__StreamDecoder * UNUSED (decoder), const FLAC_
switch (metadata->type)
{ case FLAC__METADATA_TYPE_STREAMINFO :
+ if (psf->sf.channels > 0 && psf->sf.channels != (int) metadata->data.stream_info.channels)
+ { psf_log_printf (psf, "Error: FLAC stream changed from %d to %d channels\n"
+ "Nothing to be but to error out.\n" ,
+ psf->sf.channels, metadata->data.stream_info.channels) ;
+ psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ;
+ return ;
+ } ;
+
+ if (psf->sf.channels > 0 && psf->sf.samplerate != (int) metadata->data.stream_info.sample_rate)
+ { psf_log_printf (psf, "Warning: FLAC stream changed sample rates from %d to %d.\n"
+ "Carrying on as if nothing happened.",
+ psf->sf.samplerate, metadata->data.stream_info.sample_rate) ;
+ } ;
psf->sf.channels = metadata->data.stream_info.channels ;
psf->sf.samplerate = metadata->data.stream_info.sample_rate ;
psf->sf.frames = metadata->data.stream_info.total_samples ;
--- src/sndfile.c.orig 2017-04-02 06:33:16 UTC
+++ src/sndfile.c
@@ -245,6 +245,7 @@ ErrorStruct SndfileErrors [] =
{ SFE_FLAC_INIT_DECODER , "Error : problem with initialization of the flac decoder." },
{ SFE_FLAC_LOST_SYNC , "Error : flac decoder lost sync." },
{ SFE_FLAC_BAD_SAMPLE_RATE, "Error : flac does not support this sample rate." },
+ { SFE_FLAC_CHANNEL_COUNT_CHANGED, "Error : flac channel changed mid stream." },
{ SFE_FLAC_UNKOWN_ERROR , "Error : unknown error in flac decoder." },
{ SFE_WVE_NOT_WVE , "Error : not a WVE file." },

View File

@ -1,44 +0,0 @@
From ef1dbb2df1c0e741486646de40bd638a9c4cd808 Mon Sep 17 00:00:00 2001
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Fri, 14 Apr 2017 15:19:16 +1000
Subject: [PATCH] src/flac.c: Fix a buffer read overflow
A file (generated by a fuzzer) which increased the number of channels
from one frame to the next could cause a read beyond the end of the
buffer provided by libFLAC. Only option is to abort the read.
Closes: https://github.com/erikd/libsndfile/issues/231
--- src/flac.c.orig 2017-04-01 09:40:45 UTC
+++ src/flac.c
@@ -169,6 +169,14 @@ flac_buffer_copy (SF_PRIVATE *psf)
const int32_t* const *buffer = pflac->wbuffer ;
unsigned i = 0, j, offset, channels, len ;
+ if (psf->sf.channels != (int) frame->header.channels)
+ { psf_log_printf (psf, "Error: FLAC frame changed from %d to %d channels\n"
+ "Nothing to do but to error out.\n" ,
+ psf->sf.channels, frame->header.channels) ;
+ psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ;
+ return 0 ;
+ } ;
+
/*
** frame->header.blocksize is variable and we're using a constant blocksize
** of FLAC__MAX_BLOCK_SIZE.
@@ -202,7 +210,6 @@ flac_buffer_copy (SF_PRIVATE *psf)
return 0 ;
} ;
-
len = SF_MIN (pflac->len, frame->header.blocksize) ;
if (pflac->remain % channels != 0)
@@ -436,7 +443,7 @@ sf_flac_meta_callback (const FLAC__StreamDecoder * UNUSED (decoder), const FLAC_
{ case FLAC__METADATA_TYPE_STREAMINFO :
if (psf->sf.channels > 0 && psf->sf.channels != (int) metadata->data.stream_info.channels)
{ psf_log_printf (psf, "Error: FLAC stream changed from %d to %d channels\n"
- "Nothing to be but to error out.\n" ,
+ "Nothing to do but to error out.\n" ,
psf->sf.channels, metadata->data.stream_info.channels) ;
psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ;
return ;

View File

@ -1,22 +0,0 @@
From cd7da8dbf6ee4310d21d9e44b385d6797160d9e8 Mon Sep 17 00:00:00 2001
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Wed, 12 Apr 2017 20:19:34 +1000
Subject: [PATCH] src/flac.c: Fix another memory leak
When the FLAC decoder was passed a malformed file, the associated
`FLAC__StreamDecoder` object was not getting released.
Closes: https://github.com/erikd/libsndfile/issues/233
--- src/flac.c.orig 2018-03-01 09:40:45 UTC
+++ src/flac.c
@@ -841,7 +841,9 @@ flac_read_header (SF_PRIVATE *psf)
psf_log_printf (psf, "End\n") ;
- if (psf->error == 0)
+ if (psf->error != 0)
+ FLAC__stream_decoder_delete (pflac->fsd) ;
+ else
{ FLAC__uint64 position ;
FLAC__stream_decoder_get_decode_position (pflac->fsd, &position) ;

View File

@ -1,31 +0,0 @@
From: Erik de Castro Lopo <erikd@mega-nerd.com>
Date: Tue, 1 Jan 2019 20:11:46 +1100
Subject: src/wav.c: Fix heap read overflow
This is CVE-2018-19758.
Closes: https://github.com/erikd/libsndfile/issues/435
---
src/wav.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/wav.c b/src/wav.c
index 4b943dc..59015a1 100644
--- src/wav.c
+++ src/wav.c
@@ -1,5 +1,5 @@
/*
-** Copyright (C) 1999-2016 Erik de Castro Lopo <erikd@mega-nerd.com>
+** Copyright (C) 1999-2019 Erik de Castro Lopo <erikd@mega-nerd.com>
** Copyright (C) 2004-2005 David Viens <davidv@plogue.com>
**
** This program is free software; you can redistribute it and/or modify
@@ -1094,6 +1094,8 @@ wav_write_header (SF_PRIVATE *psf, int calc_length)
psf_binheader_writef (psf, "44", 0, 0) ; /* SMTPE format */
psf_binheader_writef (psf, "44", psf->instrument->loop_count, 0) ;
+ /* Loop count is signed 16 bit number so we limit it range to something sensible. */
+ psf->instrument->loop_count &= 0x7fff ;
for (tmp = 0 ; tmp < psf->instrument->loop_count ; tmp++)
{ int type ;

View File

@ -1,30 +0,0 @@
From: "Brett T. Warden" <brett.t.warden@intel.com>
Date: Tue, 28 Aug 2018 12:01:17 -0700
Subject: Check MAX_CHANNELS in sndfile-deinterleave
Allocated buffer has space for only 16 channels. Verify that input file
meets this limit.
Fixes #397
---
programs/sndfile-deinterleave.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/programs/sndfile-deinterleave.c b/programs/sndfile-deinterleave.c
index e27593e..cb497e1 100644
--- programs/sndfile-deinterleave.c
+++ programs/sndfile-deinterleave.c
@@ -89,6 +89,13 @@ main (int argc, char **argv)
exit (1) ;
} ;
+ if (sfinfo.channels > MAX_CHANNELS)
+ { printf ("\nError : Input file '%s' has too many (%d) channels. Limit is %d.\n",
+ argv [1], sfinfo.channels, MAX_CHANNELS) ;
+ exit (1) ;
+ } ;
+
+
state.channels = sfinfo.channels ;
sfinfo.channels = 1 ;

View File

@ -1,49 +0,0 @@
From: Erik de Castro Lopez <erikd@mega-nerd.com>
Date: Tue, 20 Jun 2017 00:00:00 +0200
Subject: fix RF64 on armel/armhf archs
Origin: upstream
Applied-Upstream: 9d470ee5577d3ccedb1c28c7e0a7295ba17feaf5
Last-Update: 2017-06-20
---
src/rf64.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/src/rf64.c b/src/rf64.c
index c373bb0..60a3309 100644
--- src/rf64.c
+++ src/rf64.c
@@ -339,6 +339,12 @@ rf64_read_header (SF_PRIVATE *psf, int *blockalign, int *framesperblock)
} ;
break ;
+ case JUNK_MARKER :
+ case PAD_MARKER :
+ psf_log_printf (psf, "%M : %d\n", marker, chunk_size) ;
+ psf_binheader_readf (psf, "j", chunk_size) ;
+ break ;
+
default :
if (chunk_size >= 0xffff0000)
{ psf_log_printf (psf, "*** Unknown chunk marker (%X) at position %D with length %u. Exiting parser.\n", marker, psf_ftell (psf) - 8, chunk_size) ;
@@ -659,7 +665,7 @@ rf64_write_header (SF_PRIVATE *psf, int calc_length)
if (wpriv->rf64_downgrade && psf->filelength < RIFF_DOWNGRADE_BYTES)
{ psf_binheader_writef (psf, "etm8m", RIFF_MARKER, (psf->filelength < 8) ? 8 : psf->filelength - 8, WAVE_MARKER) ;
- psf_binheader_writef (psf, "m4884", JUNK_MARKER, 20, 0, 0, 0, 0) ;
+ psf_binheader_writef (psf, "m4z", JUNK_MARKER, 24, 24) ;
add_fact_chunk = 1 ;
}
else
@@ -735,9 +741,10 @@ rf64_write_header (SF_PRIVATE *psf, int calc_length)
#endif
+ /* Padding may be needed if string data sizes change. */
pad_size = psf->dataoffset - 16 - psf->header.indx ;
if (pad_size >= 0)
- psf_binheader_writef (psf, "m4z", PAD_MARKER, pad_size, make_size_t (pad_size)) ;
+ psf_binheader_writef (psf, "m4z", PAD_MARKER, (unsigned int) pad_size, make_size_t (pad_size)) ;
if (wpriv->rf64_downgrade && (psf->filelength < RIFF_DOWNGRADE_BYTES))
psf_binheader_writef (psf, "tm8", data_MARKER, psf->datalength) ;

View File

@ -1,67 +0,0 @@
From: IOhannes m zmoelnig <umlaeute@debian.org>
Date: Wed, 5 Oct 2016 00:00:00 +0200
Subject: fixed spelling errors
Forwarded: yes
Last-Update: 2016-10-05
discovered by lintian
---
doc/bugs.html | 2 +-
programs/sndfile-convert.c | 2 +-
src/ogg.c | 2 +-
src/wavlike.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/bugs.html b/doc/bugs.html
index 3a441fe..addedb8 100644
--- doc/bugs.html
+++ doc/bugs.html
@@ -31,7 +31,7 @@
<UL>
<LI> Compilation problems on new platforms.
<LI> Errors being detected during the `make check' process.
- <LI> Segmentation faults occuring inside libsndfile.
+ <LI> Segmentation faults occurring inside libsndfile.
<LI> libsndfile hanging when opening a file.
<LI> Supported sound file types being incorrectly read or written.
<LI> Omissions, errors or spelling mistakes in the documentation.
diff --git a/programs/sndfile-convert.c b/programs/sndfile-convert.c
index dff7f79..896838f 100644
--- programs/sndfile-convert.c
+++ programs/sndfile-convert.c
@@ -317,7 +317,7 @@ main (int argc, char * argv [])
if ((sfinfo.format & SF_FORMAT_SUBMASK) == SF_FORMAT_GSM610 && sfinfo.samplerate != 8000)
{ printf (
"WARNING: GSM 6.10 data format only supports 8kHz sample rate. The converted\n"
- "ouput file will contain the input data converted to the GSM 6.10 data format\n"
+ "output file will contain the input data converted to the GSM 6.10 data format\n"
"but not re-sampled.\n"
) ;
} ;
diff --git a/src/ogg.c b/src/ogg.c
index 0856f77..e01ebe1 100644
--- src/ogg.c
+++ src/ogg.c
@@ -193,7 +193,7 @@ ogg_stream_classify (SF_PRIVATE *psf, OGG_PRIVATE* odata)
break ;
} ;
- psf_log_printf (psf, "This Ogg bitstream contains some uknown data type.\n") ;
+ psf_log_printf (psf, "This Ogg bitstream contains some unknown data type.\n") ;
return SFE_UNIMPLEMENTED ;
} /* ogg_stream_classify */
diff --git a/src/wavlike.c b/src/wavlike.c
index 86ebf01..c053da3 100644
--- src/wavlike.c
+++ src/wavlike.c
@@ -161,7 +161,7 @@ wavlike_read_fmt_chunk (SF_PRIVATE *psf, int fmtsize)
{ psf_log_printf (psf, " Bit Width : 24\n") ;
psf_log_printf (psf, "\n"
- " Ambiguous information in 'fmt ' chunk. Possibile file types:\n"
+ " Ambiguous information in 'fmt ' chunk. Possible file types:\n"
" 0) Invalid IEEE float file generated by Syntrillium's Cooledit!\n"
" 1) File generated by ALSA's arecord containing 24 bit samples in 32 bit containers.\n"
" 2) 24 bit file with incorrect Block Align value.\n"

View File

@ -10,26 +10,24 @@ bin/sndfile-play
bin/sndfile-salvage
include/sndfile.h
include/sndfile.hh
lib/libsndfile.a
lib/libsndfile.so
lib/libsndfile.so.1
lib/libsndfile.so.1.0.28
lib/cmake/SndFile/SndFileConfig.cmake
lib/cmake/SndFile/SndFileConfigVersion.cmake
lib/cmake/SndFile/SndFileTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/SndFile/SndFileTargets.cmake
%%STATIC%%lib/libsndfile.a
%%NO_STATIC%%lib/libsndfile.so
%%NO_STATIC%%lib/libsndfile.so.1
%%NO_STATIC%%lib/libsndfile.so.1.0.29
libdata/pkgconfig/sndfile.pc
man/man1/sndfile-cmp.1.gz
man/man1/sndfile-concat.1.gz
man/man1/sndfile-convert.1.gz
man/man1/sndfile-deinterleave.1.gz
man/man1/sndfile-info.1.gz
man/man1/sndfile-interleave.1.gz
man/man1/sndfile-metadata-get.1.gz
man/man1/sndfile-metadata-set.1.gz
man/man1/sndfile-play.1.gz
man/man1/sndfile-salvage.1.gz
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/api.html
%%PORTDOCS%%%%DOCSDIR%%/bugs.html
%%PORTDOCS%%%%DOCSDIR%%/command.html
@ -40,6 +38,7 @@ man/man1/sndfile-salvage.1.gz
%%PORTDOCS%%%%DOCSDIR%%/lists.html
%%PORTDOCS%%%%DOCSDIR%%/new_file_type.HOWTO
%%PORTDOCS%%%%DOCSDIR%%/octave.html
%%PORTDOCS%%%%DOCSDIR%%/print.css
%%PORTDOCS%%%%DOCSDIR%%/sndfile_info.html
%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
%%PORTDOCS%%%%DOCSDIR%%/win32.html

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= musicpd
PORTVERSION= 0.21.24
PORTVERSION= 0.21.26
CATEGORIES= audio
MASTER_SITES= https://www.musicpd.org/download/mpd/${PORTVERSION:R}/
DISTNAME= mpd-${PORTVERSION}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1591873774
SHA256 (mpd-0.21.24.tar.xz) = 84632a7e82e672b3a6d71651a75d05fb7acd62645c33e3f3af5a1067cfa64cd6
SIZE (mpd-0.21.24.tar.xz) = 681576
TIMESTAMP = 1600722391
SHA256 (mpd-0.21.26.tar.xz) = f9e68221c7a6829ec02f281eb313b2f24182020f5eb65ab22b337e6169ea4eea
SIZE (mpd-0.21.26.tar.xz) = 685396

View File

@ -3,7 +3,7 @@
PORTNAME= CDDB_get
PORTVERSION= 2.28
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= audio perl5
MASTER_SITES= CPAN
@ -16,11 +16,13 @@ COMMENT= High-level interface to the Compact Disc Database
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/Copying
PORTSCOUT= skipv:2.28.1
USES= perl5 shebangfix
SHEBANG_FILES= cddb.pl
USE_PERL5= configure
NO_ARCH= yes
PORTSCOUT= skipv:2.28.1
SHEBANG_FILES= cddb.pl
.include <bsd.port.mk>

View File

@ -0,0 +1,20 @@
--- CDDB_get.pm.orig 2012-03-06 18:28:24 UTC
+++ CDDB_get.pm
@@ -66,7 +66,7 @@ my $CDROM_MSF=0x02;
# default config
-my $CDDB_HOST = "freedb.freedb.org";
+my $CDDB_HOST = "gnudb.gnudb.org";
my $CDDB_PORT = 8880;
my $CDDB_MODE = "cddb";
my $CD_DEVICE = "/dev/cdrom";
@@ -608,7 +608,7 @@ CDDB - Read the CDDB entry for an audio CD in your dri
# following variables just need to be declared if different from defaults
- $config{CDDB_HOST}="freedb.freedb.org"; # set cddb host
+ $config{CDDB_HOST}="gnudb.gnudb.org"; # set cddb host
$config{CDDB_PORT}=8880; # set cddb port
$config{CDDB_MODE}="cddb"; # set cddb mode: cddb or http
$config{CD_DEVICE}="/dev/cdrom"; # set cd device

View File

@ -0,0 +1,11 @@
--- cddb.pl.orig 2005-10-06 06:00:59 UTC
+++ cddb.pl
@@ -85,7 +85,7 @@ $CDDB_get::debug=1 if($option{D});
# following variables just need to be declared if different from defaults
# defaults are listed below (cdrom default is os specific)
-# $config{CDDB_HOST}="freedb.freedb.org"; # set cddb host
+# $config{CDDB_HOST}="gnudb.gnudb.org"; # set cddb host
if($option{H}) {
$config{CDDB_HOST}=$option{H};
}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1593449367
SHA256 (metabrainz-picard-plugins-2.0.20200506-d8137c5_GH0.tar.gz) = 4ae912e3d6a5fd956fdb3a6a263e210c02248f014b8a1256687d64be1f136147
SIZE (metabrainz-picard-plugins-2.0.20200506-d8137c5_GH0.tar.gz) = 385098
TIMESTAMP = 1593696678
SHA256 (metabrainz-picard-plugins-2.0.20200605-d8137c5_GH0.tar.gz) = 4ae912e3d6a5fd956fdb3a6a263e210c02248f014b8a1256687d64be1f136147
SIZE (metabrainz-picard-plugins-2.0.20200605-d8137c5_GH0.tar.gz) = 385098

View File

@ -1,10 +1,10 @@
# Created by: Koine Yuusuke(koinec) <koinec@yahoo.co.jp>
# Created by: Koine Yuusuke(koinec) <koinec@users.osdn.me>
# $FreeBSD$
PORTNAME= playumidi
PORTVERSION= 0.8.2
PORTVERSION= 0.8.3
CATEGORIES= audio
MASTER_SITES= OSDN/playumidi/71406
MASTER_SITES= OSDN/${PORTNAME}
MAINTAINER= koinec@users.osdn.me
COMMENT= Standard MIDI format 0/1 player for FreeBSD USB-MIDI(umidi) device

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1565487633
SHA256 (playumidi-0.8.2.tar.gz) = d007844d85abc76faa0d4ec37fd2718a61755d586155ac1922a98f909161aa86
SIZE (playumidi-0.8.2.tar.gz) = 21998
TIMESTAMP = 1598157944
SHA256 (playumidi-0.8.3.tar.gz) = 518e6cefc77d057ab7a802041c4d250a208f93d1bd054fed42a76d6a387dfb1e
SIZE (playumidi-0.8.3.tar.gz) = 22160

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pms-devel
PORTVERSION= 0.0.20200102
PORTVERSION= 0.0.20200702
CATEGORIES= audio
MAINTAINER= riggs@FreeBSD.org
@ -16,7 +16,7 @@ USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= ambientsound
GH_PROJECT= pms
GH_TAGNAME= 0f72e8e
GH_TAGNAME= cae1f02
GH_TUPLE= \
RoaringBitmap:roaring:v0.4.16:roaringbitmap_roaring/vendor/github.com/RoaringBitmap/roaring \

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1584271377
SHA256 (ambientsound-pms-0.0.20200102-0f72e8e_GH0.tar.gz) = a20d0eef8252db2b50493ca77e43d99075c102b06c4670854b96cede23260f2b
SIZE (ambientsound-pms-0.0.20200102-0f72e8e_GH0.tar.gz) = 79721
TIMESTAMP = 1595083232
SHA256 (ambientsound-pms-0.0.20200702-cae1f02_GH0.tar.gz) = 71fbd5324241e3f0648644ba29160e6db03cae9073ddf1a37201471ad64c24b4
SIZE (ambientsound-pms-0.0.20200702-cae1f02_GH0.tar.gz) = 79804
SHA256 (RoaringBitmap-roaring-v0.4.16_GH0.tar.gz) = 6018c018098229217404878d89d313c92127218926cb5463c2ba0eb5de02a09d
SIZE (RoaringBitmap-roaring-v0.4.16_GH0.tar.gz) = 132016
SHA256 (Smerity-govarint-7265e41f48f1_GH0.tar.gz) = 7c78365ebe8f5e40b2d0265c4950e66dd8252e4141fbfbd4f2b0a3f3e4dcefbe

43
audio/py-gtts/Makefile Normal file
View File

@ -0,0 +1,43 @@
# $FreeBSD$
PORTNAME= gtts
DISTVERSIONPREFIX= v
DISTVERSION= 2.1.1
CATEGORIES= audio python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai@FreeBSD.org
COMMENT= Library/CLI tool to interface with Google Translate text-to-speech API
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gtts-token>=1.1.3:security/py-gtts-token@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.9:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}testfixtures>0:devel/py-testfixtures@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= pndurette
GH_PROJECT= gTTS
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3600
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}twine1>=1.11:devel/py-twine1@${PY_FLAVOR}
.else
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}twine>=1.11:devel/py-twine@${PY_FLAVOR}
.endif
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
.include <bsd.port.post.mk>

3
audio/py-gtts/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1594610064
SHA256 (pndurette-gTTS-v2.1.1_GH0.tar.gz) = 7ba54c933aadf83811d397947a2702360188a03b3571b3caff0d618aa34c0d7c
SIZE (pndurette-gTTS-v2.1.1_GH0.tar.gz) = 33476

13
audio/py-gtts/pkg-descr Normal file
View File

@ -0,0 +1,13 @@
gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with
Google Translate's text-to-speech API. Write spoken mp3 data to a file, a
file-like object (bytestring) for further audio manipulation, or stdout.
Or simply pre-generate Google Translate TTS request URLs to feed to an external
program.
Customizable speech-specific sentence tokenizer that allows for unlimited
lengths of text to be read, all while keeping proper intonation, abbreviations,
decimals and more; Customizable text pre-processors which can, for example,
provide pronunciation corrections; Automatic retrieval of supported languages.
WWW: https://github.com/pndurette/gTTS

View File

@ -22,7 +22,8 @@ LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 \
PORTSCOUT= limitw:1,even
USES= desktop-file-utils gettext gmake gnome pathfix pkgconfig tar:xz
USES= compiler:c11 desktop-file-utils gettext gmake gnome \
pathfix pkgconfig tar:xz
USE_GNOME= gnomeprefix intlhack
USE_GSTREAMER1= cdparanoia flac good vorbis
GNU_CONFIGURE= yes

View File

@ -14,9 +14,11 @@ BUILD_DEPENDS= lv2>0:audio/lv2
USES= gnome waf localbase:ldflags pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= mxmilkb
GH_ACCOUNT= mxmilkiib
GH_TAGNAME= 543a95d
USE_GNOME= cairo
USE_XORG= x11
CFLAGS+= -fcommon # variables controller/write_function/etc, see https://github.com/mxmilkiib/stegosaurus/issues/6
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1554603122
SHA256 (mxmilkb-stegosaurus-0.0.3-543a95d_GH0.tar.gz) = 61548c786886fbae181e5adf6b116ae5d7338cda461e9fc798b6788b5b191e2e
SIZE (mxmilkb-stegosaurus-0.0.3-543a95d_GH0.tar.gz) = 163416
TIMESTAMP = 1600651761
SHA256 (mxmilkiib-stegosaurus-0.0.3-543a95d_GH0.tar.gz) = 61548c786886fbae181e5adf6b116ae5d7338cda461e9fc798b6788b5b191e2e
SIZE (mxmilkiib-stegosaurus-0.0.3-543a95d_GH0.tar.gz) = 163416

View File

@ -0,0 +1,11 @@
--- stegosaurus_synth.c.orig 2020-09-19 18:50:38 UTC
+++ stegosaurus_synth.c
@@ -2,6 +2,8 @@
#include "stegosaurus_synth.h"
#include "noise.h"
+stegosaurus* stegosaurus_self = 0;
+
voice* voices[4];
int next_voice = 0;
int keys[128];

View File

@ -0,0 +1,11 @@
--- stegosaurus_synth.h.orig 2020-09-19 18:50:03 UTC
+++ stegosaurus_synth.h
@@ -26,7 +26,7 @@ void stegosaurus_synth_set_osc_waves(int, int, int);
#define ENV_STATE_KILL 7
-stegosaurus* stegosaurus_self;
+extern stegosaurus* stegosaurus_self;
typedef struct

View File

@ -1,3 +1,3 @@
lv2 drum synthersizer without sampling.
WWW: https://github.com/mxmilkb/stegosaurus
WWW: https://github.com/mxmilkiib/stegosaurus

View File

@ -3,6 +3,7 @@
PORTNAME= blogbench
PORTVERSION= 1.1
PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= http://download.pureftpd.org/pub/blogbench/ \
ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/blogbench/
@ -10,14 +11,19 @@ MASTER_SITES= http://download.pureftpd.org/pub/blogbench/ \
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Performance Test of Filesystem I/O
GNU_CONFIGURE= yes
USES= tar:bzip2
GNU_CONFIGURE= yes
PLIST_FILES= bin/blogbench man/man8/blogbench.8.gz
PORTDOCS= README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -Ee 's|[[:<:]]rand\(|arc4random(|g' \
"${WRKSRC}"/src/*.[ch]
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

View File

@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libhts.so:biology/htslib
USES= autoreconf eigen:3 gmake python shebangfix
USES= autoreconf compiler:c++11-lang eigen:3 gmake python shebangfix
SHEBANG_FILES= src/cuffmerge
GNU_CONFIGURE= yes
USE_GITHUB= yes

View File

@ -3,23 +3,29 @@
PORTNAME= mapm3
PORTVERSION= 3.0
PORTREVISION= 1
CATEGORIES= biology
MASTER_SITES= http://www.broad.mit.edu/ftp/distribution/software/mapmaker3/ \
ftp://ftp.ibiblio.org/pub/academic/biology/molbio/mapmaker/ \
http://iubio.bio.indiana.edu/soft/molbio/qtl/mapmaker/ \
http://www.mirrorservice.org/sites/iubio.bio.indiana.edu/molbio/qtl/mapmaker/
DISTNAME= mapm3-source
EXTRACT_SUFX= .tar.Z
MAINTAINER= tphilipp@potion-studios.com
COMMENT= Constructs linkage maps of markers segregating in experimental crosses
USES= ncurses
LICENSE= MAPMAKER
LICENSE_NAME= Whitehead Institute Mapmaker license
LICENSE_FILE= ${WRKSRC}/READ.ME
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
USES= ncurses tar:Z
USE_CSTD= gnu89
CFLAGS+= -Wno-return-type
NO_WRKSUBDIR= yes
MAKE_ARGS+= SYS_LIBS="${LDFLAGS} -lm -lncurses"
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -fcommon -Wno-return-type
NO_WRKSUBDIR= yes
post-patch:
${CP} ${WRKSRC}/sun/* ${WRKSRC}
@ -27,4 +33,8 @@ post-patch:
pre-install:
@${REINPLACE_CMD} -e 's|/usr/local|${STAGEDIR}${PREFIX}|' ${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mapmaker
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qtl
.include <bsd.port.mk>

View File

@ -0,0 +1,14 @@
--- src/paml.h.orig 2020-08-20 16:14:50 UTC
+++ src/paml.h
@@ -372,9 +372,9 @@ void copySptree(void);
void printSptree(void);
-enum {BASEseq=0, CODONseq, AAseq, CODON2AAseq, BINARYseq, BASE5seq} SeqTypes;
+enum SeqTypes {BASEseq=0, CODONseq, AAseq, CODON2AAseq, BINARYseq, BASE5seq};
-enum {PrBranch=1, PrNodeNum=2, PrLabel=4, PrNodeStr=8, PrAge=16, PrOmega=32} OutTreeOptions;
+enum OutTreeOptions {PrBranch=1, PrNodeNum=2, PrLabel=4, PrNodeStr=8, PrAge=16, PrOmega=32};
/* use mean (0; default) for discrete gamma instead of median (1) */

View File

@ -28,4 +28,11 @@ RUN_DEPENDS= ${PYNUMPY} \
USES= python:3.5+
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
CFLAGS+= -msse2 # workaround for https://github.com/biocore/scikit-bio/issues/1727
CXXFLAGS+= -msse2
.endif
.include <bsd.port.post.mk>

View File

@ -3,7 +3,7 @@
PORTNAME= PrusaSlicer
DISTVERSIONPREFIX= version_
DISTVERSION= 2.2.0
PORTREVISION= 2
PORTREVISION= 4
CATEGORIES= cad
MAINTAINER= teodorsigaev@gmail.com

View File

@ -29,7 +29,7 @@ USE_TEX= dvipsk:build latex:build
USE_XORG= ice sm x11 xext xt
HAS_CONFIGURE= yes
CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP}
CONFIGURE_ENV+= ALLIANCE_TOP=${ALLIANCE_TOP} YACC=${YACC}
CONFIGURE_ARGS+=--mandir=${MANPREFIX}/man \
--prefix=${ALLIANCE_TOP}

View File

@ -0,0 +1,11 @@
--- exp/src/Makefile.am.orig 2014-08-02 23:38:00 UTC
+++ exp/src/Makefile.am
@@ -2,7 +2,7 @@
bin_PROGRAMS = exp
-YACC = @YACC@ -d -v --debug
+YACC = @YACC@ -d -v -t
CFLAGS = @CFLAGS@ @ALLIANCE_CFLAGS@
exp_LDADD =

View File

@ -0,0 +1,9 @@
--- fvh/src/fbl_byacc.h.orig 2014-08-02 23:38:00 UTC
+++ fvh/src/fbl_byacc.h
@@ -119,5 +119,5 @@ extern void fbl_select();
extern char * fbl_stostr __P((char *str));
extern void fbl_y_error __P((char *str));
- extern long fbl_y_lex __P(());
+ extern int fbl_y_lex __P(());

View File

@ -13,7 +13,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libqwt6.so:x11-toolkits/qwt6
USES= cmake desktop-file-utils qt:5 shared-mime-info
USES= cmake compiler:c++11-lang desktop-file-utils qt:5 \
shared-mime-info
USE_GITHUB= yes
GH_ACCOUNT= Caneda
GH_PROJECT= Caneda

View File

@ -0,0 +1,10 @@
--- driver/cflexor.lex.orig 2020-08-18 17:06:30 UTC
+++ driver/cflexor.lex
@@ -30,6 +30,7 @@
static int comment_enter;
static char* trim_trailing_white(char*txt, int trim);
+char *current_file;
/*
* Mostly copied from the flex manual. Do not make this arbitrary
* depth without checking for looping files.

View File

@ -0,0 +1,10 @@
--- driver/cfparse_misc.h.orig 2020-08-18 17:06:43 UTC
+++ driver/cfparse_misc.h
@@ -39,6 +39,6 @@ int cferror(const char *);
int cfparse(void);
void switch_to_command_file(const char *);
void destroy_lexor(void);
-char *current_file;
+extern char *current_file;
#endif /* IVL_cfparse_misc_H */

View File

@ -0,0 +1,12 @@
--- libveriuser/priv.h.orig 2020-08-18 15:47:00 UTC
+++ libveriuser/priv.h
@@ -30,7 +30,8 @@ extern char* __acc_newstring(const char*txt);
/*
* Trace file for logging ACC and TF calls.
+ * Defined in libveriuser/priv.c
*/
-FILE* pli_trace;
+extern FILE* pli_trace;
#endif /* IVL_priv_H */

View File

@ -21,7 +21,7 @@ shlib_PKGNAMESUFFIX= -shlib
shlib_CONFLICTS_INSTALL= ngspice_rework-2*
x11_CONFLICTS_INSTALL= ngspice_rework-shlib-2*
USES= gmake libtool ncurses readline autoreconf pkgconfig
USES= compiler:c11 gmake libtool ncurses readline autoreconf pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes

View File

@ -13,7 +13,6 @@ LICENSE_NAME= NASA Open Source Agreement version 1.3
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BROKEN= fails to link
BROKEN_aarch64= fails to compile: invokes x86 asm
LIB_DEPENDS= libdrm.so:graphics/libdrm \
@ -56,7 +55,7 @@ USE_GNOME= libxml2
# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888
.if ${OPSYS} == FreeBSD
.if (${OSVERSION} < 1200000 || ${OSVERSION} >=1300000)
.if (${OSVERSION} < 1104507) || (${OSVERSION} >= 1200000 && ${OSVERSION} < 1202000) || (${OSVERSION} >= 1300000 && ${OSVERSION} < 1300115)
BROKEN= undefined reference to __atomic_load
.endif
.endif

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1590778893
SHA256 (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_langpack_zh-CN.tar.gz) = 04f6e67209dca6d45f332347d3e2af47aaa9e48605d911613adb79f9afafeccb
SIZE (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_langpack_zh-CN.tar.gz) = 614508
SHA256 (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_helppack_zh-CN.tar.gz) = 3942363bd7c2a1947bc754900330c9ddbb456c3cf7b8ab2eea4fecf0bbae0d95
SIZE (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_helppack_zh-CN.tar.gz) = 2444529
TIMESTAMP = 1597379250
SHA256 (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_langpack_zh-CN.tar.gz) = de4d9914ffab9a0e9393998278fd7d75e3a23010afd891feaa6453b69a6bb898
SIZE (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_langpack_zh-CN.tar.gz) = 619596
SHA256 (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_helppack_zh-CN.tar.gz) = 67d0b8c57019b8e986d74260fa5f40549cf75184b35c3e0380cc93de7b45b97a
SIZE (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_helppack_zh-CN.tar.gz) = 2444394

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1590778896
SHA256 (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_langpack_zh-TW.tar.gz) = 4db1046155825fe8614974ba6a5626ff0698c76f42b7d26c9fb8d26e959bb21f
SIZE (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_langpack_zh-TW.tar.gz) = 620337
SHA256 (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_helppack_zh-TW.tar.gz) = ecd9db4643007ddb7fc0372d622372efb5fef7e76abe8e75173ee2d2b42b8363
SIZE (libreoffice/i18n/LibreOffice_6.4.4_Linux_x86-64_deb_helppack_zh-TW.tar.gz) = 2533617
TIMESTAMP = 1597379250
SHA256 (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_langpack_zh-TW.tar.gz) = 3094f7882184dfc8e1daead9d67ffcbaf99ecb1970730fcee220c87eef1194ec
SIZE (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_langpack_zh-TW.tar.gz) = 620147
SHA256 (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_helppack_zh-TW.tar.gz) = 1cff132951bfca88a45798b34ddb3e8bf958181cac379cf02787fc060d920c1f
SIZE (libreoffice/i18n/LibreOffice_6.4.6_Linux_x86-64_deb_helppack_zh-TW.tar.gz) = 2533621

View File

@ -4,20 +4,24 @@
PORTNAME= recode
PORTVERSION= 3.6
DISTVERSIONPREFIX= v
PORTREVISION= 14
PORTREVISION= 15
CATEGORIES= converters
MAINTAINER= demon@FreeBSD.org
COMMENT= Converts files between character sets and usages
LICENSE= GPLv2+
USES= gettext iconv libtool makeinfo perl5
USE_GITHUB= yes
GH_ACCOUNT= pinard
GH_PROJECT= Recode
GNU_CONFIGURE= yes
USES= gettext iconv libtool perl5
USE_PERL5= run build
USE_LDCONFIG= yes
USE_PERL5= run build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-included-gettext
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
@ -38,4 +42,8 @@ post-patch:
${WRKSRC}/src/libiconv.c
@${CP} ${WRKSRC}/lib/error.c ${WRKSRC}/src
# to enable, remove this line and the leading @: from the STRIP_CMD line
post-install:
@: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librecode.so.*.*.*
.include <bsd.port.mk>

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= wkhtmltopdf
PORTVERSION= 0.12.5
PORTREVISION= 5
PORTVERSION= 0.12.6
CATEGORIES= converters
MAINTAINER= pi@FreeBSD.org
@ -20,17 +19,16 @@ BROKEN_mips64= fails to link: undefined reference to __sync_add_and_fetch_4
RUN_DEPENDS= webfonts>=0:x11-fonts/webfonts
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libpng.so:graphics/png \
libQt5WebKit.so:www/qt5-webkit
libpng.so:graphics/png
USES= compiler:c++11-lang gmake iconv jpeg perl5 pkgconfig ssl xorg
USE_GCC= 8
USE_XORG= x11 xext xrender
USE_PERL5= build
USE_LDCONFIG= yes
USE_GITHUB= yes
WKQT_TAGNAME= 5db36ec
GH_TUPLE= ${PORTNAME}:qt:${WKQT_TAGNAME}:qt
USE_CXXSTD= gnu++98
HAS_CONFIGURE= yes
PATCH_WRKSRC= ${WRKSRC}/qt

View File

@ -1,5 +1,5 @@
TIMESTAMP = 1528798989
SHA256 (wkhtmltopdf-wkhtmltopdf-0.12.5_GH0.tar.gz) = 861d6e61e2f5beb2d8daaade2cd5a85b84065ee9fac0d6d85000d8a7712a4621
SIZE (wkhtmltopdf-wkhtmltopdf-0.12.5_GH0.tar.gz) = 511181
TIMESTAMP = 1591904530
SHA256 (wkhtmltopdf-wkhtmltopdf-0.12.6_GH0.tar.gz) = adcced78492e7366d940c66a1327a85d3ae8c45190f486f545fdaa84cac662f0
SIZE (wkhtmltopdf-wkhtmltopdf-0.12.6_GH0.tar.gz) = 519045
SHA256 (wkhtmltopdf-qt-5db36ec_GH0.tar.gz) = 2b60944b46a4b0b9cdb9ce0339c3bf8f54c5ff9411cbc3c6a6ad01f88cc578e1
SIZE (wkhtmltopdf-qt-5db36ec_GH0.tar.gz) = 172992377

View File

@ -1,6 +1,6 @@
--- config.tests/unix/compile.test.orig
--- config.tests/unix/compile.test.orig 2018-05-29 06:56:52 UTC
+++ config.tests/unix/compile.test
@@ -13,7 +13,7 @@
@@ -13,7 +13,7 @@ DESCRIPTION=$7
shift 7
LFLAGS="$SYSROOT_FLAG"
INCLUDEPATH=""

View File

@ -0,0 +1,11 @@
--- configure.orig 2018-05-29 06:56:52 UTC
+++ configure
@@ -7754,7 +7754,7 @@ case "$XPLATFORM" in
*-g++*)
# Check gcc's version
case "$(${QMAKE_CONF_COMPILER} -dumpversion)" in
- 8*|7*|6*|5*|4*|3.4*)
+ 11*|10*|9*|8*|7*|6*|5*|4*|3.4*)
;;
3.3*)
canBuildWebKit="no"

View File

@ -202,27 +202,25 @@ Reviewed by Anders Carlsson.
libc++ provides std::nullptr emulation, so we don't have to.
------------------------------------------------------------------------
--- src/3rdparty/webkit/Source/JavaScriptCore/wtf/NullPtr.h
--- src/3rdparty/webkit/Source/JavaScriptCore/wtf/NullPtr.h.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/JavaScriptCore/wtf/NullPtr.h
@@ -35,10 +35,14 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -35,9 +35,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH D
#define __has_feature(feature) 0
#endif
-#if __has_feature(cxx_nullptr) || (GCC_VERSION_AT_LEAST(4, 6, 0) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || (defined(_MSC_VER) && _MSC_VER >= 1600 && !COMPILER(INTEL)) || defined(_LIBCPP_VERSION)
+#include <ciso646>
+
+#if __has_feature(cxx_nullptr) || (GCC_VERSION_AT_LEAST(4, 6, 0) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || (defined(_MSC_VER) && _MSC_VER >= 1600 && !COMPILER(INTEL)) || defined(_LIBCPP_VERSION)
#if __has_feature(cxx_nullptr) || (GCC_VERSION_AT_LEAST(4, 6, 0) && defined(__GXX_EXPERIMENTAL_CXX0X__)) || (defined(_MSC_VER) && _MSC_VER >= 1600 && !COMPILER(INTEL)) || defined(_LIBCPP_VERSION)
#define HAVE_NULLPTR 1
+#include <cstddef>
+
+#include <cstddef>
#else
namespace std {
--- src/3rdparty/webkit/Source/WebCore/dom/XMLDocumentParserQt.cpp (revision 86528)
+++ src/3rdparty/webkit/Source/WebCore/dom/XMLDocumentParserQt.cpp (revision 86529)
@@ -215,7 +215,7 @@
--- src/3rdparty/webkit/Source/WebCore/dom/XMLDocumentParserQt.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebCore/dom/XMLDocumentParserQt.cpp
@@ -215,7 +215,7 @@ void XMLDocumentParser::doEnd()
{
#if ENABLE(XSLT)
if (m_sawXSLTransform) {
@ -231,7 +229,7 @@ libc++ provides std::nullptr emulation, so we don't have to.
document()->setParsing(false); // Make the doc think it's done, so it will apply xsl sheets.
document()->styleSelectorChanged(RecalcStyleImmediately);
document()->setParsing(true);
--- src/3rdparty/webkit/Source/WebCore/loader/icon/IconRecord.h
--- src/3rdparty/webkit/Source/WebCore/loader/icon/IconRecord.h.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebCore/loader/icon/IconRecord.h
@@ -38,7 +38,7 @@
#include <wtf/OwnPtr.h>
@ -242,7 +240,7 @@ libc++ provides std::nullptr emulation, so we don't have to.
#include <sys/types.h> // For time_t structure.
#endif
--- src/3rdparty/webkit/Source/WebCore/page/Page.h
--- src/3rdparty/webkit/Source/WebCore/page/Page.h.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebCore/page/Page.h
@@ -29,7 +29,7 @@
#include <wtf/HashSet.h>
@ -253,7 +251,7 @@ libc++ provides std::nullptr emulation, so we don't have to.
#include <sys/time.h> // For time_t structure.
#endif
--- src/3rdparty/webkit/Source/WebCore/platform/network/ResourceResponseBase.h
--- src/3rdparty/webkit/Source/WebCore/platform/network/ResourceResponseBase.h.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebCore/platform/network/ResourceResponseBase.h
@@ -35,7 +35,7 @@
#include <wtf/PassOwnPtr.h>
@ -264,9 +262,9 @@ libc++ provides std::nullptr emulation, so we don't have to.
#include <sys/time.h> // For time_t structure.
#endif
--- src/3rdparty/webkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp (revision 86529)
+++ src/3rdparty/webkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp (revision 86530)
@@ -285,7 +285,7 @@
--- src/3rdparty/webkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
@@ -285,7 +285,7 @@ void QNetworkReplyWrapper::receiveMetaData()
Q_ASSERT(!m_sniffer);
@ -275,7 +273,7 @@ libc++ provides std::nullptr emulation, so we don't have to.
if (m_sniffer->isFinished()) {
receiveSniffedMIMEType();
@@ -666,7 +666,7 @@
@@ -666,7 +666,7 @@ void QNetworkReplyHandler::start()
if (!reply)
return;
@ -284,10 +282,9 @@ libc++ provides std::nullptr emulation, so we don't have to.
if (m_loadType == SynchronousLoad) {
m_replyWrapper->synchronousLoad();
===================================================================
--- src/3rdparty/webkit/Source/WebCore/platform/text/qt/TextCodecQt.cpp (revision 86530)
+++ src/3rdparty/webkit/Source/WebCore/platform/text/qt/TextCodecQt.cpp (revision 86531)
@@ -64,7 +64,7 @@
--- src/3rdparty/webkit/Source/WebCore/platform/text/qt/TextCodecQt.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebCore/platform/text/qt/TextCodecQt.cpp
@@ -64,7 +64,7 @@ void TextCodecQt::registerEncodingNames(EncodingNameRe
static PassOwnPtr<TextCodec> newTextCodecQt(const TextEncoding& encoding, const void*)
{
@ -296,10 +293,20 @@ libc++ provides std::nullptr emulation, so we don't have to.
}
void TextCodecQt::registerCodecs(TextCodecRegistrar registrar)
--- src/3rdparty/webkit/Source/WebKit/qt/Api/qgraphicswebview.cpp (revision 86532)
+++ src/3rdparty/webkit/Source/WebKit/qt/Api/qgraphicswebview.cpp (revision 86533)
@@ -504,7 +504,7 @@
--- src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginViewQt.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginViewQt.cpp
@@ -950,7 +950,7 @@ bool PluginView::platformStart()
#if USE(ACCELERATED_COMPOSITING) && !USE(TEXTURE_MAPPER)
if (shouldUseAcceleratedCompositing()) {
- m_platformLayer = new PluginGraphicsLayerQt(this);
+ m_platformLayer = adoptPtr(new PluginGraphicsLayerQt(this));
// Trigger layer computation in RenderLayerCompositor
m_element->setNeedsStyleRecalc(SyntheticStyleChange);
}
--- src/3rdparty/webkit/Source/WebKit/qt/Api/qgraphicswebview.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/Api/qgraphicswebview.cpp
@@ -504,7 +504,7 @@ void QGraphicsWebView::setPage(QWebPage* page)
if (!d->page)
return;
@ -308,9 +315,9 @@ libc++ provides std::nullptr emulation, so we don't have to.
if (d->overlay())
d->overlay()->prepareGraphicsItemGeometryChange();
--- src/3rdparty/webkit/Source/WebKit/qt/Api/qwebpage.cpp (revision 86532)
+++ src/3rdparty/webkit/Source/WebKit/qt/Api/qwebpage.cpp (revision 86550)
@@ -1319,7 +1319,7 @@
--- src/3rdparty/webkit/Source/WebKit/qt/Api/qwebpage.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/Api/qwebpage.cpp
@@ -1343,7 +1343,7 @@ void QWebPagePrivate::adjustPointForClicking(QMouseEve
void QWebPagePrivate::adjustPointForClicking(QGraphicsSceneMouseEvent* ev)
{
QtPlatformPlugin platformPlugin;
@ -319,7 +326,7 @@ libc++ provides std::nullptr emulation, so we don't have to.
if (!touchModifier)
return;
@@ -1328,8 +1328,7 @@
@@ -1352,8 +1352,7 @@ void QWebPagePrivate::adjustPointForClicking(QGraphics
unsigned bottomPadding = touchModifier->hitTestPaddingForTouch(QWebTouchModifier::Down);
unsigned leftPadding = touchModifier->hitTestPaddingForTouch(QWebTouchModifier::Left);
@ -329,7 +336,7 @@ libc++ provides std::nullptr emulation, so we don't have to.
if (!topPadding && !rightPadding && !bottomPadding && !leftPadding)
return;
@@ -2044,7 +2044,7 @@
@@ -2068,7 +2067,7 @@ void QWebPage::setView(QWidget* view)
}
if (view)
@ -338,68 +345,9 @@ libc++ provides std::nullptr emulation, so we don't have to.
}
/*!
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.h (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.h (revision 86550)
@@ -22,6 +22,8 @@
#include "PopupMenu.h"
#include <QObject>
+#include <wtf/OwnPtr.h>
+#include <wtf/PassOwnPtr.h>
class QWebSelectData;
class QWebSelectMethod;
@@ -49,8 +51,8 @@
private:
PopupMenuClient* m_popupClient;
- QWebSelectMethod* m_popup;
- QWebSelectData* m_selectData;
+ OwnPtr<QWebSelectMethod> m_popup;
+ OwnPtr<QWebSelectData> m_selectData;
const ChromeClientQt* m_chromeClient;
};
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtPlatformPlugin.h (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtPlatformPlugin.h (revision 86550)
@@ -22,6 +22,7 @@
#define QtPlatformPlugin_h
#include <QPluginLoader>
+#include <wtf/PassOwnPtr.h>
class QWebSelectMethod;
class QWebKitPlatformPlugin;
@@ -37,15 +38,20 @@
class QtPlatformPlugin {
public:
- QtPlatformPlugin() : m_loaded(false), m_plugin(0) {}
+ QtPlatformPlugin()
+ : m_loaded(false)
+ , m_plugin(0)
+ {
+ }
+
~QtPlatformPlugin();
- QWebSelectMethod* createSelectInputMethod();
- QWebNotificationPresenter* createNotificationPresenter();
- QWebHapticFeedbackPlayer* createHapticFeedbackPlayer();
- QWebTouchModifier* createTouchModifier();
+ PassOwnPtr<QWebSelectMethod> createSelectInputMethod();
+ PassOwnPtr<QWebNotificationPresenter> createNotificationPresenter();
+ PassOwnPtr<QWebHapticFeedbackPlayer> createHapticFeedbackPlayer();
+ PassOwnPtr<QWebTouchModifier> createTouchModifier();
#if ENABLE(VIDEO) && USE(QT_MULTIMEDIA)
- QWebFullScreenVideoHandler* createFullScreenVideoHandler();
+ PassOwnPtr<QWebFullScreenVideoHandler> createFullScreenVideoHandler();
#endif
QWebKitPlatformPlugin* plugin();
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp (revision 86550)
@@ -696,18 +696,18 @@
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.cpp
@@ -702,18 +702,18 @@ void ChromeClientQt::exitFullscreenForNode(Node* node)
}
#endif
@ -424,9 +372,95 @@ libc++ provides std::nullptr emulation, so we don't have to.
#endif
}
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp (revision 86550)
@@ -82,8 +82,6 @@
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.h.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.h
@@ -34,6 +34,7 @@
#include "KURL.h"
#include "PlatformString.h"
#include "QtPlatformPlugin.h"
+#include <wtf/PassOwnPtr.h>
#include <wtf/RefCounted.h>
QT_BEGIN_NAMESPACE
@@ -190,7 +191,7 @@ class ChromeClientQt : public ChromeClient { (public)
virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*) const;
virtual void populateVisitedLinks();
- QWebSelectMethod* createSelectPopup() const;
+ PassOwnPtr<QWebSelectMethod> createSelectPopup() const;
virtual void dispatchViewportDataDidChange(const ViewportArguments&) const;
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp
@@ -140,7 +140,7 @@ FullScreenVideoQt::FullScreenVideoQt(ChromeClientQt* c
Q_ASSERT(m_chromeClient);
#if USE(QT_MULTIMEDIA)
- m_FullScreenVideoHandler = m_chromeClient->m_platformPlugin.createFullScreenVideoHandler();
+ m_FullScreenVideoHandler = m_chromeClient->m_platformPlugin.createFullScreenVideoHandler().leakPtr();
if (!m_FullScreenVideoHandler)
m_FullScreenVideoHandler = new DefaultFullScreenVideoHandler;
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp
@@ -203,8 +203,9 @@ void InspectorClientQt::inspectorDestroyed()
void InspectorClientQt::openInspectorFrontend(WebCore::InspectorController* inspectorController)
{
#if ENABLE(INSPECTOR)
- QWebView* inspectorView = new QWebView;
- InspectorClientWebPage* inspectorPage = new InspectorClientWebPage(inspectorView);
+ OwnPtr<QWebView> inspectorView = adoptPtr(new QWebView);
+ // FIXME: Where does inspectorPage get deleted?
+ InspectorClientWebPage* inspectorPage = new InspectorClientWebPage(inspectorView.get());
inspectorView->setPage(inspectorPage);
QWebInspector* inspector = m_inspectedWebPage->d->getOrCreateInspector();
@@ -229,11 +230,14 @@ void InspectorClientQt::openInspectorFrontend(WebCore:
inspectorPage->setProperty("_q_inspectorJavaScriptWindowObjects", inspectorJavaScriptWindowObjects);
#endif
inspectorView->page()->mainFrame()->load(inspectorUrl);
- m_inspectedWebPage->d->inspectorFrontend = inspectorView;
- inspector->d->setFrontend(inspectorView);
+ m_inspectedWebPage->d->inspectorFrontend = inspectorView.get();
+ inspector->d->setFrontend(inspectorView.get());
- m_frontendClient = new InspectorFrontendClientQt(m_inspectedWebPage, inspectorView, this);
- inspectorView->page()->d->page->inspectorController()->setInspectorFrontendClient(m_frontendClient);
+ // Is 'controller' the same object as 'inspectorController' (which appears to be unused)?
+ InspectorController* controller = inspectorView->page()->d->page->inspectorController();
+ OwnPtr<InspectorFrontendClientQt> frontendClient = adoptPtr(new InspectorFrontendClientQt(m_inspectedWebPage, inspectorView.release(), this));
+ m_frontendClient = frontendClient.get();
+ controller->setInspectorFrontendClient(frontendClient.release());
m_frontendWebPage = inspectorPage;
#endif
}
@@ -297,7 +301,7 @@ bool InspectorClientQt::sendMessageToFrontend(const St
#if ENABLE(INSPECTOR)
InspectorFrontendClientQt::InspectorFrontendClientQt(QWebPage* inspectedWebPage, PassOwnPtr<QWebView> inspectorView, InspectorClientQt* inspectorClient)
- : InspectorFrontendClientLocal(inspectedWebPage->d->page->inspectorController(), inspectorView->page()->d->page, new InspectorFrontendSettingsQt())
+ : InspectorFrontendClientLocal(inspectedWebPage->d->page->inspectorController(), inspectorView->page()->d->page, adoptPtr(new InspectorFrontendSettingsQt()))
, m_inspectedWebPage(inspectedWebPage)
, m_inspectorView(inspectorView)
, m_destroyingInspectorView(false)
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp
@@ -211,9 +211,9 @@ void NotificationPresenterClientQt::displayNotificatio
QPixmap pixmap;
if (bytes.length() && pixmap.loadFromData(bytes)) {
QIcon icon(pixmap);
- wrapper->m_notificationIcon = new QSystemTrayIcon(icon);
+ wrapper->m_notificationIcon = adoptPtr(new QSystemTrayIcon(icon));
} else
- wrapper->m_notificationIcon = new QSystemTrayIcon();
+ wrapper->m_notificationIcon = adoptPtr(new QSystemTrayIcon());
#endif
}
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.cpp
@@ -82,16 +82,12 @@ namespace WebCore {
PopupMenuQt::PopupMenuQt(PopupMenuClient* client, const ChromeClientQt* chromeClient)
: m_popupClient(client)
@ -435,7 +469,6 @@ libc++ provides std::nullptr emulation, so we don't have to.
, m_chromeClient(chromeClient)
{
}
@@ -90,8 +88,6 @@
PopupMenuQt::~PopupMenuQt()
{
@ -444,7 +477,7 @@ libc++ provides std::nullptr emulation, so we don't have to.
}
void PopupMenuQt::disconnectClient()
@@ -107,11 +103,11 @@
@@ -107,21 +103,19 @@ void PopupMenuQt::show(const IntRect& rect, FrameView*
if (!m_popup) {
m_popup = m_chromeClient->createSelectPopup();
@ -459,7 +492,6 @@ libc++ provides std::nullptr emulation, so we don't have to.
QRect geometry(rect);
geometry.moveTopLeft(view->contentsToWindow(rect.location()));
fallback->setGeometry(geometry);
@@ -118,10 +114,8 @@
fallback->setFont(m_popupClient->menuStyle().font().font());
}
@ -472,20 +504,31 @@ libc++ provides std::nullptr emulation, so we don't have to.
#endif
}
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp (revision 86550)
@@ -136,7 +136,7 @@
Q_ASSERT(m_chromeClient);
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.h.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/PopupMenuQt.h
@@ -22,6 +22,8 @@
#if USE(QT_MULTIMEDIA)
- m_FullScreenVideoHandler = m_chromeClient->m_platformPlugin.createFullScreenVideoHandler();
+ m_FullScreenVideoHandler = m_chromeClient->m_platformPlugin.createFullScreenVideoHandler().leakPtr();
if (!m_FullScreenVideoHandler)
m_FullScreenVideoHandler = new DefaultFullScreenVideoHandler;
#include "PopupMenu.h"
#include <QObject>
+#include <wtf/OwnPtr.h>
+#include <wtf/PassOwnPtr.h>
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtPlatformPlugin.cpp (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtPlatformPlugin.cpp (revision 86550)
@@ -102,36 +102,35 @@
class QWebSelectData;
class QWebSelectMethod;
@@ -49,8 +51,8 @@ private slots:
private:
PopupMenuClient* m_popupClient;
- QWebSelectMethod* m_popup;
- QWebSelectData* m_selectData;
+ OwnPtr<QWebSelectMethod> m_popup;
+ OwnPtr<QWebSelectData> m_selectData;
const ChromeClientQt* m_chromeClient;
};
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtPlatformPlugin.cpp.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtPlatformPlugin.cpp
@@ -102,36 +102,35 @@ QWebKitPlatformPlugin* QtPlatformPlugin::plugin()
return m_plugin;
}
@ -532,89 +575,40 @@ libc++ provides std::nullptr emulation, so we don't have to.
}
#endif
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp (revision 86550)
@@ -203,8 +203,9 @@
void InspectorClientQt::openInspectorFrontend(WebCore::InspectorController* inspectorController)
{
#if ENABLE(INSPECTOR)
- QWebView* inspectorView = new QWebView;
- InspectorClientWebPage* inspectorPage = new InspectorClientWebPage(inspectorView);
+ OwnPtr<QWebView> inspectorView = adoptPtr(new QWebView);
+ // FIXME: Where does inspectorPage get deleted?
+ InspectorClientWebPage* inspectorPage = new InspectorClientWebPage(inspectorView.get());
inspectorView->setPage(inspectorPage);
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtPlatformPlugin.h.orig 2018-05-29 06:56:52 UTC
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/QtPlatformPlugin.h
@@ -22,6 +22,7 @@
#define QtPlatformPlugin_h
QWebInspector* inspector = m_inspectedWebPage->d->getOrCreateInspector();
@@ -229,11 +230,14 @@
inspectorPage->setProperty("_q_inspectorJavaScriptWindowObjects", inspectorJavaScriptWindowObjects);
#endif
inspectorView->page()->mainFrame()->load(inspectorUrl);
- m_inspectedWebPage->d->inspectorFrontend = inspectorView;
- inspector->d->setFrontend(inspectorView);
+ m_inspectedWebPage->d->inspectorFrontend = inspectorView.get();
+ inspector->d->setFrontend(inspectorView.get());
- m_frontendClient = new InspectorFrontendClientQt(m_inspectedWebPage, inspectorView, this);
- inspectorView->page()->d->page->inspectorController()->setInspectorFrontendClient(m_frontendClient);
+ // Is 'controller' the same object as 'inspectorController' (which appears to be unused)?
+ InspectorController* controller = inspectorView->page()->d->page->inspectorController();
+ OwnPtr<InspectorFrontendClientQt> frontendClient = adoptPtr(new InspectorFrontendClientQt(m_inspectedWebPage, inspectorView.release(), this));
+ m_frontendClient = frontendClient.get();
+ controller->setInspectorFrontendClient(frontendClient.release());
m_frontendWebPage = inspectorPage;
#endif
}
@@ -297,7 +301,7 @@
#if ENABLE(INSPECTOR)
InspectorFrontendClientQt::InspectorFrontendClientQt(QWebPage* inspectedWebPage, PassOwnPtr<QWebView> inspectorView, InspectorClientQt* inspectorClient)
- : InspectorFrontendClientLocal(inspectedWebPage->d->page->inspectorController(), inspectorView->page()->d->page, new InspectorFrontendSettingsQt())
+ : InspectorFrontendClientLocal(inspectedWebPage->d->page->inspectorController(), inspectorView->page()->d->page, adoptPtr(new InspectorFrontendSettingsQt()))
, m_inspectedWebPage(inspectedWebPage)
, m_inspectorView(inspectorView)
, m_destroyingInspectorView(false)
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/NotificationPresenterClientQt.cpp (revision 86550)
@@ -211,9 +211,9 @@
QPixmap pixmap;
if (bytes.length() && pixmap.loadFromData(bytes)) {
QIcon icon(pixmap);
- wrapper->m_notificationIcon = new QSystemTrayIcon(icon);
+ wrapper->m_notificationIcon = adoptPtr(new QSystemTrayIcon(icon));
} else
- wrapper->m_notificationIcon = new QSystemTrayIcon();
+ wrapper->m_notificationIcon = adoptPtr(new QSystemTrayIcon());
#endif
}
--- src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.h (revision 86536)
+++ src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/ChromeClientQt.h (revision 86550)
@@ -34,6 +34,7 @@
#include "KURL.h"
#include "PlatformString.h"
#include "QtPlatformPlugin.h"
#include <QPluginLoader>
+#include <wtf/PassOwnPtr.h>
#include <wtf/RefCounted.h>
QT_BEGIN_NAMESPACE
@@ -189,7 +190,7 @@
virtual PassRefPtr<SearchPopupMenu> createSearchPopupMenu(PopupMenuClient*) const;
virtual void populateVisitedLinks();
class QWebSelectMethod;
class QWebKitPlatformPlugin;
@@ -37,15 +38,20 @@ namespace WebCore {
- QWebSelectMethod* createSelectPopup() const;
+ PassOwnPtr<QWebSelectMethod> createSelectPopup() const;
class QtPlatformPlugin {
public:
- QtPlatformPlugin() : m_loaded(false), m_plugin(0) {}
+ QtPlatformPlugin()
+ : m_loaded(false)
+ , m_plugin(0)
+ {
+ }
+
~QtPlatformPlugin();
virtual void dispatchViewportDataDidChange(const ViewportArguments&) const;
--- src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginViewQt.cpp (revision 86536)
+++ src/3rdparty/webkit/Source/WebCore/plugins/qt/PluginViewQt.cpp (revision 86550)
@@ -950,7 +950,7 @@ bool PluginView::platformStart()
- QWebSelectMethod* createSelectInputMethod();
- QWebNotificationPresenter* createNotificationPresenter();
- QWebHapticFeedbackPlayer* createHapticFeedbackPlayer();
- QWebTouchModifier* createTouchModifier();
+ PassOwnPtr<QWebSelectMethod> createSelectInputMethod();
+ PassOwnPtr<QWebNotificationPresenter> createNotificationPresenter();
+ PassOwnPtr<QWebHapticFeedbackPlayer> createHapticFeedbackPlayer();
+ PassOwnPtr<QWebTouchModifier> createTouchModifier();
#if ENABLE(VIDEO) && USE(QT_MULTIMEDIA)
- QWebFullScreenVideoHandler* createFullScreenVideoHandler();
+ PassOwnPtr<QWebFullScreenVideoHandler> createFullScreenVideoHandler();
#endif
#if USE(ACCELERATED_COMPOSITING) && !USE(TEXTURE_MAPPER)
if (shouldUseAcceleratedCompositing()) {
- m_platformLayer = new PluginGraphicsLayerQt(this);
+ m_platformLayer = adoptPtr(new PluginGraphicsLayerQt(this));
// Trigger layer computation in RenderLayerCompositor
m_element->setNeedsStyleRecalc(SyntheticStyleChange);
}
QWebKitPlatformPlugin* plugin();

Some files were not shown because too many files have changed in this diff Show More