Commit Graph

9343 Commits

Author SHA1 Message Date
Adolf Belka
cffababa46 python3-pluggy: New build dependency for python3-hatchling
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used setup.py build approach  as pyproject.toml approach kept failing to build

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
ccaa26aa6a python3-pathspec: New build dependency for python3-hatchling
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used pyproject.toml build approach

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
ec01213dcf python3-editables: New build dependency for python3-hatchling
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used pyproject.toml build approach

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
703d5dfef0 python3-hatch-fancy-pypi-readme: New build dependency for python3-attrs
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used pyproject.toml build approach

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
eadd3ad7b2 python3-hatch-vcs: New build dependency for python3-attrs
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used pyproject.toml build approach

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
0f2449afac python3-hatchling: New build dependency for python3-attrs
- lfs and rootfile created.
- rootfile put into common as it is only used as a build dependency.
- Used pyproject.toml build approach

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
2889d50f1c python3-attrs: Update to version 23.2.0
- Update from version 22.1.0 to 23.2.0
- Update of rootfile
- setup.py is no longer available so build to use pyproject.toml was used.
- A new series of build dependencies are also now required for python3-attrs
- Changelog
    23.2.0
	Changes
	    The type annotation for attrs.resolve_types() is now correct. #1141
	    Type stubs now use typing.dataclass_transform to decorate dataclass-like
	     decorators, instead of the non-standard __dataclass_transform__ special
	     form, which is only supported by Pyright. #1158
	    Fixed serialization of namedtuple fields using attrs.asdict/astuple() with
	     retain_collection_types=True. #1165
	    attrs.AttrsInstance is now a typing.Protocol in both type hints and code.
	     This allows you to subclass it along with another Protocol. #1172
	    If attrs detects that __attrs_pre_init__ accepts more than just self, it
	     will call it with the same arguments as __init__ was called. This allows
	     you to, for example, pass arguments to super().__init__(). #1187
	    Slotted classes now transform functools.cached_property decorated methods to
	     support equivalent semantics. #1200
	    Added class_body argument to attrs.make_class() to provide additional
	     attributes for newly created classes. It is, for example, now possible to
	     attach methods. #1203
    23.1.0
	Backwards-incompatible Changes
	    Python 3.6 has been dropped and packaging switched to static package data
	     using Hatch. #993
	Deprecations
	    The support for zope-interface via the attrs.validators.provides validator
	     is now deprecated and will be removed in, or after, April 2024.
	    The presence of a C-based package in our developement dependencies has
	     caused headaches and we’re not under the impression it’s used a lot.
	    Let us know if you’re using it and we might publish it as a separate
	     package. #1120
	Changes
	    attrs.filters.exclude() and attrs.filters.include() now support the passing
	     of attribute names as strings. #1068
	    attrs.has() and attrs.fields() now handle generic classes correctly. #1079
	    Fix frozen exception classes when raised within e.g.
	     contextlib.contextmanager, which mutates their __traceback__ attributes. #1081
	    @frozen now works with type checkers that implement PEP-681 (ex. pyright).
	     #1084
	    Restored ability to unpickle instances pickled before 22.2.0. #1085
	    attrs.asdict()’s and attrs.astuple()’s type stubs now accept the
	     attrs.AttrsInstance protocol. #1090
	    Fix slots class cellvar updating closure in CPython 3.8+ even when
	     __code__ introspection is unavailable. #1092
	    attrs.resolve_types() can now pass include_extras to typing.get_type_hints()
	     on Python 3.9+, and does so by default. #1099
	    Added instructions for pull request workflow to CONTRIBUTING.md. #1105
	    Added type parameter to attrs.field() function for use with attrs.make_class().
	    Please note that type checkers ignore type metadata passed into
	     make_class(), but it can be useful if you’re wrapping attrs. #1107
	    It is now possible for attrs.evolve() (and attr.evolve()) to change fields
	     named inst if the instance is passed as a positional argument.
	    Passing the instance using the inst keyword argument is now deprecated and
	     will be removed in, or after, April 2024. #1117
	    attrs.validators.optional() now also accepts a tuple of validators
	     (in addition to lists of validators). #1122
    22.2.0
	Backwards-incompatible Changes
	    Python 3.5 is not supported anymore. #988
	Deprecations
	    Python 3.6 is now deprecated and support will be removed in the next
	     release. #1017
	Changes
	    attrs.field() now supports an alias option for explicit __init__ argument
	     names.
	    Get __init__ signatures matching any taste, peculiar or plain! The PEP 681
	     compatible alias option can be use to override private attribute name
	     mangling, or add other arbitrary field argument name overrides. #950
	    attrs.NOTHING is now an enum value, making it possible to use with e.g.
	     typing.Literal. #983
	    Added missing re-import of attr.AttrsInstance to the attrs namespace. #987
	    Fix slight performance regression in classes with custom __setattr__ and
	     speedup even more. #991
	    Class-creation performance improvements by switching performance-sensitive
	     templating operations to f-strings.
	    You can expect an improvement of about 5% – even for very simple classes. #995
	    attrs.has() is now a TypeGuard for AttrsInstance. That means that type
	     checkers know a class is an instance of an attrs class if you check it
	     using attrs.has() (or attr.has()) first. #997
	    Made attrs.AttrsInstance stub available at runtime and fixed type errors
	     related to the usage of attrs.AttrsInstance in Pyright. #999
	    On Python 3.10 and later, call abc.update_abstractmethods() on dict classes
	     after creation. This improves the detection of abstractness. #1001
	    attrs’s pickling methods now use dicts instead of tuples. That is safer and
	     more robust across different versions of a class. #1009
	    Added attrs.validators.not_(wrapped_validator) to logically invert
	     wrapped_validator by accepting only values where wrapped_validator rejects
	     the value with a ValueError or TypeError (by default, exception types
	     configurable). #1010
	    The type stubs for attrs.cmp_using() now have default values. #1027
	    To conform with PEP 681, attr.s() and attrs.define() now accept unsafe_hash
	     in addition to hash. #1065

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Adolf Belka
d06c224ed6 borgbackup: Update to version 1.2.7
- Update from version 1.2.3 to 1.2.7
- Update of rootfile
- Patch set put together to also update the dependency packages where they have been
   updated.
