FreeBSD/ports 448086head/cad/NASTRAN-95 Makefile pkg-plist, head/cad/NASTRAN-95/files patch-src_Makefile patch-sb_Makefile

cad/NASTRAN-95: update 20151227 -> 20160908 and set MAINTAINER

- Set MAINTAINER to pfg at FreeBSD.org
- Minor source code cleanup
- Split large doc file and add OCR information

PR:            219108
Submitted by:   pfg

FreeBSD/src 322616stable 11, stable/11/sys/amd64/amd64 trap.c

MFC r322494:
Style.

FreeBSD/ports 448085head/net/sshping Makefile

Fix build on FreeBSD 11.x versions prior to LLVM 4.0.0 base import.

Notified by:    pkg-fallout (110i386-default, 110amd64-default)

FreeBSD/src 322615stable 11, stable/11/usr.sbin/cpucontrol cpucontrol.8

MFC r322493:
Remove confusion in the line explaining syntax of the msr read.
Specify words order in the display.

FreeBSD/ports 448084head/security/vuxml vuln.xml

security/vuxml: Document devel/libsoup vulnerability

FreeBSD/doc 50682head/en_US.ISO8859-1/books/porters-handbook/makefiles chapter.xml, head/share/xml man-refs.ent

Add a USE_GITHUB example on how to use git describe.

Reviewed by:    bcr
Sponsored by:   Absolight
Differential Revision:  https://reviews.freebsd.org/D12047

FreeBSD/ports 448083head/textproc Makefile py-pyPEG2, head/textproc/py-pyPEG2 Makefile pkg-descr

Add py-pyPEG2.

I am currently in the process of creating ports for various components
related to CloudABI, including ARPC (an RPC framework that supports file
descriptor passing) and Flower (a capability-based network backplane).

The former comes with a script called 'aprotoc' for creating C++
bindings for messages and RPC services. This script depends on Python's
pyPEG2 package to parse (a subset of) Protobuf's .proto grammar.

Reviewed by:    wg
Differential Revision:  https://reviews.freebsd.org/D12048

FreeBSD/ports 448082head/x11-themes/cursor-chameleon-anthracite pkg-plist, head/x11-themes/cursor-chameleon-darkskyblue pkg-plist

Move all X cursors from ${PREFIX}/lib/X11/icons to ${PREFIX}/share/icons

It improves consistency, lots of cursors were already installed in that
directory. The same change was already done for regular fonts.

FreeBSD/ports 448081head/arabic/khotot Makefile, head/arabic/khotot/files pkg-message.in

Update the message following up the change of directory for fonts from
lib/X11/fonts to share/fonts long ago

FreeBSD/doc 50681head/ja_JP.eucJP/books/handbook/cutting-edge chapter.xml

- Merge the following from the English version:

        r50201 -> r50602       head/ja_JP.eucJP/books/handbook/cutting-edge/chapter.xml

FreeBSD/src 322614head/share/man/man9 sbuf.9, head/sys/kern subr_sbuf.c

Implement simple record boundary tracking in sbuf(9) to avoid record splitting
during drain operations. When an sbuf is configured to use this feature by way
of the SBUF_DRAINTOEOR sbuf_new() flag, top-level sections started with
sbuf_start_section() create a record boundary marker that is used to avoid
flushing partial records.

Reviewed by:    cem,imp,wblock
MFC after:      2 weeks
Sponsored by:   Netflix, Inc.
Differential Revision:  https://reviews.freebsd.org/D8536

FreeBSD/src 322613head/bin/pkill pkill.c

The r322210 change to pgrep's PID delimiting behaviour causes pgrep's default
output to not include a trailing new line, which is a potential POLA violation
for existing consumers. Change pgrep to always emit a trailing new line on
completion of its output, regardless of the delimeter in use (which technically
is also a potential POLA violation for existing consumers that rely on the
pre-r322210 buggy behaviour, but a line has to be drawn somewhere).

PR:     221534
Submitted by:   kdrakehp zoho com
Reported by:    kdrakehp zoho com
MFC after:      1 week
X-MFC-with:     r322210

FreeBSD/ports 448080head/www/node Makefile distinfo

www/node: Update 8.3.0 -> 8.4.0

