1. 03 May, 2020 1 commit
  2. 17 Apr, 2020 2 commits
    • Sören Tempel's avatar
      Revert "abuild: include $pkgname in temporary rootbld directory" · 19678c54
      Sören Tempel authored
      This commit broke abuild-rmtemp which has a prefix check to ensure it
      doesn't remove non-abuild directories. Revert the commit instead of
      adjusting the prefix check for now.
      
      This reverts commit d0828c06.
      19678c54
    • Sören Tempel's avatar
      abuild.conf: enable PIE binaries by default for go as well · dcb7ec0c
      Sören Tempel authored
      From `go help environment`:
      
      	GOFLAGS
      		A space-separated list of -flag=value settings to apply
      		to go commands by default, when the given flag is known by
      		the current command. Flags listed on the command-line
      		are applied after this list and therefore override it.
      
      And from `go help build`:
      
      	-buildmode mode
      		build mode to use. See 'go help buildmode' for more.
      
      Setting this environment variable in /etc/abuild.conf allows us to build
      all go binaries on the builders as PIE without needing to patch the go
      compiler itself.
      dcb7ec0c
  3. 14 Apr, 2020 2 commits
  4. 31 Mar, 2020 1 commit
  5. 30 Mar, 2020 3 commits
  6. 27 Mar, 2020 9 commits
  7. 23 Mar, 2020 13 commits
  8. 21 Feb, 2020 1 commit
  9. 16 Feb, 2020 4 commits
  10. 08 Feb, 2020 1 commit
  11. 07 Feb, 2020 1 commit
    • Timo Teräs's avatar
      functions.sh: exclusively use apk --print-arch to detect build arch · c9d3df08
      Timo Teräs authored
      Originally "gcc -dumpmachine" was used to detect build gcc triplet.
      However, abuild does not depend on gcc or build-base (but installs
      it if needed to build) so gcc might not be there. Additionally
      abuild-sign can be used standalone, and does not have gcc dependency.
      
      Using ${CC:-gcc} is problematic in cross-compile, as CC might be
      already set for the cross-compiler and would result giving the target
      host triplet.
      
      It was deemed simplest to use "apk --print-arch" exclusively to detect
      the builder host type, or specify CBUILD manually. If there is need
      to use abuild/abuild-sign on non-Alpine hosts withou apk, we can
      later add fallback that uses "uname -m" to detect the architecture
      and guess Alpine CBUILD from it.
      
      Fixes #9974
      Fixes: 5adf47c1 "functions.sh: use apk --print-arch for CARCH if gcc is missing"
      Fixes: 95cd15c0 "functions.sh: dont die if gcc is missing"
      c9d3df08
  12. 05 Feb, 2020 1 commit
  13. 31 Jan, 2020 1 commit