- Changelog
    1.2.7
	Fixes:
		- docs: CVE-2023-36811 upgrade steps: consider checkpoint archives, #7802
		- check/compact: fix spurious reappearance of orphan chunks since borg
		   1.2, #6687 -
		  this consists of 2 fixes:
		  - for existing chunks: check --repair: recreate shadow index, #6687
		  - for newly created chunks: update shadow index when doing a
		     double-put, #5661
		- LockRoster.modify: no KeyError if element was already gone, #7937
		- create --X-from-command: run subcommands with a clean environment, #7916
		- list --sort-by: support "archive" as alias of "name", #7873
		- fix rc and msg if arg parsing throws an exception, #7885
	Other changes:
		- support and test on Python 3.12
		- include unistd.h in _chunker.c (fix for Python 3.13)
		- allow msgpack 1.0.6 and 1.0.7
		- TAM issues: show tracebacks, improve borg check logging, #7797
		- replace "datetime.utcfromtimestamp" with custom helper to avoid
		  deprecation warnings when using Python 3.12
		- vagrant:
		  - use generic/debian9 box, fixes #7579
		  - add VM with debian bookworm / test on OpenSSL 3.0.x.
		- docs:
		  - not only attack/unsafe, can also be a fs issue, #7853
		  - point to CVE-2023-36811 upgrade steps from borg 1.1 to 1.2 upgrade
		     steps, #7899
		  - upgrade steps needed for all kinds of repos (including "none"
		     encryption mode), #7813
		  - upgrade steps: talk about consequences of borg check, #7816
		  - upgrade steps: remove period that could be interpreted as part of
		     the command
		  - automated-local.rst: use GPT UUID for consistent udev rule
		  - create disk/partition sector backup by disk serial number, #7934
		  - update macOS hint about full disk access
		  - clarify borg prune -a option description, #7871
		  - readthedocs: also build offline docs (HTMLzip), #7835
		  - frontends: add "check.rebuild_refcounts" message
    1.2.6
	Fixes:
		- The upgrade procedure docs as published with borg 1.2.5 did not work,
		   if the repository had archives resulting from a borg rename or borg
		   recreate operation.
		  The updated docs now use BORG_WORKAROUNDS=ignore_invalid_archive_tam
		   at some places to avoid that issue, #7791.
		  See: fix pre-1.2.5 archives spoofing vulnerability (CVE-2023-36811),
		   details and necessary upgrade procedure described above.
	Other changes:
		- updated 1.2.5 changelog entry: 1.2.5 already has the fix for
		   rename/recreate.
		- remove cython restrictions. recommended is to build with
		   cython 0.29.latest, because borg 1.2.x uses this since years and it
		   is very stable. You can also try to build with cython 3.0.x, there is
		   a good chance that it works. As a 3rd option, we also bundle the
		   `*.c` files cython outputs in the release pypi package, so you can
		   also just use these and not need cython at all.
    1.2.5
	Fixes:
		- Security: fix pre-1.2.5 archives spoofing vulnerability (CVE-2023-36811),
		  see details and necessary upgrade procedure described above.
		- rename/recreate: correctly update resulting archive's TAM, see #7791
		- create: do not try to read parent dir of recursion root, #7746
		- extract: fix false warning about pattern never matching, #4110
		- diff: remove surrogates before output, #7535
		- compact: clear empty directories at end of compact process, #6823
		- create --files-cache=size: fix crash, #7658
		- keyfiles: improve key sanity check, #7561
		- only warn about "invalid" chunker params, #7590
		- ProgressIndicatorPercent: fix space computation for wide chars, #3027
		- improve argparse validator error messages
	New features:
		- mount: make up volname if not given (macOS), #7690.
		  macFUSE supports a volname mount option to give what finder displays on
		  the desktop / in the directory view. if the user did not specify it,
		  we make something up, because otherwise it would be "macFUSE Volume 0
		  (Python)" and hide the mountpoint directory name.
		- BORG_WORKAROUNDS=authenticated_no_key to extract from authenticated repos
		  without key, #7700
	Other changes:
		- add `utcnow()` helper function to avoid deprecated `datetime.utcnow()`
		- stay on latest Cython 0.29 (0.29.36) for borg 1.2.x (do not use
		  Cython 3.0 yet)
		- docs:
		  - move upgrade notes to own section, see #7546
		  - mount -olocal: how to show mount in finder's sidebar, #5321
		  - list: fix --pattern examples, #7611
		  - improve patterns help
		  - incl./excl. options, path-from-stdin exclusiveness
		  - obfuscation docs: markup fix, note about MAX_DATA_SIZE
		  - --one-file-system: add macOS apfs notes, #4876
		  - improve --one-file-system help string, #5618
		  - rewrite borg check docs
		  - improve the docs for --keep-within, #7687
		  - fix borg init command in environment.rst.inc
		  - 1.1.x upgrade notes: more precise borg upgrade instructions, #3396
		 -tests:
		  - fix repo reopen
		  - avoid long ids in pytest output
		  - check buzhash chunksize distribution, see #7586
    1.2.4
	New features:
		- import-tar: add --ignore-zeros to process concatenated tars, #7432.
		- debug id-hash: computes file/chunk content id-hash, #7406
		- diff: --content-only does not show mode/ctime/mtime changes, #7248
		- diff: JSON strings in diff output are now sorted alphabetically
	Bug fixes:
		- xattrs: fix namespace processing on FreeBSD, #6997
		- diff: fix path related bug seen when addressing deferred items.
		- debug get-obj/put-obj: always give chunkid as cli param, see #7290
		  (this is an incompatible change, see also borg debug id-hash)
		- extract: fix mtime when ResourceFork xattr is set (macOS specific), #7234
		- recreate: without --chunker-params, do not re-chunk, #7337
		- recreate: when --target is given, do not detect "nothing to do".
		  use case: borg recreate -a src --target dst can be used to make a copy
		  of an archive inside the same repository, #7254.
		- set .hardlink_master for ALL hardlinkable items, #7175
		- locking: fix host, pid, tid order.
		  tid (thread id) must be parsed as hex from lock file name.
		- update development.lock.txt, including a setuptools security fix, #7227
	Other changes:
		- requirements: allow msgpack 1.0.5 also
		- upgrade Cython to 0.29.33
		- hashindex minor fixes, refactor, tweaks, tests
		- use os.replace not os.rename
		- remove BORG_LIBB2_PREFIX (not used any more)
		- docs:
		  - BORG_KEY_FILE: clarify docs, #7444
		  - update FAQ about locale/unicode issues, #6999
		  - improve mount options rendering, #7359
		  - make timestamps in manual pages reproducible
		  - installation: update Fedora in distribution list, #7357
		- tests:
		  - fix test_size_on_disk_accurate for large st_blksize, #7250
		  - add same_ts_ns function and use it for relaxed timestamp comparisons
		  - "auto" compressor tests: don't assume a specific size,
		    do not assume zlib is better than lz4, #7363
		  - add test for extracted directory mtime
		- vagrant:
		  - upgrade local freebsd 12.1 box -> generic/freebsd13 box (13.1)
		  - use pythons > 3.8 which work on freebsd 13.1
		  - pyenv: also install python 3.11.1 for testing
		  - pyenv: use python 3.10.1, 3.10.0 build is broken on freebsd

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:31 +00:00
Michael Tremer
91e28f1813 core184: Ship dhcpcd
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:03:16 +00:00
Arne Fitzenreiter
9786225a9b mympd: new addon to control mpd via WebGUI
myMPD is written in C and has a nice WebGUI to play
local music and also a WebRadio browser.
This is to replace the removec client175.

