FreeBSD/ports 459835head/comms/gqrx distinfo Makefile

Update to 2.10

FreeBSD/ports 459834head/comms/gr-osmosdr Makefile distinfo

- Update to 20170612
- Strip library
- Fix apps shebangs

FreeBSD/ports 459833head/comms/rtl-sdr distinfo Makefile, head/comms/rtl-sdr/files patch-src_librtlsdr.c

Update to 20170919

(no ABI change, so no need to bump dependencies)

FreeBSD/src 328324vendor/libarchive/dist/cat/test test_stdin.c, vendor/libarchive/dist/libarchive/test test_compat_zip_8.zip.uu

vendor/libarchive/dist: Add new files missing in r328323

FreeBSD/src 328323vendor/libarchive/dist CMakeLists.txt, vendor/libarchive/dist/libarchive archive_read_support_format_rar.c archive_read_support_format_7zip.c

Update libarchive to git 2d9156bb3ad92c43c1e81546f4a2c21549ba248f

Relevant vendor changes:
  PR #893: delete dead ppmd7 alloc callbacks
  PR #904: Fix archive freeing bug in bsdcat
  PR #961: Fix ZIP format names
  PR #962: Don't modify attributes for existing directories
           when ARCHIVE_EXTRACT_NO_OVERWRITE is set
  PR #964: Fix -Werror=implicit-fallthrough= for GCC 7
  PR #970: zip: Allow backslash as path separator

FreeBSD/src 328322stable 11, stable/11/sys/amd64/amd64 sys_machdep.c

MFC r328082:
Amd64 user_ldt_deref() is not used outside sys_machdep.c.  Mark it as
static.

FreeBSD/ports 459832head/security/gnutls distinfo Makefile

Update to 3.5.17.

FreeBSD/ports 459831head/dns/bind9-devel Makefile, head/dns/bind910 Makefile

Catch up with the conflicts lines in the BIND9 ports.

Sponsored by:   Absolight

FreeBSD/ports 459830head/dns/bind911 Makefile

Remove support for bind-tools from the BIND9 9.11 port.

Sponsored by:   Absolight

FreeBSD/ports 459829head/dns/bind-tools pkg-plist Makefile

Switch bind-tools to BIND9 9.12.

Sponsored by:   Absolight

FreeBSD/ports 459828head/dns/bind912 distinfo Makefile

Update to 9.12.0.

Sponsored by:   Absolight

FreeBSD/ports 459827head/net-im/mikutter pkg-plist distinfo, head/net-im/mikutter/files patch-mikutter.rb patch-core_mui_gtk__postbox.rb

- Update to 3.6.0

Submitted by:   Koichiro IWAO <meta+ports_AT_vmeta_DOT_jp>
PR:            224923

FreeBSD/ports 459826head/net-im/mikutter Makefile, head/net-im/mikutter/files patch-core_mui_gtk__postbox.rb

- Update RUN_DEPENDS
- Add the patch to fix the mikutter issue 1130
- Make portlint happy

Submitted by:   Koichiro IWAO <meta+ports_AT_vmeta_DOT_jp>
PR:            224923
MFH:           2018Q1

FreeBSD/ports 459825head/net-im/corebird Makefile distinfo

net-im/corebird: Update to 1.7.3

- Drop librest because is no longer a dependency
- Add DEBUG option
- Pet portlint, USE_* comes before USES

Changelog: https://github.com/baedert/corebird/releases/tag/1.7.3

PR:            221942

FreeBSD/src 328321head/sys/net ieee8023ad_lacp.c

Added missing CTLFLAG_VNET to lacp default_strict_mode

Added CTLFLAG_VNET to net.link.lagg.lacp.default_strict_mode which was missed
in r290450.

Reported by:    julian@
MFC after:      1 week
Sponsored by:   Multiplay

FreeBSD/ports 459824head/Mk/Uses autoreconf.mk, head/devel/dmake Makefile

- Update name of autoreconf WRKSRC variable in comment
- Fix a few ports with invalid USES autoreconf arguments
- Add check for invalid USES autoreconf arguments

Differential Revision:  https://reviews.freebsd.org/D14004
Approved by:    tijl (autotools maintainer), portmgr (mat)

