summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-26 23:52:03 +0000
committerdavidovski <david@davidovski.xyz>2022-02-26 23:52:03 +0000
commit7e7775ad670c99b2823d812c782f6ff258e79b9b (patch)
tree6839757e3b96634aa51c902e1ab25b6a9bb707be
parent26477da178fa7c84edff5fd9d3c8ef28c0c3ad7d (diff)
replaced glibc with musl
-rw-r--r--repo/devel/bison.xibuild2
-rw-r--r--repo/devel/flex.xibuild2
-rw-r--r--repo/devel/gcc.xibuild2
-rw-r--r--repo/devel/m4.xibuild2
-rw-r--r--repo/devel/nasm.xibuild2
-rw-r--r--repo/devel/ninja.xibuild2
-rw-r--r--repo/devel/patch.xibuild2
-rw-r--r--repo/devel/pkg-config.xibuild2
-rw-r--r--repo/devel/texinfo.xibuild2
-rw-r--r--repo/media/alsa-lib.xibuild2
-rw-r--r--repo/media/alsa-plugins.xibuild2
-rw-r--r--repo/media/faac.xibuild2
-rw-r--r--repo/media/opus.xibuild2
-rw-r--r--repo/meta/all.xibuild2
-rw-r--r--repo/meta/base.xibuild2
-rw-r--r--repo/meta/system.xibuild2
-rw-r--r--repo/skip/fakeroot.xibuild2
-rw-r--r--repo/system/acpid.xibuild2
-rw-r--r--repo/system/attr.xibuild2
-rw-r--r--repo/system/binutils.xibuild2
-rw-r--r--repo/system/brotli.xibuild2
-rw-r--r--repo/system/bzip2.xibuild2
-rw-r--r--repo/system/coreutils.xibuild2
-rw-r--r--repo/system/dhcp.xibuild2
-rw-r--r--repo/system/efivar.xibuild2
-rw-r--r--repo/system/expat.xibuild2
-rw-r--r--repo/system/findutils.xibuild2
-rw-r--r--repo/system/gdbm.xibuild2
-rw-r--r--repo/system/glib.xibuild2
-rw-r--r--repo/system/glibc.xibuild108
-rw-r--r--repo/system/gperf.xibuild2
-rw-r--r--repo/system/gzip.xibuild2
-rw-r--r--repo/system/kbd.xibuild2
-rw-r--r--repo/system/kmod.xibuild2
-rw-r--r--repo/system/krb5.xibuild2
-rw-r--r--repo/system/libcap-ng.xibuild2
-rw-r--r--repo/system/libcap.xibuild2
-rw-r--r--repo/system/libffi.xibuild2
-rw-r--r--repo/system/libidn.xibuild2
-rw-r--r--repo/system/liblinear.xibuild2
-rw-r--r--repo/system/libndp.xibuild2
-rw-r--r--repo/system/libnghttp.xibuild2
-rw-r--r--repo/system/libnl.xibuild2
-rw-r--r--repo/system/libp11-kit.xibuild2
-rw-r--r--repo/system/libpipeline.xibuild2
-rw-r--r--repo/system/libptytty.xibuild2
-rw-r--r--repo/system/libressl.xibuild2
-rw-r--r--repo/system/libseccomp.xibuild2
-rw-r--r--repo/system/libtasn1.xibuild2
-rw-r--r--repo/system/libtool.xibuild2
-rw-r--r--repo/system/libunistring.xibuild2
-rw-r--r--repo/system/libusb.xibuild2
-rw-r--r--repo/system/libxcrypt.xibuild2
-rw-r--r--repo/system/lzo.xibuild2
-rw-r--r--repo/system/mpfr.xibuild2
-rw-r--r--repo/system/mtdev.xibuild2
-rw-r--r--repo/system/musl.xibuild47
-rw-r--r--repo/system/ncurses.xibuild2
-rw-r--r--repo/system/nspr.xibuild2
-rw-r--r--repo/system/pam.xibuild2
-rw-r--r--repo/system/pcre.xibuild2
-rw-r--r--repo/system/perl.xibuild2
-rw-r--r--repo/system/popt.xibuild2
-rw-r--r--repo/system/readline.xibuild2
-rw-r--r--repo/system/rtmpdump.xibuild2
-rw-r--r--repo/system/sed.xibuild2
-rw-r--r--repo/system/sysklogd.xibuild2
-rw-r--r--repo/system/sysvinit.xibuild2
-rw-r--r--repo/system/tar.xibuild2
-rw-r--r--repo/system/tomlc99.xibuild2
-rw-r--r--repo/system/zip.xibuild2
-rw-r--r--repo/system/zlib.xibuild2
-rw-r--r--repo/system/zstd.xibuild2
-rw-r--r--repo/util/acpi.xibuild2
-rw-r--r--repo/util/bash.xibuild2
-rw-r--r--repo/util/cpio.xibuild2
-rw-r--r--repo/util/dash.xibuild2
-rw-r--r--repo/util/diffutils.xibuild2
-rw-r--r--repo/util/elfutils.xibuild2
-rw-r--r--repo/util/file.xibuild2
-rw-r--r--repo/util/gawk.xibuild2
-rw-r--r--repo/util/grep.xibuild2
-rw-r--r--repo/util/iproute2.xibuild2
-rw-r--r--repo/util/keyutils.xibuild2
-rw-r--r--repo/util/less.xibuild2
-rw-r--r--repo/util/openssh.xibuild2
-rw-r--r--repo/util/pciutils.xibuild2
-rw-r--r--repo/util/pm-utils.xibuild2
-rw-r--r--repo/util/procps-ng.xibuild2
-rw-r--r--repo/util/sudo.xibuild2
-rw-r--r--repo/util/usbutils.xibuild2
-rw-r--r--repo/util/vim.xibuild2
-rw-r--r--repo/util/wget.xibuild2
-rw-r--r--repo/util/which.xibuild2
-rw-r--r--repo/x11/libevdev.xibuild2
-rw-r--r--repo/x11/libvdpau-va-gl.xibuild2
-rw-r--r--repo/x11/libxcvt.xibuild2
-rw-r--r--repo/x11/pixman.xibuild2
98 files changed, 143 insertions, 204 deletions
diff --git a/repo/devel/bison.xibuild b/repo/devel/bison.xibuild
index 41f09a7..8624062 100644
--- a/repo/devel/bison.xibuild
+++ b/repo/devel/bison.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc m4 sh"
+DEPS="musl m4 sh"
PKG_VER=3.8.1
SOURCE=https://ftp.gnu.org/gnu/bison/bison-$PKG_VER.tar.xz
diff --git a/repo/devel/flex.xibuild b/repo/devel/flex.xibuild
index 37c9009..1700c0c 100644
--- a/repo/devel/flex.xibuild
+++ b/repo/devel/flex.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make help2man"
-DEPS="glibc m4 sh libiconv"
+DEPS="musl m4 sh libiconv"
PKG_VER=2.6.4
SOURCE=https://github.com/westes/flex/releases/download/v$PKG_VER/flex-$PKG_VER.tar.gz
diff --git a/repo/devel/gcc.xibuild b/repo/devel/gcc.xibuild
index cb7c058..a8b1707 100644
--- a/repo/devel/gcc.xibuild
+++ b/repo/devel/gcc.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="grep make libxml2 dejagnu inetutils libiconv"
-DEPS="glibc binutils mpc"
+DEPS="musl binutils mpc"
PKG_VER=11.2.0
SOURCE=https://ftp.gnu.org/gnu/gcc/gcc-$PKG_VER/gcc-$PKG_VER.tar.xz
diff --git a/repo/devel/m4.xibuild b/repo/devel/m4.xibuild
index 4cc3422..f459376 100644
--- a/repo/devel/m4.xibuild
+++ b/repo/devel/m4.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make help2man"
-DEPS="glibc bash"
+DEPS="musl bash"
PKG_VER=1.4.19
SOURCE=https://ftp.gnu.org/gnu/m4/m4-$PKG_VER.tar.xz
diff --git a/repo/devel/nasm.xibuild b/repo/devel/nasm.xibuild
index cfba565..b8d7fd6 100644
--- a/repo/devel/nasm.xibuild
+++ b/repo/devel/nasm.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.15.05
SOURCE=https://www.nasm.us/pub/nasm/releasebuilds/$PKG_VER/nasm-$PKG_VER.tar.xz
diff --git a/repo/devel/ninja.xibuild b/repo/devel/ninja.xibuild
index 6db39fe..f32c3ea 100644
--- a/repo/devel/ninja.xibuild
+++ b/repo/devel/ninja.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="python"
-DEPS="glibc"
+DEPS="musl"
SOURCE=git://github.com/ninja-build/ninja.git
BRANCH=release
diff --git a/repo/devel/patch.xibuild b/repo/devel/patch.xibuild
index cee63f1..015aeeb 100644
--- a/repo/devel/patch.xibuild
+++ b/repo/devel/patch.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc attr"
+DEPS="musl attr"
PKG_VER=2.7
SOURCE=https://ftp.gnu.org/gnu/patch/patch-$PKG_VER.tar.xz
diff --git a/repo/devel/pkg-config.xibuild b/repo/devel/pkg-config.xibuild
index 73c1602..29feb3b 100644
--- a/repo/devel/pkg-config.xibuild
+++ b/repo/devel/pkg-config.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc libiconv"
+DEPS="musl libiconv"
PKG_VER=0.29.2
SOURCE=https://pkg-config.freedesktop.org/releases/pkg-config-$PKG_VER.tar.gz
diff --git a/repo/devel/texinfo.xibuild b/repo/devel/texinfo.xibuild
index ccf658b..b53afe6 100644
--- a/repo/devel/texinfo.xibuild
+++ b/repo/devel/texinfo.xibuild
@@ -8,7 +8,7 @@ SOURCE=https://ftp.gnu.org/gnu/texinfo/texinfo-$PKG_VER.tar.xz
DESC="GNU documentation system for reading, writing and converting info pages"
prepare () {
- # fix an issue when building with glibc-2.34 or later
+ # fix an issue when building with musl-2.34 or later
sed -e 's/__attribute_nonnull__/__nonnull/' \
-i gnulib/lib/malloc/dynarray-skeleton.c
}
diff --git a/repo/media/alsa-lib.xibuild b/repo/media/alsa-lib.xibuild
index 1d60332..f6e9d1b 100644
--- a/repo/media/alsa-lib.xibuild
+++ b/repo/media/alsa-lib.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc python alsa-topology-conf alsa-ucm-conf"
+DEPS="musl python alsa-topology-conf alsa-ucm-conf"
DESC="An alternative implementation of Linux sound support"
diff --git a/repo/media/alsa-plugins.xibuild b/repo/media/alsa-plugins.xibuild
index 2d39669..f7aac13 100644
--- a/repo/media/alsa-plugins.xibuild
+++ b/repo/media/alsa-plugins.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc alsa-lib"
+DEPS="musl alsa-lib"
DESC="Additional ALSA plugins"
diff --git a/repo/media/faac.xibuild b/repo/media/faac.xibuild
index 87fe760..07b66fd 100644
--- a/repo/media/faac.xibuild
+++ b/repo/media/faac.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make xmlto"
-DEPS="glibc"
+DEPS="musl"
DESC="Freeware Advanced Audio Coder"
diff --git a/repo/media/opus.xibuild b/repo/media/opus.xibuild
index 9bb2167..d8cc647 100644
--- a/repo/media/opus.xibuild
+++ b/repo/media/opus.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc"
+DEPS="musl"
DESC="Totally open, royalty-free, highly versatile audio codec"
diff --git a/repo/meta/all.xibuild b/repo/meta/all.xibuild
index 0441677..c70dc0e 100644
--- a/repo/meta/all.xibuild
+++ b/repo/meta/all.xibuild
@@ -2,4 +2,4 @@
# This file was automatically generated, do not edit!
DESC="AlL tHe pacKageS!!"
-DEPS=" feh rxvt-unicode xterm asciidoc autoconf2-13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc gdb git go help2man icecream-sundae icecream llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto encodings font-adobe-utopia-type1 font-alias font-bh-ttf font-bh-type1 fontconfig font-ibm-type1 font-misc-ethiopic font-util font-xfree86-type1 linux-firmware linux-headers linux cacert-utils fakechroot fakeroot acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext glibc glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu imlib2 intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss libressl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd acpi bash cpio curl dash diffutils dosfstools dracut e2fsprogs elfutils file fzf gawk genfstab grep groff htop inetutils iproute2 iw keyutils less lm-sensors lynx make-ca man-db neofetch nmap openssh pciutils pm-utils procps-ng rsync sudo unzip usbutils util-linux vim webfs wget which wireless-tools wpa_supplicant bspwm iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman sessreg setxkbmap smproxy sxhkd wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xtrans xvinfo xwd xwininfo xwud sysconfigs xibuild xib xipkg xiutils"
+DEPS=" feh rxvt-unicode xterm asciidoc autoconf2-13 autoconf automake bc bison check cmake dejagnu distcc docbook4-xml docbook-dtd docbook-xml docbook-xsl expect flex gcc gdb git go help2man icecream-sundae icecream llvm m4 make meson mpc ninja patch pkg-config rustc sgml-common texinfo xmlto encodings font-adobe-utopia-type1 font-alias font-bh-ttf font-bh-type1 fontconfig font-ibm-type1 font-misc-ethiopic font-util font-xfree86-type1 linux-firmware linux-headers linux cacert-utils fakechroot fakeroot acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext musl glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu imlib2 intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss libressl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd acpi bash cpio curl dash diffutils dosfstools dracut e2fsprogs elfutils file fzf gawk genfstab grep groff htop inetutils iproute2 iw keyutils less lm-sensors lynx make-ca man-db neofetch nmap openssh pciutils pm-utils procps-ng rsync sudo unzip usbutils util-linux vim webfs wget which wireless-tools wpa_supplicant bspwm iceauth intel-vaapi-driver libdmx libdrm libepoxy libevdev libfontenc libfs libice libinput libpciaccess libsm libva libvdpau-va-gl libvdpau libwacom libx11 libxau libxaw libxcb libxcomposite libxcursor libxcvt libxdamage libxdmcp libxext libxfixes libxfont2 libxft libxinerama libxi libxkbfile libxmu libxpm libxrandr libxrender libxres libxscrnsaver libxshmfence libxtst libxt libxvmc libxv libxxf86dga libxxf86vm luit mesa mkfontscale pixman sessreg setxkbmap smproxy sxhkd wayland-protocols wayland x11perf xauth xbacklight xbitmaps xcb-proto xcb-util-cursor xcb-util-image xcb-util-keysyms xcb-util-renderutil xcb-util-wm xcb-util xclock xcmsdb xcursorgen xcursor-themes xdpyinfo xdriinfo xev xeyes xf86-input-evdev xf86-input-libinput xf86-input-synaptics xf86-input-wacom xf86-video-amdgpu xf86-video-ati xf86-video-fbdev xf86-video-intel xf86-video-nouveau xf86-video-vmware xgamma xhost xinput xkbcomp xkbevd xkbutils xkeyboardconfig xkill xlsatoms xlsclients xmessage xmodmap xorg-libs xorgproto xorg-server xorg-util-macros xorg-xinit xprop xpr xrandr xrdb xrefresh xsetroot xset xtrans xvinfo xwd xwininfo xwud sysconfigs xibuild xib xipkg xiutils"
diff --git a/repo/meta/base.xibuild b/repo/meta/base.xibuild
index 66ec644..fd7d807 100644
--- a/repo/meta/base.xibuild
+++ b/repo/meta/base.xibuild
@@ -1,5 +1,5 @@
#!/bin/sh
-DEPS="bash bzip2 coreutils findutils iana-etc file gawk gettext glibc grep gzip iproute2 iputils xipkg pciutils procps-ng psmisc sed shadow sysvinit tar util-linux xz linux-headers sysconfigs "
+DEPS="bash bzip2 coreutils findutils iana-etc file gawk gettext musl grep gzip iproute2 iputils xipkg pciutils procps-ng psmisc sed shadow sysvinit tar util-linux xz linux-headers sysconfigs "
MAKEDEPS="grep python"
DESC="The base system to be installed"
diff --git a/repo/meta/system.xibuild b/repo/meta/system.xibuild
index c12e577..b5db1bb 100644
--- a/repo/meta/system.xibuild
+++ b/repo/meta/system.xibuild
@@ -2,4 +2,4 @@
# This file was automatically generated, do not edit!
DESC="All the the packages available in system"
-DEPS=" acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext glibc glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu imlib2 intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss libressl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd"
+DEPS=" acl acpid attr binutils bootscripts brotli bzip2 cacerts coreutils dbus dhcp efibootmgr efivar elogind eudev expat findutils freetype2 gc gdbm gettext musl glib gmp gnutls gobject-introspection gperf grub guile gzip iana-etc icu imlib2 intltool js78 kbd kmod krb5 ldns libarchive libcap-ng libcap libffi libgudev libidn libldap liblinear libndp libnghttp libnl libp11-kit libpcap libpipeline libpng libpsl libptytty libsasl libseccomp libsigsegv libssh2 libtasn1 libtirpc libtool libunistring libusb libxcrypt libxml2 libxslt lua lz4 lzo mkinitramfs mpfr mtdev ncurses nettle networkmanager newt nspr nss libressl pahole pam pcre perl perl-xml-parser polkit popt psmisc python-mako python-markupsafe python-requests python-six python readline rtmpdump sed shadow slang sysklogd sysvinit tar tcl tomlc99 xxhash xz zip zlib zstd"
diff --git a/repo/skip/fakeroot.xibuild b/repo/skip/fakeroot.xibuild
index f9c0657..c824193 100644
--- a/repo/skip/fakeroot.xibuild
+++ b/repo/skip/fakeroot.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc filesystem sed sh util-linux"
+DEPS="musl filesystem sed sh util-linux"
SOURCE=https://github.com/mackyle/fakeroot
DESC="Tool for simulating a superuser environment"
diff --git a/repo/system/acpid.xibuild b/repo/system/acpid.xibuild
index 209c8e5..55a4e6f 100644
--- a/repo/system/acpid.xibuild
+++ b/repo/system/acpid.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.0.33
SOURCE=https://downloads.sourceforge.net/acpid2/acpid-$PKG_VER.tar.xz
diff --git a/repo/system/attr.xibuild b/repo/system/attr.xibuild
index a5ae70d..1598e77 100644
--- a/repo/system/attr.xibuild
+++ b/repo/system/attr.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.5.1
SOURCE=http://download.savannah.nongnu.org/releases/attr/attr-$PKG_VER.tar.xz
diff --git a/repo/system/binutils.xibuild b/repo/system/binutils.xibuild
index 9d659a6..1c85301 100644
--- a/repo/system/binutils.xibuild
+++ b/repo/system/binutils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make dejagnu bzip2 xz zlib zstd patch"
-DEPS="glibc zlib elfutils"
+DEPS="musl zlib elfutils"
PKG_VER=2.37
SOURCE=https://ftp.gnu.org/gnu/binutils/binutils-$PKG_VER.tar.xz
diff --git a/repo/system/brotli.xibuild b/repo/system/brotli.xibuild
index 0290900..dbdd973 100644
--- a/repo/system/brotli.xibuild
+++ b/repo/system/brotli.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="cmake make "
-DEPS="glibc"
+DEPS="musl"
SOURCE=https://github.com/google/brotli
DESC="A generic-purpose lossless compression algorithm"
diff --git a/repo/system/bzip2.xibuild b/repo/system/bzip2.xibuild
index 0fa6eab..1e448b4 100644
--- a/repo/system/bzip2.xibuild
+++ b/repo/system/bzip2.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc sh"
+DEPS="musl sh"
PKG_VER=1.0.8
SOURCE=git://sourceware.org/git/bzip2.git
diff --git a/repo/system/coreutils.xibuild b/repo/system/coreutils.xibuild
index f261cf9..d026617 100644
--- a/repo/system/coreutils.xibuild
+++ b/repo/system/coreutils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc acl attr gmp libcap libressl libiconv"
+DEPS="musl acl attr gmp libcap libressl libiconv"
PKG_VER=9.0
SOURCE=https://ftp.gnu.org/gnu/coreutils/coreutils-$PKG_VER.tar.xz
diff --git a/repo/system/dhcp.xibuild b/repo/system/dhcp.xibuild
index f786c32..aba51fa 100644
--- a/repo/system/dhcp.xibuild
+++ b/repo/system/dhcp.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="bash iproute2 openldap"
-DEPS="glibc libldap"
+DEPS="musl libldap"
PKG_VER=4.4.3b1
SOURCE=https://ftp.isc.org/isc/dhcp/$PKG_VER/dhcp-$PKG_VER.tar.gz
diff --git a/repo/system/efivar.xibuild b/repo/system/efivar.xibuild
index d19bc3f..5bbe926 100644
--- a/repo/system/efivar.xibuild
+++ b/repo/system/efivar.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make patch"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=37
SOURCE=https://github.com/rhboot/efivar/releases/download/$PKG_VER/efivar-$PKG_VER.tar.bz2
diff --git a/repo/system/expat.xibuild b/repo/system/expat.xibuild
index 2a39034..98f410c 100644
--- a/repo/system/expat.xibuild
+++ b/repo/system/expat.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.4.2
SOURCE=https://github.com/libexpat/libexpat/releases/download/R_$(echo $PKG_VER | sed "s|\.|_|g")/expat-$PKG_VER.tar.xz
diff --git a/repo/system/findutils.xibuild b/repo/system/findutils.xibuild
index 6828da1..fcbadba 100644
--- a/repo/system/findutils.xibuild
+++ b/repo/system/findutils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc sh"
+DEPS="musl sh"
PKG_VER=4.8.0
SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-$PKG_VER.tar.xz
diff --git a/repo/system/gdbm.xibuild b/repo/system/gdbm.xibuild
index 3b81ed6..3906bbb 100644
--- a/repo/system/gdbm.xibuild
+++ b/repo/system/gdbm.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc sh readline"
+DEPS="musl sh readline"
PKG_VER=1.21
SOURCE=https://ftp.gnu.org/gnu/gdbm/gdbm-$PKG_VER.tar.gz
diff --git a/repo/system/glib.xibuild b/repo/system/glib.xibuild
index 0b7f76f..45ff5cd 100644
--- a/repo/system/glib.xibuild
+++ b/repo/system/glib.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="meson ninja docbook-xsl docbook-dtd"
-DEPS="pcre libffi zlib glibc libxslt gdb "
+DEPS="pcre libffi zlib musl libxslt gdb "
PKG_VER=2.70.3
SOURCE=https://download.gnome.org/sources/glib/$(echo $PKG_VER | cut -d. -f-2)/glib-$PKG_VER.tar.xz
diff --git a/repo/system/glibc.xibuild b/repo/system/glibc.xibuild
deleted file mode 100644
index 8b3e626..0000000
--- a/repo/system/glibc.xibuild
+++ /dev/null
@@ -1,108 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make"
-DEPS="glibc"
-
-PKG_VER=2.34
-SOURCE=https://ftp.gnu.org/gnu/glibc/glibc-$PKG_VER.tar.xz
-
-ADDITIONAL="
- https://www.linuxfromscratch.org/patches/lfs/development/glibc-$PKG_VER-fhs-1.patch
- https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/glibc/trunk/locale-gen
-"
-
-DESC="The main gnu C library providing basic routines and procedures"
-
-prepare () {
- unset LDFLAGS
- # patches as recommended by lfs
- sed -e '/NOTIFY_REMOVED)/s/)/ \&\& data.attr != NULL)/' -i sysdeps/unix/sysv/linux/mq_notify.c
- patch -Np1 -i glibc-$PKG_VER-fhs-1.patch || true
-}
-
-build () {
- mkdir -v build
- cd build
-
- # ensure that the ldconfig and sln utilities are installed into /usr/sbin
- echo "rootsbindir=/usr/sbin" > configparms
-
- ../configure --prefix=/usr \
- --disable-werror \
- --enable-kernel=3.2 \
- --enable-stack-protector=strong \
- --with-headers=/usr/include \
- libc_cv_slibdir=/usr/lib
-
- make
-}
-
-check () {
- # some check failures are 'expected'
- make check || true
-}
-
-package () {
- mkdir -pv $PKG_DEST/etc
- touch $PKG_DEST/etc/ld.so.conf
-
- sed '/test-installation/s@$(PERL)@echo not running@' -i ../Makefile
- make DESTDIR=$PKG_DEST install
-
- # fix hardcoded path to the excutable in ldd script
- sed '/RTLDLIST=/s@/usr@@g' -i $PKG_DEST/usr/bin/ldd
-
- cp -v ../nscd/nscd.conf $PKG_DEST/etc/nscd.conf
- mkdir -pv $PKG_DEST/var/cache/nscd
-
- # create locales for the system
- # note, this should be moved to a better place
- make DESTDIR=$PKG_DEST localedata/install-locales
-
- cat > $PKG_DEST/etc/nsswitch.conf << "EOF"
-# Begin /etc/nsswitch.conf
-
-passwd: files
-group: files
-shadow: files
-
-hosts: files dns
-networks: files
-
-protocols: files
-services: files
-ethers: files
-rpc: files
-
-# End /etc/nsswitch.conf
-EOF
- #install -m755 locale-gen "$PKG_DEST/usr/bin"
-
- #curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz > tzdata2021e.tar.gz
- #tar -xf tzdata2021e.tar.gz
-#
- #ZONEINFO=$PKG_DEST/usr/share/zoneinfo
- #mkdir -pv $ZONEINFO/{posix,right}
-##
- #for tz in etcetera southamerica northamerica europe africa antarctica \
- #asia australasia backward; do
- #zic -L /dev/null -d $ZONEINFO ${tz}
- #zic -L /dev/null -d $ZONEINFO/posix ${tz}
- #zic -L leapseconds -d $ZONEINFO/right ${tz}
- #done
-#
- #cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
- #zic -d $ZONEINFO -p America/New_York
- #unset ZONEINFO
-
-
- # configure dynamic loader
- cat > $PKG_DEST/etc/ld.so.conf << "EOF"
-# Begin /etc/ld.so.conf
-/usr/local/lib
-/opt/lib
-include /etc/ld.so.conf.d/*.conf
-EOF
- mkdir -pv $PKG_DEST/etc/ld.so.conf.d
-}
-
diff --git a/repo/system/gperf.xibuild b/repo/system/gperf.xibuild
index 58f2134..b661199 100644
--- a/repo/system/gperf.xibuild
+++ b/repo/system/gperf.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=3.1
SOURCE=http://ftp.gnu.org/pub/gnu/gperf/gperf-$PKG_VER.tar.gz
diff --git a/repo/system/gzip.xibuild b/repo/system/gzip.xibuild
index 8551859..d82471d 100644
--- a/repo/system/gzip.xibuild
+++ b/repo/system/gzip.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc bash less"
+DEPS="musl bash less"
PKG_VER=1.11
SOURCE=https://ftp.gnu.org/gnu/gzip/gzip-$PKG_VER.tar.xz
diff --git a/repo/system/kbd.xibuild b/repo/system/kbd.xibuild
index 5da9830..9c48903 100644
--- a/repo/system/kbd.xibuild
+++ b/repo/system/kbd.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc pam"
+DEPS="musl pam"
PKG_VER=2.4.0
SOURCE=https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-$PKG_VER.tar.xz
diff --git a/repo/system/kmod.xibuild b/repo/system/kmod.xibuild
index 95056ec..efab542 100644
--- a/repo/system/kmod.xibuild
+++ b/repo/system/kmod.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc zlib libressl xz zstd"
+DEPS="musl zlib libressl xz zstd"
PKG_VER=29
SOURCE=https://www.kernel.org/pub/linux/utils/kernel/kmod/kmod-$PKG_VER.tar.xz
diff --git a/repo/system/krb5.xibuild b/repo/system/krb5.xibuild
index f95ec27..ada3f55 100644
--- a/repo/system/krb5.xibuild
+++ b/repo/system/krb5.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc e2fsprogs libldap keyutils"
+DEPS="musl e2fsprogs libldap keyutils"
PKG_VER=1.19.2
SOURCE=https://github.com/krb5/krb5
diff --git a/repo/system/libcap-ng.xibuild b/repo/system/libcap-ng.xibuild
index 945ee0b..a67ebbf 100644
--- a/repo/system/libcap-ng.xibuild
+++ b/repo/system/libcap-ng.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=0.8.2
SOURCE=https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v$PKG_VER.tar.gz
diff --git a/repo/system/libcap.xibuild b/repo/system/libcap.xibuild
index 3da498d..ba9c19a 100644
--- a/repo/system/libcap.xibuild
+++ b/repo/system/libcap.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc pam"
+DEPS="musl pam"
PKG_VER=2.62
SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-$PKG_VER.tar.gz
diff --git a/repo/system/libffi.xibuild b/repo/system/libffi.xibuild
index 33fd73d..d802142 100644
--- a/repo/system/libffi.xibuild
+++ b/repo/system/libffi.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=3.4.2
SOURCE=https://github.com/libffi/libffi/releases/download/v$PKG_VER/libffi-$PKG_VER.tar.gz
diff --git a/repo/system/libidn.xibuild b/repo/system/libidn.xibuild
index 07d3d40..7e33935 100644
--- a/repo/system/libidn.xibuild
+++ b/repo/system/libidn.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc libunistring"
+DEPS="musl libunistring"
PKG_VER=2.3.2
SOURCE=https://ftp.gnu.org/gnu/libidn/libidn2-$PKG_VER.tar.gz
diff --git a/repo/system/liblinear.xibuild b/repo/system/liblinear.xibuild
index 81990f0..de47b0e 100644
--- a/repo/system/liblinear.xibuild
+++ b/repo/system/liblinear.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=243
SOURCE=https://github.com/cjlin1/liblinear/archive/v$PKG_VER/liblinear-$PKG_VER.tar.gz
diff --git a/repo/system/libndp.xibuild b/repo/system/libndp.xibuild
index 6844ca5..8e061ef 100644
--- a/repo/system/libndp.xibuild
+++ b/repo/system/libndp.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make flex"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=1.8
SOURCE=http://libndp.org/files/libndp-$PKG_VER.tar.gz
diff --git a/repo/system/libnghttp.xibuild b/repo/system/libnghttp.xibuild
index 72e8187..6f006dc 100644
--- a/repo/system/libnghttp.xibuild
+++ b/repo/system/libnghttp.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=1.46.0
diff --git a/repo/system/libnl.xibuild b/repo/system/libnl.xibuild
index ba639bb..2a01c88 100644
--- a/repo/system/libnl.xibuild
+++ b/repo/system/libnl.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS=""
-DEPS="glibc"
+DEPS="musl"
PKG_VER=3.5.0
SOURCE=https://github.com/thom311/libnl/releases/download/libnl$(echo $PKG_VER | sed 's/\./_/g')/libnl-$PKG_VER.tar.gz
diff --git a/repo/system/libp11-kit.xibuild b/repo/system/libp11-kit.xibuild
index 6c6309a..ad12ec7 100644
--- a/repo/system/libp11-kit.xibuild
+++ b/repo/system/libp11-kit.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc libtasn1 libffi"
+DEPS="musl libtasn1 libffi"
PKG_VER=0.24.1
SOURCE=https://github.com/p11-glue/p11-kit/releases/download/$PKG_VER/p11-kit-$PKG_VER.tar.xz
diff --git a/repo/system/libpipeline.xibuild b/repo/system/libpipeline.xibuild
index c22ad67..e7cac33 100644
--- a/repo/system/libpipeline.xibuild
+++ b/repo/system/libpipeline.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=1.5.5
SOURCE=http://download.savannah.nongnu.org/releases/libpipeline/libpipeline-$PKG_VER.tar.gz
diff --git a/repo/system/libptytty.xibuild b/repo/system/libptytty.xibuild
index cff87c7..bc36364 100644
--- a/repo/system/libptytty.xibuild
+++ b/repo/system/libptytty.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="meson cmake"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.0
SOURCE=http://dist.schmorp.de/libptytty/libptytty-$PKG_VER.tar.gz
diff --git a/repo/system/libressl.xibuild b/repo/system/libressl.xibuild
index 68c5973..972b884 100644
--- a/repo/system/libressl.xibuild
+++ b/repo/system/libressl.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=3.0.1
SOURCE=https://github.com/libressl/libressl/archive/refs/tags/libressl-$PKG_VER.tar.gz
diff --git a/repo/system/libseccomp.xibuild b/repo/system/libseccomp.xibuild
index ffa8d24..5e05d58 100644
--- a/repo/system/libseccomp.xibuild
+++ b/repo/system/libseccomp.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.5.3
SOURCE=https://github.com/seccomp/libseccomp/releases/download/v$PKG_VER/libseccomp-$PKG_VER.tar.gz
diff --git a/repo/system/libtasn1.xibuild b/repo/system/libtasn1.xibuild
index 0a4a9d1..a2394ed 100644
--- a/repo/system/libtasn1.xibuild
+++ b/repo/system/libtasn1.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=4.18.0
SOURCE=https://ftp.gnu.org/gnu/libtasn1/libtasn1-$PKG_VER.tar.gz
diff --git a/repo/system/libtool.xibuild b/repo/system/libtool.xibuild
index 3e81a30..ea7dc0e 100644
--- a/repo/system/libtool.xibuild
+++ b/repo/system/libtool.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="sh tar glibc"
+DEPS="sh tar musl"
PKG_VER=2.4.6
SOURCE=https://ftpmirror.gnu.org/libtool/libtool-$PKG_VER.tar.gz
diff --git a/repo/system/libunistring.xibuild b/repo/system/libunistring.xibuild
index 3629ab5..286b0c8 100644
--- a/repo/system/libunistring.xibuild
+++ b/repo/system/libunistring.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=0.9.10
SOURCE=https://ftp.gnu.org/gnu/libunistring/libunistring-$PKG_VER.tar.gz
diff --git a/repo/system/libusb.xibuild b/repo/system/libusb.xibuild
index 5587090..324b100 100644
--- a/repo/system/libusb.xibuild
+++ b/repo/system/libusb.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc eudev"
+DEPS="musl eudev"
PKG_VER=1.0.25
SOURCE=https://github.com/libusb/libusb/releases/download/v$PKG_VER/libusb-$PKG_VER.tar.bz2
diff --git a/repo/system/libxcrypt.xibuild b/repo/system/libxcrypt.xibuild
index 757d78d..2cb545f 100644
--- a/repo/system/libxcrypt.xibuild
+++ b/repo/system/libxcrypt.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=4.4.26
SOURCE=https://github.com/besser82/libxcrypt/releases/download/v$PKG_VER/libxcrypt-$PKG_VER.tar.xz
diff --git a/repo/system/lzo.xibuild b/repo/system/lzo.xibuild
index e63fb51..4c24afc 100644
--- a/repo/system/lzo.xibuild
+++ b/repo/system/lzo.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.10
SOURCE=https://www.oberhumer.com/opensource/lzo/download/lzo-$PKG_VER.tar.gz
diff --git a/repo/system/mpfr.xibuild b/repo/system/mpfr.xibuild
index 99b0e78..1e62aac 100644
--- a/repo/system/mpfr.xibuild
+++ b/repo/system/mpfr.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc gmp"
+DEPS="musl gmp"
PKG_VER=4.1.0
SOURCE=https://www.mpfr.org/mpfr-current/mpfr-$PKG_VER.tar.xz
diff --git a/repo/system/mtdev.xibuild b/repo/system/mtdev.xibuild
index 2b13426..8c463b8 100644
--- a/repo/system/mtdev.xibuild
+++ b/repo/system/mtdev.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=1.1.6
SOURCE=https://bitmath.org/code/mtdev/mtdev-$PKG_VER.tar.bz2
diff --git a/repo/system/musl.xibuild b/repo/system/musl.xibuild
new file mode 100644
index 0000000..921736d
--- /dev/null
+++ b/repo/system/musl.xibuild
@@ -0,0 +1,47 @@
+#!/bin/sh
+
+MAKEDEPS=""
+DEPS=""
+
+PKG_VER=1.2.2
+SOURCE=https://musl.libc.org/releases/musl-$PKG_VER.tar.gz
+
+ADDITIONAL="
+ https://raw.githubusercontent.com/dslm4515/Musl-LFS/master/patches/musl-mlfs/fix-utmp-wtmp-paths.patch
+ https://raw.githubusercontent.com/dslm4515/Musl-LFS/master/patches/musl-mlfs/change-scheduler-functions-Linux-compatib.patch
+ https://raw.githubusercontent.com/dslm4515/Musl-LFS/master/patches/musl-alpine/0001-riscv64-define-ELF_NFPREG.patch
+ https://raw.githubusercontent.com/dslm4515/Musl-LFS/master/patches/musl-alpine/handle-aux-at_base.patch
+ https://raw.githubusercontent.com/dslm4515/Musl-LFS/master/patches/musl-alpine/syscall-cp-epoll.patch
+"
+
+DESC="Implementation of the C standard library built on top of the Linux system call API"
+
+prepare () {
+ for p in *.patch; do
+ patch -Np1 -i $p || true
+ done
+}
+
+build () {
+ LDFLAGS="$LDFLAGS -Wl,-soname,libc.musl-${CARCH}.so.1" \
+./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-gcc-wrapper
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+ ln -sv /lib/ld-musl-$ARCH.so.1 $PKG_DEST/bin/ldd
+ ln -sv libc.so $PKG_DEST/usr/lib/libc.musl-x86_64.so.1
+
+ cat > $PKG_DEST/etc/ld-musl-x86_64.path << "EOF"
+/lib
+/usr/local/lib
+/usr/lib
+EOF
+
+ rm -v $PKG_DEST/usr/include/utmpx.h
+}
+
diff --git a/repo/system/ncurses.xibuild b/repo/system/ncurses.xibuild
index bf35719..5a1e4d0 100644
--- a/repo/system/ncurses.xibuild
+++ b/repo/system/ncurses.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make pkg-config"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=6.3
SOURCE=https://invisible-mirror.net/archives/ncurses/ncurses-$PKG_VER.tar.gz
diff --git a/repo/system/nspr.xibuild b/repo/system/nspr.xibuild
index f7a8abd..30a47da 100644
--- a/repo/system/nspr.xibuild
+++ b/repo/system/nspr.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc bash"
+DEPS="musl bash"
PKG_VER=4.33
diff --git a/repo/system/pam.xibuild b/repo/system/pam.xibuild
index 021b9a0..0091605 100644
--- a/repo/system/pam.xibuild
+++ b/repo/system/pam.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make automake"
-DEPS="glibc libtirpc audit libxcrypt"
+DEPS="musl libtirpc audit libxcrypt"
PKG_VER=1.5.2
SOURCE=https://github.com/linux-pam/linux-pam/releases/download/v$PKG_VER/Linux-PAM-$PKG_VER.tar.xz
diff --git a/repo/system/pcre.xibuild b/repo/system/pcre.xibuild
index 779dfbf..52ca2eb 100644
--- a/repo/system/pcre.xibuild
+++ b/repo/system/pcre.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=10.39
SOURCE=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$PKG_VER/pcre2-$PKG_VER.tar.gz
diff --git a/repo/system/perl.xibuild b/repo/system/perl.xibuild
index 746ba63..ac52519 100644
--- a/repo/system/perl.xibuild
+++ b/repo/system/perl.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="gdbm glibc libxcrypt bzip2 zlib"
+DEPS="gdbm musl libxcrypt bzip2 zlib"
PKG_VER=5.34.0
SOURCE=https://www.cpan.org/src/5.0/perl-$PKG_VER.tar.gz
diff --git a/repo/system/popt.xibuild b/repo/system/popt.xibuild
index 5927be0..31796a7 100644
--- a/repo/system/popt.xibuild
+++ b/repo/system/popt.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=1.18
SOURCE=http://ftp.rpm.org/popt/releases/popt-1.x/popt-$PKG_VER.tar.gz
diff --git a/repo/system/readline.xibuild b/repo/system/readline.xibuild
index 5e85c49..4757abd 100644
--- a/repo/system/readline.xibuild
+++ b/repo/system/readline.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc ncurses"
+DEPS="musl ncurses"
PKG_VER=8.1
diff --git a/repo/system/rtmpdump.xibuild b/repo/system/rtmpdump.xibuild
index b99194f..a994c34 100644
--- a/repo/system/rtmpdump.xibuild
+++ b/repo/system/rtmpdump.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc gnutls zlib"
+DEPS="musl gnutls zlib"
SOURCE=git://git.ffmpeg.org/rtmpdump
BRANCH="fa8646d"
diff --git a/repo/system/sed.xibuild b/repo/system/sed.xibuild
index 349f345..1ddd84c 100644
--- a/repo/system/sed.xibuild
+++ b/repo/system/sed.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc acl attr"
+DEPS="musl acl attr"
PKG_VER=4.8
SOURCE=https://ftp.gnu.org/gnu/sed/sed-$PKG_VER.tar.xz
diff --git a/repo/system/sysklogd.xibuild b/repo/system/sysklogd.xibuild
index 8010cbe..6c9393d 100644
--- a/repo/system/sysklogd.xibuild
+++ b/repo/system/sysklogd.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.3.0
SOURCE=https://github.com/troglobit/sysklogd/releases/download/v$PKG_VER/sysklogd-$PKG_VER.tar.gz
diff --git a/repo/system/sysvinit.xibuild b/repo/system/sysvinit.xibuild
index d3c0282..f585b61 100644
--- a/repo/system/sysvinit.xibuild
+++ b/repo/system/sysvinit.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make patch"
-DEPS="sh glibc"
+DEPS="sh musl"
PKG_VER=3.01
SOURCE=http://download.savannah.nongnu.org/releases/sysvinit/sysvinit-$PKG_VER.tar.xz
diff --git a/repo/system/tar.xibuild b/repo/system/tar.xibuild
index 1a59de2..28c2da3 100644
--- a/repo/system/tar.xibuild
+++ b/repo/system/tar.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=1.34
SOURCE=https://ftp.gnu.org/gnu/tar/tar-$PKG_VER.tar.xz
diff --git a/repo/system/tomlc99.xibuild b/repo/system/tomlc99.xibuild
index de18dd6..b6b6f63 100644
--- a/repo/system/tomlc99.xibuild
+++ b/repo/system/tomlc99.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=1.0
SOURCE=https://github.com/cktan/tomlc99.git
diff --git a/repo/system/zip.xibuild b/repo/system/zip.xibuild
index d9b4558..e356b10 100644
--- a/repo/system/zip.xibuild
+++ b/repo/system/zip.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc bzip2"
+DEPS="musl bzip2"
PKG_VER=30
SOURCE=https://downloads.sourceforge.net/infozip/zip$PKG_VER.tar.gz
diff --git a/repo/system/zlib.xibuild b/repo/system/zlib.xibuild
index a1db121..d86e791 100644
--- a/repo/system/zlib.xibuild
+++ b/repo/system/zlib.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=1.2.11
SOURCE=https://github.com/madler/zlib/archive/refs/tags/v$PKG_VER.tar.gz
diff --git a/repo/system/zstd.xibuild b/repo/system/zstd.xibuild
index ae8d6bb..827025e 100644
--- a/repo/system/zstd.xibuild
+++ b/repo/system/zstd.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc zlib xz lz4"
+DEPS="musl zlib xz lz4"
PKG_VER=1.5.1
SOURCE=https://github.com/facebook/zstd/releases/download/v$PKG_VER/zstd-$PKG_VER.tar.gz
diff --git a/repo/util/acpi.xibuild b/repo/util/acpi.xibuild
index f8078f7..6e40c3a 100644
--- a/repo/util/acpi.xibuild
+++ b/repo/util/acpi.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc acpid"
+DEPS="musl acpid"
PKG_VER=1.7
SOURCE=https://downloads.sourceforge.net/acpiclient/acpi-$PKG_VER.tar.gz
diff --git a/repo/util/bash.xibuild b/repo/util/bash.xibuild
index 78b6297..edb8748 100644
--- a/repo/util/bash.xibuild
+++ b/repo/util/bash.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="readline glibc ncurses"
+DEPS="readline musl ncurses"
PKG_VER=5.1.16
SOURCE=https://ftp.gnu.org/gnu/bash/bash-$PKG_VER.tar.gz
diff --git a/repo/util/cpio.xibuild b/repo/util/cpio.xibuild
index ae7516e..8aa3a45 100644
--- a/repo/util/cpio.xibuild
+++ b/repo/util/cpio.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=2.13
SOURCE=https://ftp.gnu.org/gnu/cpio/cpio-$PKG_VER.tar.bz2
diff --git a/repo/util/dash.xibuild b/repo/util/dash.xibuild
index 4d37360..c85eeb8 100644
--- a/repo/util/dash.xibuild
+++ b/repo/util/dash.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
PKG_VER=0.5.11.5
SOURCE=http://gondor.apana.org.au/~herbert/dash/files/dash-$PKG_VER.tar.gz
diff --git a/repo/util/diffutils.xibuild b/repo/util/diffutils.xibuild
index a0ff092..08a5a39 100644
--- a/repo/util/diffutils.xibuild
+++ b/repo/util/diffutils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make"
-DEPS="glibc bash"
+DEPS="musl bash"
PKG_VER=3.8
SOURCE=https://ftp.gnu.org/gnu/diffutils/diffutils-$PKG_VER.tar.xz
diff --git a/repo/util/elfutils.xibuild b/repo/util/elfutils.xibuild
index b9376c8..53e32d0 100644
--- a/repo/util/elfutils.xibuild
+++ b/repo/util/elfutils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc"
+DEPS="musl"
SOURCE=https://sourceware.org/elfutils/ftp/elfutils-latest.tar.bz2
DESC="Handle ELF object files and DWARF debugging information"
diff --git a/repo/util/file.xibuild b/repo/util/file.xibuild
index 89fc9dc..d658076 100644
--- a/repo/util/file.xibuild
+++ b/repo/util/file.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc zlib xz bzip2"
+DEPS="musl zlib xz bzip2"
PKG_VER=5.40
SOURCE=http://ftp.astron.com/pub/file/file-$PKG_VER.tar.gz
diff --git a/repo/util/gawk.xibuild b/repo/util/gawk.xibuild
index b04b828..76abe77 100644
--- a/repo/util/gawk.xibuild
+++ b/repo/util/gawk.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="sh glibc mpfr"
+DEPS="sh musl mpfr"
PKG_VER=5.1.0
SOURCE=https://ftp.gnu.org/gnu/gawk/gawk-$PKG_VER.tar.xz
diff --git a/repo/util/grep.xibuild b/repo/util/grep.xibuild
index 70c4023..1ab6fd3 100644
--- a/repo/util/grep.xibuild
+++ b/repo/util/grep.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="grep make "
-DEPS="glibc pcre"
+DEPS="musl pcre"
PKG_VER=3.7
SOURCE=https://ftp.gnu.org/gnu/grep/grep-$PKG_VER.tar.xz
diff --git a/repo/util/iproute2.xibuild b/repo/util/iproute2.xibuild
index f29d2e6..e5a9c78 100644
--- a/repo/util/iproute2.xibuild
+++ b/repo/util/iproute2.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc iptables libelf"
+DEPS="musl iptables libelf"
SOURCE=https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
DESC="IP Routing Utilities"
diff --git a/repo/util/keyutils.xibuild b/repo/util/keyutils.xibuild
index 5ca4807..d1aa438 100644
--- a/repo/util/keyutils.xibuild
+++ b/repo/util/keyutils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc sh"
+DEPS="musl sh"
PKG_VER=1.6.3
SOURCE=https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/keyutils-$PKG_VER.tar.gz
diff --git a/repo/util/less.xibuild b/repo/util/less.xibuild
index f9ef46e..ddaf791 100644
--- a/repo/util/less.xibuild
+++ b/repo/util/less.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc ncurses pcre"
+DEPS="musl ncurses pcre"
PKG_VER=590
SOURCE=https://www.greenwoodsoftware.com/less/less-$PKG_VER.tar.gz
diff --git a/repo/util/openssh.xibuild b/repo/util/openssh.xibuild
index 3b03a6f..a9bc017 100644
--- a/repo/util/openssh.xibuild
+++ b/repo/util/openssh.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc krb5 libressl libedit ldns libxcrypt zlib pam"
+DEPS="musl krb5 libressl libedit ldns libxcrypt zlib pam"
PKG_VER=8.8p1
SOURCE=https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-$PKG_VER.tar.gz
diff --git a/repo/util/pciutils.xibuild b/repo/util/pciutils.xibuild
index 353a148..9ae5311 100644
--- a/repo/util/pciutils.xibuild
+++ b/repo/util/pciutils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc kmod"
+DEPS="musl kmod"
PKG_VER=3.7.0
SOURCE=https://www.kernel.org/pub/software/utils/pciutils/pciutils-$PKG_VER.tar.xz
diff --git a/repo/util/pm-utils.xibuild b/repo/util/pm-utils.xibuild
index 1a1ce73..5f3e179 100644
--- a/repo/util/pm-utils.xibuild
+++ b/repo/util/pm-utils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="xmlto docbook-xml docbook-xsl"
-DEPS="glibc bash procps"
+DEPS="musl bash procps"
PKG_VER=1.4.1
SOURCE=https://pm-utils.freedesktop.org/releases/pm-utils-$PKG_VER.tar.gz
diff --git a/repo/util/procps-ng.xibuild b/repo/util/procps-ng.xibuild
index 687470d..1c928aa 100644
--- a/repo/util/procps-ng.xibuild
+++ b/repo/util/procps-ng.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc ncurses"
+DEPS="musl ncurses"
PKG_VER=3.3.17
SOURCE=https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-$PKG_VER.tar.xz
diff --git a/repo/util/sudo.xibuild b/repo/util/sudo.xibuild
index 70d826c..55df72d 100644
--- a/repo/util/sudo.xibuild
+++ b/repo/util/sudo.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc libldap libressl pam zlib"
+DEPS="musl libldap libressl pam zlib"
PKG_VER=1.9.9
SOURCE=https://www.sudo.ws/dist/sudo-$PKG_VER.tar.gz
diff --git a/repo/util/usbutils.xibuild b/repo/util/usbutils.xibuild
index 6402ca8..274efc9 100644
--- a/repo/util/usbutils.xibuild
+++ b/repo/util/usbutils.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="libusb wget"
-DEPS="libusb glibc hwdata coreutils python"
+DEPS="libusb musl hwdata coreutils python"
PKG_VER=014
SOURCE=https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-$PKG_VER.tar.xz
diff --git a/repo/util/vim.xibuild b/repo/util/vim.xibuild
index ca07e41..d8ee93b 100644
--- a/repo/util/vim.xibuild
+++ b/repo/util/vim.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="gpm acl glibc libgcrypt pcre zlib"
+DEPS="gpm acl musl libgcrypt pcre zlib"
PKG_VER=8.2.4257
SOURCE=https://github.com/vim/vim/archive/refs/tags/v$PKG_VER.tar.gz
diff --git a/repo/util/wget.xibuild b/repo/util/wget.xibuild
index 2187c5d..ac8be7b 100644
--- a/repo/util/wget.xibuild
+++ b/repo/util/wget.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc gnutls libidn2 libpsl nettle util-linux pcre2 zlib cacerts"
+DEPS="musl gnutls libidn2 libpsl nettle util-linux pcre2 zlib cacerts"
PKG_VER=1.21.2
SOURCE=https://ftp.gnu.org/gnu/wget/wget-$PKG_VER.tar.gz
diff --git a/repo/util/which.xibuild b/repo/util/which.xibuild
index e3779bf..ea246fa 100644
--- a/repo/util/which.xibuild
+++ b/repo/util/which.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="glibc bash"
+DEPS="musl bash"
PKG_VER=2.21
diff --git a/repo/x11/libevdev.xibuild b/repo/x11/libevdev.xibuild
index 7ba6e23..e5b822e 100644
--- a/repo/x11/libevdev.xibuild
+++ b/repo/x11/libevdev.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="make doxygen"
-DEPS="glibc"
+DEPS="musl"
DESC="Wrapper library for evdev devices"
diff --git a/repo/x11/libvdpau-va-gl.xibuild b/repo/x11/libvdpau-va-gl.xibuild
index c57bfb3..074dece 100644
--- a/repo/x11/libvdpau-va-gl.xibuild
+++ b/repo/x11/libvdpau-va-gl.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="cmake"
-DEPS="glibc libgl libvdpau libx11 libva"
+DEPS="musl libgl libvdpau libx11 libva"
DESC="VPAU driver with OpenGL backend"
diff --git a/repo/x11/libxcvt.xibuild b/repo/x11/libxcvt.xibuild
index b0f7397..07e3766 100644
--- a/repo/x11/libxcvt.xibuild
+++ b/repo/x11/libxcvt.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="meson ninja"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=0.1.1
SOURCE=https://www.x.org/pub/individual/lib/libxcvt-$PKG_VER.tar.xz
diff --git a/repo/x11/pixman.xibuild b/repo/x11/pixman.xibuild
index cd3c13c..c502b84 100644
--- a/repo/x11/pixman.xibuild
+++ b/repo/x11/pixman.xibuild
@@ -1,7 +1,7 @@
#!/bin/sh
MAKEDEPS="meson ninja"
-DEPS="glibc"
+DEPS="musl"
PKG_VER=0.40.0
SOURCE=https://www.cairographics.org/releases/pixman-$PKG_VER.tar.gz