After install it can reached via
https://IP_OF_THE_IPFIRE:8800

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-29 16:02:42 +00:00
Adolf Belka
897fecc8df abseil-cpp: New build dependency for protobuf
- abseil-cpp required to build protobuf which is required for protobuf-c which is new
   build dependency for frr

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-25 10:23:03 +00:00
Adolf Belka
27ff766751 protobuf: New build dependency for protobuf-c
- protobuf required for protobuf-c which is new build dependency for frr

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-25 10:23:03 +00:00
Adolf Belka
4492b4622c protobuf-c: New build dependency for frr
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-25 10:23:03 +00:00
Adolf Belka
09b48ccee8 libyang: Update to version 2.1.148
- Update from version 2.1.4 to 2.1.148
- Update of rootfile
- Minimum version of 2.1.128 will be required in a future frr release and currently needs
   to be a minimum of 2.1.80 but not 2.1.111
- Changelog
    2.1.148
	Main changes of this release are:
	    lots of bugfixes and improvements in various parts of the library
    2.1.128
	Main changes of this release are:
	    revert of identityref canonical value change
	        the identity always printed with the module name as the prefix
	    data tree and hash table optimizations
	    opaque node handling fixes and improvements
	    lots of other bug fixes
    2.1.111
	Main changes of this release are:
	    opaque node parsing improved
	    native RESTCONF operation parsing support
	    union value error reporting improved
	    new yanglint and yangre tests
	    optional support for leafref with XPath functions
	    lots of other fixes and improvements
    2.1.80
	Main changes of this release are:
	    RESTCONF message parsing
	    JSON parser refactor
	    timezone DST handling
	    public hash table API
	    stored union value bugfix
	    many other clarifications, improvements, and bugfixes
    2.1.55
	Main changes of this release are:
	    type compilation fixes
	    multi-error validation support
	    JSON parser fixes
	    portability improvements
	    schema-mount support improvements
	    minor optimizations
	    other minor fixes
    2.1.30
	Main changes of this release are:
	    many JSON printer/parser fixes and improvements
	    unintentionally large library size reduced
	    thread safety improvements
	    big-endian compatibility fix
	    uncrustify updated
	    lots of other fixes and improvements

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-25 10:23:03 +00:00
Adolf Belka
13835af399 frr: Update to version 9.1
- Update from version 8.5.2 to 9.1
- Update of rootfile
- Build dependencies of frr now include protobuf-c. protobuf-c requires protobuf.
   protobuf requires abseil-cpp.