FreeBSD/ports 459823head/print/ttftot42 Makefile pkg-descr

- Switch to USES=localbase
- Update WWW

FreeBSD/ports 459822head/emulators/xen-kernel Makefile, head/emulators/xen-kernel/files 0001-x86-entry-Remove-support-for-partial-cpu_user_regs-f.patch 0001-x86-mm-Always-set-_PAGE_ACCESSED-on-L4e-updates.patch

xen-kernel: add prerequisites for XSA-254 bandaid

MFH with:       r459787
MFH:           2018Q1

FreeBSD/ports 459821head/emulators/wine Makefile

Backport r459628 | gerald | 2018-01-21 from emulators/wine-devel:

  Configure --without-krb5 aka Kerberos support.  This should not make a
  real difference (and definitely not for clean builds), but makes this
  explicit and also avoids a configure warning.

FreeBSD/src 328320head/sys/kern sched_ule.c

ULE: provide defaults to ts_cpu

Fix a bug when the system has no CPU 0. When created, threads were implicitly assigned to 
CPU 0.
This had no practical effect since a real CPU was chosen immediately by the scheduler. 
However,
on systems without a CPU 0, sched_ule attempted to access the scheduler queue of the "old" 
CPU
when assigned the initial choice of the old one. This caused an attempt to use illegal 
memory
and a crash (or, more usually, a deadlock). Fix this by assigned new threads to the BSP
explicitly and add some asserts to see that this problem does not recur.

Authored by:           Nathan Whitehorn <nwhitehorn at freebsd.org>
Submitted by:          Wojciech Macek <wma at semihalf.com>
Obtained from:         Semihalf
Differential revision: https://reviews.freebsd.org/D13932

FreeBSD/ports 459820head/x11/gnome-pie/files patch-src__utilities__color.vala

Fix build of x11/gnome-pie with vala 0.36

PR:            225124, 221941
Submitted by:   cpm
Approved by:    nivit (maintainer, via private email)

FreeBSD/ports 459819head/sysutils/zeitgeist Makefile pkg-descr, head/sysutils/zeitgeist/files patch-libzeitgeist_timestamp.vala patch-libzeitgeist_where-clause.vala

Add USE_LDCONFIG

Add TIMESTAMP

Fix build with vala 0.36

Update WWW in pkg-descr

Pet portlint

PR:            222033, 221941
Submitted by:   cpm
Approved by:    maintainer timeout (13 weeks)

FreeBSD/ports 459818head/mail/geary pkg-plist Makefile

Update mail/geary to 0.11.1

Add license

Use cmake:outsource

Message about sqlite3

PR:            210718, 221941
Submitted by:   cpm

FreeBSD/ports 459817head/devel/xfce4-vala Makefile pkg-descr

Fix build of devel/xfce4-vala with vala 0.36

Update WWW in pkg-descr

Bump PORTREVISION

PR:            222010, 221941
Submitted by:   cpm
Approved by:    madpilot

FreeBSD/ports 459816head/devel/anjuta Makefile

Unbreak build of devel/anjuta with vala 0.36

Bump PORTREVISION

PR:            222011, 221941
Submitted by:   cpm

FreeBSD/ports 459815head/deskutils/gnome-contacts files, head/deskutils/gnome-contacts/files patch-src_contacts-contact-pane.vala patch-src_contacts-contact-editor.vala

Unbreak build of deskutils/gnome-contacts with vala 0.36

PR:            225123, 221941
Submitted by:   cpm

FreeBSD/ports 459814head/net-im/folks pkg-plist Makefile

Update net-im/folks to 0.11.4

Update WWW

PR:            225122, 225123, 221941
Submitted by:   cpm

FreeBSD/ports 459813head/lang/vala pkg-plist Makefile, head/lang/vala/files patch-vapi_libpq.vapi

Update lang/vala to 0.36.4

Regenerate patch files with makepatch

Update WWW in pkg-descr

PR:            221941
Submitted by:   cpm

FreeBSD/src 328319head/usr.bin/m4 extern.h

m4: add annotations to various functions

