1. 28 May, 2021 1 commit
    • Karel Koci's avatar
      logc: update to version 0.2.1 · a375d83a
      Karel Koci authored
      Changelog for 0.2.1:
        Fixed
        * version specification in pkg-config files
        * distribute archives
        * code coverage generation library inclusion
      
        Changed
        * Missing `cppcheck` is not fatal error if linters are enabled
      
      Changelog for 0.2.0:
        Added
        * Details about compilation and testing to README.adoc
        * Output format fragment `LOG_FP_LEVEL_NAME`
        * Output format field `%|` that is handled as "else" inside conditions
        * Support for output level offset
        * Function `log_offset_level` to set level relative to current setting
        * Support for output to syslog
        * New log creation helper macro `DAEMON_LOG` for applications commonly started in
          background
        * `--log-file` argp option
        * `--log-level` argp otion
      
        Changed
        * Log macros for specific log prefixed with `log_`
        * Log macros using `DEFLOG` renamed from upper-case to lower-case
        * Macro `log` was renamed to `logc` to not collide with `math.h`'s `log`
        * Function `_log` was renamed to `_logc` to be consistent with `log` rename
        * Code is now compiled explicitly with C11 standard support
        * Output format not-empty condition do not investigate sub-conditions, instead it
          considers them non-empty if they condition is fulfilled.
        * Default formats now use `LOG_FP_LEVEL_NAME` for message type representation
        * How message level and log level is mixed and because of that most of the
          function now take `int` instead of `enum log_level`
        * Environment variable `LOG_LEVEL` is now expected to be number and not string
        * Message level enum renamed from `log_level` to `log_message_level` and values
          are shifted partially to negative
        * `ASSERT` renamed to `assert` and `assert` to `log_assert` in `logc_assert.h`
        * Utility macro `std_fatal` now provide result from statement
      
        Removed
        * Output format fields `%l` and `%L`
      
        Fixed
        * Linter and tests inclusion when they were not enabled by configuration script
      a375d83a
  2. 27 May, 2021 9 commits
  3. 25 May, 2021 3 commits
  4. 24 May, 2021 4 commits
  5. 18 May, 2021 4 commits
  6. 17 May, 2021 1 commit
  7. 16 May, 2021 1 commit
    • Josef Schlehofer's avatar
      treewide webapps: multiple fixes · 416d3da3
      Josef Schlehofer authored
      - Make more consistency in package description
      Sometimes there was URL for home project, but sometimes it was not.
      I included it in the all packages.
      
      - In all Makefiles, I added URL to our webapps repository
      
      - LuCI and Netdata's webapps were switched to new .json scheme
      
      - As done in upstream repository (turris's webapps repository), we
      include in Czech and English description dots.
      416d3da3
  8. 13 May, 2021 6 commits
  9. 10 May, 2021 5 commits
    • Karel Koci's avatar
      updater-ng: add postupdate script that cleans up /etc/rc.d · c42f26c9
      Karel Koci authored
      During update there can be dangling links to services that are no longer
      installed as well as old links if service changed START/STOP number.
      This script removes them.
      c42f26c9
    • Karel Koci's avatar
      48244977
    • Karel Koci's avatar
      fix: link to pregenerated dhparam instead of generating it · e8836234
      Karel Koci authored
      There should be no security issue in using pre-generated dhparam
      compared to a new one. This makes it much faster.
      
      This also removes reuse of old dhparam. It is now unnecessary
      complication. The original idea was to speed up update but with dhparam
      link that is no longer required.
      e8836234
    • Karel Koci's avatar
      fix: fix invalid trigger logic · dd892641
      Karel Koci authored
      This should check if file is already generated or it or if there is just
      no server configured. These are two separate conditions when there is no
      need to do migration. The first case is when migration is done and
      second case is when there just nothing to migrate.
      
      This should have minor impact. It only removes error:
        fix-dhparam-to-cagen/postinst: switch: CA 'openvpn' doesn't exist
      This attempted to migration when there was no configuration. This is not
      case when migration is required but not performed and thus there should
      be no real issue we need to address.
      dd892641
    • Karel Koci's avatar
      turris-cagen: add pregenerated dhparam · 592f0ad4
      Karel Koci authored
      This allows easier and faster setup of OpenVPN. It is just simply
      possible to reuse pregenerated dhparam.
      
      The dhparam file was generated using command:
      openssl dhparam -out dhparam.pem 4096
      592f0ad4
  10. 07 May, 2021 4 commits
  11. 06 May, 2021 2 commits