- Build dependency of libyang will have a minimum version requirement of 2.1.128 coming
   out of an issue. Minimum version for frr-9.1 is 2.1.80 but excluding 2.1.111 due to
   API issues. Based on the near future requirement being 2.1.128 will move to current
   latest version of 2.1.148
- This patch set includes the above build dependencies
- Changelog
    9.1
	FRR 9.1 brings a long list of enhancements and fixes with 941 commits from 73
	 developers.
	OSPFv2 HMAC-SHA Cryptographic Authentication
		Specify that HMAC cryptographic authentication must be used on a
		 specific interface using a key chain.
	BGP MAC-VRF Site-Of-Origin support
		In some EVPN deployments, it is useful to associate a logical VTEP’s
		 Layer 2 domain (MAC-VRF) with a Site-of-Origin “site” identifier. This
		 provides a BGP topology-independent means of marking and
		 import-filtering EVPN routes originating from a particular L2 domain.
		 One situation where this is valuable is when deploying EVPN using
		 anycast VTEPs, i.e. Active/Active MLAG, as it can be used to avoid
		 ownership conflicts between the two control planes (EVPN vs MLAG).
	BGP Dynamic capability support
		Added support for Graceful-Restart, Long-lived Graceful-Restart,
		 Software-version, and Role BGP capabilities to be adjusted dynamically
		 using BGP dynamic capability.
		Dynamic BGP capability allows the dynamic update of capabilities over an
		 established BGP session. This capability would facilitate
		 non-disruptive capability changes by BGP speakers.
	IS-IS SRv6 uSID support (RFC 9352)
		The Segment Routing (SR) architecture allows a flexible definition of
		 the end-to-end path by encoding it as a sequence of topological
		 elements called "segments". It can be implemented over the MPLS or the
		 IPv6 data plane. This feature enables extensions in IS-IS to support
		 Segment Routing over the IPv6 data plane (SRv6) as per RFC 9352.
	Next-hop resolution via the default route
		Changed the default for a traditional profile to be enabled. The
		 datacenter profile is left as disabled.
	Add support for VLAN, ECN, DSCP mangling/filtering
		PBR maps are a way to specify a set of rules that are applied to packets
		 received on individual interfaces. If a received packet matches a rule,
		 the rule’s next-hop-group or next-hop is used to forward it; any other
		 actions specified in the rule are also applied to the packet.
		With this change, we added more commands for PBR maps, like matching
		 src-ip, dst-ip, src-port, dst-port, vlan, dscp, ecn, and more.
	libyang 2.1.80 related breaking changes
		prefix-list matching in route-maps is fundamentally broken with
		 libyang 2.1.111. If you have this version, please downgrade to the most
		 stable version 2.1.80.
		More details CESNET/libyang#2090
	Other significant changes
	    Zebra support for route replace semantics in FPM link
	    New command for BGP neighbor x addpath-tx-best-selected link
	    New command for BGP mpls bgp l3vpn-multi-domain-switching link
	    A couple more new BGP route-map commands:
	        set as-path exclude all link
	        set as-path exclude as-path-access-list link
	        set extended-comm-list delete link
	        set as-path replace <any|ASN> [<ASN>] link
	        set as-path replace as-path-access-list WORD [<ASN>] link
	        match community-list X any UPDATE
	Deprecations
	    Deprecate pre-standard outbound route filtering capability
	    Deprecate pre-standard route refresh capability
	    Drop deprecated capability
	A complete log of changes can be found by browsing the commit history of the
	 FRR 9.1 tag
    9.0.2
	Fixed CVE-2023-47235
		More details: https://frrouting.org/security/cve-2023-47235
	Bug Fixes
	bgpd
	    Fix aggregate-address summary-only suppressed export to EVPN
	    Allow using attribute number 255 for path attr discard/withdraw cmds
	    Check mandatory attributes more carefully for the UPDATE message
	    Do not suppress conditional advertisement updates if triggered
	    Fix Extended community memory leak
	    Fix the no set as-path prepend command
	    Fix heap-use-after-free for bgp_best_selection()
	    Fix crash in SNMP BGP4V2-MIB bgpv2PeerErrorsTable()
	    Fix clear bgp ipv6 unicast ... command
	    Flush attributes only if we don't have to announce a conditional route
	     (avoid use-after-free)
	    Free memory for SRv6 functions and locator chunks
	    Handle MP_UNREACH_NLRI malformed packets with session reset
	    Ignore handling NLRIs if we received the MP_UNREACH_NLRI attribute
	    Initialise timebuf arrays to zeros for dampening reuse timer
	    Initialise buffer in bgp_notify_admin_message() before using it
	    LTTng add EVPN route trace events
	    Make sure dampening is enabled for the specified AFI/SAFI
	    Use proper AFI when dumping information for dampening stuff
	    Treat the AS4-PATH attribute as withdrawn if malformed
	    Treat PMSI tunnel attribute as withdrawn if malformed
	    Treat EOR as withdrawn to avoid unwanted handling of malformed attrs
	eigrpd
	    Use the correct memory pool on interface deletion
	mgmtd
	    Change mgmtd_vty_port to 2623
	    Fix crash on show mgmtd datastore-contents
	ospf6d
	    Fix setting of the forwarding address in as-external LSAs
	    Set loopback interface cost to 0
	ospfd
	    Fixing infinite loop when listing OSPF interfaces
	pathd
	    Add no msd command
	    Add no pcep command
	pbrd
	    Fix show pbr map detail json command
	    Free memory in pbr_map_delete()
	pim6d
	    Fix valgrind issues
	pimd
	    Fix missing pimreg interface
	tools
	    Fix the frr-reload interface description command
	    Fix the frr-reload route-map description command
	    Make --quiet actually suppress output
	vtysh
	    Fix entering configuration node in file-lock mode
	    Fix configure terminal argument descriptions
	    Fix working in file-lock mode
	    Fix show route map json output
	zebra
	    Add encap type when building packet for FPM
	    Display ptmStatus order in interface JSON
	    Fix connected route deletion when multiple entry exists
	    Fix FPM multipath encap addition
	    Fix link update for veth interfaces
	    Fix zebra crash when replacing nhe during shutdown
	    Prevent null pointer dereference
    9.0.1
	Bug Fixes
	bgpd
	    Add peers back to peer hash when peer_xfer_conn fails
	    Check the length of the rcv software version
	    Do not explicitly print maxttl value for ebgp-multihop vty output
	    Do not process nlris if the attribute length is zero
	    Don't read the first byte of orf header if we are ahead of stream
	    Evpn code was not properly unlocking rd_dest
	    Fix show bgp all rpki notfound
	    Make sure we have enough data to read two bytes when validating aigp
	    Use treat-as-withdraw for tunnel encapsulation attribute
	zebra
	    Fix evpn nexthop config order
	lib
	    Allow unsetting walltime-warning and cpu-warning
	ospfd
	    Prevent use after free( and crash of ospf ) when no router ospf
	pimd
	    Prevent crash when receiving register message when the rp() is unknown
	    When receiving a packet be more careful with length in pim_pim_packet
	vtysh
	    Print uniq lines when parsing no service ...
    8.5.4
