1. 14 Dec, 2023 2 commits
    • Jérome Perrin's avatar
      component/mariadb: don't compile storage/tokudb for 10.3 · 96489599
      Jérome Perrin authored
      This does not compile on debian 12
      96489599
    • Jérome Perrin's avatar
      component/userhosts: use github.com/figiel/hosts for compatibility with recent libc · d2f5ea07
      Jérome Perrin authored
      In ubuntu 21.04 (libc6 2.33-0ubuntu5) or current debian testing
      (libc6 2.32-5) no longer use open to open /etc/hosts, but what appears
      as "openat" in strace output - but can not be replaced by defining an
      openat function.
      
      This uses https://github.com/figiel/hosts which uses another approach
      of replacing getaddrinfo, gethostbyname* and inet_aton.
      
      Users have been updated a bit, because there are some small differences:
       - the /etc/hosts replacement file is defined by HOSTS_FILE environment
         variable, not HOSTS
       - the library name is libuserhosts.so, not userhosts.so
      
      Other notable differences, for which we did not need code change are:
       - the new library also try to load a file when HOSTS_FILE is not set
       - the new library still use original /etc/hosts file
       - the new library supports aliases to hostnames, not only ip addresses
      d2f5ea07
  2. 14 Oct, 2023 1 commit
    • Jérome Perrin's avatar
      component/ca-certificates: don't use implicit `python` · ad4b2e8b
      Jérome Perrin authored
      We can not rely on system python here, it's a bit better to rely on
      buildout's python ( the main reason is that it complies with
      slapos-sr-testing not having system python ).
      
      The implementation is a bit complicated, we can not just reference
      ${buildout:executable} in the profile, because doing so will cause an
      infinite loop with rebootstrap and software installation never finish
      because options of ca-certificates change at every run if they include
      the python path. Instead, we use a pre-make-hook to rewrite the Makefile
      without saving the interpreter in option. This python is only used
      during the build process (to generate the certificate files) and not
      used at run time, so it does not really depend on python strictly
      speaking. Anyway, because it's a component used very early in the
      bootstrap, we can not reference python here.
      ad4b2e8b
  3. 05 Jan, 2023 3 commits
  4. 13 Dec, 2022 1 commit
  5. 09 Dec, 2022 1 commit
  6. 04 Nov, 2022 1 commit
  7. 06 Jan, 2022 2 commits
  8. 18 Jun, 2021 1 commit
  9. 08 Apr, 2021 1 commit
    • Jérome Perrin's avatar
      component/postfix: disable build on Linux >= 5 · bd1b1928
      Jérome Perrin authored
      This old tag is maintained, so that we can run run ERP5 upgrade test.
      
      On new test nodes, running linux 5, postfix refuses to compile with an error
      message like this:
      
          make -f Makefile.in MAKELEVEL= Makefiles
          (echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp
          ATTENTION:
          ATTENTION: Unknown system type: Linux 5.10.0-0.bpo.4-amd64
          ATTENTION:
          make: *** [Makefile.in:22: Makefiles] Error 1
          make: *** [Makefile:21: makefiles] Error 2
      
      We don't really need postfix for these tests, so skip postfix compilation.
      bd1b1928
  10. 31 Mar, 2021 1 commit
  11. 16 Feb, 2021 1 commit
    • Jérome Perrin's avatar
      software/erp5: backport a fix for pyrsistent · ac9f26c6
      Jérome Perrin authored
      This solves the error occuring installing python2 softwares:
      
          error: find_namespace: directive is unsupported on Python < 3.3
          An error occurred when trying to install pyrsistent 0.14.5. Look above this message for any errors that were output by easy_install.
          While:
            Updating slapos-cookbook-dependencies.
            Getting distribution for 'pyrsistent==0.14.5'.
      ac9f26c6
  12. 29 Oct, 2020 6 commits
  13. 28 Oct, 2020 3 commits
  14. 27 Oct, 2020 12 commits
  15. 26 Oct, 2020 4 commits