devel/apache-commons-configuration: deprecate
Multiple reasons to deprecate:
https://commons.apache.org/proper/commons-configuration/#Commons_Configuration_1.x_and_2.x
- 'The 1.x codebase no longer receives updates.'
- 'Denial of service issues that rely on loading untrusted data from
configuration files, or passing untrusted data to the API, are outside
the scope of the 1.x security model and will not be fixed.'
- Version 2 exists since 2016
- the port just installs the jar, it does not build anything
- nothing in the ports tree uses this
- no maintainer
Approved-by: no maintainer
route(8): Fix -expire argument when using netlink
Also fixes nexthop expire value on route get using netlink.
Reviewed by: glebius
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D55444
rtnetlink: Add support for nexthop expiration in new/get route
Before this change, netlink only shows nexthop
expire value if route is not multipath.
Now it can set expire time during route creation.
Also, show expire time of multipath nexthops.
Reviewed by: glebius
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D55442
www/py-django-photologue: Fix stage QA
* This was overlooked in 21900d66eda3 and was then noticed
retrospectively during a bulk run after stage QA was extended in
f35f902eb8f1:
[...]
====> Running Q/A tests (stage-qa)
Error: Python package installs top-level 'scripts/' directory in site-packages
Error: Location: lib/python3.11/site-packages/scripts
[...]
* Bump PORTREVISION due changed package contents.
Approved by: portmgr (build fix blanket)
Fixes: 21900d66eda3 www/py-django-photologue: Update to 3.18
devel/py-yamlloader: New port
This module provides loaders and dumpers for PyYAML.
Currently, an OrderedDict loader/dumper is implemented, allowing to keep
items order when loading respective dumping a file from/to an
OrderedDict.
(Python 3.8+: Also regular dicts are supported and are the default items
to be loaded to. As of Python 3.7 preservation of insertion order is a
language feature of regular dicts.)
This project was originally mirrored from "yamlordereddict" and contains
several improvements including automated testing and the much faster
C-versions of the Loaders/Dumpers.
Mk/bsd.default-versions.mk: bump java default to 21
After an extensive time of testing OpenJDK 21 LTS is now the default
java version on FreeBSD.
Some major ports already used Java 21 and some olders ports are now
pinned to OpenJDK 8 or other versions.
For armv6/armv7 OpenJDK 11 is the latest version with support
for these platforms on FreeBSD.
Thanks to everybody involved in making Java a vivid environment on
FreeBSD.
PR: 272855
Relnotes: yes
lib/libnetbsd: bring in `__type_m{ax,in}*` macro family
These macros are used by some of the NetBSD tests which calculate the
size of types, e.g., `__type_max(time_t)`.
This wraps up the set of macros needed in order to update to the a
netbsd-tests snapshot from this past month.
Obtained from: https://github.com/netbsd/src (55b4b44)
MFC after: 1 week
style.mdoc: Add example manuals to FILES
This is the OG meat and potatoes.
MFC after: 3 days
Reviewed by: 0mp, carlavilla
Differential Revision: https://reviews.freebsd.org/D55301
Refinements to the output when the EXTERROR_VERBOSE environment is set
When kernel external errors are available they are included in the
err(3) library function messages. In addition to the extended error
itself, the kernel also tracks the kernel file and line number at
which the error was generated. This additional information is not
included in the err(3) messages unless the EXTERROR_VERBOSE environment
variable is present. Currently, when EXTERROR_VERBOSE is present,
all the internal extended error information associated with the
error is printed most of which is redundant with the formatted error
message printed by err(3). This change will add only the kernel
file and line number to the err(3) message when EXTERROR_VERBOSE
is present and set to "brief".
Sample output with bad protection bits to mmap:
guest_16 % ./Example bigfile
Example: mmap bigfile: Invalid argument (unknown PROT bits 0x8)
[12 lines not shown]
lpd: Add timeout option
Set a 120-second receive timeout on all client connections, and add a
command-line option to change that value.
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D55400
lpd: Improve robustness
* Check for integer overflow when receiving file sizes.
* Check for buffer overflow when receiving file names, and fully
validate the names.
* Check for integer overflow when checking for available disk space.
* Check for I/O errors when sending status codes.
* Enforce one job per connection and one control file per job (see
code comments for additional details).
* Simplify readfile(), avoiding constructs vulnerable to integer
overflow.
* Don't delete files we didn't create.
[9 lines not shown]