FreeBSD/src 342214head/sys/conf files kern.mk, head/sys/dev/fxp if_fxpreg.h if_fxp.c

Remove a use of a negative array index from fxp(4).

This fixes a warning seen when compiling amd64 GENERIC with clang 7.
Also remove the workaround added in r337324.  clang 7 and gcc 4.2
generate the same code with or without the code change.

Reviewed by:    imp (previous version)
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D18603

FreeBSD/src 342213stable 11, stable/11/share/man/man9 pmap_enter.9

MFC r342144:
Document new required MI behaviour of pmap_enter(9) for CoW.

FreeBSD/src 342212stable 12, stable/12/share/man/man9 pmap_enter.9

MFC r342144:
Document new required MI behaviour of pmap_enter(9) for CoW.

FreeBSD/src 342211head/sys/net80211 ieee80211_node.c

net80211: fix out-of-bounds read in ieee80211_amrr(9).

ieee80211_alloc_node() does not initialize rateset tables; that's not
expected by rate control modules and will result in array access at
index -1 - where ni_essid[] array is located (zeroed at allocation, so
there are no user-visible consequences).

Just delay rate control initialization to the moment, when rateset
tables are initiaziled; nothing will use rates here anyway.

MFC after:      4 days

FreeBSD/src 342210stable 11 12, stable/11/share/man/man4 ses.4

MFC r342150:

Add a missing leading / in a filename.

FreeBSD/src 342209stable 12, stable/12/sys/dev/rtwn/usb rtwn_usb_attach.h

MFC r342124:
Add new USB id in rtwn_usb(4) (RTL8812AU)

PR:            234029
Submitted by:   <hakotani000 at gmail.com>

FreeBSD/ports 487783head/science Makefile, head/science/h5z-zfp Makefile pkg-descr

New port: science/h5z-zfp: Registered ZFP compression plugin for HDF5

FreeBSD/ports 487782head/archivers/py-lz4 distinfo Makefile

- Update to 2.1.5

FreeBSD/src 342208head/sys/dev/cxgbe/tom t4_listen.c t4_cpl_io.c

cxgbe/t4_tom: fixes for issues on the passive open side.

- Fix PR 227760 by getting the TOE to respond to the SYN after the call
  to toe_syncache_add, not during it.  The kernel syncache code calls
  syncache_respond just before syncache_insert.  If the ACK to the
  syncache_respond is processed in another thread it may run before the
  syncache_insert and won't find the entry.  Note that this affects only
  t4_tom because it's the only driver trying to insert and expand
  syncache entries from different threads.

- Do not leak resources if an embryonic connection terminates at
  SYN_RCVD because of L2 lookup failures.

- Retire lctx->synq and associated code because there is never a need to
  walk the list of embryonic connections associated with a listener.
  The per-tid state is still called a synq entry in the driver even
  though the synq itself is now gone.

PR:            227760
MFC after:      2 weeks
Sponsored by:   Chelsio Communications

FreeBSD/ports 487781head/net Makefile aluminum, head/net/aluminum Makefile pkg-plist

New port: net/aluminum: Generic interface to high-performance communication libraries

FreeBSD/ports 487780head/devel/cc65 pkg-plist Makefile

- Update to 2.17
- Update COMMENT
- Add LICENSE_FILE
- Remove unneeded pkg-message
- Take maintainership

FreeBSD/src 342207head/sys/kern kern_malloc.c

Fix DDB's "show malloc" after r338899.

MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

FreeBSD/ports 487779head/devel Makefile zfp, head/devel/zfp pkg-plist Makefile

New port: devel/zfp: High throughput library for compressed floating-point arrays

FreeBSD/ports 487778head/cad/elmerfem Makefile

Mark BROKEN: fails to build

