From 86adf2fe0c7260325289be2605215f8a0c1bc0cb Mon Sep 17 00:00:00 2001 From: dale clack Date: Sun, 20 Nov 2022 03:07:05 -0800 Subject: [PATCH] Add install scripts for fuse-ext2 new file: fuse-ext2.sh new file: json_nlohmann/._json.hpp new file: mount_ext4.sh --- fuse-ext2.sh | 77 +++++++++++++++++++++++++++++++++++++++ json_nlohmann/._json.hpp | Bin 0 -> 4096 bytes mount_ext4.sh | 1 + 3 files changed, 78 insertions(+) create mode 100644 fuse-ext2.sh create mode 100644 json_nlohmann/._json.hpp create mode 100644 mount_ext4.sh diff --git a/fuse-ext2.sh b/fuse-ext2.sh new file mode 100644 index 0000000..8850c22 --- /dev/null +++ b/fuse-ext2.sh @@ -0,0 +1,77 @@ +#!/bin/sh +export PATH=/opt/gnu/bin:$PATH +export PKG_CONFIG_PATH=/opt/gnu/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH + +mkdir fuse-ext2.build +cd fuse-ext2.build + +if [ ! -d fuse-ext2 ]; then + git clone https://github.com/alperakcan/fuse-ext2.git +fi + +# m4 +if [ ! -f m4-1.4.17.tar.gz ]; then + curl -O -L http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz +fi +tar -zxvf m4-1.4.17.tar.gz +cd m4-1.4.17 +./configure --prefix=/opt/gnu +make -j 16 +sudo make install +cd ../ + +# autoconf +if [ ! -f autoconf-2.69.tar.gz ]; then + curl -O -L http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz +fi +tar -zxvf autoconf-2.69.tar.gz +cd autoconf-2.69 +./configure --prefix=/opt/gnu +make +sudo make install +cd ../ + +# automake +if [ ! -f automake-1.15.tar.gz ]; then + curl -O -L http://ftp.gnu.org/gnu/automake/automake-1.15.tar.gz +fi +tar -zxvf automake-1.15.tar.gz +cd automake-1.15 +./configure --prefix=/opt/gnu +make +sudo make install +cd ../ + +# libtool +if [ ! -f libtool-2.4.6.tar.gz ]; then + curl -O -L http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz +fi +tar -zxvf libtool-2.4.6.tar.gz +cd libtool-2.4.6 +./configure --prefix=/opt/gnu +make +sudo make install +cd ../ + +# e2fsprogs +if [ ! -f e2fsprogs-1.43.4.tar.gz ]; then + curl -O -L https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.43.4/e2fsprogs-1.43.4.tar.gz +fi +tar -zxvf e2fsprogs-1.43.4.tar.gz +cd e2fsprogs-1.43.4 +./configure --prefix=/opt/gnu --disable-nls +make +sudo make install +sudo make install-libs +sudo cp /opt/gnu/lib/pkgconfig/* /usr/local/lib/pkgconfig +cd ../ + +# fuse-ext2 +export PATH=/opt/gnu/bin:$PATH +export PKG_CONFIG_PATH=/opt/gnu/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH + +cd fuse-ext2 +./autogen.sh +CFLAGS="-idirafter/opt/gnu/include -idirafter/usr/local/include/osxfuse/" LDFLAGS="-L/opt/gnu/lib -L/usr/local/lib" ./configure +make +sudo make install diff --git a/json_nlohmann/._json.hpp b/json_nlohmann/._json.hpp new file mode 100644 index 0000000000000000000000000000000000000000..54b56480c6be88656f94a577b615c06656214deb GIT binary patch literal 4096 zcmeH~QE$^Q5XU_PLR9L+6HjQ0gxWVZi4&*kqzHv=s09tAwXiXSCdaw7+0r=JE-=0U z?|cwG6JKOFZH8bx@Cs5aIllWRcgp?FFNf|txQlKfbjY~%a%!De&8jtY&uoIw_BV4H zfBQQ^TRX=7%Zg{SBZMB^-bA3UCiu&ZkS*gk`u$T;!eEj@sq-uciO}0xnMqcv4CK3R zr*s*w$$%>g$pfQ1fCSbd+J9McZ z+QX2f84D>+gD}8;MgyFHOE85j3`X21gu>$!94|lPxR?uR{(Tw6$5S7V592*N9mj+Q z{mln^64p>y5yj6Z@#Of$vp4aHzc+n-Fs5GIBTtD#h%sC>7wQKRC^epz^va5!0IS#nQB`=RN5WC(8>c*%Er* zetj1Pi>mrFfxfIDVpUb-oYh$jHNmy%s?rkJvfH_FX