Fixed CVE-2023-47235
	More details: https://frrouting.org/security/cve-2023-47235
	Bug Fixes
	bgpd
	    Check mandatory attributes more carefully for the UPDATE message
	    Do not suppress conditional advertisement updates if triggered
	    Fix crash in SNMP BGP4V2-MIB bgpv2PeerErrorsTable()
	    Handle MP_UNREACH_NLRI malformed packets with session reset
	    Ignore handling NLRIs if we received the MP_UNREACH_NLRI attribute
	    Initialise timebuf arrays to zeros for dampening reuse timer
	    Initialise buffer in bgp_notify_admin_message() before using it
	    Make sure dampening is enabled for the specified AFI/SAFI
	    Use proper AFI when dumping information for dampening stuff
	    Treat EOR as withdrawn to avoid unwanted handling of malformed attrs
	eigrpd
	    Use the correct memory pool on interface deletion
	vtysh
	    Fix show route map JSON output
	ospfd
	    Fix infinite loop when listing OSPF interfaces
	pbrd
	    Fix show pbr map detail json output
	zebra
	    Add encap type when building packet for FPM
	    Display ptmStatus order in interface JSON
	    Fix connected route deletion when multiple entry exists
	    Fix FPM multipath encap addition
	    Fix link update for veth interfaces
	    Fix zebra crash when replacing nhe during shutdown
	    Prevent null pointer dereference
    8.5.3
	Bug Fixes
	bgpd
	    Add peers back to peer hash when peer_xfer_conn fails
	    Do not explicitly print maxttl value for ebgp-multihop vty output
	    Do not process nlris if the attribute length is zero
	    Do not try to redistribute routes if we are shutting down
	    Don't read the first byte of orf header if we are ahead of stream
	    Evpn code was not properly unlocking rd_dest
	    Fix show bgp all rpki notfound
	    Fix session reset issue caused by malformed core attributes
	    Free bgp vpn policy
	    Free previously dup'ed aspath attribute for aggregate routes
	    Free temporary memory after using argv_concat()
	    Intern attributes before putting into rib-out
	    Make sure we have enough data to read two bytes when validating aigp
	    Prevent use after free
	    Rfapi memleak fixes, clean ce tables at exit
	    Unlock dest if we return earlier for aggregate install
	    Use treat-as-withdraw for tunnel encapsulation attribute
	zebra
	    Fix evpn nexthop config order
	    Abstract dplane_ctx_route_init to init route without copying
	    Fix crash when dplane_fpm_nl fails to process received routes
	    Further handle route replace semantics
	    Fix command ipv6 nht xxx
	lib
	    Allow unsetting walltime-warning and cpu-warning
	    Skip route-map optimization if !af_inet(6)
	    Use max_bitlen instead of magic number
	ospf6d
	    Fix crash because neighbor structure was freed
	    Stop crash in ospf6_write
	ospfd
	    Check for nulls in vty code
	    Prevent use after free( and crash of ospf ) when no router ospf
	pbrd
	    Fix crash with match command
	pimd
	    Prevent crash when receiving register message when the rp() is unknown
	    When receiving a packet be more careful with length in pim_pim_packet
	ripd, ripngd
	    Revert "Cleanup memory allocations on shutdown"
	tools
	    Add what frr thinks as the fib routes for support_bundle
	vtysh
	    Print uniq lines when parsing no service ...

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-25 10:23:03 +00:00
Michael Tremer
bd2e449a71 core184: Ship sqlite
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 14:02:24 +00:00
Michael Tremer
a65bcf84b4 core184: Ship shadow
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 14:02:02 +00:00
Michael Tremer
eee8a5b285 core184: Ship PAM
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 14:01:36 +00:00
Adolf Belka
64f9606302 pam: Update to version 1.6.0
- Update from version 1.5.3 to 1.6.0
- Update of rootfile
- A build bug was found with 1.6.0 if --enable-read-both-confs was set in the configure.
   A commit fixing this has been released and converted into a patch for IPFire. This
   will end up in the next pam release version and the IPFire patch can then be removed.
