Reviewed packages and found that several were not packaged correctly

This commit is contained in:
Alexander Hill 2025-11-28 11:26:13 -05:00
parent 25bd0eb0b4
commit 2a2d872d09
7 changed files with 35 additions and 13 deletions

View File

@ -1,28 +1,33 @@
This document tracks which packages can be built and packaged within the chroot.
Definitions:
Can Build - The software can be both compiled via treetap on Maple Linux and run on Maple Linux
Can Package - The software can be packaged by treetap under Maple Linux, while using none of the deprecated paths (/usr/bin, /usr/lib, /usr/libexec, /sbin, etc.) and without conflicting with another package
| Package | Can Build? | Can Package? |
| ------------ | ---------- | ------------ |
| `autoconf` | Yes | Yes |
| `automake` | Yes | Yes |
| `bsdutils` | Yes | Yes |
| `bsdutils` | Yes | No |
| `busybox` | No | No |
| `byacc` | Yes | Yes |
| `bzip2` | Yes | Yes |
| `cmake` | Yes | Yes |
| `bzip2` | Yes | No |
| `cmake` | Yes | No |
| `editline` | Yes | Yes |
| `flex` | Yes | Yes |
| `libarchive` | Yes | Yes |
| `libressl` | Yes | Yes |
| `libtool` | Yes | Yes |
| `linux` | No | No |
| `llvm` | No | No |
| `m4` | Yes | Yes |
| `make` | Yes | Yes |
| `mold` | Yes | Yes |
| `muon` | Yes | Yes |
| `mold` | Yes | No |
| `muon` | Yes | No |
| `musl` | Yes | Yes |
| `musl-fts` | Yes | Yes |
| `ncurses` | Yes | Yes |
| `ncurses` | Yes | No |
| `perl` | Yes | Yes |
| `pkgconf` | Yes | Yes |
| `xz` | Yes | Yes |
| `zlib` | Yes | Yes |
| `zlib` | Yes | Yes |

View File

@ -4,6 +4,9 @@ SRC_NAME="bzip2"
SRC_URL="https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz"
SRC_VERSION="1.0.8"
# TODO: Move bzlib.h to $TT_INCLUDEDIR ~ahill
# TODO: Prevent the static library from being installed ~ahill
build() {
tar xf ../$SRC_FILENAME
cd bzip2-*/
@ -29,4 +32,4 @@ package() {
# NOTE: The second Makefile doesn't have an "install" target, so we just
# toss the shared object into /lib and call it a day! ~ahill
cp libbz2.so* $TT_INSTALLDIR/lib/
}
}

View File

@ -4,6 +4,9 @@ SRC_NAME="cmake"
SRC_URL="https://github.com/Kitware/CMake/releases/download/v4.2.0/cmake-4.2.0.tar.gz"
SRC_VERSION="4.2.0"
# TODO: Move executables from /usr/bin to $TT_BINDIR ~ahill
# TODO: Place all documentation under $TT_DATADIR/doc ~ahill
build() {
tar xf ../$SRC_FILENAME
cd cmake-*/
@ -27,4 +30,4 @@ clean() {
package() {
cd cmake-*/
make -O -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
}
}

View File

@ -4,6 +4,10 @@ SRC_NAME="libressl"
SRC_URL="https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.2.1.tar.gz"
SRC_VERSION="4.2.1"
# TODO: Should the openssl command be a symlink? For the sake of transparency,
# it may make sense to rename the command to "libressl" and make "openssl"
# a symlink for compatibility's sake. ~ahill
build() {
tar xf ../$SRC_FILENAME
cd libressl-*/
@ -20,4 +24,4 @@ clean() {
package() {
cd libressl-*/
make -j $TT_PROCS install DESTDIR=$TT_INSTALLDIR
}
}

View File

@ -5,6 +5,9 @@ SRC_NAME="mold"
SRC_URL="https://github.com/rui314/mold/archive/refs/tags/v2.40.4.tar.gz"
SRC_VERSION="2.40.4"
# TODO: Merge the contents from /lib64 and /libexec into $TT_LIBDIR ~ahill
# TODO: Move /share to $TT_DATADIR ~ahill
build() {
tar xf ../$SRC_FILENAME
cd mold-*/
@ -20,4 +23,4 @@ package() {
cd mold-*/
cmake --install build --parallel $TT_PROCS
ln -sf mold $TT_INSTALLDIR/bin/ld
}
}

View File

@ -5,6 +5,8 @@ SRC_NAME="muon"
SRC_URL="https://git.sr.ht/~lattis/muon/archive/0.5.0.tar.gz"
SRC_VERSION="0.5.0"
# TODO: Make sure the muon command is installed to $TT_BINDIR ~ahill
build() {
tar xf ../$SRC_FILENAME
cd muon-*/
@ -21,4 +23,4 @@ clean() {
package() {
cd muon-*/
DESTDIR=$TT_INSTALLDIR ./build/muon -C build install
}
}

View File

@ -4,6 +4,8 @@ SRC_NAME="ncurses"
SRC_URL="https://invisible-island.net/archives/ncurses/ncurses-6.5.tar.gz"
SRC_VERSION="6.5"
# TODO: Remove the target triple prefix from all of ncurses' executables ~ahill
build() {
tar xf ../$SRC_FILENAME
cd ncurses-*/
@ -27,4 +29,4 @@ package() {
# will only look for "ncurses" and not "ncursesw". ~ahill
ln -s libncursesw.so $TT_INSTALLDIR/lib/libncurses.so
ln -s libncurses++w.so $TT_INSTALLDIR/lib/libncurses++.so
}
}