summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2024-08-09tree.sh: fix usage messageSertonix
2022-10-30Only apply patches ending in .patchMichael Forney
This way you can rename them to skip application.
2021-11-29sfeed: Update to 1.1Michael Forney
2021-09-07Use --keep-non-patch when applying git patchesMichael Forney
Some of our patches use bracketed tags.
2020-12-14scripts/outdated.py: Fix a couple package mappingsMichael Forney
2020-12-03bc: Switch back to GNU bcMichael Forney
The 1.07 release means we don't have to apply a bunch of patches, and it is a smaller binary anyway.
2020-11-04Update scripts/outdated.py for wpa_supplicant directory renameMichael Forney
2020-06-22Generate root.perms from fspecMichael Forney
2020-06-16probe: Create output when test failsMichael Forney
This was a regression in 785b495ba77ee716740523df566c560c63b4ddcc.
2020-06-04Save stderr of probe commandsMichael Forney
2020-05-10Support checksum via sha256(1)Michael Forney
2020-05-10Fix extraction with paxMichael Forney
2020-05-08Detect sha256 tool automaticallyMichael Forney
2020-05-08Detect decompression tool automaticallyMichael Forney
This fixes cross-compilation from macOS, whose bsdtar does support xz through liblzma, but does not have xz(1).
2020-04-19Address some shellcheck warningsMichael Forney
2020-04-15Use main compression tool instead of *cat variantsMichael Forney
2020-04-15Allow overriding sha256 command through SHA256SUMMichael Forney
This way, oasis can be bootstrapped on other operating systems by setting SHA256SUM='shasum -a 256'.
2020-01-21Add sed script to prune config.h headersMichael Forney
2020-01-03scripts: Check that we got the right number of parametersMichael Forney
2019-12-16scripts/outdated.py: Fix some package namesMichael Forney
2019-12-04scripts/outdated: Ignore directories with no `ver` fileMichael Forney
2019-11-17Update ninja requirement to 1.8.0 and don't bother with atomic outputsMichael Forney
Since ninja 1.8.0[0] and samurai 0.2[1], output mtime is always recorded after a job succeeds, and outputs are considered dirty if the recorded mtime is older than any input. This means that even if a command partially writes its output then fails (for example, if run with stdout redirected to a file), it will still get re-run during the next build. This means that outputs no longer have to be written atomically (i.e. renamed into place) in order to ensure a correct build, and we can drop the idiom `command >$out.tmp && mv $out.tmp $out`. [0] https://github.com/ninja-build/ninja/commit/04d886b11041bb59d01df794cce7a1e8cad2250d [1] https://github.com/michaelforney/samurai/commit/799bc5a4719b90a1026c129b55b92c0bccf97eeb
2019-11-04Remove plan9port (at least for now)Michael Forney
We are now using Federico G. Benavento's UNIX rc port, and set the default editor to ed. Maybe in the future, plan9port will be re-added for the plumber, acme, or something else.
2019-09-20Skip some packages in scripts/outdated.pyMichael Forney
2019-06-19Use source revision in commit messageMichael Forney
2019-05-04Update lpeg package name in repologyMichael Forney
2019-04-09scripts/commit.sh: Fix when branch doesn't already existMichael Forney
2019-04-09scripts/commit.sh: Only commit if tree changedMichael Forney
2019-03-19Add script to check for out-of-date packagesMichael Forney
2019-03-11Allow overriding pax command with PAXREADMichael Forney
Most systems do not have pax installed by default, or it is not available at all. However, since we are relying on the -s flag for member name substitution, we can't just use a tar command that works everywhere. Instead, support the environment variable PAXREAD to specify the command to use in place of `pax -r`. Since bsdtar from libarchive supports -s, we can set PAXREAD='bsdtar -xf -'.
2018-10-18Add mechanism to probe for size of typeMichael Forney
2018-02-16Port build scripts to POSIX shellMichael Forney
Since we are now using Lua to generate ninja files, use of rc in build scripts seems unnecessary and adds an additional bootstrap dependency. None of them are too fancy, so just port to POSIX sh instead.
2017-10-23Add mechanism to probe for toolchain featuresMichael Forney
2017-10-10fetch-curl: Allow overriding substitutionsMichael Forney
2017-09-25Add texi2mdoc 0.1.2Michael Forney
2017-09-01fetch-*.rc does not need to be executableMichael Forney
We always call it with rc explicitly.
2017-02-25scripts/tree.rc: Write index in $outdirMichael Forney
2017-02-10scripts/tree.rc: Don't clobber repository indexMichael Forney
The repository index should be preserved if writing directly to the / repository.
2017-01-03fetch-curl: If not specified use */* as extraction patternMichael Forney
Some pax implementations will fail otherwise if src already exists.
2016-12-29fetch-curl: Specify -O at the end in case we want to specify an output nameMichael Forney
2016-12-29Allow using /.git as output repositoryMichael Forney
2016-10-30Provide mechanism to track library dependenciesMichael Forney
Now, ar/lib rules can list static libraries or other .d files. These (as well as the target library) are written to a file called $lib.d. link/exe rules can list these .d files, causing them to be flattened into an RSP file and appear on the command line as @$rsp. The rule to generate the dependency list files depends on the libraries they contain, so they also act as a stamp file for the dependencies. This gives us dependency management for free.
2016-07-16Don't list git repository files as outputsMichael Forney
This way, ninja -t clean will work as expected.
2016-07-04tzdata: Fix gen.rc to not require contents of source filesMichael Forney
This also fixes a symlink target calculation bug.
2016-06-28fetch-curl: Support specifying a pattern of files to extractMichael Forney
2016-06-28fetch-curl: Match archives more strictlyMichael Forney
2016-06-27Don't warn about whitespace errors when applying patchesMichael Forney
2016-06-27Integrate source fetching into ninja filesMichael Forney
2016-06-07Add global fetch.rc scriptMichael Forney
2016-06-06Move fetch-curl.rc to scriptsMichael Forney