From 4008f2684671c12fbedd24f3b532bc68b660a2f9 Mon Sep 17 00:00:00 2001 From: Alexander Hill Date: Sat, 7 Feb 2026 08:35:16 -0500 Subject: [PATCH] Built mdevd and skalibs --- README.md | 11 +++++++++++ docs/SOFTWARE.md | 2 ++ docs/STATUS.md | 2 ++ docs/licensebar.svg | 12 ++++++------ sources/mdevd/mdevd.spec | 24 ++++++++++++++++++++++++ sources/skalibs/skalibs.spec | 25 +++++++++++++++++++++++++ 6 files changed, 70 insertions(+), 6 deletions(-) create mode 100644 sources/mdevd/mdevd.spec create mode 100644 sources/skalibs/skalibs.spec diff --git a/README.md b/README.md index 4cb49d0..818b147 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,14 @@ Maple Linux uses a slightly different filesystem hierarchy compared to most Linu - `/lib` - This is the canonical location for all system-level libraries. Paths such as `/usr/lib` and `/usr/libexec` should be considered legacy. Many alternate/deprecated paths are symlinked for compatibility's sake. + +### Inspirations + +The following is a list of sites and projects that influenced the direction Maple Linux has taken. This is not a comprehensive list, and I didn't discover many of these places until after I began work on Maple Linux. As I continue my research and learn more, this list of influences will grow. + +- [https://alpinelinux.org/](https://alpinelinux.org/) +- [https://sta.li/filesystem/](https://sta.li/filesystem/) +- [https://kisslinux.github.io/](https://kisslinux.github.io/) +- [https://suckless.org/philosophy/](https://suckless.org/philosophy/) +- [https://puppylinux-woof-ce.github.io/](https://puppylinux-woof-ce.github.io/) +- [https://github.com/comfies/tldrlfs](https://github.com/comfies/tldrlfs) diff --git a/docs/SOFTWARE.md b/docs/SOFTWARE.md index 5e0dd98..b09d24e 100644 --- a/docs/SOFTWARE.md +++ b/docs/SOFTWARE.md @@ -39,6 +39,7 @@ | GNU Make | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft | | Maple Linux Bootstrap Scripts | Alexander Hill, Nicholas McDaniel, and Contributors | ISC License | Free | | Mawk | Various | GNU General Public License version 2 | Copyleft | +| mdevd | Laurent Bercot | ISC License | Free | | muon | Stone Tickle and Contributors | GNU General Public License version 3 | Copyleft | | musl | Rich Felker and Contributors | Mostly MIT License | Slightly Copyright | | GNU nano | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft | @@ -51,6 +52,7 @@ | 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 | | shadow-utils | Various | BSD 3-Clause License | Free | +| skalibs | Laurent Bercot | ISC License | Free | | GNU tar | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft | | tinyramfs | illiliti | GNU General Public License version 3 | Copyleft | | tinytoml | Fourier Transformer | MIT License | Free | diff --git a/docs/STATUS.md b/docs/STATUS.md index e3b4e04..6b17aa9 100644 --- a/docs/STATUS.md +++ b/docs/STATUS.md @@ -54,6 +54,7 @@ Definitions: | `m4` | Yes | Yes | | `make` | Yes | Yes | | `mawk` | Yes | Yes | +| `mdevd` | Yes | Yes | | `muon` | Yes | Yes | | `musl` | Yes | Yes | | `nano` | Yes | Yes | @@ -70,6 +71,7 @@ Definitions: | `python` | Yes | Yes | | `sed` | Yes | Yes | | `shadow` | Yes | Yes | +| `skalibs` | Yes | Yes | | `tar` | Yes | Yes | | `tinyramfs` | Yes | Yes | | `tinytoml` | Yes | Yes | diff --git a/docs/licensebar.svg b/docs/licensebar.svg index 4a56ace..bd35ec1 100644 --- a/docs/licensebar.svg +++ b/docs/licensebar.svg @@ -1,9 +1,9 @@ - - - - - - + + + + + + diff --git a/sources/mdevd/mdevd.spec b/sources/mdevd/mdevd.spec new file mode 100644 index 0000000..bafe42a --- /dev/null +++ b/sources/mdevd/mdevd.spec @@ -0,0 +1,24 @@ +# Maintainer: Alexander Hill +SRC_HASH="44d3e0bc3d9b0cbcb3bdd3722dbe0d41d6ed1a30f62b87d4e01eb0649f2e8421" +SRC_NAME="mdevd" +SRC_URL="https://git.sr.ht/~skarnet/mdevd/archive/v0.1.8.1.tar.gz" +SRC_VERSION="0.1.8.1" + +SRC_FILENAME="mdevd-$SRC_VERSION.tar.gz" + +build() { + tar xf ../$SRC_FILENAME + cd mdevd-v$SRC_VERSION/ + # NOTE: Just like with skalibs, this probably isn't autoconf. ~ahill + ./configure --bindir=$TT_BINDIR \ + --dynlibdir=$TT_LIBDIR \ + --enable-pkgconfig \ + --includedir=$TT_INCLUDEDIR \ + --libexecdir=$TT_LIBDIR \ + --libdir=$TT_LIBDIR \ + --pkgconfdir=$TT_LIBDIR/pkgconfig \ + --prefix=$TT_PREFIX \ + --sysconfdir=$TT_CONFDIR + make -j $TT_PROCS + make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR +} diff --git a/sources/skalibs/skalibs.spec b/sources/skalibs/skalibs.spec new file mode 100644 index 0000000..2365c80 --- /dev/null +++ b/sources/skalibs/skalibs.spec @@ -0,0 +1,25 @@ +# Maintainer: Alexander Hill +SRC_HASH="abfc5626fd0bf7bff71e9d926ef9eb36cd3e0f953047411dbe8d63ba642b42d7" +SRC_NAME="skalibs" +SRC_URL="https://git.sr.ht/~skarnet/skalibs/archive/v2.14.5.1.tar.gz" +SRC_VERSION="2.14.5.1" + +SRC_FILENAME="skalibs-$SRC_VERSION.tar.gz" + +build() { + tar xf ../$SRC_FILENAME + cd skalibs-v$SRC_VERSION/ + # NOTE: This is another autoconf-like configure script, but it probably + # isn't safe to use TT_AUTOCONF_COMMON here. ~ahill + ./configure \ + --disable-shared \ + --dynlibdir=$TT_LIBDIR \ + --enable-pkgconfig \ + --includedir=$TT_INCLUDEDIR \ + --libdir=$TT_LIBDIR \ + --pkgconfdir=$TT_LIBDIR/pkgconfig \ + --prefix=$TT_PREFIX \ + --sysconfdir=$TT_CONFDIR + make -j $TT_PROCS + make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR +}