Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages [2022/12/17 04:00] – snacsnoc | packages [2025/03/01 05:49] (current) – snacsnoc | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Installing packages ====== | ===== Installing packages ====== | ||
+ | For a list of all packages available see: http:// | ||
+ | |||
'' | '' | ||
Line 24: | Line 26: | ||
===== Non-native ===== | ===== Non-native ===== | ||
+ | **Note**: It is easier to use pre-built toolchains from here: https:// | ||
+ | |||
**[[http:// | **[[http:// | ||
Line 70: | Line 74: | ||
make modules_install ARCH=x86_64 INSTALL_MOD_PATH=/ | make modules_install ARCH=x86_64 INSTALL_MOD_PATH=/ | ||
+ | ** dropbear 2022.82** | ||
+ | CC=i486-linux-musl-gcc CROSS_COMPILE=i486-linux-musl- ./configure --disable-zlib --host=i486-linux-musl --enable-static | ||
+ | CC=i486-linux-musl-gcc make PROGRAMS=" | ||
+ | | ||
+ | ** file 5.44 ** (perl is needed) | ||
+ | autoreconf -vfi | ||
+ | CC=i486-linux-musl-gcc CFLAGS=" | ||
+ | | ||
+ | ** gpm 1.20.7 ** | ||
+ | Needed patches: https:// | ||
+ | ./configure --prefix=/ | ||
===== Native ===== | ===== Native ===== | ||
Line 81: | Line 96: | ||
So for now, the binary is just copied in a tarball | So for now, the binary is just copied in a tarball | ||
- | **[[https:// | + | **[[https:// |
- | ./configure --disable-zlib | + | ./configure --disable-zlib |
make PROGRAMS=" | make PROGRAMS=" | ||
cp dropbearmulti / | cp dropbearmulti / | ||
Line 96: | Line 111: | ||
**[[https:// | **[[https:// | ||
- | | + | make CFLAGS="-s -static" |
Example usage: ln -s / | Example usage: ln -s / | ||
Line 142: | Line 157: | ||
- | ** [[http:// | + | ** [[http:// |
+ | See: https:// | ||
+ | wget http:// | ||
sed -i ' | sed -i ' | ||
# | # | ||
sed -i ' | sed -i ' | ||
+ | patch -p1 < lilo-geometry.patch | ||
make alles | make alles | ||
cp src/ | cp src/ | ||
Line 154: | Line 172: | ||
make | make | ||
make DESTDIR=/ | make DESTDIR=/ | ||
+ | #6.2 | ||
+ | #skip c++ checks | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | # fix install ownership | ||
+ | sed -i '/ | ||
+ | | ||
+ | make -C ncurses | ||
+ | # make symlink | ||
+ | ln -s / | ||
Line 223: | Line 254: | ||
** [[http:// | ** [[http:// | ||
- | Get this patch http:// | + | Get this patch http:// |
patch -p1 -i ./ | patch -p1 -i ./ | ||
| | ||
make | make | ||
make DESTDIR=/ | make DESTDIR=/ | ||
+ | Note: you may have to symlink runtime libs: | ||
+ | ln -sf /lib/crt1.o / | ||
+ | ln -sf /lib/crti.o / | ||
+ | ln -sf /lib/crtn.o / | ||
//Note: Use the ' | //Note: Use the ' | ||
Line 284: | Line 319: | ||
make DESTDIR=/ | make DESTDIR=/ | ||
</ | </ | ||
+ | |||
+ | | ||
+ | ./configure --prefix=/ | ||
+ | make CFLAGS=" | ||
+ | make DESTDIR=/ | ||
+ | | ||
+ | **[[https:// | ||
+ | ./configure --prefix=/ | ||
+ | make | ||
+ | make install MAN1DIR= MAN5DIR= MAN8DIR= DESTDIR=/ | ||
+ | | ||
+ | **[[https:// | ||
+ | | ||
+ | |||
+ | **[[http:// | ||
+ | gcc -static -s atlantic.c -o atlantic |