Not done, but was in the middle of adding shit for NetworkManager

This commit is contained in:
kevadesu 2025-02-05 20:56:35 +01:00
parent be714f5707
commit 2d7963f3cc
4 changed files with 377 additions and 100 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.vscode/

View file

@ -30,6 +30,7 @@ einrichter.installer.chroot - Enter the environment using chroot
einrichter.help - Show this help dialog einrichter.help - Show this help dialog
einrichter.backup.create - Create a backup of the system to the home folder einrichter.backup.create - Create a backup of the system to the home folder
einrichter.backup.restore - Restore the aforementioned backup einrichter.backup.restore - Restore the aforementioned backup
einrichter.xr - Extracts everything in $LFS/sources/ and renames them to the same package name without the version number
exit - Exit the script exit - Exit the script
For more information, see https://github.com/kevadesu/TylkoLinux" For more information, see https://github.com/kevadesu/TylkoLinux"
} }
@ -273,7 +274,7 @@ function einrichter.installer.bg() {
function einrichter.xr() { function einrichter.xr() {
echo "[i] Extracting and renaming ALL packages..." echo "[i] Extracting and renaming ALL packages..."
sleep 0.5 sleep 0.5
pushd $LFS/sources/ || einrichter.error pushd $LFS/sources/ || einrichter.error DIR404_SRC
tar -xvf gcc-14.2.0.tar.xz tar -xvf gcc-14.2.0.tar.xz
mv -v gcc-14.2.0 gcc mv -v gcc-14.2.0 gcc
pushd $LFS/sources/gcc pushd $LFS/sources/gcc
@ -320,6 +321,137 @@ function einrichter.xr() {
mv tar-1.35 tar mv tar-1.35 tar
tar -xvf xz-5.6.2.tar.*z tar -xvf xz-5.6.2.tar.*z
mv xz-5.6.2 xz mv xz-5.6.2 xz
tar -xvf gettext*xz
mv gettext-0.22.5 gettext
tar -xvf bison*xz
mv bison-3.8.2 bison
tar -xvf perl*xz
mv perl-5.40.0 perl
tar -xvf Python*xz
mv Python-3.12.5 python
tar -xvf texinfo*xz
mv texinfo-7.1 texinfo
tar -xvf util-linux*.xz
mv util-linux-2.40.2 util-linux
tar -xvf man-pages-6.9.1.tar.xz
mv man-pages-6.9.1.tar.xz man-pages
tar -xvf iana-etc-20240806.tar.gz
tar -xvf zlib-1.3.1.tar.gz
mv zlib-1.3.1 zlib
tar -xvf bzip2-1.0.8.tar.gz
mv bzip2-1.0.8 bzip2
tar -xvf lz4-1.10.0.tar.gz
mv lz4-1.10.0 lz4
tar -xvf zstd-1.5.6.tar.gz
mv zstd-1.5.6 zstd
tar -xvf readline-8.2.13.tar.gz
mv readline-8.2.13 readline
tar -xvf bc-6.7.6.tar.xz
mv bc-6.7.6 bc
tar -xvf flex-2.6.4.tar.gz
mv flex-2.6.4 flex
tar -xvf tcl8.6.14-src.tar.gz
mv tcl8.6.14 tcl
tar -xvf expect5.45.4.tar.gz
mv expect5.45.4 expect
tar -xvf dejagnu-1.6.3.tar.gz
mv dejagnu-1.6.3 dejagnu
tar -xvf pkgconf-2.3.0.tar.xz
mv pkgconf-2.3.0 pkgconf
tar -xvf gmp-6.3.0.tar.xz
mv gmp-6.3.0 gmp
tar -xvf mpfr-4.2.1.tar.xz
mv mpfr-4.2.1 mpfr
tar -xvf mpc-1.3.1.tar.gz
mv mpc-1.3.1 mpc
tar -xvf attr-2.5.2.tar.gz
mv attr-2.5.2 attr
tar -xvf acl-2.3.2.tar.xz
mv acl-2.3.2 acl
tar -xvf libcap-2.70.tar.xz
mv libcap-2.70 libcap
tar -xvf libxcrypt-4.4.36.tar.xz
mv libxcrypt-4.4.36 libxcrypt
tar -xvf shadow-4.16.0.tar.xz
mv shadow-4.16.0 shadow
tar -xvf psmisc-23.7.tar.xz
mv psmisc-23.7 psmisc
tar -xvf libtool-2.4.7.tar.xz
mv libtool-2.4.7 libtool
tar -xvf gdbm-1.24.tar.gz
mv gdbm-1.24 gdbm
tar -xvf gperf-3.1.tar.gz;
mv gperf-3.1 gperf
tar -xvf expat-2.6.2.tar.xz;
mv expat-2.6.2 expat
tar -xvf inetutils-2.5.tar.xz
mv inetutils-2.5 inetutils
tar -xvf less-661.tar.gz;
mv less-661 less
tar -xvf XML-Parser-2.47.tar.gz;
mv XML-Parser-2.47 XML-Parser
tar -xvf intltool-0.51.0.tar.gz;
mv intltool-0.51.0 intltool
tar -xvf autoconf-2.72.tar.xz;
tar -xvf automake-1.17.tar.xz;
mv autoconf-2.72 autoconf;
mv automake-1.17 automake
tar -xvf openssl-3.3.1.tar.gz;
mv openssl-3.3.1 openssl
tar -xvf kmod-33.tar.xz;
mv kmod-33 kmod
tar -xvf elfutils-0.191.tar.bz2;
mv elfutils-0.191 elfutils
tar -xvf libffi-3.4.6.tar.gz;
mv libffi-3.4.6 libffi
tar -xvf flit_core-3.9.0.tar.gz;
mv flit_core-3.9.0 flit_core
tar -xvf wheel-0.44.0.tar.gz;
mv wheel-0.44.0 wheel
tar -xvf setuptools-72.2.0.tar.gz;
mv setuptools-72.2.0 setuptools
tar -xvf ninja-1.12.1.tar.gz;
mv ninja-1.12.1 ninja
tar -xvf meson-1.5.1.tar.gz;
mv meson-1.5.1 meson
tar -xvf check-0.15.2.tar.gz;
mv check-0.15.2 check
tar -xvf groff-1.23.0.tar.gz;
mv groff-1.23.0 groff
tar -xvf grub-2.12.tar.xz;
mv grub-2.12 grub
tar -xvf iproute2-6.10.0.tar.xz;
mv iproute2-6.10.0 iproute2
tar -xvf kbd-2.6.4.tar.xz;
mv kbd-2.6.4 kbd
tar -xvf libpipeline-1.5.7.tar.gz;
mv libpipeline-1.5.7 libpipeline
tar -xvf nano-8.1.tar.xz;
mv nano-8.1 nano
tar -xvf MarkupSafe-2.1.5.tar.gz;
mv MarkupSafe-2.1.5 MarkupSafe
tar -xvf jinja2-3.1.4.tar.gz;
mv jinja2-3.1.4 jinja
tar -xvf systemd-256.4.tar.gz;
mv systemd-256.4 systemd
tar -xvf dbus-1.14.10.tar.xz;
mv dbus-1.14.10 dbus
tar -xvf man-db-2.12.1.tar.xz;
mv man-db-2.12.1 man-db
tar -xvf procps-ng-4.0.4.tar.xz;
mv procps-ng-4.0.4 procps-ng
tar -xvf e2fsprogs-1.47.1.tar.gz;
mv e2fsprogs-1.47.1 e2fsprogs
tar -xvf git-2.48.1.tar.xz
mv git-2.48.1 git
tar -xvf wget-1.24.5.tar.gz
mv wget-1.24.5 wget
tar -xvf p11-kit-0.25.5.tar.xz
mv p11-kit-0.25.5 p11-kit
tar -xvf make-ca-1.14.tar.gz
mv make-ca-1.14 make-ca
tar -xvf libtasn1-4.19.0.tar.gz
mv libtasn1-4.19.0 libtasn1
} }
function einrichter.error() { function einrichter.error() {
@ -331,6 +463,9 @@ function einrichter.error() {
"PKG_DWD_FAIL") "PKG_DWD_FAIL")
echo -e "${BRed}[!] ${Red}Downloading packages, patches and/or the package list . This could be an issue on either your side of the Installer's. Please report this error to the github.com/kevadesu/TylkoLinux repository.${Color_Off}" echo -e "${BRed}[!] ${Red}Downloading packages, patches and/or the package list . This could be an issue on either your side of the Installer's. Please report this error to the github.com/kevadesu/TylkoLinux repository.${Color_Off}"
;; ;;
D404_SRC)
echo "[!] Directory /sources/ does NOT exist!"
;;
*) *)
echo -e "${BRed}[!] ${Red}The installation failed due to an unknown error.${Color_Off}" echo -e "${BRed}[!] ${Red}The installation failed due to an unknown error.${Color_Off}"
;; ;;