Explain to the compiler that several functions are either noreturn or
take printf like arguments

Discussed with: swildner at DragonFlyBSD.org

FreeBSD/src 328318head/contrib/tzdata NEWS europe

Import tzdata 2018c

Changes: https://github.com/eggert/tz/blob/2018c/NEWS

MFC after:      3 days

FreeBSD/src 328317vendor/tzdata tzdata2018c

Tag import of tzdata 2018c

FreeBSD/src 328316vendor/tzdata/dist NEWS europe

Import tzdata 2018c

FreeBSD/src 328315head/sys/dev/cxgb cxgb_main.c

cxgb(4): Validate offset/len in the GET_EEPROM ioctl.

Reported by:    Ilja Van Sprundel <ivansprundel at ioactive.com>

FreeBSD/src 328314head/sys/netinet ip_reass.c, head/sys/netinet6 frag6.c

Do not generate illegal mbuf chains during IP fragment reassembly.  Only
the first mbuf of the reassembled datagram should have a pkthdr.

This was discovered with cxgbe(4) + IPSEC + ping with payload more than
interface MTU.  cxgbe can generate !M_WRITEABLE mbufs and this results
in m_unshare being called on the reassembled datagram, and it complains:

panic: m_unshare: m0 0xfffff80020f82600, m 0xfffff8005d054100 has M_PKTHDR

PR:            224922
Reviewed by:    ae@
MFC after:      1 week
Sponsored by:   Chelsio Communications
Differential Revision:  https://reviews.freebsd.org/D14009

FreeBSD/src 328313head/sys/netpfil/pf pf.c

pf: States have at least two references

pf_unlink_state() releases a reference to the state without checking if
this is the last reference. It can't be, because pf_state_insert()
initialises it to two. KASSERT() that this is always the case.

CID:    1347140

FreeBSD/ports 459812head/devel/gitlab-runner distinfo

devel/gitlab-runner: fix fetch

FreeBSD/src 328312head/sys/dev/iicbus nxprtc.c

Follow changes in r328307 by using new IIC_RECURSIVE flag.

The driver now ensures only one thread at a time is running in the API
functions (clock_gettime() and clock_settime()) by specifically requesting
ownership of the i2c bus without using IIC_RECURSIVE, then it does all IO
using IIC_RECURSIVE so that each individual IO operation doesn't try to
re-acquire the bus.

The other IO done by the driver happens at attach or intr_config_hooks time,
when there can't be multiple threads running with the same device instance.
So, the IIC_RECURSIVE flag can be safely ORed into the wait flags for all IO
done by the driver, because it's all either done in a single-threaded
environment, or protected within a block bounded by explict
iicbus_acquire_bus() and iicbus_release_bus() calls.

FreeBSD/src 328311head/sys/dev/iicbus isl12xx.c

Follow changes in r328307 by using new IIC_RECURSIVE flag.

The driver now ensures only one thread at a time is running in the API
functions (clock_gettime() and clock_settime()) by specifically requesting
ownership of the i2c bus without using IIC_RECURSIVE, then it does all IO
using IIC_RECURSIVE so that each individual IO operation doesn't try to
re-acquire the bus.

The other IO done by the driver happens at attach or intr_config_hooks time,
when there can't be multiple threads running with the same device instance.
So, the IIC_RECURSIVE flag can be safely ORed into the wait flags for all IO
done by the driver, because it's all either done in a single-threaded
environment, or protected within a block bounded by explict
iicbus_acquire_bus() and iicbus_release_bus() calls.

FreeBSD/ports 459811head/net/freeradius3 pkg-plist distinfo

- Update to 3.0.16

FreeBSD/ports 459810head/sysutils/syslog-ng310 Makefile, head/sysutils/syslog-ng311 Makefile

Make AQMP support optional. AQMP support, which was prior to this
revision not optional, caused syslog-ng to fail to build with
LibreSSL. Users of LibreSSL should disable AQMP support.

PR:            225380
Submitted by:   Peter Czanik (CzP) <peter.czanik at balabit.com>
               Balabit / syslog-ng upstream
MFH:           2018Q1

FreeBSD/ports 459809head/security/snort pkg-plist distinfo

