Commit Graph

17003 Commits

Author SHA1 Message Date
Arne Fitzenreiter
f4858c925c core160: add ethtool, sysfsutls and sysstat
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:49:07 +00:00
Adolf Belka
135bd44a62 rpcbind: Update to version 1.2.6
- Update from 1.2.5 to 1.2.6
- Update of rootfile not required
- Changelog is too large to include here. It can be downloaded from sourceforge
   https://sourceforge.net/projects/rpcbind/files/rpcbind/1.2.6/1.2.6-ChangeLog

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:43:22 +00:00
Adolf Belka
92f167fc47 ethtool: Update to version 5.13
- Update from 5.12 to 5.13
- Update of rootfile not reuired
- Changelog is no longer in the source tarball. It has to be extracted from the commits
   in the git repository.
   5.13
    netlink: work around spurious selftest failure	Michal Kubecek
    Merge branch 'review/getmodule-v4' into master	Michal Kubecek
    ethtool: Update manpages to reflect changes to getmodule (-m) command	Vladyslav Tarasiuk
    ethtool: Rename QSFP-DD identifiers to use CMIS	Vladyslav Tarasiuk
    ethtool: Refactor human-readable module EEPROM output for new API	Vladyslav Tarasiuk
    ethtool: Add netlink handler for getmodule (-m)	Vladyslav Tarasiuk
    Merge branch 'review/fec-stats-v3' into master	Michal Kubecek
    test: workaround for FEC encoding parser checks	Michal Kubecek
    netlink: stats: add an --all-groups option	Jakub Kicinski
    netlink: add support for standard stats	Jakub Kicinski
    ethtool: add nlchk for redirecting to netlink	Jakub Kicinski
    netlink: fec: support displaying statistics	Jakub Kicinski
    netlink: add FEC support	Jakub Kicinski
    json: improve array print API	Jakub Kicinski
    update UAPI header copies

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:42:56 +00:00
Adolf Belka
ba2592ada9 cmake: Update to version 3.21.0
- Update from 3.20.4 to 3.21.0
- Update of rootfile not required
- Changelog
  3.20.4 to 3.20.5
   This version update made no changes to documented features or interfaces. Some
   implementation updates were made to support ecosystem changes and/or fix regressions.
  3.20.5 to 3.21.0
   New Features
     Presets
       cmake-presets(7) gained support for specifying the install prefix in a configure preset.
       cmake-presets(7) gained support for conditional enabling of presets.
       cmake-presets(7) gained support for a ${hostSystemName} macro.
       cmake-presets(7) gained support for omitting the generator and binaryDir fields.
   Generators
     The Visual Studio 17 2022 generator was added. This is experimental and based on "Visual Studio 2022 Preview 1.1" because this version of VS has not been released.
     The Makefile Generators and the Ninja generator learned to add linker launcher tools along with the linker for C, CXX, OBJC, and OBJCXX languages. See the CMAKE_<LANG>_LINKER_LAUNCHER variable and <LANG>_LINKER_LAUNCHER target property for details.
   Languages
     CMake learned to support HIP as a first-class language that can be enabled via the project() and enable_language() commands.
     C_STANDARD, OBJC_STANDARD, and the Compile Features functionality gained support for C17 and C23.
     Source file extensions .ixx and .cppm are now treated as C++.
   Command-Line
     cmake(1) gained the --install-prefix <dir> command-line option to specify the location of the install prefix.
     cmake(1) gained the --toolchain <path/to/file> command-line option to specify a toolchain file.
     cmake(1) -E capabilities output, for some generators, may now contain a supportedPlatforms field listing platforms known to be supported in CMAKE_GENERATOR_PLATFORM.
     Messages printed to a terminal now may be colored by message type.
   Compilers
     The Fujitsu compiler is now supported using compiler id Fujitsu in traditional (Trad) mode, and compiler id FujitsuClang in Clang mode.
   Platforms
     CMake now supports the MSYS runtime environment, much like CYGWIN.
   File-Based API
     The cmake-file-api(7) "codemodel" version 2 version field has been updated to 2.3.
     The cmake-file-api(7) "codemodel" version 2 gained a new "directory" object containing directory-level information. This includes a list of installers generated by the install() command.
   Commands
     The add_custom_command() command DEPFILE option:
        may now use generator expressions,
        is now supported by Visual Studio Generators for VS 2012 and above, and
        is now supported by the Xcode generator.
     The add_custom_command(TARGET) command (for Build Events) gained support for resolving target-dependent generator expressions.
     The build_command() command gained a PARALLEL_LEVEL option.
     The file(COPY_FILE) command was added to copy a single file.
     The file(GET_RUNTIME_DEPENDENCIES) command gained new POST_INCLUDE_FILES and POST_EXCLUDE_FILES arguments.
     The file(REAL_PATH) command gained the option EXPAND_TILDE to replace any leading tilde with the path to the user's home directory.
     The file(RENAME) command learned to optionally capture failure in a result variable. It also gained a NO_REPLACE option to fail if the destination exists.
     The install() command gained a new IMPORTED_RUNTIME_ARTIFACTS mode, which can be used to install the runtime artifacts of imported targets.
     The install() command gained a new RUNTIME_DEPENDENCY_SET mode, which can be used to install runtime dependencies using file(GET_RUNTIME_DEPENDENCIES).
     The install(TARGETS) command gained new RUNTIME_DEPENDENCIES and RUNTIME_DEPENDENCY_SET arguments, which can be used to install runtime dependencies using file(GET_RUNTIME_DEPENDENCIES).
     The install(SCRIPT|CODE) command supports a new option ALL_COMPONENTS which allows the corresponding code to run for every component of a per component installation.
     The project() command now sets variables PROJECT_IS_TOP_LEVEL and <PROJECT-NAME>_IS_TOP_LEVEL to indicate whether it was called in a top-level CMakeLists.txt file.
   Variables
     The CMAKE_TOOLCHAIN_FILE environment variable was added to provide a default value for the CMAKE_TOOLCHAIN_FILE variable.
   Properties
     The IMPORTED_TARGETS directory property was added to get a list of Imported Targets created in the current directory.
     The XCODE_EMBED_APP_EXTENSIONS target property was added to tell the Xcode generator to embed app extensions such as iMessage sticker packs. Aspects of the embedding can be customized with the XCODE_EMBED_APP_EXTENSIONS_PATH, XCODE_EMBED_APP_EXTENSIONS_CODE_SIGN_ON_COPY and XCODE_EMBED_APP_EXTENSIONS_REMOVE_HEADERS_ON_COPY properties.
   Modules
     The FindBLAS and FindLAPACK modules learned to support the serial Fujitsu_SSL2 and parallel Fujitsu_SSL2BLAMP libraries.
     The FindDevIL module now provides imported targets.
     The FindIconv module now has version support.
     The FindIntl module now has version support.
     The FindMPI module learned to support Fujitsu and FujitsuClang in both host and cross compiling modes.
     The FindMsys module was added to find MSYS installations. Like FindCygwin, it is used automatically by some other find modules to locate UNIX-style tools on Windows.
     The FindOpenMP module learned to support Fujitsu and FujitsuClang.
     The FindVulkan module gained imported targets Vulkan::Headers and Vulkan::glslangValidator.
     The UseJava module command add_jar gained a RESOURCES option to allow explicit naming of resources with non-optional namespace.
     The UseSWIG module use now standard library naming conventions for the CSharp language. See policy CMP0122.
     The UseSWIG module now supports using the swig tool to generate implicit dependencies with the Xcode generator.
   Generator Expressions
     A new TARGET_RUNTIME_DLLS generator expression was added.
   CTest
     ctest(1) gained documentation for its ability to capture Additional Test Measurements.
     ctest(1) learned to recognize files attached to a test at run time. Previously it was only possible to attach files to tests at configure time by using the ATTACHED_FILES or ATTACHED_FILES_ON_FAIL test properties. See Additional Test Measurements for more information.
     ctest(1) gained a --output-junit option to write test results to a JUnit XML file.
     The ctest_build() command gained a PARALLEL_LEVEL option.
   CPack
     The CPack DragNDrop Generator gained option CPACK_DMG_FILESYSTEM to control the .dmg filesystem.
     The CPack IFW Generator now supports hyphens in names given to cpack_ifw_configure_component() or cpack_ifw_configure_component_group() as DEPENDS or DEPENDENCIES arguments. This requires QtIFW 3.1 or later.
     The CPack NSIS Generator gained a new CPACK_NSIS_EXECUTABLE variable to specify the makensis executable to use instead of the default one.
     The CPACK_CUSTOM_INSTALL_VARIABLES variable was added to set variables in cmake_install.cmake script invocations made by CPack.
   Deprecated and Removed Features
     Undocumented CMAKE_SYSTEM_NAME version-stripping behavior has been removed entirely. If it is set by a -D flag or by a toolchain file, it is left unaltered, even if it still contains a version number. Similar CMAKE_HOST_SYSTEM_NAME version-stripping behavior, also undocumented, has been moved earlier, before project() or enable_language() is called.
     ARMClang cpu/arch compile and link flags are no longer added automatically based on the CMAKE_SYSTEM_PROCESSOR variable or the undocumented CMAKE_SYSTEM_ARCH variable. They must be specified explicitly. See policy CMP0123.
   Other Changes
     The find_file(), find_path(), find_program(), and find_library() commands handle cache variables in the same way regardless how they are defined. See policy CMP0125 for details.
     The find_file(), find_path(), find_program(), and find_library() commands gained the option NO_CACHE to store find result in normal variable.
     The foreach() command now isolates loop variables in the loop scope. See policy CMP0124 for details.
     The list() command's GET, INSERT, SUBLIST, and REMOVE_AT subcommands now error with invalid (i.e., non-integer) values are given as any of their index arguments based on the setting of policy CMP0121.
     The set(CACHE) command no longer removes a normal variable of the same name, if any. See policy CMP0126.
     target_link_libraries() calls referencing object libraries via the TARGET_OBJECTS generator expression now place the object files before all libraries on the link line, regardless of their specified order. See documentation on Linking Object Libraries via $<TARGET_OBJECTS> for details.
     The Ninja Generators now pass source files and include directories to the compiler using absolute paths. This makes diagnostic messages and debug symbols more consistent, and matches the Makefile Generators.
     The NMake Makefiles generator now encodes the generated makefiles as UTF-8 with a BOM when using nmake from VS 9 or above.
     The Visual Studio Generators for VS 2010 and above now place per-source preprocessor definitions after target-wide preprocssor definitions. This makes VS consistent with the Ninja Generators and the Makefile Generators.
     The precompiled binaries provided on cmake.org now support liblzma multi-threading. See the CPACK_THREADS and CPACK_ARCHIVE_THREADS variables.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:42:35 +00:00
