Built mdevd and skalibs

This commit is contained in:
Alexander Hill
2026-02-07 08:35:16 -05:00
parent e9324402f3
commit 4008f26846
6 changed files with 70 additions and 6 deletions

View File

@@ -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. - `/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. 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)

View File

@@ -39,6 +39,7 @@
| GNU Make | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft | | 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 | | Maple Linux Bootstrap Scripts | Alexander Hill, Nicholas McDaniel, and Contributors | ISC License | Free |
| Mawk | Various | GNU General Public License version 2 | Copyleft | | 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 | | muon | Stone Tickle and Contributors | GNU General Public License version 3 | Copyleft |
| musl | Rich Felker and Contributors | Mostly MIT License | Slightly Copyright | | musl | Rich Felker and Contributors | Mostly MIT License | Slightly Copyright |
| GNU nano | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft | | 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 | | 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 | | 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 | | GNU tar | Free Software Foundation, Inc. | GNU General Public License version 3 | Copyleft |
| tinyramfs | illiliti | GNU General Public License version 3 | Copyleft | | tinyramfs | illiliti | GNU General Public License version 3 | Copyleft |
| tinytoml | Fourier Transformer | MIT License | Free | | tinytoml | Fourier Transformer | MIT License | Free |

View File

@@ -54,6 +54,7 @@ Definitions:
| `m4` | Yes | Yes | | `m4` | Yes | Yes |
| `make` | Yes | Yes | | `make` | Yes | Yes |
| `mawk` | Yes | Yes | | `mawk` | Yes | Yes |
| `mdevd` | Yes | Yes |
| `muon` | Yes | Yes | | `muon` | Yes | Yes |
| `musl` | Yes | Yes | | `musl` | Yes | Yes |
| `nano` | Yes | Yes | | `nano` | Yes | Yes |
@@ -70,6 +71,7 @@ Definitions:
| `python` | Yes | Yes | | `python` | Yes | Yes |
| `sed` | Yes | Yes | | `sed` | Yes | Yes |
| `shadow` | Yes | Yes | | `shadow` | Yes | Yes |
| `skalibs` | Yes | Yes |
| `tar` | Yes | Yes | | `tar` | Yes | Yes |
| `tinyramfs` | Yes | Yes | | `tinyramfs` | Yes | Yes |
| `tinytoml` | Yes | Yes | | `tinytoml` | Yes | Yes |

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="464" x="3" y="3" /> <rect fill="blue" height="10" width="458" x="3" y="3" />
<rect fill="cornflowerblue" height="10" width="71" x="467" y="3" /> <rect fill="cornflowerblue" height="10" width="68" x="461" y="3" />
<rect fill="white" height="10" width="464" x="538" y="3" /> <rect fill="white" height="10" width="475" x="529" y="3" />
<rect fill="mediumpurple" height="10" width="0" x="1002" y="3" /> <rect fill="mediumpurple" height="10" width="0" x="1004" y="3" />
<rect fill="indianred" height="10" width="18" x="1002" y="3" /> <rect fill="indianred" height="10" width="17" x="1004" y="3" />
<rect fill="crimson" height="10" width="0" x="1020" y="3" /> <rect fill="crimson" height="10" width="0" x="1021" y="3" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

24
sources/mdevd/mdevd.spec Normal file
View File

@@ -0,0 +1,24 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
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
}

View File

@@ -0,0 +1,25 @@
# Maintainer: Alexander Hill <ahill@breadpudding.dev>
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
}