Commit Graph

40 Commits

Author SHA1 Message Date
Vincent Li
8a0ca16bae Loongarch64: initial change for tool chain build
1. add loongarch64 in make.sh

2. updated many source tar balls with config.guss
   and config.sub with loongarch64 support

3. remove rust and surricata for now

4. workaround binary env dynamic linker missing
   by symbolic link tools_loongarch64/lib to lib64
   when ./make.sh build

   cd build_loongarch64; ln -s tools_loongarch64/lib lib64

./make.sh toolchain to build tool chain
./make clean to start fresh
./make.sh gettoolchain to extract tool chaina from cache
./make.sh build to build software and image

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2024-12-15 09:09:28 -08:00
Matthias Fischer
7b4155905c monit: Update to 5.34.2
For details see:
https://mmonit.com/monit/changes/

"Fixed: The network protocol test may occasionally fail with a
"Poll failed: Interrupted system call" error."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-14 09:15:20 +00:00
Matthias Fischer
384c5ba18e monit: Update to 5.34.1
For details see:
https://mmonit.com/monit/changes/

"Fixed: The check program now avoids leaving zombie processes between cycles."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-10-09 18:26:01 +00:00
Matthias Fischer
7ecbb7d9da monit: Update to 5.34.0
Changelog is rather long, for details see:
https://mmonit.com/monit/changes/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2024-06-27 15:55:52 +02:00
Matthias Fischer
3e4e65dd28 monit: Fix for Bug #13246 - No such file or directory '/etc/monit.d'
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-15 16:46:49 +00:00
Matthias Fischer
f74552d5b8 monit 5.33: Bumped PAK_VER to 22 due to removing the old OpenSSL files
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-07 09:25:34 +00:00
Matthias Fischer
6b53d3b129 monit: Update to 5.33.0
For details see:
https://mmonit.com/monit/changes/

    "New: Added click-jacking protection headers to Monit HTTP GUI (the
    SAMEORIGIN iframe is allowed).
    Fixed: Issue #1035: If the start, stop or restart program statement
    contains the equal sign, which is not followed by a space character,
    the configuration is not parsed correctly.
    Fixed: Issue #1047: If the MariaDB server doesn't allow access to the
    host, from which Monit test is running, Monit reported: Invalid
    handshake packet sequence id -- not MySQL protocol.
    Fixed: Add the missing responsetime option to the ping test."

For more details see:
https://bitbucket.org/tildeslash/monit/commits/tag/release-5-33-0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2023-03-05 15:03:27 +00:00
Michael Tremer
c183124f58 Bump PAK_VER for all packages that use SERVICES
Since we have extended services.cgi that it reads the Services field
from the Pakfire metadata, we will need to make sure that that metadata
is going to be on those systems.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-09-15 10:43:54 +00:00
Peter Müller
5dc1ce99a5 monit: Fix BLAKE2 checksum
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-02 15:21:06 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Matthias Fischer
80a477466c monit: Update to 5.32.0
For details see:
https://mmonit.com/monit/changes/

    "Fixed: Issue #1028: If the Monit statefile was removed, the monit
    start <service> action for services with onreboot nostart option
    started the service, but did not enable monitoring of said service.
    The same problem occurred if a new onreboot nostart service was
    added, even if the statefile did exist.

    Fixed: Issue #1029: The generic protocol test truncated received
    data if the response contained zeros.

    Fixed: PAM authentication: Users with a valid password for
    a disabled account could still login to Monit. Thanks to Youssef
    Rebahi-Gilbert.

    Fixed: The Monit HTTP interface could be blocked by sending
    a request with an infinite stream of HTTP headers. Thanks to Youssef
    Rebahi-Gilbert for report."

For more details see:
https://bitbucket.org/tildeslash/monit/commits/tag/release-5-32-0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-03-30 13:57:35 +00:00
Matthias Fischer
af5db809df monit: Update to 5.31.0
For details see:
https://mmonit.com/monit/changes/

