This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FreeBSD | |
origin: base | |
version: "14.0p6" | |
comment: '"Meta-package" for full FreeBSD 14.0p6 base system' | |
categories: [ "base" ] | |
www: "https://www.FreeBSD.org" | |
maintainer: "[email protected]" | |
prefix: / | |
vital: false | |
licenselogic: single |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -Cefu -o pipefail | |
cleanup() { | |
if [ -d "${TMP_DIR:?}" ]; then | |
echo rm -rf -- "${TMP_DIR:?}" | |
fi | |
trap - EXIT | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init_path="/command/s6-init:/sbin/init:/sbin/oinit:/sbin/init.bak:/rescue/init" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: ?# ( d -- d ) 2dup or 0= if bl hold else # then ; | |
: .padded ( n -- ) >r 0 <# r> 0 do ?# loop #> type ; | |
20 1024 * constant ram-size | |
$1FFFF7E0 h@ 1024 * constant flash-size | |
: compiletoram! ( ? -- ) if compiletoram else compiletoflash then ; | |
: flash-free ( -- n ) | |
compiletoram? | |
compiletoflash flash-size here - | |
swap compiletoram! ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\ Copyright 2020 Jan Bramkamp | |
\ | |
\ Permission is hereby granted, free of charge, to any person obtaining a copy | |
\ of this software and associated documentation files (the "Software"), to deal | |
\ in the Software without restriction, including without limitation the rights | |
\ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
\ copies of the Software, and to permit persons to whom the Software is | |
\ furnished to do so, subject to the following conditions: | |
\ | |
\ The above copyright notice and this permission notice shall be included in |