Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
packages [2018/02/14 05:31] snacsnocpackages [2023/11/18 17:16] – [Non-native] snacsnoc
Line 3: Line 3:
  
 Update the packages list by running Update the packages list by running
- fbpkg update+  fbpkg update
  
 Search for packages Search for packages
- fbpkg search tetris+  fbpkg search tetris
  
 Install a package Install a package
Line 24: Line 24:
  
 ===== Non-native ===== ===== Non-native =====
 +**Note**: It is easier to use pre-built toolchains from here: https://musl.cc/#binaries (native builds)
 +
 **[[http://ftp.gnu.org/gnu/gcc/gcc-5.2.0/|gcc 5.2.0]]** **[[http://ftp.gnu.org/gnu/gcc/gcc-5.2.0/|gcc 5.2.0]]**
  
Line 70: Line 72:
   make modules_install ARCH=x86_64 INSTALL_MOD_PATH=/path/to/install/headers/to   make modules_install ARCH=x86_64 INSTALL_MOD_PATH=/path/to/install/headers/to
            
 +** 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="dropbear dbclient dropbearkey dropbearconvert scp" MULTI=1 SCPPROGRESS=1 strip
 ===== Native ===== ===== Native =====
  
Line 81: Line 86:
 So for now, the binary is just copied in a tarball So for now, the binary is just copied in a tarball
  
-**[[https://matt.ucc.asn.au/dropbear/dropbear.html|dropbear 2017.75]]** +**[[https://matt.ucc.asn.au/dropbear/dropbear.html|dropbear 2022.82]]** 
-  ./configure --disable-zlib  +  ./configure --disable-zlib  --enable-static
   make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" MULTI=1 SCPPROGRESS=1 strip   make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" MULTI=1 SCPPROGRESS=1 strip
   cp dropbearmulti /path/to/staging/usr/bin && cd /path/to/staging/usr/bin   cp dropbearmulti /path/to/staging/usr/bin && cd /path/to/staging/usr/bin
Line 95: Line 100:
   dropbear    dropbear 
  
 +**[[https://code.google.com/p/ucpp/|ucpp 1.3.2]]** ([[https://bitbucket.org/snacsnoc/ucpp|mirror]])
 +  make CC=x86_64-linux-musl-gcc CFLAGS=-s LDFLAGS=-s
 +   
 +Example usage: ln -s /usr/bin/ucpp /lib/cpp   
 +
 +
 +** [[http://www.musl-libc.org/|musl 1.1.18]]**
 +   ./configure --prefix=/ 
 +   make
 +   make DESTDIR=/path/to/staging install 
 +
 +
 +** [[http://mama.indstate.edu/users/ice/tree/|tree 1.7.0]]**
 +   make
 +   make prefix=/path/to/staging install
  
 ---- ----
Line 127: Line 147:
        
        
-** [[http://lilo.alioth.debian.org/|lilo 24.1]] **+** [[http://lilo.alioth.debian.org/|lilo 24.2]] ** 
 +See: https://bugs.gentoo.org/792567 
 +   wget http://snacklinux.geekness.eu/tars/patches/lilo-geometry.patch
    sed -i 's/CC=gcc/CC=musl-gcc -static/' src/Makefile    sed -i 's/CC=gcc/CC=musl-gcc -static/' src/Makefile
    #Remove glibc specific line    #Remove glibc specific line
    sed -i '185d' src/lilo.c    sed -i '185d' src/lilo.c
 +   patch -p1 < lilo-geometry.patch
    make alles    make alles
    cp src/lilo.static /staging/bin/lilo    cp src/lilo.static /staging/bin/lilo
Line 171: Line 194:
    make DESTDIR=/path/to/staging install     make DESTDIR=/path/to/staging install 
        
-** [[http://mama.indstate.edu/users/ice/tree/|tree 1.7.0]]** 
-   make CC="musl-gcc -static" 
-   make prefix=/path/to/staging install 
  
 ** [[http://www.zlib.net/|zlib 1.2.8]]** ** [[http://www.zlib.net/|zlib 1.2.8]]**
Line 204: Line 224:
    make DESTDIR=/path/to/staging install    make DESTDIR=/path/to/staging install
  
-** [[http://www.musl-libc.org/|musl 1.1.14]]** 
-   ./configure --prefix=/ --disable-shared 
-   CFLAGS=-static make 
-   make DESTDIR=/path/to/staging install  
  
 ** [[http://www.nano-editor.org/|nano 2.4.1]]** ** [[http://www.nano-editor.org/|nano 2.4.1]]**
Line 267: Line 283:
    readline           syslog     readline           syslog 
        
-**[[https://code.google.com/p/ucpp/|ucpp 1.3.2]]** ([[https://bitbucket.org/snacsnoc/ucpp|mirror]]) +  
-   make CC=x86_64-linux-musl-gcc CFLAGS=-s LDFLAGS=-s +
-    +
-//Example usage: ln -s /usr/bin/ucpp /lib/cpp     +
  
 **[[http://www.gnu.org/software/tar/|tar 1.28]]** **[[http://www.gnu.org/software/tar/|tar 1.28]]**