Skip to content

v4.6.0

Choose a tag to compare

@groboclown groboclown released this 30 Jun 03:00
· 42 commits to main since this release
06f150e
  • c12690c
    • Added an additional build target to create a compressed version of the presh executable. In some circumstances, it creates a smaller executable, at the expense of a slightly longer startup time.
  • 3b03d11
    • As glibc (and potentially others) cannot call getaddrinfo from a statically linked executable, added a make flag (NO_GETADDRINFO=1) that prevents calls that depend upon it from running.
  • 0f21e00
    • Updated Dockerfile parent images and their dependent versions to keep up to date with the state-of-the-art.
    • Updated the dietlibc version, as it had a new release in 2024.
    • With this update, the clang flags need to change.
  • d8b8ed7
    • Updated cmd-sizes.sh to include the compressed sizes.
    • Updated the command flags file to include the use of the NO_GETADDRINFO flag.
    • Updates to the README.md file.
      • Include notes about compressed capability.
      • Fixed the wrong use flag for the exec command.
      • Included a note about the export-host-lookup command not working with statically compiled glibc.
      • After some discovery on GPL and static compilation, added a note about it.
  • 0915c1f
    • Version bump to 4.6.0.
  • 4cf0f92
    • Updated recipes to also use recent dependency versions.
    • Updated recipes text to reflect new presh sizes.
    • Updated README.md to reflect new compiled sizes.
  • 9a1465a
    • Added some notes on future experiments on compressed executables. It's getting into already explored territory.
  • a55becb
    • Added in an initial cut at the new compressed executable approach (which doesn't run right), and has minimal improvement to the file size. However, there exist some situations where it looks like it could have a smaller size, so may indicate a place for future investigation to fix.
    • Taught the docker build command (default operation of internal-docker-make.sh) to create the smaller version of the presh executable as out/presh-smallest. This allows later stages in a Dockerfile to use the smallest version, if it cares about that.
    • Updated the recipes to use the smallest file size, as they care about that.
    • Updated the file sizes in the recipes to reflect the new file sizes.
    • Added a few improvements to the root Dockerfile to indicate its differences from the sample.Dockerfile, and to fix its use of CMD.
    • Updated the license copyright, and added an SPDX to it, and added a note about static compilation affects on the binary distribution.