Built libbsd, libmd, and shadow

This commit is contained in:
Alexander Hill
2026-02-02 21:29:35 -05:00
parent 57c93ebe31
commit b23ee115f8
7 changed files with 54 additions and 8 deletions

View File

@@ -22,8 +22,10 @@
| initramfs-tools | Various | GNU General Public License version 2 | Copyleft | | initramfs-tools | Various | GNU General Public License version 2 | Copyleft |
| kmod | Various | GNU Lesser General Public License version 2.1 | Copyleft | | kmod | Various | GNU Lesser General Public License version 2.1 | Copyleft |
| libarchive | Tim Kientzle | Mostly BSD 2-Clause License | Free | | libarchive | Tim Kientzle | Mostly BSD 2-Clause License | Free |
| libbsd | Various | Various | Free |
| libcap | Andrew G. Morgan | BSD 3-Clause License *or* GNU General Public License version 2 | Slightly Copyleft | | libcap | Andrew G. Morgan | BSD 3-Clause License *or* GNU General Public License version 2 | Slightly Copyleft |
| libelf | Various | GNU General Public License version 2 *and* GNU Lesser General Public License version 3 | Copyleft | | libelf | Various | GNU General Public License version 2 *and* GNU Lesser General Public License version 3 | Copyleft |
| libmd | Various | BSD 3-Clause License, BSD 2-Clause License, ISC License, and the Beer-Ware License | Free |
| LibreSSL | Various | Various | Free | | LibreSSL | Various | Various | Free |
| The GNU Portable Library Tool | Free Software Foundation, Inc. | GNU General Public License version 2 | Copyleft | | The GNU Portable Library Tool | Free Software Foundation, Inc. | GNU General Public License version 2 | Copyleft |
| Limine | Mintsuki and Contributors | BSD 2-Clause License | Free | | Limine | Mintsuki and Contributors | BSD 2-Clause License | Free |
@@ -49,6 +51,7 @@
| pkgconf | Various | ISC License | Free | | pkgconf | Various | ISC License | Free |
| Python | Python Software Foundation, BeOpen, and CWI | Python Software Foundation License Version 2 | Copyleft | | Python | Python Software Foundation, BeOpen, and CWI | Python Software Foundation License Version 2 | Copyleft |
| GNU sed | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft | | GNU sed | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft |
| shadow-utils | Various | BSD 3-Clause License | Free |
| GNU tar | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft | | GNU tar | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft |
| tinytoml | Fourier Transformer | MIT License | Free | | tinytoml | Fourier Transformer | MIT License | Free |
| xz | Various | Mostly BSD 0-Clause License | Slightly Copyleft | | xz | Various | Mostly BSD 0-Clause License | Slightly Copyleft |

View File

@@ -36,8 +36,10 @@ Definitions:
| `kmod` | Yes | Yes | | `kmod` | Yes | Yes |
| `less` | | `less` |
| `libarchive` | Yes | Yes | | `libarchive` | Yes | Yes |
| `libbsd` | Yes | Yes |
| `libcap2` | Yes | Yes | | `libcap2` | Yes | Yes |
| `libelf` | Yes | Yes | | `libelf` | Yes | Yes |
| `libmd` | Yes | Yes |
| `libmnl` | | `libmnl` |
| `libnftnl` | | `libnftnl` |
| `libressl` | Yes | Yes | | `libressl` | Yes | Yes |
@@ -68,7 +70,7 @@ Definitions:
| `pipewire` | | `pipewire` |
| `python` | Yes | Yes | | `python` | Yes | Yes |
| `sed` | Yes | Yes | | `sed` | Yes | Yes |
| `shadow` | | `shadow` | Yes | Yes |
| `tar` | Yes | Yes | | `tar` | Yes | Yes |
| `tinytoml` | Yes | Yes | | `tinytoml` | Yes | Yes |
| `xlibre-xserver` | | `xlibre-xserver` |

View File

@@ -1,5 +1,3 @@
- Finish writing the template engine for configuration files (scripts/mapleconf)
- Build shadow for password hashing
- Milestone: Successfully boot into Maple Linux - Milestone: Successfully boot into Maple Linux
- Write an install script to install Maple Linux from a live environment - Write an install script to install Maple Linux from a live environment
- Build a partitioning tool (fdisk, parted, etc.) - Build a partitioning tool (fdisk, parted, etc.)

View File

@@ -1,9 +1,9 @@
<svg height="16" version="1.1" width="1024" xmlns="http://www.w3.org/2000/svg"> <svg height="16" version="1.1" width="1024" xmlns="http://www.w3.org/2000/svg">
<rect fill="black" height="100%" width="100%" /> <rect fill="black" height="100%" width="100%" />
<rect fill="blue" height="10" width="490" x="3" y="3" /> <rect fill="blue" height="10" width="464" x="3" y="3" />
<rect fill="cornflowerblue" height="10" width="75" x="493" y="3" /> <rect fill="cornflowerblue" height="10" width="71" x="467" y="3" />
<rect fill="white" height="10" width="434" x="568" y="3" /> <rect fill="white" height="10" width="464" x="538" y="3" />
<rect fill="mediumpurple" height="10" width="0" x="1002" y="3" /> <rect fill="mediumpurple" height="10" width="0" x="1002" y="3" />
<rect fill="indianred" height="10" width="19" x="1002" y="3" /> <rect fill="indianred" height="10" width="18" x="1002" y="3" />
<rect fill="crimson" height="10" width="0" x="1021" y="3" /> <rect fill="crimson" height="10" width="0" x="1020" y="3" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

View File

@@ -0,0 +1,13 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="b88cc9163d0c652aaf39a99991d974ddba1c3a9711db8f1b5838af2a14731014"
SRC_NAME="libbsd"
SRC_URL="https://libbsd.freedesktop.org/releases/libbsd-0.12.2.tar.xz"
SRC_VERSION="0.12.2"
build() {
tar xf ../$SRC_FILENAME
cd libbsd-$SRC_VERSION/
./configure $TT_AUTOCONF_COMMON --enable-year2038
make -j $TT_PROCS
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
}

13
sources/libmd/libmd.spec Normal file
View File

@@ -0,0 +1,13 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="1bd6aa42275313af3141c7cf2e5b964e8b1fd488025caf2f971f43b00776b332"
SRC_NAME="libmd"
SRC_URL="https://libbsd.freedesktop.org/releases/libmd-1.1.0.tar.xz"
SRC_VERSION="1.1.0"
build() {
tar xf ../$SRC_FILENAME
cd libmd-$SRC_VERSION/
./configure $TT_AUTOCONF_COMMON
make -j $TT_PROCS
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
}

View File

@@ -0,0 +1,17 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
SRC_HASH="11a8f358910712cf957dd4fd205063fce7e386b68fc7dfe3a0e1e53155ec53c5"
SRC_NAME="shadow"
SRC_URL="https://github.com/shadow-maint/shadow/releases/download/4.19.3/shadow-4.19.3.tar.xz"
SRC_VERSION="4.19.3"
build() {
tar xf ../$SRC_FILENAME
cd shadow-$SRC_VERSION/
./configure $TT_AUTOCONF_COMMON --disable-logind --enable-year2038
make -j $TT_PROCS
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
# NOTE: Unfortunately, shadow doesn't listen to --sbindir for some reason,
# so we manually move it. ~ahill
mv $TT_INSTALLDIR/sbin/* $TT_INSTALLDIR/bin/
rm -rf $TT_INSTALLDIR/sbin
}