Adolf Belka
79516fed9a sysfsutils: Update to 2.1.1
- Update from 1.3.0 (2005) to 2.1.1 (2021)
- Update rootfile
- version 1.3.0 was from 2005. Version 2.1.0 was from 2006. No other updates have been
   carried out since 2006 until Feb 2021 when the repository was migrated from CVS
   to git. https://github.com/linux-ras/sysfsutils/releases
- Installed iso, that was created from build, into testbed vm system. All menu's opened
   and no issues found. Not 100% sure what to look for as I am not totally clear what
   the library would be used for or by which programs. Probably needs testing by someone
   who lnows what the sysfsutils library is used for.
- Ran find-dependencies on the original library system before build and then on the new
   library system after building and in both cases nothing was flagged up. So it looks
   like no other programs are linked to the library.
- pcmciautils required one of the sysfsutils include files to be available during the
   build. ./configure was modified to allow pcmciautils to find the include file
- Changelog for changes from 2.1.0 to 2.1.1
    Moved to git from CVS repository
    Modernized build system
    Source compiles on latest compilers
    Various bug fixes
    Removed Changelog and NEWS files
    Adjusted COPYING file to reflect set of directories covered under GPLv2
    Added SUSE-specific libsysfs.conf
    Improvements to adopt git workflow
    Integration with Travis-CI
    Updated the documentation
  Special thanks to all the sysfsutils package maintainers.
    Thanks to: Aurelien Jarno, Christopher Engelhard, Guillem Jover,
               Kamalesh Babulal, Lee Duncan, Martin Pitt, Timm Bäder

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:42:10 +00:00
Stefan Schantl
55da553742 firewall.cgi: Bring back check for single IP when using DNAT.
This check has been removed by commit: bbe8e009b8

