Skip to content
Snippets Groups Projects
  1. Oct 31, 2023
  2. Oct 12, 2023
  3. Oct 04, 2023
  4. Sep 20, 2023
  5. Sep 16, 2023
    • Josef Schlehofer's avatar
      treewide: change my no longer used email · 51acc263
      Josef Schlehofer authored
      
      Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company
      due to some reasons how the development goes and since that day my work address is not
      available and not sure if there is some redirect to someone else, but if anyone wants to
      reach me, use my email address, where they can find me.
      
      Signed-off-by: default avatarJosef Schlehofer <pepe.schlehofer@gmail.com>
      (cherry picked from commit 1e1b2051db47a82513f4eb4e9da892207785b7e2)
      51acc263
  6. Sep 15, 2023
  7. Sep 02, 2023
  8. Jun 05, 2023
  9. May 20, 2023
  10. May 16, 2023
    • Nick Hainke's avatar
      btop: fix compilation with musl 1.2.4 · feaba4f5
      Nick Hainke authored
      
      _LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
      to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.
      
      Fixes errors in the form of:
      Compiling src/linux/btop_collect.cpp
      src/linux/btop_collect.cpp: In function 'Mem::mem_info& Mem::collect(bool)':
      src/linux/btop_collect.cpp:1082:58: error: aggregate 'Mem::collect(bool)::statvfs64 vfs' has incomplete type and cannot be defined
       1082 |                                         struct statvfs64 vfs;
            |                                                          ^~~
      src/linux/btop_collect.cpp:1083:79: error: invalid use of incomplete type 'struct Mem::collect(bool)::statvfs64'
       1083 |                                         if (statvfs64(mountpoint.c_str(), &vfs) < 0) {
            |                                                                               ^
      src/linux/btop_collect.cpp:1082:48: note: forward declaration of 'struct Mem::collect(bool)::statvfs64'
       1082 |                                         struct statvfs64 vfs;
            |                                                ^~~~~~~~~
      make[3]: *** [Makefile:274: obj/linux/btop_collect.o] Error 1
      make[3]: Leaving directory '/home/nick/openwrt/build_dir/target-aarch64_cortex-a53_musl/btop-1.2.13'
      make[2]: *** [Makefile:53: /home/nick/openwrt/build_dir/target-aarch64_cortex-a53_musl/btop-1.2.13/.built] Error 2
      make[2]: Leaving directory '/home/nick/openwrt/feeds/packages/admin/btop'
      time: package/feeds/packages/btop/compile#2.57#0.17#3.02
          ERROR: package/feeds/packages/btop failed to build.
      
      Signed-off-by: default avatarNick Hainke <vincent@systemli.org>
      feaba4f5
  11. May 14, 2023
    • Christian Marangi's avatar
      netatop: fix compilation warning for kernel module · d3e10fd8
      Christian Marangi authored
      
      Fix compilation warning for missing fallthrough.
      Fix compilation warning:
      /builder/shared-workdir/build/build_dir/target-mipsel_24kc_musl/netatop-3.1/module/netatop.c: In function 'getsockopt':
      /builder/shared-workdir/build/build_dir/target-mipsel_24kc_musl/netatop-3.1/module/netatop.c:1619:26: error: this statement may fall through [-Werror=implicit-fallthrough=]
       1619 |                 tasktype = 'g';
            |                 ~~~~~~~~~^~~~~
      /builder/shared-workdir/build/build_dir/target-mipsel_24kc_musl/netatop-3.1/module/netatop.c:1621:12: note: here
       1621 |            case NETATOP_GETCNT_PID:
            |            ^~~~
      cc1: all warnings being treated as errors
      
      Signed-off-by: default avatarChristian Marangi <ansuelsmth@gmail.com>
      Unverified
      d3e10fd8
  12. Apr 21, 2023
    • Paul Fertser's avatar
      treewide: remove AUTORELEASE · 0c10c224
      Paul Fertser authored
      
      Automatically compute and substitute current values for all
      $(AUTORELEASE) instances as this feature is deprecated and shouldn't be
      used.
      
      The following temporary change was made to the core:
      
      diff --git a/rules.mk b/rules.mk
      index 57d7995d4fa8..f16367de87a8 100644
      --- a/rules.mk
      +++ b/rules.mk
      @@ -429,7 +429,7 @@ endef
       abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
      
       COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
      -AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
      +AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
      
       all:
       FORCE: ;
      
      And this command used to fix affected packages:
      
      for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                                    sed 's^.*/\([^/]*\)/Makefile^\1^';);
      do
        make package/$i/download
      done
      
      Signed-off-by: default avatarPaul Fertser <fercerpav@gmail.com>
      0c10c224
  13. Apr 12, 2023
  14. Apr 08, 2023
  15. Mar 23, 2023
  16. Feb 05, 2023
  17. Feb 04, 2023
  18. Nov 15, 2022
  19. Nov 07, 2022
  20. Nov 04, 2022
  21. Oct 31, 2022
  22. Oct 19, 2022
  23. Oct 17, 2022
    • Florian Eckert's avatar
      zabbix: add sqlite3 support · 3c110925
      Florian Eckert authored
      
      This change makes it possible to build zabbix with sqlite3 support.
      
      Attention:
      By selecting "SQLite" as "Database Software" you are not able
      to build the zabbix-server and zabbix-server-frontend package anymore.
      This database is not supported for this service.
      
      Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
      3c110925
  24. Oct 13, 2022
  25. Oct 06, 2022
  26. Sep 26, 2022
  27. Sep 22, 2022
  28. Sep 09, 2022
  29. Sep 08, 2022
  30. Sep 07, 2022
  31. Aug 26, 2022
    • Petr Štetiar's avatar
      syslog-ng: fix OOM issues by adding support for logrotate · bca4b82f
      Petr Štetiar authored
      
      With heavy system logging which goes by default into `/var/log/messages`
      log file which is usually placed in tmpfs/RAM one can trigger OOM killer
      fairly easily, thus killing random processes and in some cases making
      system unusable.
      
      This is likely happening due to the fact, that Linux by default uses 1/2
      of available RAM for tmpfs, which might be for example an issue on low
      RAM devices with ath10k wireless.
      
      So let's fix it by adding logrotate functionality which should limit the
      size of `/var/log/messages` log file to 1M by default, but could be
      tweaked by config knob if needed be.
      
      Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
      (cherry picked from commit 660fa63f)
      Unverified
      bca4b82f
    • Petr Štetiar's avatar
      syslog-ng: fix OOM issues by adding support for logrotate · 660fa63f
      Petr Štetiar authored
      
      With heavy system logging which goes by default into `/var/log/messages`
      log file which is usually placed in tmpfs/RAM one can trigger OOM killer
      fairly easily, thus killing random processes and in some cases making
      system unusable.
      
      This is likely happening due to the fact, that Linux by default uses 1/2
      of available RAM for tmpfs, which might be for example an issue on low
      RAM devices with ath10k wireless.
      
      So let's fix it by adding logrotate functionality which should limit the
      size of `/var/log/messages` log file to 1M by default, but could be
      tweaked by config knob if needed be.
      
      Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
      660fa63f
  32. Aug 03, 2022
    • Florian Eckert's avatar
      zabbix: add fping dependency · 672a655d
      Florian Eckert authored
      
      If fping is not installed on the system the following message is show if
      hosts should be monitored via icmp.
      
      Log-Message:
      "At least one of '/usr/sbin/fping', '/usr/sbin/fping6' must exist. Both
      are missing in the system."
      
      To fix this also, add a dependency to 'fping' for 'zabbix-server' and
      'zabbix-proxy' for installation to allow icmp hosts monitoring.
      
      Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
      672a655d
  33. Jul 14, 2022
  34. Jul 07, 2022
Loading