summaryrefslogtreecommitdiff
path: root/pkg/file
AgeCommit message (Collapse)Author
2024-02-07file: 5.45hovercats
2022-09-08file: Update to 5.42Michael Forney
2021-11-29file: Missed update to magic.txt and verMichael Forney
2021-11-17file: Update to 5.41Michael Forney
2021-04-13file: Update to 5.40Michael Forney
2021-04-13file: Build strlcpy into host magic compilerMichael Forney
If the host system is glibc-based, we need the fallback strlcpy implementation.
2021-02-14file: Use tool built for host to generate magic.mgcMichael Forney
It turns out file has an undocumented define COMPILE_ONLY that enables building a tool to just generate the magic database with a minimal set of sources. Use that to build a tool for the host system to avoid version incompatibilities. Fixes #24.
2020-06-16file: Update to 5.39Michael Forney
2020-06-05Use -isystem to include library headersMichael Forney
This way, warnings from headers that come from another package (in particular linux-headers) won't show up when they get included. To make sure we still track dependencies, use -MD instead of -MMD.
2020-05-25Start to support configurable prefixMichael Forney
2020-01-29Add support for building multiple configurationsMichael Forney
Now, you can build in separate directories per configuration: mkdir foo (cd foo && ../setup.lua) samu -C foo
2019-12-20file: Update to 5.38Michael Forney
2019-06-19file: Fix cast in initializerMichael Forney
2019-05-22file: Update to 5.37Michael Forney
2019-03-19Rename rev to ver, and keep track of package versions as wellMichael Forney
2019-03-03file: Update to 5.36Michael Forney
2018-11-03file: Update to 5.35Michael Forney
2018-08-11file: Update to 5.34Michael Forney
2018-04-17file: Update to 5.33Michael Forney
2017-09-25Rewrite ninja generation scripts in LuaMichael Forney
2017-09-03file: Update to 5.32Michael Forney
2017-08-19Don't use -isystemMichael Forney
This way we can use -MMD to exclude system header files and still retain dependency tracking within oasis.
2017-05-28file: Update to 5.31Michael Forney
2017-02-10file: Update to 5.30Michael Forney
2016-12-19Compress man pagesMichael Forney
2016-12-13Move to flat package hierarchyMichael Forney
Note to self: never try to move submodules again To migrate your existing submodules (more or less): set -x set -e mkdir .git/modules/pkg for old in */*/src ; do new="pkg/${old#*/}" if ! [ -f "$old/.git" ] || [ "${old%%/*}" = pkg ] ; then continue fi git -C ".git/modules/$old" config core.worktree "../../../../../$new" rmdir "$new" mv "$old" "$new" sed -e "s,$old,$new," "$new/.git" > "$new/.git.tmp" mv "$new/.git.tmp" "$new/.git" mkdir ".git/modules/${new%/src}" mv ".git/modules/$old" ".git/modules/$new" rm "${old%/src}"/*.ninja mv "${old%/src}"/*.tar.{gz,xz,bz2} "${new%/src}/" rmdir "${old%/src}" || true done sed -e 's,^\[submodule "[^/]*/,[submodule "pkg/,' .git/config > .git/config.tmp mv .git/config.tmp .git/config