- Changelog
    1.6.0
	* Added support of configuration files with arbitrarily long lines.
	* build: fixed build outside of the source tree.
	* libpam: added use of getrandom(2) as a source of randomness if available.
	* libpam: fixed calculation of fail delay with very long delays.
	* libpam: fixed potential infinite recursion with includes.
	* libpam: implemented string to number conversions validation when parsing
	  controls in configuration.
	* pam_access: added quiet_log option.
	* pam_access: fixed truncation of very long group names.
	* pam_canonicalize_user: new module to canonicalize user name.
	* pam_echo: fixed file handling to prevent overflows and short reads.
	* pam_env: added support of '\' character in environment variable values.
	* pam_exec: allowed expose_authtok for password PAM_TYPE.
	* pam_exec: fixed stack overflow with binary output of programs.
	* pam_faildelay: implemented parameter ranges validation.
	* pam_listfile: changed to treat \r and \n exactly the same in configuration.
	* pam_mkhomedir: hardened directory creation against timing attacks.
	  Please note that using *at functions leads to more open file handles
	  during creation.
	* pam_namespace: fixed potential local DoS (CVE-2024-22365).
	* pam_nologin: fixed file handling to prevent short reads.
	* pam_pwhistory: helper binary is now built only if SELinux support is enabled.
	* pam_pwhistory: implemented reliable usernames handling when remembering
	  passwords.
	* pam_shells: changed to allow shell entries with absolute paths only.
	* pam_succeed_if: fixed treating empty strings as numerical value 0.
	* pam_unix: added support of disabled password aging.
	* pam_unix: synchronized password aging with shadow.
	* pam_unix: implemented string to number conversions validation.
	* pam_unix: fixed truncation of very long user names.
	* pam_unix: corrected rounds retrieval for configured encryption method.
	* pam_unix: implemented reliable usernames handling when remembering passwords.
	* pam_unix: changed to always run the helper to obtain shadow password entries.
	* pam_unix: unix_update helper binary is now built only if SELinux support
	  is enabled.
	* pam_unix: added audit support to unix_update helper.
	* pam_userdb: added gdbm support.
	* Multiple minor bug fixes, portability fixes, documentation improvements,
	  and translation updates.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 14:01:09 +00:00
Michael Tremer
f4ca072ce4 core184: Ship LVM2
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 14:00:55 +00:00
Michael Tremer
5c4f1e680e core184: Ship libidn
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 14:00:27 +00:00
Adolf Belka
f18d969716 libidn: Update to version 1.42
- Update from version 1.41 to 1.42
- Update of rootfile
- Changelog
    1.42
	** Bump required gettext version to 0.19.8 for musl-libc.
	** Compiler warning improvements.
		As before, compiler warnings are enabled by default.  You may disable
		them using ./configure --disable-gcc-warnings or turn them into fatal
		errors using ./configure --enable-gcc-warnings=error to add -Werror
		and sensible -Wno-error='s.  Based on gnulib's manywarnings, see
		<https://www.gnu.org/software/gnulib//manual/html_node/manywarnings.html>.
	** Fix type confusion on LLP64/Windows platforms.
		While libidn has worked using cygwin libc, it has never worked on
		ucrt/msvcrt libc.  Report and tiny patch by Francesco Pretto in
		<https://lists.gnu.org/archive/html/help-libidn/2022-02/msg00000.html>.
	** tests: Added script tests/standalone.sh suitable for integrators.
		The main purpose is to test a system-installed libidn, suitable for
		distributor checking (a'la Debian's autopkgtest/debci).  It may also
		be used to test a newly built libidn outside the usual 'make check'
		infrastructure.  To check that your system libidn is working, invoke
		the script with `srcdir` as an environment variable indicating where
		it can be find the source code for libidn's tests/ directory (it will
		use the directory name where the script is by default):
			tests/standalone.sh
			 To check that a newly built static libidn behaves, invoke:
				env STANDALONE_CFLAGS="-Ilib lib/.libs/libidn.a"
				 tests/standalone.sh
			 To check that a newly built shared libidn behaves, invoke:
				env srcdir=tests STANDALONE_CFLAGS="-Ilib -Wl,-rpath
				 lib/.libs lib/.libs/libidn.so" tests/standalone.sh
			 If the libidn under testing is too old and has known bugs, that
			  should cause tests to fail, which is intentional.
	** Updated translations.
	** Update gnulib files and build fixes.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 14:00:08 +00:00
