Commit Graph

3911 Commits

Author SHA1 Message Date
Michael Tremer
23f280b5e6 misc-progs: Call unpriv_system commands in a shell
Reported-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-07 16:46:55 +00:00
Michael Tremer
c1dd8d2511 Revert "dhcpcd: Update to 9.4.0"
This reverts commit 15194c7c52.

This version still fails to run on i586 without this patch.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-05 17:03:52 +00:00
Adolf Belka
f70fa093ec ghostscript: Addition of patch to fix freetype problem
-Addition of patch to ghoscript as freetype version 2.10.3 and later
	have withdrawn a macro that ghostscript used. Confirmed that without
	the patch ghostscript failed to build due to the lack of the
	FT_CALLBACK_DEF() macro. The fix is to explicitly declare the
	callbacks file static.
- Update lfs to apply patch
- Add patch to src/patches

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-05 16:53:31 +00:00
Adolf Belka
74e28f29f8 pptp: Update to 1.10.0
- Update pptp from 1.7.2 (Jun 2008) to 1.10.0 (Jan 2018)
- No change to rootfile
- Removal of pptp-1.7.2-compat.patch as all changes to pptp_compat.c are
	now included in the file in the new tarball.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-05 11:19:07 +00:00
Adolf Belka
5de33a38d8 findutils: Update to 4.8.0
- Update findutils from 4.6.0 to 4.8.0
- Remove findutils-4.6.0-glibc2.28.patch from lfs as all patch items are now
	in the new tarball files.
- Remove sed command on gl/lib/mountlist.c from lfs as all fixes are in the
	mountlist.c file in the new tarball.
