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)
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)
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)
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)
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)
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)
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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)