For more details see:
https://bitbucket.org/tildeslash/monit/commits/tag/release-5-31-0

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-12 13:43:02 +00:00
Robin Roevens
f15707c78c buildprocess: Add extra metadata to pak lfs files
* Add a Summary and Services field to all pak lfs files
* Replace occurances of INSTALL_INITSCRIPT with new INSTALL_INITSCRIPTS
  macro in all pak lfs files.

Signed-off-by: Robin Roevens <robin.roevens@disroot.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-11 15:13:15 +00:00
Matthias Fischer
cf73af23a7 monit: Update to 5.30.0
For details see:
https://mmonit.com/monit/changes/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 16:18:37 +00:00
Matthias Fischer
64aa254af1 monit 5.29.0: Bump forgotten PAK_VER
Thanks Adolf! ;-)

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:48:50 +00:00
Matthias Fischer
e01dd97b5c monit: Update to 5.29.0
For details see:
https://mmonit.com/monit/changes/

    New: Issue #715: The PostgreSQL protocol test has been improved and
    now supports authentication with username, password and database
    when testing connection. Example:

    if failed port 5432
        protocol pgsql username "username" password "12345" database "test"
    then alert

    Previous Monit versions used hardcoded credentials when testing
    connection to postgresql (user=root and database=root). This could
    trigger thousands of messages like this in the postgresql log:

    root@root FATAL:  password authentication failed for user "root"
    root@root DETAIL:  Role "root" does not exist.

    Note: Monit will continue to use the hardcoded credentials (for
    backward compatibility) unless username and password are set.
    New: Issue #973: You can now test program output using a regular
    expression. Syntax:

    IF CONTENT [!]= <regex> THEN action

    Example:

    check program disk0_smart with path "/usr/sbin/nvme smart-log /dev/nvme0"
        if content != "critical_warning[ ]+: 0" then alert

    New: Issue #974: Monit CLI: Added support for the -g (group) option
    to the report command. Example:

    monit -g database report

    Fixed: Issue #991 (Monit 5.28.1 regression): MacOS: Monit didn't
    compile on MacOS 10.13 or older. Thanks to Lutz Mader.

    Fixed: Issue #994 (Monit 5.28.1 regression): The check program
    statement with every did not work properly.

    Fixed: Issue #995: Monit start delay was vulnerable to time jumps
    when Monit is waiting for the delay to pass. Thanks to Daniel Crowe.

    Fixed: Issue #975: Monit CLI: Monit did not report a warning if -s,
    -p, -l, -g or -c command-line options were specified multiple times
    and silently used the last value only. Monit will generate a warning
    now.

    Fixed: Issue #972: Monit GUI: The log view had no size limit when
    reading the Monit log file and could block the browser if the log
    file was large.

    Fixed: Issue #955: If more than one every statement is used in
    a check-service context only the last value is (silently) used.
    We now report a warning in this case.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-10-22 10:48:40 +00:00