View file

@ -54,7 +54,7 @@ eic.config.systemd.disableScreenClearing <yes/no> - decide whether systemd shoul
eic.config.systemd.limitCoreDumpSize <(Number)(G/M/K/B) - limits core dump size to value specified as argument eic.config.systemd.limitCoreDumpSize <(Number)(G/M/K/B) - limits core dump size to value specified as argument
eic.linux.install - the final boss: install the Linux kernel to the system. can take 0.4-32 SBUs (typically 2.5), MIGHT also be heavy eic.linux.install - the final boss: install the Linux kernel to the system. can take 0.4-32 SBUs (typically 2.5), MIGHT also be heavy
eic.rpm.install - installs RPM eic.rpm.install - installs RPM
eic.eko.install - installs the Eko wrapper for RPM (RPM Package Manager) eic.zypper.install - installs openSUSE's RPM frontend, Zypper
eic.help - show this message eic.help - show this message
" "
} }
@ -602,8 +602,6 @@ EOF
make install make install
make install-html make install-html
popd popd
tar -xvf attr-2.5.2.tar.gz
mv attr-2.5.2 attr
pushd attr/ pushd attr/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-static \ --disable-static \
@ -613,8 +611,6 @@ EOF
make check make check
make install make install
popd popd
tar -xvf acl-2.3.2.tar.xz
mv acl-2.3.2 acl
pushd acl/ pushd acl/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-static \ --disable-static \
@ -622,16 +618,12 @@ EOF
make make
make install make install
popd popd
tar -xvf libcap-2.70.tar.xz
mv libcap-2.70 libcap
pushd libcap/ pushd libcap/
sed -i '/install -m.*STA/d' libcap/Makefile sed -i '/install -m.*STA/d' libcap/Makefile
make prefix=/usr lib=lib make prefix=/usr lib=lib
make test make test
make prefix=/usr lib=lib install make prefix=/usr lib=lib install
popd popd
tar -xvf libxcrypt-4.4.36.tar.xz
mv libxcrypt-4.4.36 libxcrypt
pushd libxcrypt/ pushd libxcrypt/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--enable-hashes=strong,glibc \ --enable-hashes=strong,glibc \
@ -651,7 +643,6 @@ EOF
make make
cp -av --remove-destination .libs/libcrypt.so.1* /usr/lib cp -av --remove-destination .libs/libcrypt.so.1* /usr/lib
popd popd
tar -xvf shadow-4.16.0.tar.xz; mv shadow-4.16.0 shadow
pushd shadow/ pushd shadow/
sed -i 's/groups$(EXEEXT) //' src/Makefile.in sed -i 's/groups$(EXEEXT) //' src/Makefile.in
find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \; find man -name Makefile.in -exec sed -i 's/groups\.1 / /' {} \;
@ -799,8 +790,6 @@ function eic.system.build.continue() {
install -d -m755 /usr/share/doc/sed-4.9 install -d -m755 /usr/share/doc/sed-4.9
install -m644 doc/sed.html /usr/share/doc/sed-4.9 install -m644 doc/sed.html /usr/share/doc/sed-4.9
popd popd
tar -xvf psmisc-23.7.tar.xz
mv psmisc-23.7 psmisc
pushd psmisc/ pushd psmisc/
./configure --prefix=/usr ./configure --prefix=/usr
make make
@ -900,8 +889,6 @@ EOF
eic.system.build.continue.bash.ask eic.system.build.continue.bash.ask
make install make install
popd popd
tar -xvf libtool-2.4.7.tar.xz
mv libtool-2.4.7 libtool
pushd libtool/ pushd libtool/
./configure --prefix=/usr ./configure --prefix=/usr
make make
@ -909,8 +896,6 @@ EOF
make install make install
rm -fv /usr/lib/libltdl.a rm -fv /usr/lib/libltdl.a
popd popd
tar -xvf gdbm-1.24.tar.gz;
mv gdbm-1.24 gdbm
pushd gdbm/ pushd gdbm/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-static \ --disable-static \
@ -919,16 +904,12 @@ EOF
make check make check
make install make install
popd popd
tar -xvf gperf-3.1.tar.gz;
mv gperf-3.1 gperf
pushd gperf/ pushd gperf/
./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1 ./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1
make make
make -j1 check make -j1 check
make install make install
popd popd
tar -xvf expat-2.6.2.tar.xz;
mv expat-2.6.2 expat
pushd expat/ pushd expat/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-static \ --disable-static \
@ -938,8 +919,6 @@ EOF
make install make install
install -v -m644 doc/*.{html,css} /usr/share/doc/expat-2.6.2 install -v -m644 doc/*.{html,css} /usr/share/doc/expat-2.6.2
popd popd
inetutils-2.5.tar.xz;
mv inetutils-2.5 inetutils
pushd inetutils/ pushd inetutils/
sed -i 's/def HAVE_TERMCAP_TGETENT/ 1/' telnet/telnet.c sed -i 's/def HAVE_TERMCAP_TGETENT/ 1/' telnet/telnet.c
./configure --prefix=/usr \ ./configure --prefix=/usr \
@ -957,8 +936,6 @@ EOF
make install make install
mv -v /usr/{,s}bin/ifconfig mv -v /usr/{,s}bin/ifconfig
popd popd
tar -xvf less-661.tar.gz;
mv less-661 less
pushd less/ pushd less/
./configure --prefix=/usr --sysconfdir=/etc ./configure --prefix=/usr --sysconfdir=/etc
make make
@ -1006,16 +983,12 @@ EOF
make install make install
unset BUILD_ZLIB BUILD_BZIP2 unset BUILD_ZLIB BUILD_BZIP2
popd popd
tar -xvf XML-Parser-2.47.tar.gz;
mv XML-Parser-2.47 XML-Parser
pushd XML-Parser/ pushd XML-Parser/
perl Makefile.PL perl Makefile.PL
make make
make test make test
make install make install
popd popd
tar -xvf intltool-0.51.0.tar.gz;
mv intltool-0.51.0 intltool
pushd intltool/ pushd intltool/
sed -i 's:\\\${:\\\$\\{:' intltool-update.in sed -i 's:\\\${:\\\$\\{:' intltool-update.in
./configure --prefix=/usr ./configure --prefix=/usr
@ -1024,10 +997,6 @@ EOF
make install make install
install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-0.51.0/I18N-HOWTO install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-0.51.0/I18N-HOWTO
popd popd
tar -xvf autoconf-2.72.tar.xz;
tar -xvf automake-1.17.tar.xz;
mv autoconf-2.72 autoconf;
mv automake-1.17 automake
pushd autoconf/ pushd autoconf/
./configure --prefix=/usr ./configure --prefix=/usr
make make
@ -1076,8 +1045,6 @@ EOF
eic.system.build.continue.automake.ask eic.system.build.continue.automake.ask
make install make install
popd popd
tar -xvf openssl-3.3.1.tar.gz;
mv openssl-3.3.1 openssl
pushd openssl/ pushd openssl/
./config --prefix=/usr \ ./config --prefix=/usr \
--openssldir=/etc/ssl \ --openssldir=/etc/ssl \
@ -1091,8 +1058,6 @@ EOF
mv -v /usr/share/doc/openssl /usr/share/doc/openssl-3.3.1 mv -v /usr/share/doc/openssl /usr/share/doc/openssl-3.3.1
cp -vfr doc/* /usr/share/doc/openssl-3.3.1 cp -vfr doc/* /usr/share/doc/openssl-3.3.1
popd popd
tar -xvf kmod-33.tar.xz;
mv kmod-33 kmod
pushd kmod pushd kmod
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
@ -1109,8 +1074,6 @@ EOF
rm -fv /usr/bin/$target rm -fv /usr/bin/$target
done done
popd popd
tar -xvf elfutils-0.191.tar.bz2;
mv elfutils-0.191 elfutils
pushd elfutils/ pushd elfutils/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-debuginfod \ --disable-debuginfod \
@ -1121,8 +1084,6 @@ EOF
install -vm644 config/libelf.pc /usr/lib/pkgconfig install -vm644 config/libelf.pc /usr/lib/pkgconfig
rm /usr/lib/libelf.a rm /usr/lib/libelf.a
popd popd
tar -xvf libffi-3.4.6.tar.gz;
mv libffi-3.4.6 libffi
pushd libffi/ pushd libffi/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-static \ --disable-static \
@ -1169,26 +1130,18 @@ EOF
cp -R --no-preserve=mode python-3.12.5-docs-html/* \ cp -R --no-preserve=mode python-3.12.5-docs-html/* \
/usr/share/doc/python-3.12.5/html /usr/share/doc/python-3.12.5/html
popd popd
tar -xvf flit_core-3.9.0.tar.gz;
mv flit_core-3.9.0 flit_core
pushd flit_core/ pushd flit_core/
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
pip3 install --no-index --no-user --find-links dist flit_core pip3 install --no-index --no-user --find-links dist flit_core
popd popd
tar -xvf wheel-0.44.0.tar.gz;
mv wheel-0.44.0 wheel
pushd wheel/ pushd wheel/
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
pip3 install --no-index --find-links=dist wheel pip3 install --no-index --find-links=dist wheel
popd popd
tar -xvf setuptools-72.2.0.tar.gz;
mv setuptools-72.2.0 setuptools
pushd setuptools/ pushd setuptools/
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
pip3 install --no-index --find-links dist setuptools pip3 install --no-index --find-links dist setuptools
popd popd
tar -xvf ninja-1.12.1.tar.gz;
mv ninja-1.12.1 ninja
pushd ninja/ pushd ninja/
export NINJAJOBS=4 export NINJAJOBS=4
sed -i '/int Guess/a \ sed -i '/int Guess/a \
@ -1202,8 +1155,6 @@ if ( j > 0 ) return j;\
install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninja install -vDm644 misc/bash-completion /usr/share/bash-completion/completions/ninja
install -vDm644 misc/zsh-completion /usr/share/zsh/site-functions/_ninja install -vDm644 misc/zsh-completion /usr/share/zsh/site-functions/_ninja
popd popd
tar -xvf meson-1.5.1.tar.gz;
mv meson-1.5.1 meson
pushd meson/ pushd meson/
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
pip3 install --no-index --find-links dist meson pip3 install --no-index --find-links dist meson
@ -1222,8 +1173,6 @@ if ( j > 0 ) return j;\
mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8 mv -v /usr/share/man/man1/chroot.1 /usr/share/man/man8/chroot.8
sed -i 's/"1"/"8"/' /usr/share/man/man8/chroot.8 sed -i 's/"1"/"8"/' /usr/share/man/man8/chroot.8
popd popd
tar -xvf check-0.15.2.tar.gz;
mv check-0.15.2 check
pushd check/ pushd check/
./configure --prefix=/usr --disable-static ./configure --prefix=/usr --disable-static
make make
@ -1248,15 +1197,11 @@ if ( j > 0 ) return j;\
make make
make install make install
popd popd
tar -xvf groff-1.23.0.tar.gz;
mv groff-1.23.0 groff
pushd groff/ pushd groff/
PAGE=A4 ./configure --prefix=/usr # European standard PAGE=A4 ./configure --prefix=/usr # European standard
make make
make install make install
popd popd
tar -xvf grub-2.12.tar.xz;
mv grub-2.12 grub
pushd grub/ pushd grub/
unset {C,CPP,CXX,LD}FLAGS unset {C,CPP,CXX,LD}FLAGS
echo depends bli part_gpt > grub-core/extra_deps.lst echo depends bli part_gpt > grub-core/extra_deps.lst
@ -1273,8 +1218,6 @@ if ( j > 0 ) return j;\
make make
make install make install
popd popd
tar -xvf iproute2-6.10.0.tar.xz;
mv iproute2-6.10.0 iproute2
pushd iproute/ pushd iproute/
sed -i /ARPD/d Makefile sed -i /ARPD/d Makefile
rm -fv man/man8/arpd.8 rm -fv man/man8/arpd.8
@ -1283,8 +1226,6 @@ if ( j > 0 ) return j;\
mkdir -pv /usr/share/doc/iproute2-6.10.0 mkdir -pv /usr/share/doc/iproute2-6.10.0
cp -v COPYING README* /usr/share/doc/iproute2-6.10.0 cp -v COPYING README* /usr/share/doc/iproute2-6.10.0
popd popd
tar -xvf kbd-2.6.4.tar.xz;
mv kbd-2.6.4 kbd
pushd kbd/ pushd kbd/
patch -Np1 -i ../kbd-2.6.4-backspace-1.patch patch -Np1 -i ../kbd-2.6.4-backspace-1.patch
sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
@ -1295,8 +1236,6 @@ if ( j > 0 ) return j;\
make install make install
cp -R -v docs/doc -T /usr/share/doc/kbd-2.6.4 cp -R -v docs/doc -T /usr/share/doc/kbd-2.6.4
popd popd
tar -xvf libpipeline-1.5.7.tar.gz;
mv libpipeline-1.5.7 libpipeline
pushd libpipeline/ pushd libpipeline/
./configure --prefix=/usr ./configure --prefix=/usr
make make
@ -1348,8 +1287,6 @@ if ( j > 0 ) return j;\
make install make install
make TEXMF=/usr/share/texmf install-tex make TEXMF=/usr/share/texmf install-tex
popd popd
tar -xvf nano-8.1.tar.xz;
mv nano-8.1 nano
pushd nano/ pushd nano/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
@ -1359,20 +1296,14 @@ if ( j > 0 ) return j;\
make install make install
install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-8.1 install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-8.1
popd popd
tar -xvf MarkupSafe-2.1.5.tar.gz;
mv MarkupSafe-2.1.5 MarkupSafe
pushd MarkupSafe/ pushd MarkupSafe/
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
pip3 install --no-index --no-user --find-links dist Markupsafe pip3 install --no-index --no-user --find-links dist Markupsafe
popd popd
tar -xvf jinja2-3.1.4.tar.gz;
mv jinja2-3.1.4 jinja
pushd jinja/ pushd jinja/
pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
pip3 install --no-index --no-user --find-links dist Jinja2 pip3 install --no-index --no-user --find-links dist Jinja2
popd popd
tar -xvf systemd-256.4.tar.gz;
mv systemd-256.4 systemd
pushd systemd/ pushd systemd/
sed -i -e 's/GROUP="render"/GROUP="video"/' \ sed -i -e 's/GROUP="render"/GROUP="video"/' \
-e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in
@ -1408,8 +1339,6 @@ if ( j > 0 ) return j;\
systemd-machine-id-setup systemd-machine-id-setup
systemctl preset-all systemctl preset-all
popd popd
tar -xvf dbus-1.14.10.tar.xz;
mv dbus-1.14.10 dbus
pushd dbus/ pushd dbus/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--sysconfdir=/etc \ --sysconfdir=/etc \
@ -1426,8 +1355,6 @@ if ( j > 0 ) return j;\
make install make install
ln -sfv /etc/machine-id /var/lib/dbus ln -sfv /etc/machine-id /var/lib/dbus
popd popd
tar -xvf man-db-2.12.1.tar.xz;
mv man-db-2.12.1 man-db
pushd man-db/ pushd man-db/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--docdir=/usr/share/doc/man-db-2.12.1 \ --docdir=/usr/share/doc/man-db-2.12.1 \
@ -1441,8 +1368,6 @@ if ( j > 0 ) return j;\
make check make check
make install make install
popd popd
tar -xvf procps-ng-4.0.4.tar.xz;
mv procps-ng-4.0.4 procps-ng
pushd procps-ng/ pushd procps-ng/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--docdir=/usr/share/doc/procps-ng-4.0.4 \ --docdir=/usr/share/doc/procps-ng-4.0.4 \
@ -1474,8 +1399,6 @@ if ( j > 0 ) return j;\
make make
make install make install
popd popd
tar -xvf e2fsprogs-1.47.1.tar.gz;
mv e2fsprogs-1.47.1 e2fsprogs
pushd e2fsprogs/ pushd e2fsprogs/
mkdir -v build mkdir -v build
cd build cd build
@ -1495,6 +1418,104 @@ if ( j > 0 ) return j;\
makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo makeinfo -o doc/com_err.info ../lib/et/com_err.texinfo
install -v -m644 doc/com_err.info /usr/share/info install -v -m644 doc/com_err.info /usr/share/info
install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info
popd
pushd curl/
./configure --prefix=/usr \
--disable-static \
--with-openssl \
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs \
--without-libpsl
make
make install &&
rm -rf docs/examples/.deps &&
find docs \( -name Makefile\* -o \
-name \*.1 -o \
-name \*.3 -o \
-name CMakeLists.txt \) -delete &&
cp -v -R docs -T /usr/share/doc/curl-8.9.1
popd
pushd git/
./configure --prefix=/usr \
--with-gitconfig=/etc/gitconfig \
--with-python=python3 &&
make
make perllibdir=/usr/lib/perl5/5.40/site_perl install
## Prone to certificate errors
tar -xvf ../git-manpages-2.48.1.tar.xz \
-C /usr/share/man --no-same-owner --no-overwrite-dir
mkdir -vp /usr/share/doc/git-2.48.1 &&
tar -xvf ../git-htmldocs-2.48.1.tar.xz \
-C /usr/share/doc/git-2.48.1 --no-same-owner --no-overwrite-dir &&
find /usr/share/doc/git-2.48.1 -type d -exec chmod 755 {} \; &&
find /usr/share/doc/git-2.48.1 -type f -exec chmod 644 {} \;
mkdir -vp /usr/share/doc/git-2.48.1/man-pages/{html,text} &&
mv /usr/share/doc/git-2.48.1/{git*.txt,man-pages/text} &&
mv /usr/share/doc/git-2.48.1/{git*.,index.,man-pages/}html &&
mkdir -vp /usr/share/doc/git-2.48.1/technical/{html,text} &&
mv /usr/share/doc/git-2.48.1/technical/{*.txt,text} &&
mv /usr/share/doc/git-2.48.1/technical/{*.,}html &&
mkdir -vp /usr/share/doc/git-2.48.1/howto/{html,text} &&
mv /usr/share/doc/git-2.48.1/howto/{*.txt,text} &&
mv /usr/share/doc/git-2.48.1/howto/{*.,}html &&
sed -i '/^<a href=/s|howto/|&html/|' /usr/share/doc/git-2.48.1/howto-index.html &&
sed -i '/^\* link:/s|howto/|&html/|' /usr/share/doc/git-2.48.1/howto-index.txt
popd
pushd wget/
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-ssl=openssl &&
make
make install
popd
pushd libtasn1/
./configure --prefix=/usr --disable-static &&
make
make install
popd
pushd p11-kit/
sed '20,$ d' -i trust/trust-extract-compat &&
cat >> trust/trust-extract-compat << "EOF"
# Copy existing anchor modifications to /etc/ssl/local
/usr/libexec/make-ca/copy-trust-modifications
# Update trust stores
/usr/sbin/make-ca -r
EOF
mkdir p11-build &&
cd p11-build &&
meson setup .. \
--prefix=/usr \
--buildtype=release \
-D trust_paths=/etc/pki/anchors &&
ninja
ninja install &&
ln -sfv /usr/libexec/p11-kit/trust-extract-compat \
/usr/bin/update-ca-certificates
ln -sfv ./pkcs11/p11-kit-trust.so /usr/lib/libnssckbi.so
popd
pushd make-ca/
make install &&
install -vdm755 /etc/ssl/local
/usr/sbin/make-ca -g
wget http://www.cacert.org/certs/root.crt &&
wget http://www.cacert.org/certs/class3.crt &&
openssl x509 -in root.crt -text -fingerprint -setalias "CAcert Class 1 root" \
-addtrust serverAuth -addtrust emailProtection -addtrust codeSigning \
> /etc/ssl/local/CAcert_Class_1_root.pem &&
openssl x509 -in class3.crt -text -fingerprint -setalias "CAcert Class 3 root" \
-addtrust serverAuth -addtrust emailProtection -addtrust codeSigning \
> /etc/ssl/local/CAcert_Class_3_root.pem &&
/usr/sbin/make-ca -r
popd popd
popd popd
echo "[i] The system build has successfully finished." echo "[i] The system build has successfully finished."
@ -1886,6 +1907,129 @@ EOF
popd popd
} }
function eic.plus() {
pushd /sources/
tar -xvf NetworkManager-1.48.8.tar.xz
mv NetworkManager-1.48.8 NetworkManager
tar -xvf polkit-125.tar.gz
mv polkit-125 polkit
tar -xvf glib-2.80.4.tar.xz
mv glib-2.80.4 glib
tar -xvf packaging-24.1.tar.gz
mv packaging-24.1 packaging
tar -xvf newt-0.52.24.tar.gz
mv newt-0.52.24 newt
tar -xvf slang-2.3.3.tar.bz2
mv slang-2.3.3 slang
tar -xvf gpm-1.20.7.tar.bz2
mv gpm-1.20.7 gpm
pushd gpm/
patch -Np1 -i ../gpm-1.20.7-consolidated-1.patch &&
./autogen.sh &&
./configure --prefix=/usr --sysconfdir=/etc ac_cv_path_emacs=no &&
make
make install &&
install-info --dir-file=/usr/share/info/dir \
/usr/share/info/gpm.info &&
rm -fv /usr/lib/libgpm.a &&
ln -sfv libgpm.so.2.1.0 /usr/lib/libgpm.so &&
install -v -m644 conf/gpm-root.conf /etc &&
install -v -m755 -d /usr/share/doc/gpm-1.20.7/support &&
install -v -m644 doc/support/* \
/usr/share/doc/gpm-1.20.7/support &&
install -v -m644 doc/{FAQ,HACK_GPM,README*} \
/usr/share/doc/gpm-1.20.7
popd
pushd slang/
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-readline=gnu &&
make -j1 RPATH=
make install_doc_dir=/usr/share/doc/slang-2.3.3 \
SLSH_DOC_DIR=/usr/share/doc/slang-2.3.3/slsh \
RPATH= install
popd
if [ -d "/sources/popt" ]; then
echo "[i] popt has already been extracted, it seems.";
else
tar -xvf popt-*.tar.gz
mv popt-1.19 popt
fi
pushd popt/
./configure --prefix=/usr --disable-static &&
make
make install
popd
pushd newt/
sed -e '/install -m 644 $(LIBNEWT)/ s/^/#/' \
-e '/$(LIBNEWT):/,/rv/ s/^/#/' \
-e 's/$(LIBNEWT)/$(LIBNEWTSH)/g' \
-i Makefile.in &&
./configure --prefix=/usr \
--with-gpm-support \
--with-python=python3.12 &&
make
make install
popd
pushd packaging/
pip3 wheel -w dist --no-build-isolation --no-deps --no-cache-dir $PWD
pip3 install --no-index --find-links=dist --no-cache-dir --no-user packaging
popd
pushd glib/
patch -Np1 -i ../glib-skip_warnings-1.patch
if [ -e /usr/include/glib-2.0 ]; then
rm -rf /usr/include/glib-2.0.old &&
mv -vf /usr/include/glib-2.0{,.old}
fi
mkdir build
cd build &&
meson setup .. \
--prefix=/usr \
--buildtype=release \
-D introspection=disabled #\
# -D man-pages=enabled
ninja
ninja install
tar xf ../../gobject-introspection-1.80.1.tar.xz &&
meson setup gobject-introspection-1.80.1 gi-build \
--prefix=/usr --buildtype=release &&
ninja -C gi-build
ninja -C gi-build install
meson configure -D introspection=enabled &&
ninja
ninja install
popd
tar -xvf duktape-2.7.0.tar.xz
mv duktape-2.7.0 duktape
pushd duktape/
sed -i 's/-Os/-O2/' Makefile.sharedlibrary
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr
make -f Makefile.sharedlibrary INSTALL_PREFIX=/usr install
popd
pushd polkit/
groupadd -fg 27 polkitd &&
useradd -c "PolicyKit Daemon Owner" -d /etc/polkit-1 -u 27 \
-g polkitd -s /bin/false polkitd
mkdir build &&
cd build &&
meson setup .. \
--prefix=/usr \
--buildtype=release \
-D man=true \
-D session_tracking=logind \
-D tests=true
popd
}
function eic.rpm.install() { function eic.rpm.install() {
# Enter /sources/ directory # Enter /sources/ directory
pushd /sources/ pushd /sources/
@ -1943,25 +2087,6 @@ function eic.rpm.install() {
make make
make install make install
popd popd
pushd curl/
./configure --prefix=/usr \
--disable-static \
--with-openssl \
--enable-threaded-resolver \
--with-ca-path=/etc/ssl/certs \
--without-libpsl
make
make install &&
rm -rf docs/examples/.deps &&
find docs \( -name Makefile\* -o \
-name \*.1 -o \
-name \*.3 -o \
-name CMakeLists.txt \) -delete &&
cp -v -R docs -T /usr/share/doc/curl-8.9.1
popd
pushd nghttp2/ pushd nghttp2/
./configure --prefix=/usr \ ./configure --prefix=/usr \
--disable-static \ --disable-static \
@ -2049,7 +2174,7 @@ EOF
popd popd
} }
function eic.eko.install() { function eic.zypper.install() {
echo "Not implemented" echo "Not implemented"
} }

View file

@ -99,4 +99,20 @@ https://curl.se/download/curl-8.11.1.tar.xz
https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-1.19.tar.gz https://ftp.osuosl.org/pub/rpm/popt/releases/popt-1.x/popt-1.19.tar.gz
https://www.lua.org/ftp/lua-5.4.7.tar.gz https://www.lua.org/ftp/lua-5.4.7.tar.gz
https://sourceware.org/pub/debugedit/0.3/debugedit-0.3.tar.xz https://sourceware.org/pub/debugedit/0.3/debugedit-0.3.tar.xz
https://www.kernel.org/pub/software/scm/git/git-2.48.1.tar.xz https://www.kernel.org/pub/software/scm/git/git-manpages-2.48.1.tar.xz
https://www.kernel.org/pub/software/scm/git/git-htmldocs-2.48.1.tar.xz
https://download.gnome.org/sources/NetworkManager/1.48/NetworkManager-1.48.8.tar.xz
https://github.com/polkit-org/polkit/archive/125/polkit-125.tar.gz
https://download.gnome.org/sources/glib/2.80/glib-2.80.4.tar.xz
https://www.linuxfromscratch.org/patches/blfs/12.2/glib-skip_warnings-1.patch
https://download.gnome.org/sources/gobject-introspection/1.80/gobject-introspection-1.80.1.tar.xz
https://files.pythonhosted.org/packages/source/p/packaging/packaging-24.1.tar.gz
https://releases.pagure.org/newt/newt-0.52.24.tar.gz
https://www.jedsoft.org/releases/slang/slang-2.3.3.tar.bz2
https://anduin.linuxfromscratch.org/BLFS/gpm/gpm-1.20.7.tar.bz2
https://www.linuxfromscratch.org/patches/blfs/12.2/gpm-1.20.7-consolidated-1.patch
https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.19.0.tar.gz
https://github.com/lfs-book/make-ca/archive/v1.14/make-ca-1.14.tar.gz
https://github.com/p11-glue/p11-kit/releases/download/0.25.5/p11-kit-0.25.5.tar.xz
https://ftp.gnu.org/gnu/wget/wget-1.24.5.tar.gz
https://duktape.org/duktape-2.7.0.tar.xz