Use DTRACE_CONFIGURE_ON to add --with-dtrace to the configure arguments
when DTRACE is enabled.

Approved by:    mat (co-mentor)
Differential Revision:  https://reviews.freebsd.org/D12045

FreeBSD/src 322612stable/11/sys/dev/hyperv/netvsc if_hnreg.h if_hnvar.h, stable/11/sys/dev/hyperv/pcib vmbus_pcib.c

MFC 322488
    hyperv: Update copyright for the files changed in 2017

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D11982

FreeBSD/ports 448079branches 2017Q3, branches/2017Q3/www/dokuwiki distinfo Makefile

MFH: r448078

Update to 2017-02-19c "Frusterick Manners", fixes XSS vulnerability.

Approved by:    ports-secteam

FreeBSD/ports 448078head/www/dokuwiki distinfo Makefile

Update to 2017-02-19c "Frusterick Manners", fixes XSS vulnerability.

MFH:           2017Q3

FreeBSD/src 322611head/sys/x86/x86 intr_machdep.c

Fix unused varable warning in !SMP case

Fallout from r322588.  I'm not sure why !SMP is a knob we have, but, we have
it.

Reported by:    Michael Butler <imb AT protected-networks.net>
Sponsored by:   Dell EMC Isilon

FreeBSD/src 322610stable 11, stable/11/contrib/netbsd-tests/usr.bin/grep t_grep.sh

MFC r318574: bsdgrep: Correct per-line line metadata printing

Metadata printing with -b, -H, or -n flags suffered from a few flaws:

1) -b/offset printing was broken when used in conjunction with -o

2) With -o, bsdgrep did not print metadata for every match/line, just
   the first match of a line

3) There were no tests for this

Address these issues by outputting this data per-match if the -o flag is
specified, and prior to outputting any matches if -o but not --color,
since --color alone will not generate a new line of output for every
iteration over the matches.

To correct -b output, fudge the line offset as we're printing matches.

While here, make sure we're using grep_printline in -A context.  Context
printing should *never* look at the parsing context, just the line.

The tests included do not pass with gnugrep in base due to it exhibiting
similar quirky behavior that bsdgrep previously exhibited.

Approved by:    emaste (mentor, blanket MFC)

FreeBSD/src 322609stable 11, stable/11/contrib/netbsd-tests/usr.bin/grep t_grep.sh

MFC r318571: bsdgrep: emit more than MAX_LINE_MATCHES per line

We should not set an arbitrary cap on the number of matches on a line,
and in any case MAX_LINE_MATCHES of 32 is much too low.  Instead, if we
match more than MAX_LINE_MATCHES, keep processing and matching from the
last match until all are found.