- Update rootfiles
- Changelog
	Following are major changes. Further detailed info available in
	changelog file in tarball.
	* Noteworthy changes in release 4.8.0 (2021-01-09) [stable]
		** Changes in xargs
		'xargs -t' no longer outputs a trailing blank to stderr after the last argument
		of each constructed command line to be executed.  [#57291]
		xargs now warns when more than one of the conflicting options --max-lines (-L,
		-l), --replace (-i/-I) and --max-args (-n) are specified on the command line.
		[#52137]
		** Bug Fixes
		find no longer crashes when an XFS filesystem is heavily changed during the run.
		Discussed at: <https://lists.gnu.org/r/bug-gnulib/2020-04/msg00068.html>
		find -used works again.  This predicate was not working properly since adding
		the support for sub-second timestamp resolution for various predicates in
		FINDUTILS_4_3_3-1 back in 2007.
		Discussed at: <https://lists.gnu.org/r/bug-findutils/2019-11/msg00010.html>
		** Improvements
		'find -D exec' now diagnoses all -exec, -execdir, -ok and -okdir runs including
		the call arguments and the exit code of the launched process. [#59083]
		** Documentation Changes
		The documentation of 'find -printf %Ak' has been improved: it now refers to the
		strftime(3) documentation for a complete list of supported conversion
		specifiers, and documents the 'F' conversion specifier ('yyyy-mm-dd').
		The man pages (find.1, locate.1, locatedb.5, updatedb.1, and xargs.1) now
		consistently end with the sections "REPORTING BUGS", "COPYRIGHT" and "SEE ALSO",
		with the latter referring to the online page on the GNU web server.
		The "EXAMPLES" section in the find.1 man page now shows the examples in a better
		structure and uses consistent formatting.
		Various man page fixes - syntax issues and typos.
		[#59745, #59330, #59012, #58193, #57807, #57775]
		Other documentation changes:
		#58654: doc: clarify that 'find -perm +MODE' is unrelated to umask
		#58458: doc: improve section 'Hard links', especially fix the description
		        regarding 'find -L -samefile FILE'.
		#58205: find.1: clarify double dash '--' option
		#58149: 'xargs --help' now mentions that --replace (-I, -i) splits the input
		        at newline characters.
		#57025: doc: enhance description of tests accepting numeric arguments in find.1
		        [see also #49640].
		#54730: Add additional valuable example of find -quit
		#48135: Fix testsuite error on Hurd and BSD related to ln
		#35253: Clarify descriptions of -printf %f, %h.
		** Changes to the build process
		The configure option --without-fts has been removed.  The attempt to use
		it stopped configure with an error message since 4.5.18 (2015) anyway.
	* Major changes in release 4.7.0, 2019-08-29
		** Changes to locate / updatedb
		Support for generating old-format databases (with updatedb
		--old-format or updatedb --dbformat=old) has been removed.  The old
		database format was deprecated in 2007 (and updatedb has warned about
		this since that time).  The locate program will will read old-format
		databases, though this support also will be removed.
		The updatedb script now operates in the C locale only.  This means
		that character encoding issues are now not likely to cause sort to
		fail.  It also honours the TMPDIR environment variable if that was
		set, and no longer sorts file names case-insensitively.
		The (unspecified) order in which filenames are stored in the locate
		database is now different to previous versions.  However, you should
		not rely on locate's output appearing in any particular order in any
		case.
		** Improvements
		All utilities now only show the full usage text when requested via
		the --help option.  Previously, when the user passed invalid options
		or arguments, the user's attention to the corresponding error
		diagnostic was distracted by that lengthy text.
		find now accepts multiple file type arguments to the -type and -xtype
		options separated by comma ','.  For example, to search for symbolic
		links and directories simply provide the shorter '-type l,d' instead
		of the - yet more portable - '( -type l -o -type d )'.
		find now diagnoses failures returned by readdir().  This bug was inherent
		in the use of FTS.
		find now exits in more cases immediately after the error diagnostic, i.e.,
		without the following usage text, to make the former more eye-catching.
		find now outputs a better hint in case the user passed an unquoted shell-
		glob pattern to options like -name, i.e., when the offending argument is
		an existing file.
		find now supports the debug option '-D all' to include all of the other
		debug options at once.
		xargs now supports the -o, --open-tty option to reopen stdin as /dev/tty
		in the child process before executing the command; useful to run an
		interactive application.  Added for compatibility with BSD.
		xargs now supports the GNU_FINDUTILS_FD_LEAK_CHECK environment
		variable to enable/disable fd leak check.
		'xargs -t' (--verbose) now properly quotes each part of the command to the
		executed if needed when printing it to stderr; likewise -p (--interactive).
		** Documentation Changes
		Prefer https:// over http:// links where possible, e.g. for '*.gnu.org' servers.
		Both find.1 and the find texinfo manual now consistently document all of the
		'N', 'L' and '?' possibilities in '-printf %Y' output when the determination of
		the type of a symlink target fails.
		find.1 now correctly states the -prune has no effect when the -depth option is
		given.  Before, it wrongly stated that -prune would return false in that case.
		Some minor documentation improvements are listed in "Bug Fixes" below.
		** Bug Fixes
		#56820: find: improve diagnostic when a global option like -maxdepth is
		        specified after another argument like a test, thus hopefully avoiding
		        translation issues (at least French, German).
		#56142: doc: fix bug #56142 by specifying which actions inhibit the
		        default -print.
		#55272: find: improve diagnostic when -name or -iname is used with a pattern
		        containing a directory separator ('/'), suggesting to use -wholename
		        or -iwholename respectively.
		#54859: doc: fix typo in 'xargs -l' examples in texinfo manual.
		        Change from 'xargs -1' (minus one) to 'xargs -l' (minus El) in 3 places.
		#54838: doc: fix the examples of the -perm option in the texinfo documentation.
		        The example '-perm -g+w,o+w' was misplaced.
		        Bug present since FINDUTILS_4_2_27-1.
		#54262: 'find -printf "%Y"' now correctly outputs 'N' for broken symlinks
		        (ENOENT or ENOTDIR).  Previously, it output 'l' in such a case.
		        Bug introduced while attempting to fix #29460 in version v4.5.8.
		#54171: 'find -depth' now outputs the name of unreadable directories.
		        Previously, FTS-based find missed to output those entries.
		        Bug present since the FTS implementation in FINDUTILS_4_3_0-1.
		#52981: find: the '-delete' action no longer complains about disappeared files
		        when the '-ignore_readdir_race' option is given, too.  That action will
		        also returns true in such a case now.
		#52220: 'find -D' without any further argument no longer crashes.
		        Bug present since the implementation of -D in FINDUTILS_4_3_1-1.
		#51304: doc: use correct IEC unit prefixes in the documentation of 'find -size'.
		        find(1) uses binary-based units for the suffixes 'k', 'M', and 'G' of
		        the argument of the '-size' option: 1024, 1024*1024 and 1024^3.
		        Therefore, the documentation should use the correct IEC prefixes
		        kibibyte, mebibyte and gibibyte respectively (or their abbreviations
		        'KiB', 'MiB' and 'GiB').
		#50758: doc: fix the description of the -perm examples matching the permission
		        mode "022" in find's texinfo manual: the match is for the file's group
		        and 'other' mode bits instead of for user and group.
		        Bug introduced when adding the -perm examples in FINDUTILS-4.2.11.
		#50326: find no longer leaks memory for a recently added member in gnulib's
		        mount list structure.
		#50259: find -printf '%h' now outputs the correct path for arguments with one or
		        more trailing slashes.  Previously, it would e.g. output "foo" instead
		        of "." when "foo/" was passed; likewise, it would output "/user/xxx/"
		        instead of "/user" when "/user/xxx//" was passed.
		        Bug introduced in FINDUTILS-4.2.19.
		#48180: find -noop (an internal option not intended to be exposed to the user)
		        no longer crashes.  Bug introduced in FINDUTILS-4.3.1.
		#48030: find -exec + does not pass all arguments for certain specific filename
		        lengths.  After the internal (usually 128k) buffer is full and find(1)
		        executed the given command with these arguments, it would miss to run
		        the command yet another time if only one other file argument has to be
		        processed.  Bug introduced in FINDUTILS-4.2.12.
		#46784: frcode drops last char if no final newline
		** Changes to the build process
		The configure option --enable-id-cache has been removed.  It has been
		a no-op since findnutils-4.5.15.
		The configure option --enable-debug has been removed.  Debugging in
		find is now controlled by its -D option only.
		The configure option --enable-silent-rules is the default now.
		Use --disable-silent-rules or "make V=1" to get verbose build output.
		"make dist" no longer builds .tar.gz files.
		xz is portable enough and in wide-enough use that distributing
		only .tar.xz files is enough.
		Maintainer builds from the Git repository now derive the version string from
		the version control system instead of using a fixed string (changed after each
		release manually).  As a result, the inter-release builds can now be
		distinguished: e.g. "4.6.0.152-fe9c" is the 152th commit after the tag "v4.6.0"
		and has the Git short hash "fe9c".  Builds from an unclean tree are marked with
		the suffix "-dirty".
		The translation files in the PO directory are no longer version controlled;
		instead bootstrap auto-updates them from "translationproject.org" during a
		maintainer build.
		A shell-style test framework borrowed from GNU coreutils has been added.
		This allows better tests with more control over stdin, stdout, stderr,
		signals, preparatory steps, cleanup, return code verification, root-only
		tests, etc.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-05 11:16:27 +00:00
Adolf Belka
8ace58e8ac p7zip: Update to 17.03
- Update p7zip from 16.02 (Jul 2016) to 17.03 (Dec 2020)
- Version 16.02 was the last version by the previous dev team.
	A fork was created in May 2020 with version 17.01
- Rootfile updated
- Changelog
	Version 17.03
	=============
	  - add zstd to zip
	  - add hash algorithm
	    - XXHASH32
	    - XXHASH64
	    - MD2
	    - MD4
	    - MD5
	    - sha384
	    - sha512
	  - add Lzfse to dmg
	  - add lz5 to 7z
	  - add lizard to 7z
	  - update lz4 to v1.9.3
	  - add brotli to 7z
	  - update cmake build
	  - fix xz crc64 error
	  - use system local to select OEM code
	  - add rpm install
	  - fix lzma2 and flzma22 call the same algorithm
	  - add 7zr build
	  - fix tar format link file compress and decompress
	Version 17.02
	=============
	  - p7zip 17.02 is more like 7zip 17.01(only 7za and 7z),The difference from 7zip 17.01
	    and older version p7zip is the following description
	  - Supports Fast lzma2 1.0.1 compression method
	  - Update Zstd method to 1.4.5
	  - Add zstd method parameters in 7z format
	    ZSTD parameters NEW name:
	         strategy -> strat
	         fast -> fast
	         long -> long
	         WindowLog -> wlog
	         HashLog -> hlog
	         ChainLog -> clog
	         SearchLog -> slog
	         MinMatch -> slen
	         TargetLen -> tlen
	         OverlapLog -> ovlog
	         LdmHashLog -> ldmhlog
	         LdmSearchLength -> ldmslen
	         LdmBucketSizeLog -> ldmblog
	         LdmHashRateLog -> ldmhevery
	  - Fix symlink files contained inside tar and squashfs as regular file
	  - Add lz4 and Zstd decompress method to squashfs
	Version 17.01
	=============
	  - Fix BUG CVE-2018-10115
	  - Fix BUG CVE-2018-5996
	  - Fix BUG CVE-2017-17969
	  - Fix BUG CVE-2016-9296
- The bug fixes in version 17.01 address the same CVE bugs as the
	p7zip-16.02-consolidated_fixes-1.patch Therefore this patch is no longer needed
- The patches for CVE-2016-2334 & 2335 were for versions before 16.00 so are no longer needed

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-03 22:21:29 +00:00
Arne Fitzenreiter
2e2170bfb5 setup: fix field-order at addressconfig for red
i have added the gatewayfield at the line below the IP and Netmask
fields but prior this fields so the cursor jumps first the the gateway
and after this to the IP. This patch fix the activation order.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-03 22:17:37 +00:00
Adolf Belka
d06693b487 qemu: Update to 5.2.0
- Update qemu from 5.0.0 to 5.2.0
- Changelogs for 5.1.0 and 5.2.0 available at https://wiki.qemu.org/ChangeLog/
- rootfile updated
- patch no longer needed as fix built into source. patch was not utilised
	for 5.0.0 version. Patch line was commented out in previous lfs

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:46:29 +00:00
Matthias Fischer
ae94f85b02 logwatch 7.5.5: Deleted no longer needed patch for clamav 0.103.0
I've should have read the changelog from opensuse more thoroughly:

...
4a862fa [clamav] Ignore new "Activating the newly loaded database" message
...

Sorry for the noise.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:46:21 +00:00
Adolf Belka
9ab74511da screen: Update to 4.8.0
- Update screen from 4.2.1 to 4.8.0
- Changelog
	Version 4.8.0 (05/02/2020)
	  * Improve startup time by only polling for files to close
	  Fixes:
		- Fix for segfault if termcap doesn't have Km entry
		- Make screen exit code be 0 when checking --version
		- Fix potential memory corruption when using OSC 49
	Version 4.7.0 (02/10/2019)
	  * Add support for SGR (1006) mouse mode
	  * Add support for OSC 11
	  * Update Unicode ambiguous and wide tables to 12.1.0
	  * Fixes:
	  - cross-compilation support (bug #43223)
	  - a lot of manpage fixes and cleanups
	Version 4.6.2 (23/10/2017):
	  * Fixes:
		- revert changes to cursor position restore behavour (bug #51832)
		- set freed pointer to NULL (bug #52133)
		- documentation fixes
		- fix windowlist crashes (bug #43054 & #51500)
	Version 4.6.1 (10/07/2017):
	  * Fixes:
		- problems with starting session in some cases
		- parallel make install
		- segfault when querying info on nonUTF locale (bug #51402)
	Version 4.6.0 (28/06/2017):
	  * Update Unicode wide tables to 9.0 (bug #50044)
	  * Support more serial speeds
	  * Improved namespaces support
	  * Migrate from fifos to sockets
	  * Start viewing scrollback at first line of output (bug #49377)
	Version 4.5.1 (25/02/2017):
	  * Fixes:
		- logfile permissions problem (CVE-2017-5618)
		- SunOS build problem (bug #50089)
		- FreeBSD core dumps (bug #50143)
	Version 4.5.0 (10/12/2016):
	  * Allow specifying logfile's name via command line parameter '-L'
	  * Fixes:
		- broken handling of "bind u digraph U+" (bug #48691)
		- crash with long $TERM (bug #48983)
		- crash when bumping blank window
		- build for AIX (bug #49149)
		- %x improperly separating arguments
		- install with custom DESTDIR (bug #48370)
	Version 4.4.0 (19/06/2016):
	  * Support up to 24 function keys
	  * Fix runtime issues
	  * 'logfile' command, starts logging into new file upon changing
	Version 4.3.1 (28/06/2015):
	  * Fix resize bug
	Version 4.3.0 (13/06/2015):
	  * Introduce Xx string escape showing the executed command of a window
	  * Implement dead/zombie window polling, allowing for auto reconnecting
	  * Allow setting hardstatus on first line
	  New Commands:
	  * 'sort' command sorting windows by title
	  * 'bumpleft', 'bumpright' - manually move windows on window list
	  * 'collapse' removing numbering 'gaps' between windows, by renumbering
	  * 'windows' command now accepts arguments for use with querying
- Rootfile updated
- Two screen patchfiles deleted as the patch changes are now built into
	the source files

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:45:45 +00:00
Matthias Fischer
bf2ff65e6c logwatch: Update to 7.5.5
For details see:
https://build.opensuse.org/package/view_file/server:monitoring/logwatch/ChangeLog?expand=1

Plus: deleted no longer need dhcpd-patch.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-01 10:36:54 +00:00
Michael Tremer
157d64250a misc-progs: addonctrl: Replace all sprintf() with snprintf()
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
37fe3658a0 samba: Add helper script to pipe password
It is complicated to set the password in the C helper binary.

Therefore it is being set by a helper script.

This is still not an optimal solution since the password might be
exposed to the shell environment, but has the advantage that shell
command injection is no longer possible.

Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
354c3e2b45 samba: Remove option to chose user group and shell
There is no need for this being implemented and it is dangerous to allow
the user to create any shell accounts or users that belong to groups
with higher privileges.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
64883513d5 misc-progs: sambactrl: Sanitise username
Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
8e4b2125cc misc-progs: sambactrl: Remove unused smbsafeconfpdc command
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
84de1f087c misc-progs: sshctrl: Sanitise runtime for "tempstart"
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
14dc1c68f7 misc-progs: smartctrl: Sanitise device name
Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
5efedb5487 misc-progs: mpfirectrl: Use new run() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
c651dd9b6b misc-progs: extrahdctrl: Use new run() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
cf9efe511a misc-progs: addonctrl: Sanitise add-on names before use
Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
db984059b2 misc-progs: Add functions to sanitise input arguments
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
6733d973d6 misc-progs: pakfire: Use new run() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
c33f477f5b misc-progs: backupctrl: Use new run() function
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
ca060524a7 misc-progs: Introduce run()
This function invokes a new command similar to safe_system()
but without launching a shell before.

That way, it is possible to execute commands without any risk
of shell command injection from nobody.

Fixes: #12562
Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
d9f9f16366 Drop launch-ether-wake
The helper binary is being dropped and etherwake is enabled
for CAP_NET_RAW. This allows execution by unprivileged users
as needed by the web user interface (nobody).

Reported-by: Albert Schwarzkopf <ipfire@quitesimple.org>
Fixes: #12562
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-27 21:06:57 +00:00
Michael Tremer
85f5656aca Revert "make: update to 4.3"
This reverts commit f1d98a1c3f.

The new version of make seems to break building u-boot on armv5tel.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-26 11:15:04 +00:00
Arne Fitzenreiter
f1d98a1c3f make: update to 4.3
this this needed to build on systems with kernel >=5.5

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-25 19:30:45 +00:00
Michael Tremer
0de7cc50ac IPsec: Disable XFRM policy lookup for VTI devices
This speeds up throughput slightly

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-18 13:05:10 +00:00
Michael Tremer
5b2fc5d65f hostapd: Update to development version
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-18 13:03:36 +00:00
Michael Tremer
675c9ca558 ssh: Ignore any errors when stopping daemon
The SSH init script only kills the main daemon which leads to any child
processes (for remaining connections) being untouched.

killproc returns 4 (unknown error) when not all processes were killed
which is not intended here. Therefore we ignore the error and do not
pause the shut down process for a minute.

Fixes: #12544
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-13 11:12:03 +00:00
Michael Tremer
80b1dc64f2 AWS: Ensure the product UUID is uppercase
Newer kernels seem to return this in lowercase format which makes the
comparison to "EC2" fail.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-13 10:51:58 +00:00
Michael Tremer
baa9712372 AWS: Hypervisor UUID has been dropped from newer kernels
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-13 10:51:51 +00:00
Michael Tremer
3403eb308c wireless client: Try using SHA256 over SHA1 when possible
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-12 10:39:08 +00:00
Michael Tremer
5addf34780 wireless client: Add support for WPA3
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-12 10:38:59 +00:00
Arne Fitzenreiter
14cb18a539 setup: move gateway setting to red address setting.
DEFAULT_GATEWAY is used only in RED_STATIC config so it
fits better to this menu and is only selectable if red
is set to static mode.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-12 10:36:51 +00:00
Giovanni Aneloni
2b113aebc4 unbound: make local zone transparent
Change local zone to "trasnparent" instead of "typetrasnparent" to avoid NXDOMAIN when querying local hosts

Fixes: #12391
Signed-off-by: Giovanni Aneloni <giovanni.aneloni@live.com>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-07 11:55:03 +00:00
Stefan Schantl
7d425e7cfa ddns: Add latest upstream patches.
* Add patch to support listing of token providers.
* Add fix to proper encode python string.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 15:31:48 +00:00
Adolf Belka
35b8dc552d fuse: Update to 3.10.1
- Update fuse from 2.9.7 to 3.10.1
- Update also required by sshfs update
- Changelog is available at https://github.com/libfuse/libfuse/releases
- Build had to be changed from autools to meson/ninja
- Rootfiles changed
- namespace conflict fix patch no longer required. Fix now built into kernel.h

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 15:21:02 +00:00
Michael Tremer
1a886f57d8 misc-progs: ipfirereboot: Remove unused cron functions
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:50:40 +00:00
Michael Tremer
81790c8a00 misc-progs: Set some defaults for CONFIG_ROOT and SNAME
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:50:19 +00:00
Michael Tremer
1a79ef8e43 misc-progs: Drop unused upnpctrl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:50:07 +00:00
Michael Tremer
f0c39f1739 misc-progs: Drop unused updxsetperms
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:48:44 +00:00
Michael Tremer
7908de2a95 misc-progs: Drop unused ipfiredeath & ipfirerebirth
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:48:39 +00:00
Michael Tremer
5cef36ccb1 misc-progs: Drop unused applejuicectrl
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:48:34 +00:00
Michael Tremer
b37678e922 Package extended attributes in distro.img and Core Updates
System capabilities are stored in extended file system attributes
which are by default not stored in tar balls.

This patch ensures that they are packaged and extracted.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:45:02 +00:00
Matthias Fischer
15194c7c52 dhcpcd: Update to 9.4.0
For details see:
https://roy.marples.name/archives/dhcpcd-discuss/0003420.html

Former patch for Bug #12552 is now included.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-03 11:12:55 +00:00
Matthias Fischer
e49289c9ea logwatch: Fix unmatched entries from clamav
This - cosmetic - patch fixes the unnecessary unmatched "Activating the newly
loaded database..."-entries introduced with 'clamav 0.103.0'.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-29 10:18:25 +00:00
Adolf Belka
2b4353a436 iperf3: Update to version 3.9
- Update iperf3 from 3.7 to 3.9
- No changes to rootfiles
- Update patch file to remove pg flag
- Release notes from version 3.8 onwards:-

iperf 3.9 2020-08-17
--------------------
* Notable user-visible changes
  * A --timestamps flag has been added, which prepends a timestamp to
    each output line.  An optional argument to this flag, which is a
    format specification to strftime(3), allows for custom timestamp
    formats (#909, #1028).
  * A --server-bitrate-limit flag has been added as a server-side
    command-line argument.  It allows a server to enforce a maximum
    throughput rate; client connections that specify a higher bitrate
    or exceed this bitrate during a test will be terminated.  The
    bitrate is expressed in bits per second, with an optional trailing
    slash and integer count that specifies an averaging interval over
    which to enforce the limit (#999).
  * A bug that caused increased CPU usage with the --bidir option has
    been fixed (#1011).
* Notable developer-visible changes
  * Fixed various minor memory leaks (#1023).

iperf 3.8.1 2020-06-10
----------------------
* Notable user-visible changes
  * A regression with "make install", where the libiperf shared
    library files were not getting installed, has been fixed (#1013 /
    #1014).

iperf 3.8 2020-06-08
--------------------
* Notable user-visible changes
  * Profiled libraries and binaries are no longer built by default
    (#950).
  * A minimal Dockerfile has been added (#824).
  * A bug with burst mode and unlimited rate has been fixed (#898).
  * Configuring with the --enable-static-bin flag will now cause
    a statically-linked iperf3 binary to be built (#989).
  * Configuring with the --without-sctp flag will now prevent SCTP
    from being auto-detected (#1008).  This flag allows building a
    static binary (see above item) on a CentOS system with SCTP
    installed, because no static SCTP libraries are available.
  * Clock skew between the iperf3 client and server will no longer
    skew the computation of jitter during UDP tests (#842 / #990).
  * A possible buffer overflow in the authentication feature has been
    fixed.  This was only relevant when configuration authentication
    using the libiperf3 API, and did not affect command-line usage.
    Various other improvements and fixes in this area were also made
    (#996).
* Notable developer-visible changes
  * The embedded version of cJSON has been updated to 1.7.13 (#978).
  * Some server authentication functions have been added to the API
    (#911).
  * API access has been added to the connection timeout parameter
    (#1001).
  * Tests for some authentication functions have been added.
  * Various compiler errors and warnings have been fixed.

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-28 13:15:27 +00:00
Adolf Belka
50992c7321 procps: Update to 3.3.16
- update from 3.2.8 to 3.3.16
	This is also an update from procps to procps-ng
	The previous version was no longer being maintained.
- Added autogen.sh into lfs as ity is needed to create the config script.
- Added libdir=/lib line into configure command as default is /usr/lib
- Added mv commands for kill, ps & sysctl to place them into the same locations
	as the previous version of procps
- Moved lfsmake2 procps line to after pkg-config in make.sh
	The autogen line requires autoconf, libtool, gettext and pkg-config
	to be available so procps moved to after them.
- procps-3.2.8-fix_unknown_HZ_value.patch no longer required with new
	version so removed.
- rootfile updated.
- libprocps library being maintained by the same people now maitaining this
	version of procps.
- information on the releases from 3.3.13 to 3.3.16 available on
	https://gitlab.com/procps-ng/procps/-/releases

Signed-off-by: Adolf Belka <ahb.ipfire@gmail.com>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-27 10:55:03 +00:00