security/openssl*: Turn the FIPS option off by default
The FIPS provider these ports build is not built as its FIPS 140-3
Security Policy requires, so it is not validated. Turn the FIPS
option off by default in security/openssl, openssl30, openssl40 and
openssl41, and point users to security/openssl-fips, which installs
the validated OpenSSL 3.5.9 FIPS provider (CMVP certificate #5586).
Update FIPS_DESC and add a comment by OPTIONS_DEFAULT to say so, and
add an upgrade pkg-message for users who load lib/ossl-modules/fips.so
today, since upgrading removes it.
Bump PORTREVISION: the default package no longer contains fips.so
or fipsmodule.cnf.
Signed-off-by: Bernard Spil <brnrd at FreeBSD.org>
security/openssl-fips: Add new port
Install only the OpenSSL 3.5.9 FIPS provider (fips.so and
fipsmodule.cnf), the module validated under FIPS 140-3 CMVP
certificate #5586.
The build follows Section 11 of the module's Security Policy:
./Configure enable-fips, make, make install_fips. No patches, extra
Configure options or ports CFLAGS/LDFLAGS are applied. The build
fails if the FIPS run-time security checks or power-up self-tests are
disabled, or if fips-jitter (non-compliant) is enabled. After
install, the staged files are checked against the build output and
with "openssl fipsinstall -verify", so the module's HMAC integrity
value stays valid. make test loads the staged module, which runs its
self-tests, and checks that it reports version 3.5.9.
Files go under lib/openssl-fips and etc/openssl-fips so they do not
conflict with the FIPS provider from security/openssl*, which is not
built as the Security Policy requires. pkg-message explains how to
[3 lines not shown]
[compiler-rt][LoongArch]: Fix __clear_cache on FreeBSD (#249441)
The LoongArch implementation of __clear_cache() is guarded by __linux__,
so FreeBSD falls through to compilerrt_abort(). The ibar 0 instruction
is architectural and not Linux-specific; use it for all LoongArch
targets. This fixes JIT users such as PCRE2 and LLVM's
sys::Memory::setExecutable().
Signed-off-by: xiaoqiang zhao <zxq_yx_007 at 163.com>
[libc++] Fix deployment targets that were incorrectly demoted (#249040)
#134278 reduced macOS deployment target from 13.4 to 13.3, but also
iOS/tvOS from 16.5 to 16.3 and watchOS from 9.5 to 9.3. The macOS
version was correct, but the iOS/tvOS/watchOS versions were 1 minor
version too low. Xcode 14.3 shipped with LLVM 15 back in March 2023 and
included SDKs for macOS 13.3, iOS/tvOS 16.4, and watchOS 9.4 (I cannot
verify bridgeOS or DriverKit, but those were not modified in #134278, so
I hope they are OK).
When targeting iOS 16.3 and using `-fno-exceptions`, the compiler will
link against `std::__libcpp_verbose_abort` which is expected in
`libc++.1.dylib`, but at runtime it fails to load the binary on devices
running 16.3 or 16.3.1.
---------
Co-authored-by: Louis Dionne <ldionne.2 at gmail.com>
ftp/py-aioftp: Update 0.27.2 => 0.28.3
Changelog:
- add 'welcome_message' parameter for a server.
- add 'trust_server_pasv_ipv4_address' option with default to 'False'
to avoid possible ipv4 spoofing in server response.
- add 'system_type' parameter to server.
- apply 'connection_timeout' to passive connections.
- client 'is_dir' should treat 'cdir' and 'pdir' as a directory too,
according to RFC3659.
https://github.com/aio-libs/aioftp/blob/0.28.3/history.rst
Define PYTHONPATH for TEST_ENV so tests can run successfully.
PR: 301560
Co-authored-by: nxjoseph
HBSD: libsys tests: Disable SafeStack
SafeStack isn't applicable to unit test code.
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
(cherry picked from commit f3fb698abcadce684f5d4d95782832ce682775f8)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
minisign: update to 2.0.0.
2.0.0
Minisign 2.0.0 adds post-quantum signatures.
New key pairs now use SLH-DSA, a conservative signature scheme that is expected to remain secure against big bad quantum computers and big bad AI models.
These keys are named minisign2.pub and minisign2.key, and signatures go into <file>.minisig2, so they can live next to existing Ed25519 keys.
Minisign 0.12 and earlier can't verify SLH-DSA signatures.
If the people verifying your files haven't upgraded yet, keep using Ed25519: existing keys and signatures work as before, minisign -G -E creates a new Ed25519 key pair, and -E picks the Ed25519 key when you have both.
Release files are now signed with both kinds of keys. The SLH-DSA public key is:
U0ydTozIP3s57PgrY/1q9ZDA1h28+6Yg2Omth5KCXI18cSA/YcLZe3ks
Other changes:
[10 lines not shown]
chinese/ibus-table-chinese: Update 1.8.14 => 1.8.15
Upstream now installs with GNUInstallDirs relative to
CMAKE_INSTALL_PREFIX, so files/patch-CMakeLists.txt and the
post-patch substitutions are no longer needed. DATA_DIR and
PRJ_DOC_DIR in CMAKE_ARGS had no effect before either, as
CMakeLists.txt sets both without CACHE.
Add NO_ARCH to eliminate "no architecture-specific files found".
Changelog:
https://github.com/mike-fabian/ibus-table-chinese/releases/tag/1.8.15
PR: 301558
Merge tag 'parisc-for-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc fixes from Helge Deller:
- Fix side-effects in the __get_user() macro triggered by e.g. a
post-increment which broke select()/pselect6() on a 64-bit kernel
- Fix potential boot issue due to non-page aligned BSS section
- Fix various lockdep and tracing issue
- Fix wrong EISA ressource flags
* tag 'parisc-for-7.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux:
parisc: Don't sleep with pdc_lock held when taking down a CPU
parisc: Don't enable interrupts in ipi_interrupt()
parisc: Use inc_irq_stat() for the FP assist and unaligned counters
parisc: unwind: Stop at interruptions from user space
parisc: Let RCU watch interrupts taken from idle
[3 lines not shown]
ffmpeg4 ffplay4: updated to 4.4.9
4.4.9:
libswscale/utils: prevent division by zero for chroma width 8
avfilter/vf_scale_vaapi: propagate ff_scale_adjust_dimensions() error
avfilter/vf_scale_npp: propagate ff_scale_adjust_dimensions() error
avfilter/vf_scale_cuda: propagate ff_scale_adjust_dimensions() error
avcodec/h264_loopfilter: Fix incorrect function parameter array size
avcodec/dxva2: fix different 'const' qualifiers warning
avfilter/vf_qp: Don't store NAN in int
avfilter/video: use the alignment passed to ff_default_get_video_buffer2()
doc/examples/vaapi_encode: fix invalid check on fwrite
avformat/mpegts: detect synchronous metadata KLV more reliably
avcodec/aacenc_pred: stop ff_aac_adjust_common_pred() at the end of prediction_used
avfilter/vf_convolution: do not keep the copy shortcut for row and column matrices
avfilter/x86/scene_sad: fix unaligned input in SSE2
avformat/dashdec: keep timeline position in ticks on manifest refresh
avformat/dashdec: compute segment bounds after refreshing manifest
avcodec/dxva2_hevc: reject tile counts the DXVA picture parameters cannot hold
[1350 lines not shown]
ffmpeg6 ffplay6: updated to 6.1.7
6.1.7:
Update for 6.1.7
avfilter/dnn_backend_tf: wait only for the inference requests that were created
avfilter/dnn_backend_openvino: wait only for the inference requests that were created
avformat/iff: Check the CMAP read size
avfilter/dnn: replace DNNCond by AVCond
configure: make threads a hard dependency for dnn
avcodec/mpegvideo_enc: keep MPEG-4 B frame chains within the 16 bit frame distance
avfilter/dnn: fix race when querying queue length
avfilter/vf_libplacebo: propagate ff_scale_adjust_dimensions() error
avfilter/vf_scale_vaapi: propagate ff_scale_adjust_dimensions() error
avfilter/vf_scale_npp: propagate ff_scale_adjust_dimensions() error
avfilter/vf_scale_cuda: propagate ff_scale_adjust_dimensions() error
libswscale/utils: prevent division by zero for chroma width 8
doc/examples/vaapi_encode: fix invalid check on fwrite
avcodec/snowenc: sign extend a variable before shifting
swscale: prevent undefined behaviour in the PUTRGBA macro
[1345 lines not shown]
ffmpeg7 ffplay7: updated to 7.1.6
7.1.6:
update for 7.1.6
avcodec/aacenc_pred: stop ff_aac_adjust_common_pred() at the end of prediction_used
avfilter/vf_libplacebo: propagate ff_scale_adjust_dimensions() error
avfilter/vf_scale_vaapi: propagate ff_scale_adjust_dimensions() error
avfilter/vf_scale_npp: propagate ff_scale_adjust_dimensions() error
avfilter/vf_scale_cuda: propagate ff_scale_adjust_dimensions() error
avcodec/ffv1enc: Use dummies to avoid UB pointer arithmetic
avfilter/vf_overlay: Don't perform UB pointer arithmetic
avcodec/x86/pngdsp: Don't use mmx register in ff_add_bytes_l2_sse2()
swscale: support sliced input with cascaded scaling contexts
avutil/hwcontext_vulkan: copy only the bytes of the visible rows
avcodec/jpeg2000htdec: reject M_b == 31
avcodec/aac_ac3_parser: do not override the profile set by the decoder
avfilter/x86/scene_sad: fix unaligned input in SSE2
avcodec/vc1dec: free the slice buffer when init_get_bits8() fails
avcodec/cbs: check slice and OBU data sizes without overflowing size_t
[1300 lines not shown]
ffmpeg8 ffplay8: updated to 8.1.4
8.1.4:
avfilter/vf_transpose_npp: set the size of the frames taken from the pool
avformat/movenc: drop CENC entries of every track in a shared moof
avcodec/mediacodecenc: fix memleak of the private extradata
avcodec/vulkan_encode_av1: zero constantQIndex when rate control is on
avcodec/vulkan_encode_av1: name the second P reference consistently
avcodec/exif: bound the value bytes of an IFD tree by the size of the EXIF buffer
avcodec/libaribcaption: free the render result after converting it
avformat/aiffdec: improved handling of unaligned chunks
avcodec/apv_decode: set AVFrame.pkt_dts
avformat/cbs: move AV1 feature definition to their own header
avfilter/dnn_backend_torch: fix missing ret in async error path
avcodec/snowenc: fix chroma reference edge extension for odd width
avcodec/decode: don't discard the existing skip_samples value if a new side data doesn't report any
fftools/ffmpeg_filter: free input filter channel layout
fftools/ffmpeg_filter: fix frame reference leak in fg_output_step
avfilter/avfilter: fix memory leak of filter name in ff_filter_alloc error path
[1019 lines not shown]
net-im/matterhorn: Add to haskell subcategory
* Add WWW for official Hackage package
* Move USE_CABAL to separate Makefile.cabal
Approved by: haskell@ (alven@)