Matthias Fischer
b5ee2adc8b monit: Update to 5.28.1
For details see:
https://mmonit.com/monit/changes/

    New: Issue #979: If filesystem mount flags changed, show both old
    and new value. Originally only the new value was reported.

    Fixed: Issue #960: The memory usage may report wrong value if system
    memory size changed after Monit start. The problem was frequent
    on KVM/LXC containers where MemTotal is dynamicaly updated.

    Fixed: Issue #965: Monit CLI: if a custom configuration file was
    used with the -c option, and the file cannot be read by Monit,
    an AssertException was thrown. Monit will report normal error
    instead of the exception now.

    Fixed: Issue #966: Monit CLI: The service name pattern was changed
    to case-sensitive in Monit 5.28.0. Revert the behaviour back
    to case-insensitive.

    Fixed: Issue #971: The LINK UP and LINK DOWN tests now support short
    form of the optional ELSE condition, in addition to the verbose ELSE
    IF <SUCCEEDED|FAILED> form.

    Fixed: Issue #976: The space free test recovery always reported
    value in percent, regardless of the test setting. If the test uses
    absolute limit, Monit will report absolute space usage now.

    Fixed: Issue #986: Services checks with custom schedule (the EVERY
    statement) did set the data collection timestamp even if the
    monitoring was skipped in the given cycle. The timestamp is now
    updated only when the check was performed.

    Fixed: Issue #990: Monit built with libressl may crash during
    verification of the expired SSL certificate.

    Fixed: Issue #968: Systemd and upstart templates: templates used
    to set the path to the configuration file in the sysconfdir, which
    is optionally set via the configure script during the compilation.
    The path wasn't fully expanded in the template though, so it was
    invalid. The template doesn't specify the explicit path now and lets
    Monit search for the configuration file in all supported locations
    (including the sysconfdir).

    Changed: Issue #984: The permission check of the SSL PEM key file
    allows group read permissions now (originally Monit enforced that
    the file is readable only by the file owner).

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-09-05 17:43:03 +00:00
Matthias Fischer
6e90a2631f monit: Update to 5.28.0
For details see:
https://mmonit.com/monit/changes/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-04-01 09:55:58 +00:00
Matthias Fischer
29e0faba1a monit: Update to 5.27.2
For details see:
https://mmonit.com/monit/changes/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-17 16:29:29 +00:00
Matthias Fischer
0f4d1a8e6b monit: Update to 5.27.1
For details see:
https://mmonit.com/monit/changes/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-10 12:29:15 +00:00
Michael Tremer
2dc2a27803 lfs: Drop quotes in DEPS variable
Not sure why this has ever been there. This simply makes it
nicer to read and edit because we can have line-breaks now.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-03-24 08:57:27 +00:00
Matthias Fischer
7c1bbc9339 monit: Update to 5.25.3
For details see:
https://mmonit.com/monit/changes/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-06-02 22:48:59 +01:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Michael Tremer
ca4c354e08 Bump release of all packages linked against OpenSSL
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-26 16:28:16 +00:00
Matthias Fischer
a0767955cd monit: Update to 5.23.0
For details see:
https://mmonit.com/monit/changes/

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-06-14 15:52:33 +01:00
Jonatan Schlag
586761dd73 monit: move initscript to src/initscripts/packages and use new macro
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
2017-03-03 16:32:53 +01:00
Dirk Wagner
e0b76ebc55 monit addon: update to 5.19.0
See changelog https://mmonit.com/monit/changes for details.

Signed-off-by: Dirk Wagner <dirk.wagner@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-09-24 12:25:46 +01:00
Dirk Wagner
4bb2df502d monit addon: Upgrade to 5.14
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-10-18 00:31:06 +01:00
Dirk Wagner
a40a1e25f7 mont addon: added missing dir /var/lib/monit to distribution 2015-03-22 22:33:30 +01:00
Dirk Wagner
857a15f38b monit addon: update to 5.12.1 2015-03-19 13:31:05 +01:00
Dirk Wagner
04ad584f35 monit addon: update to 5.12 2015-03-05 12:21:05 +01:00
Dirk Wagner
80159102fc monit addon: upgrade to 5.11 2015-01-27 14:11:28 +01:00
Dirk Wagner
d5ea5e366c Revert "monit addon: Upgrade to 5.9"
This reverts commit a61bfd61b2.
2014-10-25 20:20:05 +02:00
Dirk Wagner
a61bfd61b2 monit addon: Upgrade to 5.9 2014-10-23 18:56:58 +02:00
Dirk Wagner
7ce49ff074 monit addon: fixed monitrc permissions. 2014-07-23 21:49:52 +02:00
Dirk Wagner
c6ede545fd monit addon: fixed init.d links. 2014-07-23 20:55:26 +02:00
Dirk Wagner
57865e53f7 monit addon: fixed start script links. 2014-07-23 10:30:14 +02:00
Dirk Wagner
e0eeb8a617 monit addon: update to 5.8.1 2014-06-15 22:00:58 +02:00
Dirk Wagner
6047b2c178 monit addon: Fixed initscript stuff 2014-05-17 18:42:21 +02:00
Dirk Wagner
58dca4e50b monit addon: First version. 2014-05-09 08:59:17 +02:00