Skip to content
Snippets Groups Projects
  1. Apr 25, 2021
    • Peter van Dijk's avatar
      h2o: only install one copy of the .so · 3ddefd7f
      Peter van Dijk authored
      
      I noticed that the package contained 3 identical copies of the lib:
      
      root@52170cbc2408:/# ls -ali /usr/lib/libh2o*
       162653 -rwxr-xr-x    1 root     root        348857 Apr 25 11:50 /usr/lib/libh2o-evloop.so
       162660 -rwxr-xr-x    1 root     root        348857 Apr 25 11:50 /usr/lib/libh2o-evloop.so.0.13
       162661 -rwxr-xr-x    1 root     root        348857 Apr 25 11:50 /usr/lib/libh2o-evloop.so.0.13.6
      
      so this commit fixes that:
      
      root@472ad3a8404e:/# ls -ali /usr/lib/libh2o*
       289858 lrwxrwxrwx    1 root     root            21 Apr 25 12:43 /usr/lib/libh2o-evloop.so -> libh2o-evloop.so.0.13
       289859 lrwxrwxrwx    1 root     root            23 Apr 25 12:43 /usr/lib/libh2o-evloop.so.0.13 -> libh2o-evloop.so.0.13.6
       289860 -rw-r--r--    1 root     root        348857 Apr 25 12:41 /usr/lib/libh2o-evloop.so.0.1
      
      Signed-off-by: default avatarPeter van Dijk <peter.van.dijk@powerdns.com>
      3ddefd7f
    • Peter van Dijk's avatar
      h2o: remove useless ruby dependency · 6ffe955d
      Peter van Dijk authored
      
      h2o is the library dnsdist uses to offer DNS over HTTPS to clients. dnsdist is the only user of h2o in this tree.
      
      While h2o can depend on Ruby (to build mruby support), this is disabled in the OpenWRT build of h2o. Hence, the Ruby dependency is unnecessary, and removing it saves a few megabytes of disk space.
      
      Signed-off-by: default avatarPeter van Dijk <peter.van.dijk@powerdns.com>
      6ffe955d
  2. Apr 24, 2021
  3. Apr 20, 2021
  4. Apr 18, 2021
  5. Apr 15, 2021
  6. Apr 14, 2021
  7. Apr 13, 2021
  8. Apr 12, 2021
    • Eneas U de Queiroz's avatar
      Revert "libseccomp: don't build on ARC" · 013b1895
      Eneas U de Queiroz authored
      
      This reverts commit b29e6097.
      
      Adding DEPENDS+=@!arc will cause a circular dependency, because some
      packages select libseccomp based on a build option.
      
      Commit e29483d7 ("libseccomp: workaround a recursive dependency") added
      a workaround that was not properly documented, so I'll explain here.
      
      The problem arises when libseccomp is selected depending on some config
      option:
      
      define Pakcage/foo
        DEPENDS=+FOO_SECCOMP:libseccomp
      
      Even if the condition is correctly defined, excluding arc, such as:
      
      define Package/foo/config
        config FOO_SECCOMP
          depends on !arc
      
      the config generator will parse libseccomp's DEPENDS variable and
      generate menuconfig statements like these:
      
      config PACKAGE_foo
         select PACKAGE_libseccomp if FOO_SECCOMP
         depends on !FOO_SECCOMP || !arc
      
      The last condition is always true because FOO_SECCOMP will always be
      be false when arc is true.  The config generator is not able to
      simplify/optimize the condition.
      
      The circular dependecy occurs because FOO_SECCOMP depends on
      PACKAGE_foo, and the redundant, always true line will make PACKAGE_foo
      depend on FOO_SECCOMP.
      
      As a workaround, we can add the 'depends on !arc' line to
      Package/libseccomp/config, outside of the DEPENDS variable, so that the
      redundant depends line line does not get generated.
      
      Signed-off-by: default avatarEneas U de Queiroz <cotequeiroz@gmail.com>
      Cc: Daniel Golle <daniel@makrotopia.org>
      013b1895
  9. Apr 11, 2021
  10. Apr 09, 2021
  11. Apr 05, 2021
  12. Apr 04, 2021
  13. Apr 02, 2021
  14. Mar 29, 2021
  15. Mar 28, 2021
    • Rosen Penev's avatar
      treewide: build CMake projects with Ninja · a31b7320
      Rosen Penev authored
      
      faster to compile.
      
      A small selection of packages was tested going from:
      
      Executed in  696.30 secs   fish           external
         usr time   82.98 mins  395.00 micros   82.98 mins
         sys time    9.02 mins    0.00 micros    9.02 mins
      
      to:
      
      Executed in  592.20 secs   fish           external
         usr time   84.84 mins  361.00 micros   84.84 mins
         sys time    8.85 mins   57.00 micros    8.85 mins
      
      Tested by running make -j 12 and wiping staging/build_dir/target_x
      
      Signed-off-by: default avatarRosen Penev <rosenp@gmail.com>
      a31b7320
  16. Mar 26, 2021
  17. Mar 25, 2021
  18. Mar 24, 2021
Loading