- Update to 2.9.11.1

FreeBSD/ports 459808head/databases/mariadb101-client/files patch-sql-common_client.c, head/databases/mariadb101-server Makefile

Fix databases/mariadb* hostname verification when building against LibreSSL

LibreSSL imported X509_check_host from BoringSSL. Unlike OpenSSL,
it doesn't calculate the length of the hostname passed in case
chklen/namelen == 0. This means that the check in MariaDB always
fails if built against LibreSSL. This forces adminstrators to disable
hostname verification, which weakens security (hence the MFH request below).

Note that the fix has no negative implications if built against OpenSSL,
as its implementation calls strlen(hostname) in case namelen == 0.

See also https://github.com/MariaDB/server/pull/562

Approved by:    ssl blanket
MFH:           2018Q1

FreeBSD/ports 459807head/security/rubygem-timfel-krb5 Makefile

This apparently links libunwind directly.

FreeBSD/src 328310stable 11, stable/11/usr.bin/clang/lld ld.lld.1 Makefile

MFC r327770: lld: introduce basic man page

Upstream lld has no man page. Introduce a basic one for FreeBSD based on
ld.lld --help, with a brief introduction and additional detail for some
options.

We'll continue refining this in FreeBSD, and then submit it upstream once
the first round of edits are complete.

Submitted by:   krion, Arshan Khanifar, emaste, bjk
Sponsored by:   The FreeBSD Foundation

FreeBSD/src 328309stable 10 11, stable/10/tests/sys/kern ptrace_test.c

MFC 326953:
Catch up to r325719 which makes the kern.proc.pid sysctl "work" for zombies.

Some of the ptrace tests need to wait for a child process to become a
zombie before preceding.  The parent process polls the child process
via the kern.proc.pid sysctl to wait for it to become a zombie.
Previously the code polled until the sysctl failed with ESRCH.  Now it
will poll until either the sysctl fails with ESRCH (for compatiblity
with older kernels) or returns a kinfo_proc structure with the ki_stat
field set to SZOMB.

FreeBSD/src 328308stable 11, stable/11/sys/sys cdefs.h

MFC r328221:

Define a new __alloc_size2 attribute to complement the existing support.

At least on GCC7, calling __alloc_size(x) twice is not equivalent to
calling using the attribute once with two arguments. The later is the
documented use in GCC documentation so add a new alloc_size(n, x)
alternative to cover for the few places where it is used: basically:
calloc(3), reallocarray(3) and  mallocarray(9).

Submitted by:   Mark Millard

FreeBSD/ports 459806head/sysutils/dsblogoutmgr distinfo Makefile

sysutils/dsblogoutmgr: Update to 1.2

- Support for multi head setups has been added.

PR:            225409
Submitted by:   Marcel Kaiser <mk at nic-nac-project.org> (maintainer)

FreeBSD/src 328307head/sys/dev/iicbus iiconf.c iiconf.h

Fix a bug introduced with recursive bus ownership support in r321584.

The recursive ownership support added in r321584 was unconditionally in
effect all the time -- whenever a given i2c slave device instance tried to
lock the i2c bus for exclusive use when it already owned the bus, the call
returned immediately without waiting.  However, many i2c slave drivers use
bus ownership to enforce that only a single thread at a time can be using
the slave device.  The recursive locking changes broke this use case.

Now there is a new flag, IIC_RECURSIVE, which can be mixed in with the
other flags passed to iicbus_acquire_bus() to allow drivers to indicate
when recursive locking is desired.  Using the flag implies that the driver
is managing concurrent access to the device by different threads in some way.

This immediately fixes all existing i2c slave drivers except for the two
i2c RTC drivers which use the recursive locking feature; those will be
fixed in a followup commit.

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

security/vuxml: seamonkey 2.49.2 will use firefox-esr 52.6 engine

FreeBSD/ports 459804head/converters/p5-Sereal distinfo Makefile, head/converters/p5-Sereal-Decoder distinfo Makefile

Update p5-Sereal to 4.005

  * Encoder: Document encode_to_file()
  * Decoder: Document and fix decode_from_file()
  * Sereal: fixup docs on write_file()/decode_file()