cd /wrkdirs/usr/ports/cad/elmerfem/work/.build/fem/src && /usr/local/bin/gfortran8 
-DCONTIG=,CONTIGUOUS -DHAVE_EXECUTECOMMANDLINE -DUSE_ARPACK -DUSE_ISO_C_BINDINGS 
-Delmersolver_EXPORTS -I/usr/local/include -I/wrkdirs/usr/ports/cad/elmerfem/work/.build 
-I/wrkdirs/usr/ports/cad/elmerfem/work/.build/fem/src 
-I/wrkdirs/usr/ports/cad/elmerfem/work/elmerfem-release-8.3/fhutiter/src 
-I/wrkdirs/usr/ports/cad/elmerfem/work/.build/fem/src/binio 
-I/wrkdirs/usr/ports/cad/elmerfem/work/.build/fhutiter/src  -O 
-Wl,-rpath=/usr/local/lib/gcc8 -fPIC -O3 -DNDEBUG -O3 -J../../fmodules -fPIC   -c 
/wrkdirs/usr/ports/cad/elmerfem/work/elmerfem-release-8.3/fem/src/CRSMatrix.F90 -o 
CMakeFiles/elmersolver.dir/CRSMatrix.F90.o
/wrkdirs/usr/ports/cad/elmerfem/work/elmerfem-release-8.3/fem/src/CRSMatrix.F90:3681:24:

       A % ILUCols    => ILUCols
                        1
Error: Assignment to contiguous pointer from non-contiguous target at (1)

Reported by:    pkg-fallout

FreeBSD/ports 487777head/graphics/appleseed Makefile

Mark BROKEN: fails to build

cd /wrkdirs/usr/ports/graphics/appleseed/work/.build/src/appleseed.shaders && 
/usr/local/bin/cmake -E make_directory 
/wrkdirs/usr/ports/graphics/appleseed/work/appleseed-1.7.1-beta/sandbox/shaders/maya && 
/wrkdirs/usr/ports/graphics/appleseed/work/appleseed-1.7.1-beta/sandbox/bin/oslc -O2 
-DNDEBUG 
-I"/wrkdirs/usr/ports/graphics/appleseed/work/appleseed-1.7.1-beta/src/appleseed.shaders/include" 
-o 
/wrkdirs/usr/ports/graphics/appleseed/work/appleseed-1.7.1-beta/sandbox/shaders/maya/as_maya_anisotropic.oso 
/wrkdirs/usr/ports/graphics/appleseed/work/appleseed-1.7.1-beta/src/appleseed.shaders/src/maya/as_maya_anisotropic.osl
/wrkdirs/usr/ports/graphics/appleseed/work/appleseed-1.7.1-beta/src/appleseed.shaders/include/appleseed/color/as_color_helpers.h:191: 
error: cannot write to "illuminant" (read-only symbol)

Reported by:    pkg-fallout

FreeBSD/ports 487776head/science/pcmsolver Makefile

Mark BROKEN: fails to build

F90-F-0004-Unable to open MODULE file iso_c_binding.mod 
(/wrkdirs/usr/ports/science/pcmsolver/work/pcmsolver-1.2.1/src/metal/metal_sphere.F90: 26)

Reported by:    pkg-fallout

FreeBSD/ports 487775head/sysutils/grub2-pcbsd Makefile

Mark BROKEN: fails to build

In file included from efiemu/runtime/efiemu.c:33:
../include/grub/efiemu/runtime.h:36:1: error: alignment 1 of 'struct efi_variable' is less 
than 8 [-Werror=packed-not-aligned]

Reported by:    pkg-fallout

FreeBSD/src 342206stable 11, stable/11/sys/net if_lagg.c

MFC r339909: Allow changing lagg(4) MTU.

Previously, changing the MTU would require destroying the lagg and
creating a new one. Now it is allowed to change the MTU of
the lagg interface and the MTU of the ports will be set to match.

If any port cannot set the new MTU, all ports are reverted to the original
MTU of the lagg. Additionally, when adding ports, the MTU of a port will be
automatically set to the MTU of the lagg. As always, the MTU of the lagg is
initially determined by the MTU of the first port added. If adding an
interface as a port for some reason fails, that interface is reverted to its
original MTU.

Submitted by: Ryan Moeller <ryan at freqlabs.com>
Relnotes: Yes
Sponsored by: iXsystems Inc.

FreeBSD/src 342205stable 12, stable/12/sys/net if_lagg.c

MFC r339909: Allow changing lagg(4) MTU.

Previously, changing the MTU would require destroying the lagg and
creating a new one. Now it is allowed to change the MTU of
the lagg interface and the MTU of the ports will be set to match.

If any port cannot set the new MTU, all ports are reverted to the original
MTU of the lagg. Additionally, when adding ports, the MTU of a port will be
automatically set to the MTU of the lagg. As always, the MTU of the lagg is
initially determined by the MTU of the first port added. If adding an
interface as a port for some reason fails, that interface is reverted to its
original MTU.