Michael Tremer
fbff621fac core184: Ship iputils
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:59:50 +00:00
Michael Tremer
0dc494f5e5 core184: Ship iproute2
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:59:26 +00:00
Michael Tremer
f51f33d24b core184: Ship GnuTLS
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:58:38 +00:00
Adolf Belka
fa3b0964b6 gnutls: Update to version 3.8.3
- Update from version 3.8.2 to 3.8.3
- Update of rootfile
- Changelog
    3.8.3
	- libgnutls: Fix more timing side-channel inside RSA-PSK key exchange
	   [GNUTLS-SA-2024-01-14, CVSS: medium] [CVE-2024-0553]
	- libgnutls: Fix assertion failure when verifying a certificate chain with a
	   cycle of cross signatures
	   [GNUTLS-SA-2024-01-09, CVSS: medium] [CVE-2024-0567]
	- libgnutls: Fix regression in handling Ed25519 keys stored in PKCS#11 token
	   certtool was unable to handle Ed25519 keys generated on PKCS#11
	   with pkcs11-tool (OpenSC). This is a regression introduced in 3.8.2.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:58:10 +00:00
Michael Tremer
bdf5de6dd2 core184: Ship attr
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:57:53 +00:00
Adolf Belka
a7a4f0ce73 attr: Update to version 2.5.2
- Update from version 2.5.1 to 2.5.2
- Update of rootfile
- Changelog is no longer updated in the source tarball. Only source for changes is the git
   repository commits from https://git.savannah.nongnu.org/cgit/attr.git/log/

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:57:29 +00:00
Adolf Belka
b9fec739fd transmission: Update to version 4.0.5
- Update from version 4.0.4 to 4.0.5
- Update of rootfile
- Changelog
    4.0.5
	Highlights
	    Fixed 4.0.0 bug where the IP address field in UDP announces were not encoded
	     in network byte order. [BEP-15]. (#6132)
	    Fixed a bug that incorrectly escaped JSON strings in some locales.
	     (#6005, #6133)
	    Fixed 4.0.4 decreased download speeds for people who set a low upload
	     bandwidth limit. (#6134)
	All Platforms
	    Fixed bug that prevented editing trackers on magnet links. (#5957)
	    Fixed HTTP tracker announces and scrapes sometimes failing after adding a
	     torrent file by HTTPS URL. (#5969)
	    In RPC responses, change the default sort order of torrents to match
	     Transmission 3.00. (#5604)
	    Fixed tr_sys_path_copy() behavior on some Synology Devices. (#5974)
	macOS Client
	    Support Sonoma when building from sources. (#6016, #6051)
	    Fixed early truncation of long group names in groups list. (#6104)
	Qt Client
	    Fix: only append .added suffix to watchdir files. (#5705)
	GTK Client
	    Fixed crash when opening torrent file from "Recently used" section in
	     GTK 4. (#6131, #6142)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:56:51 +00:00
Michael Tremer
b0ef2af113 core184: Ship poppler
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:56:30 +00:00
Adolf Belka
d8209b5a9c poppler: Update to version 24.01.0
- Update from version 23.08.0 to 24.01.0
- Update of rootfile
- Changelog
	24.01.0:
	        core:
	         * Don't crash on certain documents on the NSS signature backend
	         * Fix infinite loop in some annotation code if there's not space for
		   even one character
	         * Fix build on Android with generic font configuration
	         * Small internal code cleanup
	23.12.0:
	        core:
	         * Rewrite FoFiType1::parse to be more flexible. Issue #1422
	         * Small internal code refactoring
	23.11.0:
	        core:
	         * CairoOutputDev: Use internal downscaling algorithm if image exceeds
		   Cairo's maximum dimensions.
	         * Internal code improvements
	         * Fix crash on malformed files
	        utils:
	         * pdftocairo: Add option to document logical structure if output is pdf
	         * pdftocairo: EPS output should not contain %%PageOrientation
	23.10.0:
	        core:
	         * cairo: update type 3 fonts for cairo 1.18 api
	         * Fix crash on malformed files
	        build system:
	         * Make a few more dependencies soft-mandatory
	         * Add more supported gnupg releases
	         * Check if linker supports version scripts
	23.09.0:
	        core:
	         * Add Android-specific font matching functionality
	         * Fix digital signatures for NeedAppearance=true
	         * Forms: Don't look up same glyph multiple times
	         * Provide the key location for certificates you can sign with
	         * Add ToUnicode support for similarequal
	         * Fix crash on malformed files
	        qt5:
	         * Provide the key location for certificates you can sign with
	         * Allow to force a rasterized overprint preview during PS conversion
	        qt6:
	         * Provide the key location for certificates you can sign with
	         * Allow to force a rasterized overprint preview during PS conversion
	        pdfsig:
	         * Provide the key location for certificates you can sign with

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:56:08 +00:00
Michael Tremer
3e32f30ba6 core184: Ship pixman
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:55:33 +00:00
Adolf Belka
52d2ca0d49 pixman: Update to version 43.0
- Update from versionj 42.2 to 43.0
- Update of rootfile
- Changelog
   The NEWS and ChangeLog files in the source tarball are empty.
   For details of changes see the commits log
   https://cgit.freedesktop.org/pixman/log/

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:55:14 +00:00
Michael Tremer
ad9d1c7594 core184: Ship memtest
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:54:58 +00:00
Adolf Belka
b66e42ddcf lshw: Update to version B.02.20
- Update from version B.02.19.2 to B.02.20
- Update of rootfile
- Changelog
    B.02.20
	bug fixes
	code cleanup
    For more details see the git repo
     https://ezix.org/src/pkg/lshw/compare/B.02.19...B.02.20

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:53:58 +00:00
Adolf Belka
3f22b83096 libvirt: Update to version 10.0.0
- Update from version 8.10.0 to 10.0.0
- Update of rootfile
- Changelog is too large to include here. Details can be found in the NEWS.rst file in the
   source tarball
    CVE-2023-3750 was fixed in version 9.6.0
	Fix race condition in storage driver leading to a crash
	    In **libvirt-8.3** a bug was introduced which in rare cases could cause
	    ``libvirtd`` or ``virtstoraged`` to crash if multiple clients attempted to
	    look up a storage volume by key, path or target path, while other clients
	    attempted to access something from the same storage pool.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:53:47 +00:00
Adolf Belka
525bdbafb2 libtalloc: Update to version 2.4.1
- Update from version 2.3.4 to 2.4.1
- Update of rootfile
- Changelog
    2.4.1 (2023-07-20)
	No change information available anywhere that I could find
    2.4.0 (2023-01-18)
	No change information available anywhere that I could find

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:53:38 +00:00
Michael Tremer
d6b51f9c04 core184: Ship ipset
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 13:53:12 +00:00
Adolf Belka
c23ca819d9 fmt: Update to version 10.2.1
- Update from version 10.0.0 to 10.2.1
- Update of rootfile
- Changelog is a bit too large to include here. Details can be found in ChangeLog.md file
   in source tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 11:36:51 +00:00
Michael Tremer
df46bb241b core184: Ship dmidecode (x86_64)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 11:36:08 +00:00
Michael Tremer
ffe528be28 Start Core Update 184
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 11:33:43 +00:00
Arne Fitzenreiter
02aa0f99b1 web-user-interface: rootfile update
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-01-21 21:42:13 +01:00
Michael Tremer
0742747e6d core183: Ship firewall initscript
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-19 16:38:12 +00:00
Michael Tremer
295af8f766 core183: Ship the updated theme
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-19 16:32:24 +00:00
Michael Tremer
c981c48b2d Merge remote-tracking branch 'ms/theme' into next 2024-01-19 16:29:46 +00:00
Arne Fitzenreiter
6094f35b5a core183: generate new rsa before apache start
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-01-19 06:10:26 +00:00
Arne Fitzenreiter
36c16c71ed core183: replace https rsa key if it is too small
new openssl need at least 2048 bit rsa keys for apache.
So if the existing is smaller a new 4096 bit key is generated.

fixes #13527

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-01-18 18:02:10 +01:00
Peter Müller
bca096b453 linux: Forbid legacy TIOCSTI usage
To quote from the kernel documentation:

> Historically the kernel has allowed TIOCSTI, which will push
> characters into a controlling TTY. This continues to be used
> as a malicious privilege escalation mechanism, and provides no
> meaningful real-world utility any more. Its use is considered
> a dangerous legacy operation, and can be disabled on most
> systems.
>
> Say Y here only if you have confirmed that your system's
> userspace depends on this functionality to continue operating
> normally.
>
> Processes which run with CAP_SYS_ADMIN, such as BRLTTY, can
> use TIOCSTI even when this is set to N.
>
> This functionality can be changed at runtime with the
> dev.tty.legacy_tiocsti sysctl. This configuration option sets
> the default value of the sysctl.

This patch therefore proposes to no longer allow legacy TIOCSTI usage
in IPFire, given its security implications and the apparent lack of
legitimate usage.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-16 15:46:37 +00:00
Peter Müller
254dcbaac8 Core Update 183: Fix permissions of /etc/sudoers.d/, again
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2024-01-16 12:36:50 +00:00
Michael Tremer
091988ad27 core183: Ship /etc/rc.d/init.d/mountfs
This script has been modified when we touched ExtraHD in Core Update
179/180, but has been forgotten to be shipped.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-16 12:25:04 +00:00