So it was able to create DNAT rules with a network as target.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:41:12 +00:00
Stefan Schantl
446dc99e25 firewall.cgi: Map rule if manual target address belongs to IPFire
Automatically map the rule target if a manual entered target address is
assigned to a network zone.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:41:00 +00:00
Stefan Schantl
a9611629cc firewall.cgi: Allow to creating input rules from Orange to another zone.
It was not able to create a firewall rule from the orange network to a
different network address of the firewall. ( For example: Orange -> IPFire's green address)

These rules always have been handled as FORWARD rules which is totaly
wrong.

Fixes #12265.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Tested-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:40:45 +00:00
Leo-Andres Hofmann
fc81e493b1 qos.cgi: Fix missing translation
Fixes: #12443

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:39:33 +00:00
Arne Fitzenreiter
09c3db1cff core160: add updated cgi files
html/cgi-bin/entropy.cgi        | 11 -----------
 html/cgi-bin/hardwaregraphs.cgi | 32 --------------------------------
 html/cgi-bin/media.cgi          | 11 -----------
 html/cgi-bin/memory.cgi         | 14 --------------
 html/cgi-bin/netexternal.cgi    | 11 -----------
 html/cgi-bin/netinternal.cgi    | 17 -----------------
 html/cgi-bin/netother.cgi       | 19 -------------------
 html/cgi-bin/netovpnrw.cgi      | 10 ----------
 html/cgi-bin/netovpnsrv.cgi     | 14 --------------
 html/cgi-bin/qos.cgi            | 11 -----------
 html/cgi-bin/system.cgi         | 18 ------------------

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:37:51 +00:00
Leo-Andres Hofmann
4190b2a621 rrd graphs: Fix indentation after removing graph output
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:32:17 +00:00
Leo-Andres Hofmann
05c8c10f19 rrd graphs: Remove unused individual graph output
PNG generation has been moved to getrrdimage.cgi

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 08:32:12 +00:00
Adolf Belka
1f60759eab sysstat: Update to version 12.5.4
- Update from 6.0.2 (2005) to 12.5.4 (2021)
- sysstat-6.0.2-sysconf.patch no longer required. Built into source as standard now.
- Update rootfile
   rootfile made the same as previous version. New options are available, such as
   pidstat and tapestat but they have been commented out in the rootfile. If required
   in the future they can be uncommented.
- iso that was built with this sysstat was installed into vm testbed and confirmed
   that all graphs working, especially those related to disk stats.
- Changelog is too large to show here. Full details for all previous versions can be
   found in the CHANGES file in the source tarball.
- At least 25 bugs fixed between the two versions.

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:28:30 +00:00
Adolf Belka
a673226e42 minidlna: Update to version 1.3.0
- Update from 1.2.1 to 1.3.0
- Update of rootfile not required
- Changelog
   1.3.0 - Released 24-Nov-2020
     - Fixed some build warnings when building with musl.
     - Use $USER instead of $LOGNAME for the default friendly name.
     - Fixed build with GCC 10
     - Fixed some warnings from newer compilers
     - Disallow negative HTTP chunk lengths. [CVE-2020-28926]
     - Validate SUBSCRIBE callback URL. [CVE-2020-12695]
     - Fixed spurious warnings with ogg coverart
     - Fixed an issue with VLC where browse results would be truncated.
     - Fixed bookmarks on Samsung Q series
     - Added DSD file support.
     - Fixed potential stack smash vulnerability in getsyshwaddr on macOS.
     - Will now reload the log file on SIGHUP.
     - Worked around bad SearchCriteria from the Control4 Android app.
     - Increased max supported network addresses to 8.
     - Added forced alphasort capability.
     - Added episode season and number metadata support.
     - Enabled subtitles by default for unknown DLNA clients, and add enable_subtitles config option.
     - Fixed discovery when connected to certain WiFi routers.
     - Added FreeBSD kqueue support.
     - Added the ability to set the group to run as.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:27:13 +00:00
Arne Fitzenreiter
89f7a4a096 core160: add logs.cgi/firewalllog.dat
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:23:07 +00:00
Stefan Schantl
ca1f4a07ab firewalllog.dat: Proper display protocol names.
In some cases iptables logs the protocol number instead of the name.
When accessing the logs via the WUI, this number has been displayed as used
protocol, which is very hard to read and understand.

This commit adds a new function to the general-functions.pl, which
generates a hash to translate the protocol number into the protocol
name.

Fixes #11282.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:21:16 +00:00
Adolf Belka
5c9faddc97 texinfo: Update to version 6.8
- Update from 6.7 to 6.8
- Update rootfile
- Changelog is too large to include here. Full details can be found in the
   ChangeLog file in the source tarball
   Following is the content of the NEWS file from the source tarball which highlights
    noteworthy changes, very tersely.
   6.8 (3 July 2021)
    * Language
      . new command @displaymath for formatting of mathematical notation
      . @example takes an argument to specify the language
      . mark these commands as deprecated, not to be used:
        @centerchap, @definfoenclose, @refill, @inforef.
      . new paper size @bsixpaper
    * texi2any
      . should be faster as Perl XS parser is enabled by default
      . SHOW_MENU customization variable replaced by FORMAT_MENU.
        FORMAT_MENU set to 'menu' is the same as SHOW_MENU set to 1, and
        FORMAT_MENU set to 'nomenu' is the same as SHOW_MENU set to 0.
      . only check menu structure if CHECK_NORMAL_MENU_STRUCTURE variable is set
      . changes to HTML output:
          . MathJax support for display of math.  new variables HTML_MATH,
            MATHJAX_SCRIPT and MATHJAX_SOURCE.
          . new variables JS_WEBLABELS and JS_WEBLABELS_FILE to support
            JavaScript License Web Labels
          . by default, use sectional tables of contents instead of menus
          . use section names in links by default (configure with
            xrefautomaticsectiontitle customization variable)
          . CONTENTS_OUTPUT_LOCATION sets location of table of contents
          . document sections wrapped in <div> elements
          . new variable USE_NODE_DIRECTIONS to use node or section structure
            for node directions
          . copiable anchor links for definitions with COPIABLE_ANCHORS variable
          . experimental JavaScript browsing interface enabled with INFO_JS_DIR
          . don't add an extra period before file extension given as an argument
            to @image if image file is not found
    * info
      . support compressed dir files
    * texi2dvi
      . stop on first error in input file
    * texinfo.tex
      . put logical page numbers into PDF's ('page labels')
      . put chapter numbers in the PDF outline
      . new Finnish translation
    * Distribution
      . autoconf 2.71, automake 1.16.3, gettext 0.21

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:18:54 +00:00
Adolf Belka
7249b3446b taglib: Update to version 1.12
- Update from 1.11.1 to 1.12
- Update rootfile
- Changelog
   TagLib 1.12 (Feb 16, 2021)
    * Added support for WinRT.
    * Added support for Linux on POWER.
    * Added support for classical music tags of iTunes 12.5.
    * Added support for file descriptor to FileStream.
    * Added support for 'cmID', 'purl', 'egid' MP4 atoms.
    * Added support for 'GRP1' ID3v2 frame.
    * Added support for extensible WAV subformat.
    * Enabled FileRef to detect file types based on the stream content.
    * Dropped support for Windows 9x and NT 4.0 or older.
    * Check for mandatory header objects in ASF files.
    * More tolerant handling of RIFF padding, WAV files, broken MPEG streams.
    * Improved calculation of Ogg, Opus, Speex, WAV, MP4 bitrates.
    * Improved Windows compatibility by storing FLAC picture after comments.
    * Fixed numerical genres in ID3v2.3.0 'TCON' frames.
    * Fixed consistency of API removing MP4 items when empty values are set.
    * Fixed consistency of API preferring COMM frames with no description.
    * Fixed OOB read on invalid Ogg FLAC files (CVE-2018-11439).
    * Fixed handling of empty MPEG files.
    * Fixed parsing MP4 mdhd timescale.
    * Fixed reading MP4 atoms with zero length.
    * Fixed reading FLAC files with zero-sized seektables.
    * Fixed handling of lowercase field names in Vorbis Comments.
    * Fixed handling of 'rate' atoms in MP4 files.
    * Fixed handling of invalid UTF-8 sequences.
    * Fixed possible file corruptions when saving Ogg files.
    * Fixed handling of non-audio blocks, sampling rates, DSD audio in WavPack files.
    * TableOfContentsFrame::toString() improved.
    * UserTextIdentificationFrame::toString() improved.
    * Marked FileRef::create() deprecated.
    * Marked MPEG::File::save() with boolean parameters deprecated,
      provide overloads with enum parameters.
    * Several smaller bug fixes and performance improvements.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:18:29 +00:00
Arne Fitzenreiter
c0ce328e68 core160: add less
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:17:06 +00:00
Adolf Belka
af766db198 less: Update to version 590
- Update from 581.2 to 590
- Update of rootfile not required
- Changelog
   Major changes between "less" versions 581 and 590
    * Make less able to read lesskey source files (deprecating lesskey).
    * If XDG_CONFIG_HOME is set, find lesskey source file
      in $XDG_CONFIG_HOME/lesskey rather than $HOME/.lesskey.
    * If XDG_DATA_HOME is set, find and store history file
      in $XDG_DATA_HOME/lesshst rather than $HOME/.lesshst.
    * Add the --lesskey-src option.
    * Add the --file-size option.
    * With -F, if screen is resized to make file fit on one screen, don't exit.
    * Fix bug which could leave terminal in mouse-reporting mode
      after exiting less.
    * Fix bug which caused failure to respond to window resize.
    * Fix backslash bug searching in tag file.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:16:32 +00:00
Adolf Belka
b8239208ef hplip: Update to version 3.21.6
- Update from 3.21.2 to 3.21.6
- Update of rootfile
- Changelog
   3.21.6
    Added support for following new Distro's:
     Fedora 34
     Ubuntu 21.04
     OpenSuse 15.3
     Debian 10.9
   3.21.4
    Added support for following new Distro's:
     LinuxMint 20.1
     Debian 10.8
    Added support for the following new Printers:
     HP Envy 6400 series

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:16:04 +00:00
Arne Fitzenreiter
48e1d3ff46 core160: add shutdown.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:15:00 +00:00
Leo-Andres Hofmann
f27fb33d47 Run "./make.sh lang"
Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:13:22 +00:00
Leo-Andres Hofmann
e64a5b4f74 shutdown.cgi: Add "reboot with filesystem check" button
ipfirereboot.c is able to force a file system check during reboot.
This patch makes this function available in the shutdown GUI.

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:11:50 +00:00
Arne Fitzenreiter
f8c7460446 core160: add libloc
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:08:28 +00:00
Peter Müller
84f741e7bd libloc: update to 0.9.7
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:07:25 +00:00
Arne Fitzenreiter
0887a6b29c core160: add ddns
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:05:43 +00:00
Stefan Schantl
785903dbee ddns: Update to 014.
This is a major update to the latest available version of ddns.

Remove patches which are part of the upstream release.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:04:53 +00:00
Arne Fitzenreiter
34694d34bf core160: add style.css
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:02:52 +00:00
Leo-Andres Hofmann
3cc3edeca4 RRD graphs: Remove padding around graph images
The images inherited padding from the general design and
have been resized to fit the layout, resulting in blurred graphs.
This removes the padding and shows the graphs in full size.

Fixes: #12657

Signed-off-by: Leo-Andres Hofmann <hofmann@leo-andres.de>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 09:01:46 +00:00
Arne Fitzenreiter
d10a558196 core160: add firewall.cgi
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 08:58:21 +00:00
Stefan Schantl
ec0ed11d71 firewall.cgi: Make checked and selected hashes private for each single function.
Some functions uses those two hashes and are altering them - making them
private will erase and fill it with new data.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 08:56:56 +00:00
Stefan Schantl
04b6a4baa8 firewall.cgi: Fix multiple usage of configured net or interface.
When configuring a standard network as source or target the same
interface would be pre-selected as firewall interface when editing an
existing rule.

In case an existing input rule with an configured firewall interface
should be changed, the same network device has been pre-selected in the
standard networks dropdown box.

This easily confuses users and may lead to false configurations when
saving an edited rule.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 08:56:42 +00:00
Stefan Schantl
0e9b164722 firewall.cgi: Remove faulty assignments for selected hash.
The removed assignments are wrong because both are trying to assign
something different to the same key and will overwrite each other.

Secondary the assignment to the hash is not needed at this place, so it
safely can be removed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 08:56:07 +00:00
Arne Fitzenreiter
ee2cd894cd core160: add poppler
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 08:52:41 +00:00
Adolf Belka
1c5aa4affc poppler: Update to version 21.07.0
- Update from 21.05.0 to 21.07.0
- Update of rootfile
- Changelog is too large to include here. Full details can be found in the ChangeLog file
   in the source tarball. This is a collection of all the commits made.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-02 08:42:12 +00:00
Arne Fitzenreiter
bdac4c81d8 core160: add openssl
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-24 22:21:08 +02:00
Arne Fitzenreiter
a8366ef743 openssl: update to 1.1.1k
This update fix:
SM2 Decryption Buffer Overflow (CVE-2021-3711)
Read buffer overruns processing ASN.1 strings (CVE-2021-3712)
https://www.openssl.org/news/secadv/20210824.txt

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-24 22:17:06 +02:00
Arne Fitzenreiter
b040e0fe32 core160: add perl-MIME-Lite
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:55:02 +00:00
Adolf Belka
ce7054ba18 perl-MIME-Lite: Update to version 3.033
- Update from 3.030 (Nov 2013) to 3.033 (Jun 2021)
- Update of rootfile not required
- Changelog
   Version 3.033
     No changes since previous version, just made non-trial.
   Version 3.032
     Fix an error in printing to Net::SMTP (thanks, Peter Heirich)
     Add "use warnings" and require v5.6
   Version 3.031
     Add an SSL option to connect to the SMTP relay via SSL on port 465. (thanks,
      Max Maischein)
     Document some tips on using non-ASCII content with MIME::Lite (thanks,
      traveljury.com and Tom Hukins)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:53:59 +00:00
Arne Fitzenreiter
20743618b6 core160: add pcre
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:53:09 +00:00
Adolf Belka
3850aa4c89 pcre: Update to version 8.45
- Update from 8.44 to 8.45
- Updated rootfile
- Checked the dependencies of the old lib versions using find-dependencies
   nothing flagged
- Changelog
   Version 8.45 15-June-2021
    This is the final release of PCRE1. A few minor tidies are included.
   1. CMakeLists.txt has two user-supplied patches applied, one to allow for the
      setting of MODULE_PATH, and the other to support the generation of pcre-config
      file and libpcre*.pc files.
   2. There was a memory leak if a compile error occurred when there were more
      than 20 named groups (Bugzilla #2613).
   3. Fixed some typos in code and documentation.
   4. Fixed a small (*MARK) bug in the interpreter (Bugzilla #2771).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:52:19 +00:00
Arne Fitzenreiter
e9ab203103 core160: add iproute2
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:51:35 +00:00
Adolf Belka
c175e58946 iproute2: Update to version 5.13.0
- Update from 5.12.0 to 5.13.0
- Update of rootfile not required
- Changelog is not available in source tarball and not on source website
   Below info obtained from the commits from the git repository
   devlink: Fix printf() type mismatches on 32-bit architectures	Ben Hutchings
   utils: Fix BIT() to support up to 64 bits on all architectures	Ben Hutchings
   uapi: update headers to 5.13	Stephen Hemminger
   devlink: Fix link errors on some systems	Roi Dayan
   tc: pedit: add decrement operation	Asbjørn Sloth Tønnesen
   tc: pedit: parse_cmd: add flags argument	Asbjørn Sloth Tønnesen
   iplink: support for WWAN devices	Sergey Ryazanov
   iplink: add support for parent device	Sergey Ryazanov
   Import wwan.h uapi file	David Ahern
   man: fix syntax for ip link property	Stephen Hemminger
   seg6: add support for SRv6 End.DT46 Behavior	Paolo Lungaroni
   Update kernel headers	David Ahern
   utils: bump max args number to 512 for batch files	Guillaume Nault
   uapi: update kernel headers to 5.13-rc6	Stephen Hemminger
   Merge branch 'devlink-rate-support' into next	David Ahern
   devlink: Add ISO/IEC switch	Dmytro Linkin
   devlink: Add port func rate support	Dmytro Linkin
   devlink: Add helper function to validate object handler	Dmytro Linkin
   Update kernel headers	David Ahern
   devlink: Add optional controller user input	Parav Pandit
   police: Add support for json output	Roi Dayan
   tc: fq: add horizon attributes	Eric Dumazet
   configure: convert LIBBPF environment variables to command-line options	Hangbin Liu
   configure: add options ability	Hangbin Liu
   ss: update ss man page	Roman Mashak
   tc: f_flower: Add missing ct_state flags to usage description	Ariel Levkovich
   tc: f_flower: Add option to match on related ct state	Ariel Levkovich
   libgenl: make genl_add_mcast_grp set errno on error	Florian Westphal
   lib/fs: fix issue when {name,open}_to_handle_at() is not implemented	Heiko Thiery
   config.mk: Rerun configure when it is newer than config.mk	David Ahern
   ip: dynamically size columns when printing stats	Jakub Kicinski
   seg6: add counters support for SRv6 Behaviors	Paolo Lungaroni
   tc: htb: improve burst error messages	Andrea Claudi
   tipc: bail out if key is abnormally long	Andrea Claudi
   tipc: bail out if algname is abnormally long	Andrea Claudi
   tipc: call a sub-routine in separate socket	Hoang Le
   tc-cake: update docs to include LE diffserv	Tyson Moore
   dcb: fix memory leak	Andrea Claudi
   dcb: fix return value on dcb_cmd_app_show	Andrea Claudi
   lib: bpf_legacy: avoid to pass invalid argument to close()	Andrea Claudi
   tc: q_ets: drop dead code from argument parsing	Andrea Claudi
   ip: align the name of the 'nohandler' stat	Jakub Kicinski
   Update kernel headers	David Ahern
   Merge branch 'rdma-copy-on-fork' into next	David Ahern
   rdma: Add copy-on-fork to get sys command	Gal Pressman
   rdma: update uapi headers	Gal Pressman
   mptcp: make sure flag signal is set when add addr with port	Jianguo Wu
   Merge branch 'main' into next	David Ahern
   ip: Add nodst option to macvlan type source	Jethro Beekman
   Merge branch 'rdma-resource-tracking' into next	David Ahern
   rdma: Add SRQ resource tracking information	Neta Ostrovsky
   rdma: Add context resource tracking information	Neta Ostrovsky
   rdma: Update uapi headers	Neta Ostrovsky
   Update kernel headers	David Ahern

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:51:09 +00:00
Arne Fitzenreiter
fe16865fb2 core160: add suricata and libhtp
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:49:13 +00:00
Matthias Fischer
1cfbca8e69 libhtp: Update to 5.0.38
For details see:
https://github.com/OISF/libhtp/releases/tag/0.5.38

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:31:48 +00:00
Matthias Fischer
bacde6d9c1 suricata: Update to 5.0.7
For details see:

https://forum.suricata.io/t/suricata-6-0-3-and-5-0-7-released/1489

and

https://redmine.openinfosecfoundation.org/versions/166

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Acked-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:31:32 +00:00
Adolf Belka
4a53126945 traceroute: Update to version 2.1.0
- Update from 2.0.18 (2011) to 2.1.0 (2016 - latest version)
- Update of rootfile not required
- Changelog
    2016-03-08  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.1.0
	*  Improve the main loop for better interactivity.
	   Instead of waiting silently for maximum expiration time of probes
	    in progress, use timeout of the first probe (which will be printed
	    first from now) only.
	*  Speedup wait mechanism.
	   Traditional traceroute implementation always waited the whole timeout
	    for any probe. But if we already have some replies from the same hop,
	    or even from some next hop, we can use the round trip time
	    of such a reply as a hint to determine the actual reasonable
	    amount of time to wait.
	   Now the `-w' option has a form of three (in general) float values
	    separated by a comma (or a slash): `-w MAX_SECS,HERE,NEAR' .
	    (last two are optional). MAX_SECS specifies the maximum time
	    (in seconds) to wait, in any case.
	   The optional HERE specifies a factor to multiply the round trip time
	    of an already received response from the same hop.
	   The resulting value is used as a timeout for the probe, instead of
	    (but no more than) MAX_SECS. The optional NEAR specifies a similar
	    factor for a response from some next hop.
	   The time of the first found result is used in both cases.
	   First, we look for the same hop (of the probe which will be printed
	    first from now). If nothing found, then look for some next hop.
	   If nothing found, use MAX_SECS. If HERE and/or NEAR have zero values,
	    the corresponding computation is skipped.
	   HERE and NEAR are always set to zero if only MAX_SECS is specified
	    (which provides compatibility with previous versions). Thus, if your
	    scripts use `-w SECS', then nothing changed for you, since
	    the lonely SECS implies `-w SECS,0,0' .
	   Defaults are 5.0 seconds for MAX_SECS, 3.0 times for HERE and
	    10.0 times for NEAR.
	   Certainly, the new algorithm can lead to premature expiry
	    (especially when response times differ at times) and printing "*"
	    instead of a time. Anyway, you can always switch this algorithm off,
	    just by specifying `-w' with the desired timeout only (fe. `-w 5').
	   We continue to wait whole MAX_SECS when one probe per time
	    must be sent (`--sport', `-P proto'), because it seems more harmful
	    rather than helpful to try to wait less in such cases.
	   To provide compatibility with 2.0.x versions, use:
		traceroute -w 5
	    (or any other desired `-w' value).
	*  Hint people to use the system traceroute(8) instead of
	    tcptraceroute wrapper (by providing a stderr header).
	   The using of this wrapper is a little bit harmful, since it has
	    less possibilities and a little different set of options.
	   For those who are used to use tcptraceroute in cmdline,
	    just create a link with that name to the system traceroute.
	   When invoked as "tcp*", it then behaves as `traceroute -T'.
	   (The simple manual page added for this case in the wrapper subdir).
	   The original tcptraceroute had some options differ ("lpNSAE"),
	    but they was rare used. Most common "dnFifmqwst" was just the same.
	   Therefore it should be painless to use the system binary directly,
	    instead of the limited wrapper (which is still provided indeed).
    2016-02-15  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.0.22
	*  Some portability fixing and improvements (Felix Janda)
	*  Require clear numbers for options and arguments (Sergey Salnikov)
	*  Drop compilation date from the version string (Debian #774365)
	*  New tcp module option `reuse', which utilize SO_REUSEADDR
	    to reuse local port numbers for the huge workloads (Richard Sheehan)
	*  Avoid poll(2) call with spurious zero timeout in some rare cases
	    by rounding the value properly using ceil(3)
    2014-11-12  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.0.21
	*  Fix `--mtu' and `-F' working on kernels >= 3.13
	*  Some manual page improving (Christopher Mann)
    2014-06-14  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.0.20
	*  Describe all complementary long options in the man page (Jan Synacek)
	*  Use correct service name for AS lookups (Frederic Mangano)
	*  Avoid some rare case null dereference (geogriffin@jsgriff.com)
	*  Improve expiration check for simultaneous probes
    2012-11-19  Dmitry Butskoy  <Dmitry@Butskoy.name> - 2.0.19
	*  DCCP protocol support (rfc4340), by Samuel Jero
	    Use "-D" option for it (the protocol-specific options
	    are available too).
	*  Update COPYING and COPYING.LIB license files to the latest
	    published ones (due to FSF address changes etc.) (Jan Synacek)
	*  Add mention of "-l" option to manual (Filip Holec)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:31:04 +00:00
Arne Fitzenreiter
a66e5d3c7b core160: add Text-Tabs+Wrap
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:29:30 +00:00
Adolf Belka
fb9e027b98 Text-Tabs+Wrap: Update to 2013.0523
- Update from 2005.0824 to 2013.0523 - latest version
- Update of rootfile required
- Changelog
   = 2013/05/23
     Change module 'NAME'
   = 2013/05/22
     Typos
   = 2013/04/26
     Minor test suite fixes - bug 81698.
     Fixed bug 79766 -- an extraneous "=" in a regex.
     Changed the license to qualify as an "open source" license.
   = 2012/08/18
     Packaging fix.
     Minor documentation fixes.
   = 2012/08/15
     Minor fixes to test suites.
     Added back versions to support old versions of perl.
   = 2009/04/17
     Added support for Unicode combining characters to both
      Text::Tabs and Text::Wrap, plus a new test suite for each
      of these new functionalities.  --tchrist
   = 2009/03/05
     Test improvements from Dave Mitchel sent back in 2005...
     Added code to increase $columns if it's not big enough to accommodate
      the subsequent tab.
     Minor documentation fixes from David Landgren <david at landgren.net>.
     Use warnings::warnif instead of just warn for columns < 2.  Appled per
      request of Rafael Garcia-Suarez <rgarciasuarez at gmail.com>.
   = 2006/11/17
     Text::Tabs can handle newlines now so the BUGS section has been removed
      per request from Aristotle Pagaltzis.
   = 2006/07/11
     Further bomb-proofing to pass more tests: Dan Jacobson <jidanni at
      jidanni dot org> found another way to generate a "this shouldn't happen".
   = 2006/07/05
     Made documentation and code changes to address perlbug:
      https://rt.perl.org/rt3/Ticket/Display.html?id=30229
     Added in changes from the distributed-with-perl version.  This took
      care of perlbug: https://rt.perl.org/rt3/Ticket/Display.html?id=34902
     It also took care of suggestion from Matthijs Bomhoff <matthijs
      at bomhoff dot nl>.
     Made documentation changes (added EXAMPLES) as per a suggestion
      from Gabor Blasko <gblasko at cs dot columbia dot edu>
     belg4mit at MIT dot EDU reported that $columns==1 die'd.  No longer.
     Added tests for each bug report.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-08-16 06:27:12 +00:00