Submitted by:   Ryan Moeller <ryan at freqlabs.com>
Relnotes:       Yes
Sponsored by:   iXsystems Inc.

FreeBSD/ports 487774head/sysutils/apachetop Makefile, head/sysutils/apachetop/files patch-src_log.cc patch-src_ohtbl.cc

sysutils/apachetop: update 0.12.6 -> 0.18.4

- moved to github
- Fix compile
- Fix mis-spelled word

PR:            227865
Submitted by:   ndowens at yahoo.com
Reported by:    Thomas-Henning von Kamptz <tomsoft at mac.com>
Reviewed by:    koobs, danfe
Approved by:    Lukasz Wasikowski <lukasz at wasikowski.net> (maintainer)

FreeBSD/src 342204head/share/man/man4 cyapa.4 isl.4

cyapa.4, isl.4: cross-reference and document use of chromebook_platform(4)

PR:            218632
Reported by:    Denis Kozadaev <denis at tambov.ru>
MFC after:      1 week

FreeBSD/ports 487773head/graphics/cimg distinfo Makefile

Upgrade to v.2.4.3.

FreeBSD/src 342203stable 12, stable/12/sys/kern subr_blist.c

MFC r340402, r340914 (by alc), r341602 (by alc), r341766 (by alc):
Allow allocations across meta boundaries.

FreeBSD/ports 487772head UPDATING, head/misc/openhab2 pkg-plist distinfo

Update openhab2 to 2.4.0

FreeBSD/ports 487771head/astro/boinc-setiathome Makefile, head/astro/boinc-setiathome/files patch-client_vector_analyzeFuncs__vector.cpp patch-client_vector_analyzeFuncs__vector.h

astro/boinc-setiathome: Fix build on powerpc64.

Code for AltiVec is written strictly with Mac OS X in mind exclusively and doesn't build 
on other systems.

Disable AltiVec on systems other than Mac OS X, which probably makes this run much slower, 
but at least it builds.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.

PR:            234145
Submitted by:   pkubaj at anongoth.pl

FreeBSD/ports 487770head/graphics/p5-Image-OCR-Tesseract Makefile

Fix variable MYDEPENDS which should be MY_DEPENDS

Sorry

FreeBSD/ports 487769head/graphics Makefile p5-Image-OCR-Tesseract, head/graphics/p5-Image-OCR-Tesseract Makefile pkg-descr

Add graphics/p5-Image-OCR-Tesseract

perform ocr on an image and output text to stdout

FreeBSD/src 342202stable 12, stable/12/share/man/man4 netdump.4

MFC r341594, r341601:
mlx4en(4) and ixl(4) have netdump support.

FreeBSD/src 342201stable 12, stable/12/sys/riscv/riscv pmap.c

MFC r341808:
Remove an unused malloc(9) type.

FreeBSD/src 342200stable 12, stable/12/sys/riscv/riscv pmap.c

MFC r341807:
Use inline tests for individual PTE bits in the RISC-V pmap.

FreeBSD/src 342199stable 12, stable/12/sys/x86/x86 ucode.c

MFC r341821:
Fix the PAE kernel gcc build.

FreeBSD/ports 487768head/multimedia/libva-intel-driver distinfo Makefile

Update libva-intel-driver to 2.3.0

FreeBSD/ports 487767head/net-im/qTox Makefile

net-im/qTox: Add USES=gnome

FreeBSD/src 342198stable/12/sys/contrib/dev/acpica changes.txt, stable/12/sys/contrib/dev/acpica/common dmtbdump3.c

MFC:    r340090, r342056

Merge ACPICA 20181031 and 20181213.

FreeBSD/src 342197head/sys/dev/usb/net uhso.c

Use mbufq instead of ifqueue to queue mbufs.

FreeBSD/ports 487766head/net/wireguard distinfo Makefile

net/wireguard: Update to 0.0.20181218

FreeBSD/ports 487765head/multimedia/plexmediaserver distinfo Makefile, head/multimedia/plexmediaserver-plexpass distinfo Makefile

multimedia/plexmediaserver{-plexpass}: Update to 1.14.1.5488

Changelog:      https://forums.plex.tv/t/plex-media-server/30447/242

FreeBSD/ports 487764head/security/tor-devel distinfo Makefile

security/tor-devel: Update 0.3.5.5-alpha -> 0.3.5.6-rc