For the regression test, we produce 4096 matches (larger than we expect
we'll ever set MAX_LINE_MATCHES) and make sure we actually get 4096
lines of output with the -o flag.

We'll also make sure that every distinct line is getting its own line
number to detect line metadata not being printed as appropriate along
the way.

PR:            218811
Approved by:    emaste (mentor, blanket MFC)

FreeBSD/src 322608stable 11, stable/11/contrib/netbsd-tests/usr.bin/grep t_grep.sh

bsdgrep: fix segfault with --mmap and add relevant test

MFC r318565: bsdgrep: fix segfault with --mmap

r313948 partially fixed --mmap behavior but was incomplete.  This commit
generally reverts it and does it the more correct way- by just consuming
the rest of the buffer and moving on.

MFC r318908: bsdgrep: add --mmap tests

Basic sanity tests as well as coverage for the bug fixed in r318565.

PR:            219402
Approved by:    emaste (mentor, blanket MFC)

FreeBSD/src 322607stable 11, stable/11/contrib/netbsd-tests/usr.bin/grep t_grep.sh

bsdgrep: Don't allow negative context flags, add more tests

MFC r318302: bsdgrep: don't allow negative -A / -B / -C

Previously, when given a negative -A/-B/-C argument bsdgrep would
overflow the respective context flag(s) and exhibited surprising
behavior.

Fix this by removing unsignedness of Aflag/Bflag and erroring out if
we're given a value < 0.  Also adjust the type used to track 'tail'
context in procfile() so that it accurately reflects the Aflag value
rather than overflowing and losing trailing context.

This also fixes an inconsistency previously existing between -n and
-C "n" behavior.  They are now both limited to LLONG_MAX, to be
consistent.

Add some test cases to make sure grep errors out properly for both
negative context values as well as non-numeric context values rather
than giving bogus matches.

MFC r318317: bsdgrep: add more tests for different binary flags

The existing 'binary' test in netbsd-tests/ does a basic check of the
default treatment for binary behavior, but not much more than that.

    [5 lines not shown]

FreeBSD/src 322606stable 11, stable/11/contrib/netbsd-tests/usr.bin/grep t_grep.sh

MFC r318004 (ngie): Remove expected failure that no longer fails with gnu
grep in base

Approved by:    emaste (mentor, blanket MFC)

FreeBSD/src 322605stable 11, stable/11/sys/dev/hyperv/netvsc if_hn.c if_hnvar.h

MFC 322483,322485-322487

322483
    hyperv/hn: Update VF's ibytes properly under transparent VF mode.

    While, I'm here add comment about why updating VF's imcast stat is
    not necessary.

    Sponsored by:   Microsoft
    Differential Revision:  https://reviews.freebsd.org/D11948

322485
    hyperv/hn: Fix/enhance receiving path when VF is activated.

    - Update hn(4)'s stats properly for non-transparent mode VF.
    - Allow BPF tapping to hn(4) for non-transparent mode VF.
    - Don't setup mbuf hash, if 'options RSS' is set.
      In Azure, when VF is activated, TCP SYN and SYN|ACK go through hn(4)
      while the rest of segments and ACKs belonging to the same TCP 4-tuple
      go through the VF.  So don't setup mbuf hash, if a VF is activated
      and 'options RSS' is not enabled.  hn(4) and the VF may use neither
      the same RSS hash key nor the same RSS hash function, so the hash
      value for packets belonging to the same flow could be different!
    - Disable LRO.
      hn(4) will only receive broadcast packets, multicast packets, TCP

    [23 lines not shown]

FreeBSD/ports 448077head GIDs UIDs

www/selenium: add UIDs and GIDs

- Missed in the first commit

PR:            219031
Submitted by:   Daniel Ylitalo <daniel at blodan.se>
DeltaFile
+1-1head/GIDs
+1-1head/UIDs
+2-22 files

FreeBSD/ports 448076head/cad/xcircuit distinfo Makefile

- Update to 3.10.3

FreeBSD/src 322604stable 11, stable/11/share/mk src.opts.mk

MFC r322356: Mark PROFILE option as broken when targetting mips64

The assembly in sys/mips/include/profile.h will only work for o32 ABI.

Submitted by:   Alexander Richardson

FreeBSD/ports 448075head/sysutils/entr distinfo Makefile

- Update to 3.8

FreeBSD/ports 448074head/net/p5-Daemon-Generic distinfo Makefile

- Update to 0.85

FreeBSD/ports 448073head/cad/irsim distinfo Makefile

- Update to 9.7.98

FreeBSD/src 322603projects/pnfs-planb-server/sys/fs/nfs nfs_commonport.c nfsport.h, projects/pnfs-planb-server/sys/fs/nfsserver nfs_nfsdport.c

Add support for mirrors to the Setattr RPC proxies to the DS data file.
Also, fix the arguments to the RPC functions from nfsrv_proxyds() so that
mirrors are handled.

FreeBSD/src 322602projects/pnfs-planb-server-stable11/sys/fs/nfs nfs_commonport.c nfsport.h, projects/pnfs-planb-server-stable11/sys/fs/nfsserver nfs_nfsdport.c

Add support for mirrors to the Setattr RPC proxies to the DS data file.
Also, fix the arguments to the RPC functions from nfsrv_proxyds() so that
mirrors are handled.

FreeBSD/src 322601head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys abd.h

Mark ZFS ABD inline functions static.

When built with -fno-inline-functions zfs.ko contains undefined references
to these functions if they are only marked inline.

Reviewed by:    avg (earlier version)
MFC after:      1 week
Sponsored by:   Chelsio Communications

FreeBSD/ports 448072head/net-mgmt/zabbix32-server distinfo Makefile

net-mgmt/zabbix32-*: Update to 3.2.7, Fixes security vulnerability

Changes:        https://www.zabbix.com/rn3.2.7

PR:            221563
Submitted by:   pg at pakhom.spb.ru (maintainer)
MFH:           2017Q3
Security:       5df8bd95-8290-11e7-93af-005056925db4

FreeBSD/ports 448071head/net-mgmt/zabbix3-server distinfo Makefile

net-mgmt/zabbix3-*: Update to 3.0.10, Fixes security vulnerability

Changes:        https://www.zabbix.com/rn3.0.10

PR:            221564
Submitted by:   pg at pakhom.spb.ru (maintainer)
MFH:           2017Q3
Security:       5df8bd95-8290-11e7-93af-005056925db4

FreeBSD/ports 448070head/net-mgmt/zabbix22-agent Makefile, head/net-mgmt/zabbix22-server distinfo Makefile

net-mgmt/zabbix22-*:: Update to 2.2.19, Fixes security vulnerability

Changes:        https://www.zabbix.com/rn2.2.19

PR:            221562
Submitted by:   pg at pakhom.spb.ru (maintainer)
MFH:           2017Q3
Security:       5df8bd95-8290-11e7-93af-005056925db4

FreeBSD/ports 448069head/net-mgmt/unifi5 distinfo Makefile

FreeBSD/src 322600head/sys/crypto/aesni aesni_ghash.c aesni_wrap.c

aesni: quiet -Wcast-qual

Reviewed by:    delphij
Approved by:    markj (mentor)
Sponsored by:   Dell EMC Isilon
Differential Revision:  https://reviews.freebsd.org/D12021

FreeBSD/src 322599projects/pnfs-planb-server/sys/fs/nfs nfs_commonacl.c

Add the hook for setting ACLs on the DS data files, which was missed during
the code merge. Without this patch, a pNFS service with ACLs enabled would
not have enforced the ACL for data access.

FreeBSD/src 322598projects/pnfs-planb-server-stable11/sys/fs/nfs nfs_commonacl.c

Add the hook for setting ACLs on the DS data files, which was missed during
the code merge. Without this patch, a pNFS service with ACLs enabled would
not have enforced the ACL for data access.

FreeBSD/ports 448068head/lang/gcc5-devel distinfo Makefile

Update to the 20170815 snapshot of GCC 5.4.1.

FreeBSD/ports 448067head/lang/gcc7 Makefile

Fix PR 221571 more thoroughly and aligned with lang/gcc6 and lang/gcc5:
release tarballs, unlike snapshots, always contain prebuilt .info files.

PR:            221571

FreeBSD/src 322597stable 11, stable/11/usr.bin/grep grep.c

MFC r317705: bsdgrep: avoid use of magic number for REG_NOSPEC

Approved by:    emaste (mentor, blanket MFC)

FreeBSD/src 322596head/sys/sys taskqueue.h kernel.h

Add SI_SUB_TASKQ after SI_SUB_INTR and move taskqueue initialization there for 
EARLY_AP_STARTUP

This fixes a regression accidentally introduced in r322588, due to an
interaction with EARLY_AP_STARTUP.

Reviewed by:    bdrewery@, jhb@
Sponsored by:   Dell EMC Isilon
Differential Revision:  https://reviews.freebsd.org/D12053

FreeBSD/ports 448066head/databases Makefile

Fix INDEX

FreeBSD/ports 448065head/lang/gcc7 Makefile

Also package libitm.info and libquadmath.info on aarch64.

PR:            221571

FreeBSD/doc 50680head/en_US.ISO8859-1/books/handbook/security chapter.xml

Add missing <userinput> tag.

FreeBSD/src 322595projects/pnfs-planb-server/sys/fs/nfsserver nfs_nfsdport.c

Cleanup of the code changes for support of mirrors. Mostly indentation changes
and a few simplification of arguments.

FreeBSD/src 322594projects/pnfs-planb-server-stable11/sys/fs/nfsserver nfs_nfsdport.c

Cleanup of the code changes for support of mirrors. Mostly indentation changes
and a few simplification of arguments.

FreeBSD/src 322593head/sys/boot/efi/include efi.h

Define proposed GUID for FreeBSD boot loader variables.

FreeBSD/src 322592head/sys/boot/efi/include efi.h

Remove unused defines.