mirror of
https://github.com/YellowJacketLinux/lfs-buildscripts.git
synced 2025-02-02 23:07:18 +08:00
more packages
This commit is contained in:
parent
7123c69fdf
commit
907484e0ca
@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
LFS=/mnt/newlfs
|
LFS=/mnt/newlfs
|
||||||
#LFS=/home/mpeters/newlfs
|
|
||||||
|
|
||||||
source versions.sh
|
source versions.sh
|
||||||
|
|
||||||
@ -36,6 +35,8 @@ function getSource {
|
|||||||
|
|
||||||
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||||
|
|
||||||
|
[ -f ${HOME}/lfs-sources.tar.xz ] && tar -xpf ${HOME}/lfs-sources.tar.xz
|
||||||
|
|
||||||
getSource "${acl_dnl}" "${acl_sha256}" "${acl_tarball}"
|
getSource "${acl_dnl}" "${acl_sha256}" "${acl_tarball}"
|
||||||
getSource "${attr_dnl}" "${attr_sha256}" "${attr_tarball}"
|
getSource "${attr_dnl}" "${attr_sha256}" "${attr_tarball}"
|
||||||
getSource "${autoconf_dnl}" "${autoconf_sha256}" "${autoconf_tarball}"
|
getSource "${autoconf_dnl}" "${autoconf_sha256}" "${autoconf_tarball}"
|
||||||
@ -128,29 +129,12 @@ getSource "${xz_dnl}" "${xz_sha256}" "${xz_tarball}"
|
|||||||
getSource "${zlib_dnl}" "${zlib_sha256}" "${zlib_tarball}"
|
getSource "${zlib_dnl}" "${zlib_sha256}" "${zlib_tarball}"
|
||||||
getSource "${zstd_dnl}" "${zstd_sha256}" "${zstd_tarball}"
|
getSource "${zstd_dnl}" "${zstd_sha256}" "${zstd_tarball}"
|
||||||
|
|
||||||
cp ${CWD}/CH8Build/libressl-${libressl_version}-cnf-name.patch ${GLSOURCES}/
|
cp ${CWD}/CH8Build/libressl-${libressl_version}-cnf-name.patch .
|
||||||
|
|
||||||
|
echo "backing up sources, may take a few minutes"
|
||||||
|
rm -f ${HOME}/lfs-sources.tar.xz
|
||||||
|
tar -cJpf ${HOME}/lfs-sources.tar.xz .
|
||||||
|
|
||||||
|
|
||||||
popd > /dev/null 2>&1
|
popd > /dev/null 2>&1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
30
CH8Build/CH08.57-check.sh
Normal file
30
CH8Build/CH08.57-check.sh
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source versions.sh
|
||||||
|
|
||||||
|
GLSOURCES="/sources"
|
||||||
|
|
||||||
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||||
|
|
||||||
|
[ -d check-${check_version} ] && rm -rf check-${check_version}
|
||||||
|
|
||||||
|
tar -zxf ${check_tarball}
|
||||||
|
|
||||||
|
cd check-${check_version}
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--disable-static
|
||||||
|
|
||||||
|
make
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed building check"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "running check make check"
|
||||||
|
make check > ${GLSOURCES}/check.check 2>&1
|
||||||
|
|
||||||
|
make docdir=/usr/share/doc/check-${check_version} install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed installing check"
|
||||||
|
fi
|
||||||
|
|
29
CH8Build/CH08.58-diffutils.sh
Normal file
29
CH8Build/CH08.58-diffutils.sh
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source versions.sh
|
||||||
|
|
||||||
|
GLSOURCES="/sources"
|
||||||
|
|
||||||
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||||
|
|
||||||
|
[ -d diffutils-${diffutils_version} ] && rm -rf diffutils-${diffutils_version}
|
||||||
|
|
||||||
|
tar -Jxf ${diffutils_tarball}
|
||||||
|
|
||||||
|
cd diffutils-${diffutils_version}
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
|
||||||
|
make
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed building diffutils"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "running diffutils make check"
|
||||||
|
make check > ${GLSOURCES}/diffutils.check 2>&1
|
||||||
|
|
||||||
|
make install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed installing diffutils"
|
||||||
|
fi
|
||||||
|
|
32
CH8Build/CH08.59-gawk.sh
Normal file
32
CH8Build/CH08.59-gawk.sh
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source versions.sh
|
||||||
|
|
||||||
|
GLSOURCES="/sources"
|
||||||
|
|
||||||
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||||
|
|
||||||
|
[ -d gawk-${gawk_version} ] && rm -rf gawk-${gawk_version}
|
||||||
|
|
||||||
|
tar -Jxf ${gawk_tarball}
|
||||||
|
|
||||||
|
cd gawk-${gawk_version}
|
||||||
|
|
||||||
|
sed -i 's/extras//' Makefile.in
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
|
||||||
|
make
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed building gawk"
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -f /usr/bin/gawk-${gawk_version}
|
||||||
|
make install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed installing xz"
|
||||||
|
fi
|
||||||
|
ln -sv gawk.1 /usr/share/man/man1/awk.1
|
||||||
|
|
||||||
|
mkdir -p /usr/share/doc/gawk-${gawk_version}
|
||||||
|
cp doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-${gawk_version}
|
27
CH8Build/CH08.60-findutils.sh
Normal file
27
CH8Build/CH08.60-findutils.sh
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source versions.sh
|
||||||
|
|
||||||
|
GLSOURCES="/sources"
|
||||||
|
|
||||||
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||||
|
|
||||||
|
[ -d findutils-${findutils_version} ] && rm -rf findutils-${findutils_version}
|
||||||
|
|
||||||
|
tar -Jxf ${findutils_tarball}
|
||||||
|
|
||||||
|
cd findutils-${findutils_version}
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--localstatedir=/var/lib/locate
|
||||||
|
|
||||||
|
make
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed building findutils"
|
||||||
|
fi
|
||||||
|
|
||||||
|
make install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed installing findutils"
|
||||||
|
fi
|
||||||
|
|
29
CH8Build/CH08.61-groff.sh
Normal file
29
CH8Build/CH08.61-groff.sh
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source versions.sh
|
||||||
|
|
||||||
|
GLSOURCES="/sources"
|
||||||
|
|
||||||
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||||
|
|
||||||
|
[ -d groff-${groff_version} ] && rm -rf groff-${groff_version}
|
||||||
|
|
||||||
|
tar -zxf ${groff_tarball}
|
||||||
|
|
||||||
|
cd groff-${groff_version}
|
||||||
|
|
||||||
|
PAGE=letter ./configure --prefix=/usr
|
||||||
|
|
||||||
|
make
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed building groff"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "running groff make check"
|
||||||
|
make check > ${GLSOURCES}/groff.check 2>&1
|
||||||
|
|
||||||
|
make install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed installing groff"
|
||||||
|
fi
|
||||||
|
|
33
CH8Build/CH08.62-grub.sh
Normal file
33
CH8Build/CH08.62-grub.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source versions.sh
|
||||||
|
|
||||||
|
GLSOURCES="/sources"
|
||||||
|
|
||||||
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||||
|
|
||||||
|
[ -d grub-${grub_version} ] && rm -rf grub-${grub_version}
|
||||||
|
|
||||||
|
tar -Jxf ${grub_tarball}
|
||||||
|
|
||||||
|
cd grub-${grub_version}
|
||||||
|
|
||||||
|
unset {C,CPP,CXX,LD}FLAGS
|
||||||
|
echo depends bli part_gpt > grub-core/extra_deps.lst
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--disable-efiemu \
|
||||||
|
--disable-werror
|
||||||
|
|
||||||
|
make
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed building grub"
|
||||||
|
fi
|
||||||
|
|
||||||
|
make install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed installing grub"
|
||||||
|
fi
|
||||||
|
mv /etc/bash_completion.d/grub /usr/share/bash-completion/completions
|
||||||
|
|
29
CH8Build/CH08.63-gzip.sh
Normal file
29
CH8Build/CH08.63-gzip.sh
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
source versions.sh
|
||||||
|
|
||||||
|
GLSOURCES="/sources"
|
||||||
|
|
||||||
|
pushd $GLSOURCES > /dev/null 2>&1 || myfail "Failed to move to ${GLSOURCES}"
|
||||||
|
|
||||||
|
[ -d gzip-${gzip_version} ] && rm -rf gzip-${gzip_version}
|
||||||
|
|
||||||
|
tar -Jxf ${gzip_tarball}
|
||||||
|
|
||||||
|
cd gzip-${gzip_version}
|
||||||
|
|
||||||
|
./configure --prefix=/usr
|
||||||
|
|
||||||
|
make
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed building gzip"
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "running gzip make check"
|
||||||
|
make check > ${GLSOURCES}/gzip.check 2>&1
|
||||||
|
|
||||||
|
make install
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
myfail "Failed installing gzip"
|
||||||
|
fi
|
||||||
|
|
@ -238,7 +238,75 @@ else
|
|||||||
sleep 3
|
sleep 3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
/bin/bash CH08.57-check.sh
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed CH08.57-check.sh"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "LFS Chapter 8 Check Complete"
|
||||||
|
sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
/bin/bash CH08.58-diffutils.sh
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed CH08.58-diffutils.sh"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "LFS Chapter 8 Diffutils Complete"
|
||||||
|
sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
/bin/bash CH08.59-gawk.sh
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed CH08.59-gawk.sh"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "LFS Chapter 8 Gawk Complete"
|
||||||
|
sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
/bin/bash CH08.60-findutils.sh
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed CH08.60-findutils.sh"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "LFS Chapter 8 Findutils Complete"
|
||||||
|
sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
/bin/bash CH08.61-groff.sh
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed CH08.61-groff.sh"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "LFS Chapter 8 Groff Complete"
|
||||||
|
sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
/bin/bash CH08.62-grub.sh
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed CH08.62-grub.sh"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "LFS Chapter 8 Grub Complete"
|
||||||
|
sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
/bin/bash CH08.63-gzip.sh
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "failed CH08.63-gzip.sh"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "LFS Chapter 8 Gzip Complete"
|
||||||
|
sleep 3
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -425,9 +425,9 @@ util_linux_dnl="https://www.kernel.org/pub/linux/utils/util-linux/v${util_linux_
|
|||||||
util_linux_sha256="d78b37a66f5922d70edf3bdfb01a6b33d34ed3c3cafd6628203b2a2b67c8e8b3"
|
util_linux_sha256="d78b37a66f5922d70edf3bdfb01a6b33d34ed3c3cafd6628203b2a2b67c8e8b3"
|
||||||
util_linux_tarball="util-linux-${util_linux_version}.tar.xz"
|
util_linux_tarball="util-linux-${util_linux_version}.tar.xz"
|
||||||
|
|
||||||
vim_version="9.1.0751"
|
vim_version="9.1.0764"
|
||||||
vim_dnl="https://github.com/vim/vim/archive/refs/tags/v${vim_version}.tar.gz"
|
vim_dnl="https://github.com/vim/vim/archive/refs/tags/v${vim_version}.tar.gz"
|
||||||
vim_sha256="efa1be453c97a3bff693835d7b64a14dee8bb7619bd893ce6f12c2cf5dafc7a3"
|
vim_sha256="874be6146792d67ae47dc8d89f9d32558a266df87a81f5f80ad1b9b4cb31c1a1"
|
||||||
vim_tarball="v${vim_version}.tar.gz"
|
vim_tarball="v${vim_version}.tar.gz"
|
||||||
|
|
||||||
wheel_version="0.44.0"
|
wheel_version="0.44.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user