Changelog:
https://gitweb.torproject.org/tor.git/tree/ChangeLog?h=tor-0.3.5.6-rc&id=a06093faaa65b0e0645f29c74abddcb42ac6e975

Reported by:    upstream notification

FreeBSD/ports 487763head MOVED, head/graphics Makefile py-sk1

graphics/py-sk1: Move to graphics/sk1; Update g20171127 -> 2.0rc3

Port changes:
* Change to tarballs from their site
* Update license
* Add shebangfix for setup.py
* Update USE_WX to 3.0
* Add INSTALLS_ICONS
* Make _VER based on DISTVERSIONFULL

FreeBSD/src 342196head MAINTAINERS

Fix typo and formatting...
DeltaFile
+1-1head/MAINTAINERS
+1-11 files

FreeBSD/src 342195head MAINTAINERS

add pre-commit review request for drm*.
Move dev/usb/wlan to sys/dev/usb/wlan as it was the odd-man-out.
DeltaFile
+3-1head/MAINTAINERS
+3-11 files

FreeBSD/ports 487762head/lang/scala distinfo Makefile

Update to 2.12.8

Changelog: https://github.com/scala/scala/releases/tag/v2.12.8

scala changes the license from BSD to Apache: 
https://www.scala-lang.org/news/license-change.html

PR:            233973
Submitted by:   j-keck <jhyphenkeck at gmail.com> (maintainer)
Sponsored by:   Netzkommune GmbH

FreeBSD/ports 487761branches 2018Q4, branches/2018Q4/graphics/drm-legacy-kmod distinfo Makefile

MFH: r487759

graphics/drm-legacy-kmod: Update snapshot

Update graphics/drm-legacy-kmod to the latest snapshot.  This includes
FreeBSD r342182 by markj, which removes support code for UMS in radeonkms.
This code was never used, but contains an integrer overflow bug.

Original FreeBSD base commit:
https://svnweb.freebsd.org/changeset/base/342182

Approved by:    jmd (maintainer, implicit)

Approved by:    ports-secteam (drm-drivers blanket)

FreeBSD/ports 487760head/net-im/telegram-desktop Makefile

net-im/telegram-desktop: Change SED -> REINPLACE_CMD

Reported by:    mat
Approved by:    portmgr (compliance)

FreeBSD/ports 487759head/graphics/drm-legacy-kmod distinfo Makefile

graphics/drm-legacy-kmod: Update snapshot

Update graphics/drm-legacy-kmod to the latest snapshot.  This includes
FreeBSD r342182 by markj, which removes support code for UMS in radeonkms.
This code was never used, but contains an integrer overflow bug.

Original FreeBSD base commit:
https://svnweb.freebsd.org/changeset/base/342182

Approved by:    jmd (maintainer, implicit)
MFH:           2018Q4

FreeBSD/ports 487758head/graphics/gmic distinfo Makefile

graphics/gmic: Update 2.4.2 -> 2.4.3

Reported by:    portscout

FreeBSD/ports 487757head/devel/rtichoke distinfo Makefile

devel/rtichoke: Update 0.2.12 -> 0.2.14

Also update WWW.

Reported by:    portscout

FreeBSD/ports 487756head/math/py-rapi distinfo Makefile

math/py-rapi: Update 0.1.3 -> 0.1.5

Port changes:
* Remove the 'tests' directory
* Update WWW

Reported by:    portscout

FreeBSD/src 342194stable 12, stable/12/sys/net iflib.c

MFC r341824:

Fix !tx_abdicate error from r336560

r336560 was supposed to restore pre-r323954 behaviour when tx_abdicate is
not set (the default case). However, it appears that rather than the drainage
check being made conditional on tx_abdicate being set, it was duplicated
so it occured twice if tx_abdicate was set and once if it was not.

Now when !tx_abdicate, drainage is only checked if the doorbell isn't
pending.

Reported by:    lev
Sponsored by:   Limelight Networks

FreeBSD/src 342193head/sys/dev/ichwd ichwd.c

ichwd: add a few assertions about tco_version

Those should ensure correctness of ichwd_find_ich_lpc_bridge() and
ichwd_find_ich_lpc_bridge() as well as make it easier for both humans
and static analyzers to see the relation between tco_version and ich and
smb variables in ichwd_identify().

Reported by:    Coverity
CID:           1396314, 1396317
MFC after:      10 days