summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xauto/update.sh40
-rw-r--r--repo/bdftopcf/bdftopcf.xibuild23
-rw-r--r--repo/djvulibre/djvulibre-3.5.27-check-image-size.patch16
-rw-r--r--repo/djvulibre/djvulibre-3.5.27-check-input-pool.patch13
-rw-r--r--repo/djvulibre/djvulibre-3.5.27-djvuport-stack-overflow.patch36
-rw-r--r--repo/djvulibre/djvulibre-3.5.27-export-file.patch28
-rw-r--r--repo/djvulibre/djvulibre-3.5.27-integer-overflow.patch23
-rw-r--r--repo/djvulibre/djvulibre-3.5.27-out-of-bound-write-2.patch14
-rw-r--r--repo/djvulibre/djvulibre-3.5.27-unsigned-short-overflow.patch21
-rw-r--r--repo/djvulibre/djvulibre.xibuild43
-rw-r--r--repo/envsubst/envsubst.xibuild18
-rw-r--r--repo/fakeroot/do-not-redefine-id_t.patch21
-rw-r--r--repo/fakeroot/fakeroot-no64.patch17
-rw-r--r--repo/fakeroot/fakeroot-skip-ipc-sanity-check.patch59
-rw-r--r--repo/fakeroot/fakeroot-stdint.patch34
-rw-r--r--repo/fakeroot/fakeroot.xibuild48
-rw-r--r--repo/fakeroot/fix-format.patch25
-rw-r--r--repo/fakeroot/fix-shell-in-fakeroot.patch13
-rw-r--r--repo/fakeroot/xstatjunk.patch11
-rw-r--r--repo/font-alias/font-alias.xibuild31
-rw-r--r--repo/font-dejavu/font-dejavu.xibuild21
-rw-r--r--repo/font-fira/font-fira.xibuild32
-rw-r--r--repo/font-freefont/font-freefont.xibuild16
-rw-r--r--repo/font-sony-misc/font-sony-misc.xibuild30
-rw-r--r--repo/font-twemoji/font-twemoji.xibuild17
-rw-r--r--repo/gcc/gcc.xibuild2
-rw-r--r--repo/go/go.xibuild17
-rw-r--r--repo/go/tests-filter-overflow-gid.patch65
-rw-r--r--repo/go/tests-unset-GCCGO.patch16
-rw-r--r--repo/go/tests-unshare-enosys.patch19
-rw-r--r--repo/go/tests-x86-testsigfwd.patch14
-rw-r--r--repo/gomuks/gomuks.xibuild2
-rw-r--r--repo/hashcash/hashcash.xibuild26
-rw-r--r--repo/irssi/irssi.xibuild67
-rw-r--r--repo/libburn/libburn.xibuild4
-rw-r--r--repo/libotr/libotr.xibuild34
-rw-r--r--repo/libotr/socklen-t.patch12
-rw-r--r--repo/linux-headers/linux-headers.xibuild2
-rw-r--r--repo/linux-libre/linux-libre.xibuild2
-rw-r--r--repo/lmms/lmms.xibuild6
-rw-r--r--repo/monero/monero.xibuild2
-rw-r--r--repo/pax-utils/pax-utils.xibuild41
-rw-r--r--repo/perl-config-autoconf/perl-config-autoconf.xibuild21
-rw-r--r--repo/perl-exporter-tiny/perl-exporter-tiny.xibuild21
-rw-r--r--repo/perl-list-moreutils/perl-list-moreutils.xibuild22
-rw-r--r--repo/po4a/po4a.xibuild25
-rw-r--r--repo/smartmontools/smartd.confd10
-rw-r--r--repo/smartmontools/smartd.initd31
-rw-r--r--repo/smartmontools/smartmontools.xibuild33
-rw-r--r--repo/upx/upx.xibuild28
-rw-r--r--repo/xf86-video-nouveau/xf86-video-nouveau.xibuild31
-rw-r--r--repo/xorg-server/xorg-server.xibuild8
-rw-r--r--repo/zathura-djvu/zathura-djvu.xibuild19
-rw-r--r--skip/linux-firmware/linux-firmware-3com.xibuild (renamed from repo/linux-firmware/linux-firmware-3com.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-RTL8192E.xibuild (renamed from repo/linux-firmware/linux-firmware-RTL8192E.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-acenic.xibuild (renamed from repo/linux-firmware/linux-firmware-acenic.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-adaptec.xibuild (renamed from repo/linux-firmware/linux-firmware-adaptec.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-advansys.xibuild (renamed from repo/linux-firmware/linux-firmware-advansys.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-amd-ucode.xibuild (renamed from repo/linux-firmware/linux-firmware-amd-ucode.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-amd.xibuild (renamed from repo/linux-firmware/linux-firmware-amd.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-amdgpu.xibuild (renamed from repo/linux-firmware/linux-firmware-amdgpu.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-amphion.xibuild (renamed from repo/linux-firmware/linux-firmware-amphion.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ar3k.xibuild (renamed from repo/linux-firmware/linux-firmware-ar3k.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ath10k.xibuild (renamed from repo/linux-firmware/linux-firmware-ath10k.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ath11k.xibuild (renamed from repo/linux-firmware/linux-firmware-ath11k.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ath6k.xibuild (renamed from repo/linux-firmware/linux-firmware-ath6k.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ath9k_htc.xibuild (renamed from repo/linux-firmware/linux-firmware-ath9k_htc.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-atmel.xibuild (renamed from repo/linux-firmware/linux-firmware-atmel.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-atusb.xibuild (renamed from repo/linux-firmware/linux-firmware-atusb.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-av7110.xibuild (renamed from repo/linux-firmware/linux-firmware-av7110.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-bnx2.xibuild (renamed from repo/linux-firmware/linux-firmware-bnx2.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-bnx2x.xibuild (renamed from repo/linux-firmware/linux-firmware-bnx2x.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-brcm.xibuild (renamed from repo/linux-firmware/linux-firmware-brcm.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-cadence.xibuild (renamed from repo/linux-firmware/linux-firmware-cadence.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-carl9170fw.xibuild (renamed from repo/linux-firmware/linux-firmware-carl9170fw.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-cavium.xibuild (renamed from repo/linux-firmware/linux-firmware-cavium.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-cis.xibuild (renamed from repo/linux-firmware/linux-firmware-cis.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-cnm.xibuild (renamed from repo/linux-firmware/linux-firmware-cnm.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-cpia2.xibuild (renamed from repo/linux-firmware/linux-firmware-cpia2.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-cxgb3.xibuild (renamed from repo/linux-firmware/linux-firmware-cxgb3.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-cxgb4.xibuild (renamed from repo/linux-firmware/linux-firmware-cxgb4.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-cypress.xibuild (renamed from repo/linux-firmware/linux-firmware-cypress.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-dabusb.xibuild (renamed from repo/linux-firmware/linux-firmware-dabusb.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-dpaa2.xibuild (renamed from repo/linux-firmware/linux-firmware-dpaa2.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-dsp56k.xibuild (renamed from repo/linux-firmware/linux-firmware-dsp56k.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-e100.xibuild (renamed from repo/linux-firmware/linux-firmware-e100.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-edgeport.xibuild (renamed from repo/linux-firmware/linux-firmware-edgeport.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-emi26.xibuild (renamed from repo/linux-firmware/linux-firmware-emi26.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-emi62.xibuild (renamed from repo/linux-firmware/linux-firmware-emi62.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ene-ub6250.xibuild (renamed from repo/linux-firmware/linux-firmware-ene-ub6250.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ess.xibuild (renamed from repo/linux-firmware/linux-firmware-ess.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-go7007.xibuild (renamed from repo/linux-firmware/linux-firmware-go7007.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-i915.xibuild (renamed from repo/linux-firmware/linux-firmware-i915.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-imx.xibuild (renamed from repo/linux-firmware/linux-firmware-imx.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-inside-secure.xibuild (renamed from repo/linux-firmware/linux-firmware-inside-secure.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-intel.xibuild (renamed from repo/linux-firmware/linux-firmware-intel.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-isci.xibuild (renamed from repo/linux-firmware/linux-firmware-isci.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-kaweth.xibuild (renamed from repo/linux-firmware/linux-firmware-kaweth.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-keyspan.xibuild (renamed from repo/linux-firmware/linux-firmware-keyspan.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-keyspan_pda.xibuild (renamed from repo/linux-firmware/linux-firmware-keyspan_pda.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-korg.xibuild (renamed from repo/linux-firmware/linux-firmware-korg.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-libertas.xibuild (renamed from repo/linux-firmware/linux-firmware-libertas.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-liquidio.xibuild (renamed from repo/linux-firmware/linux-firmware-liquidio.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-matrox.xibuild (renamed from repo/linux-firmware/linux-firmware-matrox.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-mediatek.xibuild (renamed from repo/linux-firmware/linux-firmware-mediatek.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-mellanox.xibuild (renamed from repo/linux-firmware/linux-firmware-mellanox.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-meson.xibuild (renamed from repo/linux-firmware/linux-firmware-meson.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-microchip.xibuild (renamed from repo/linux-firmware/linux-firmware-microchip.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-moxa.xibuild (renamed from repo/linux-firmware/linux-firmware-moxa.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-mrvl.xibuild (renamed from repo/linux-firmware/linux-firmware-mrvl.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-mwl8k.xibuild (renamed from repo/linux-firmware/linux-firmware-mwl8k.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-mwlwifi.xibuild (renamed from repo/linux-firmware/linux-firmware-mwlwifi.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-myricom.xibuild (renamed from repo/linux-firmware/linux-firmware-myricom.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-netronome.xibuild (renamed from repo/linux-firmware/linux-firmware-netronome.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-nvidia.xibuild (renamed from repo/linux-firmware/linux-firmware-nvidia.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ositech.xibuild (renamed from repo/linux-firmware/linux-firmware-ositech.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-qca.xibuild (renamed from repo/linux-firmware/linux-firmware-qca.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-qcom.xibuild (renamed from repo/linux-firmware/linux-firmware-qcom.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-qed.xibuild (renamed from repo/linux-firmware/linux-firmware-qed.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-qlogic.xibuild (renamed from repo/linux-firmware/linux-firmware-qlogic.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-r128.xibuild (renamed from repo/linux-firmware/linux-firmware-r128.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-radeon.xibuild (renamed from repo/linux-firmware/linux-firmware-radeon.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-rockchip.xibuild (renamed from repo/linux-firmware/linux-firmware-rockchip.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-rsi.xibuild (renamed from repo/linux-firmware/linux-firmware-rsi.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-rtl_bt.xibuild (renamed from repo/linux-firmware/linux-firmware-rtl_bt.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-rtl_nic.xibuild (renamed from repo/linux-firmware/linux-firmware-rtl_nic.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-rtlwifi.xibuild (renamed from repo/linux-firmware/linux-firmware-rtlwifi.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-rtw88.xibuild (renamed from repo/linux-firmware/linux-firmware-rtw88.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-rtw89.xibuild (renamed from repo/linux-firmware/linux-firmware-rtw89.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-sb16.xibuild (renamed from repo/linux-firmware/linux-firmware-sb16.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-slicoss.xibuild (renamed from repo/linux-firmware/linux-firmware-slicoss.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-sun.xibuild (renamed from repo/linux-firmware/linux-firmware-sun.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-sxg.xibuild (renamed from repo/linux-firmware/linux-firmware-sxg.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-tehuti.xibuild (renamed from repo/linux-firmware/linux-firmware-tehuti.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ti-connectivity.xibuild (renamed from repo/linux-firmware/linux-firmware-ti-connectivity.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ti-keystone.xibuild (renamed from repo/linux-firmware/linux-firmware-ti-keystone.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ti.xibuild (renamed from repo/linux-firmware/linux-firmware-ti.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-tigon.xibuild (renamed from repo/linux-firmware/linux-firmware-tigon.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ttusb-budget.xibuild (renamed from repo/linux-firmware/linux-firmware-ttusb-budget.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-ueagle-atm.xibuild (renamed from repo/linux-firmware/linux-firmware-ueagle-atm.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-usbdux.xibuild (renamed from repo/linux-firmware/linux-firmware-usbdux.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-vicam.xibuild (renamed from repo/linux-firmware/linux-firmware-vicam.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-vxge.xibuild (renamed from repo/linux-firmware/linux-firmware-vxge.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-wfx.xibuild (renamed from repo/linux-firmware/linux-firmware-wfx.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-yam.xibuild (renamed from repo/linux-firmware/linux-firmware-yam.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware-yamaha.xibuild (renamed from repo/linux-firmware/linux-firmware-yamaha.xibuild)0
-rw-r--r--skip/linux-firmware/linux-firmware.tmpl (renamed from repo/linux-firmware/linux-firmware.tmpl)0
-rw-r--r--skip/linux-firmware/linux-firmware.xibuild (renamed from repo/linux-firmware/linux-firmware.xibuild)0
-rw-r--r--skip/linux/config (renamed from repo/linux/config)0
-rw-r--r--skip/linux/fix-sbase-coreutils.patch (renamed from repo/linux/fix-sbase-coreutils.patch)0
-rw-r--r--skip/linux/linux-src.xibuild (renamed from repo/linux/linux-src.xibuild)0
-rw-r--r--skip/linux/linux.xibuild (renamed from repo/linux/linux.xibuild)2
152 files changed, 1160 insertions, 72 deletions
diff --git a/auto/update.sh b/auto/update.sh
index 35a073f..474004b 100755
--- a/auto/update.sh
+++ b/auto/update.sh
@@ -115,23 +115,25 @@ save_ver () {
sed -i "s/PKG_VER=.*/PKG_VER=$ver/" repo/$name/$name.xibuild
}
-for pkg in $(ls repo); do
- printf "${LIGHT_BLUE}%s " "$pkg"
- case "$(get_type $pkg)" in
- "git"|"none"|"pypi")
- printf "${LIGHT_WHITE}skipped"
- ;;
- *)
- cur="$(cur_ver $pkg)"
- new="$(new_ver $pkg)"
-
- [ "$cur" = "$new" ] &&
- printf "${LIGHT_WHITE}%s ${CHECKMARK}" "$cur" || {
- printf "${GREEN}%s > %s" "$cur" "$new"
- save_ver "$pkg" "$new"
- }
- esac
- printf "\n"
-done
-
+update_pkg () {
+ for pkg in $@; do
+ printf "${LIGHT_BLUE}%s " "$pkg"
+ case "$(get_type $pkg)" in
+ "git"|"none"|"pypi")
+ printf "${LIGHT_WHITE}skipped"
+ ;;
+ *)
+ cur="$(cur_ver $pkg)"
+ new="$(new_ver $pkg)"
+
+ [ "$cur" = "$new" ] &&
+ printf "${LIGHT_WHITE}%s ${CHECKMARK}" "$cur" || {
+ printf "${GREEN}%s > %s" "$cur" "$new"
+ save_ver "$pkg" "$new"
+ }
+ esac
+ printf "\n"
+ done
+}
+[ -z "$*" ] && update_pkg $(ls repo) || update_pkg $@
diff --git a/repo/bdftopcf/bdftopcf.xibuild b/repo/bdftopcf/bdftopcf.xibuild
new file mode 100644
index 0000000..7470e56
--- /dev/null
+++ b/repo/bdftopcf/bdftopcf.xibuild
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+NAME="bdftopcf"
+DESC="X.Org font utility"
+
+MAKEDEPS="libxfont util-macros xorgproto"
+
+PKG_VER=1.1.1
+SOURCE="https://www.x.org/releases/individual/util/bdftopcf-$PKG_VER.tar.xz"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
diff --git a/repo/djvulibre/djvulibre-3.5.27-check-image-size.patch b/repo/djvulibre/djvulibre-3.5.27-check-image-size.patch
new file mode 100644
index 0000000..9d0d5b8
--- /dev/null
+++ b/repo/djvulibre/djvulibre-3.5.27-check-image-size.patch
@@ -0,0 +1,16 @@
+diff --git a/libdjvu/IW44Image.cpp b/libdjvu/IW44Image.cpp
+index e8d4b44..aa3d554 100644
+--- a/libdjvu/IW44Image.cpp
++++ b/libdjvu/IW44Image.cpp
+@@ -678,7 +678,11 @@ IW44Image::Map::image(signed char *img8, int rowsize, int pixsep, int fast)
+ size_t sz = bw * bh;
+ if (sz / (size_t)bw != (size_t)bh) // multiplication overflow
+ G_THROW("IW44Image: image size exceeds maximum (corrupted file?)");
++ if (sz == 0)
++ G_THROW("IW44Image: zero size image (corrupted file?)");
+ GPBuffer<short> gdata16(data16,sz);
++ if (data16 == NULL)
++ G_THROW("IW44Image: unable to allocate image data");
+ // Copy coefficients
+ int i;
+ short *p = data16;
diff --git a/repo/djvulibre/djvulibre-3.5.27-check-input-pool.patch b/repo/djvulibre/djvulibre-3.5.27-check-input-pool.patch
new file mode 100644
index 0000000..26e08e9
--- /dev/null
+++ b/repo/djvulibre/djvulibre-3.5.27-check-input-pool.patch
@@ -0,0 +1,13 @@
+diff --git a/libdjvu/DataPool.cpp b/libdjvu/DataPool.cpp
+index 5fcbedf..4c2eaf0 100644
+--- a/libdjvu/DataPool.cpp
++++ b/libdjvu/DataPool.cpp
+@@ -791,6 +791,8 @@ DataPool::create(const GP<DataPool> & pool, int start, int length)
+ DEBUG_MSG("DataPool::DataPool: pool=" << (void *)((DataPool *)pool) << " start=" << start << " length= " << length << "\n");
+ DEBUG_MAKE_INDENT(3);
+
++ if (!pool) G_THROW( ERR_MSG("DataPool.zero_DataPool") );
++
+ DataPool *xpool=new DataPool();
+ GP<DataPool> retval=xpool;
+ xpool->init();
diff --git a/repo/djvulibre/djvulibre-3.5.27-djvuport-stack-overflow.patch b/repo/djvulibre/djvulibre-3.5.27-djvuport-stack-overflow.patch
new file mode 100644
index 0000000..e7bc643
--- /dev/null
+++ b/repo/djvulibre/djvulibre-3.5.27-djvuport-stack-overflow.patch
@@ -0,0 +1,36 @@
+diff --git a/libdjvu/DjVuPort.cpp b/libdjvu/DjVuPort.cpp
+index 2b3e0d2..ede7f6b 100644
+--- a/libdjvu/DjVuPort.cpp
++++ b/libdjvu/DjVuPort.cpp
+@@ -507,10 +507,19 @@ GP<DjVuFile>
+ DjVuPortcaster::id_to_file(const DjVuPort * source, const GUTF8String &id)
+ {
+ GPList<DjVuPort> list;
++
++ if (!!opening_id && opening_id == id)
++ G_THROW("DjVuPortcaster: recursive opening of the same file (corrupted file?)");
++ else
++ opening_id = id;
++
+ compute_closure(source, list, true);
+ GP<DjVuFile> file;
+ for(GPosition pos=list;pos;++pos)
+ if ((file=list[pos]->id_to_file(source, id))) break;
++
++ opening_id = GUTF8String();
++
+ return file;
+ }
+
+diff --git a/libdjvu/DjVuPort.h b/libdjvu/DjVuPort.h
+index e2b3125..313dc2b 100644
+--- a/libdjvu/DjVuPort.h
++++ b/libdjvu/DjVuPort.h
+@@ -484,6 +484,7 @@ private:
+ const DjVuPort *dst, int distance);
+ void compute_closure(const DjVuPort *src, GPList<DjVuPort> &list,
+ bool sorted=false);
++ GUTF8String opening_id;
+ };
+
+
diff --git a/repo/djvulibre/djvulibre-3.5.27-export-file.patch b/repo/djvulibre/djvulibre-3.5.27-export-file.patch
new file mode 100644
index 0000000..02a1c44
--- /dev/null
+++ b/repo/djvulibre/djvulibre-3.5.27-export-file.patch
@@ -0,0 +1,28 @@
+--- djvulibre-3.5.27/desktopfiles/Makefile.am
++++ djvulibre-3.5.27/desktopfiles/Makefile.am
+@@ -32,10 +32,9 @@ if HAVE_CONVERSION_INKSCAPE
+ convert_icons_process = \
+ s=`echo $@ | sed -e 's/[a-z]*\([0-9]*\).*/\1/'`; \
+ ${INKSCAPE} \
+---without-gui \
+ --export-width=$${s} \
+ --export-height=$${s} \
+---export-png=$@ $<
++--export-filename=$@ $<
+ endif
+
+ if HAVE_CONVERSION_CONVERT
+--- djvulibre-3.5.27/desktopfiles/Makefile.in
++++ djvulibre-3.5.27/desktopfiles/Makefile.in
+@@ -306,10 +306,9 @@ PNGICONS = \
+ @HAVE_CONVERSION_INKSCAPE_TRUE@convert_icons_process = \
+ @HAVE_CONVERSION_INKSCAPE_TRUE@s=`echo $@ | sed -e 's/[a-z]*\([0-9]*\).*/\1/'`; \
+ @HAVE_CONVERSION_INKSCAPE_TRUE@${INKSCAPE} \
+-@HAVE_CONVERSION_INKSCAPE_TRUE@--without-gui \
+ @HAVE_CONVERSION_INKSCAPE_TRUE@--export-width=$${s} \
+ @HAVE_CONVERSION_INKSCAPE_TRUE@--export-height=$${s} \
+-@HAVE_CONVERSION_INKSCAPE_TRUE@--export-png=$@ $<
++@HAVE_CONVERSION_INKSCAPE_TRUE@--export-filename=$@ $<
+
+ @HAVE_CONVERSION_RSVG_TRUE@convert_icons_process = \
+ @HAVE_CONVERSION_RSVG_TRUE@s=`echo $@ | sed -e 's/[a-z]*\([0-9]*\).*/\1/'`; \
diff --git a/repo/djvulibre/djvulibre-3.5.27-integer-overflow.patch b/repo/djvulibre/djvulibre-3.5.27-integer-overflow.patch
new file mode 100644
index 0000000..279a038
--- /dev/null
+++ b/repo/djvulibre/djvulibre-3.5.27-integer-overflow.patch
@@ -0,0 +1,23 @@
+diff --git a/tools/ddjvu.cpp b/tools/ddjvu.cpp
+index 7109952..b41f7d2 100644
+--- a/tools/ddjvu.cpp
++++ b/tools/ddjvu.cpp
+@@ -70,6 +70,7 @@
+ #include <locale.h>
+ #include <fcntl.h>
+ #include <errno.h>
++#include <stdint.h>
+
+ #ifdef UNIX
+ # include <sys/time.h>
+@@ -394,7 +395,9 @@ render(ddjvu_page_t *page, int pageno)
+ rowsize = rrect.w;
+ else
+ rowsize = rrect.w * 3;
+- if (! (image = (char*)malloc(rowsize * rrect.h)))
++ if ((size_t)rowsize > SIZE_MAX / rrect.h)
++ die(i18n("Integer overflow when allocating image buffer for page %d"), pageno);
++ if (! (image = (char*)malloc((size_t)rowsize * rrect.h)))
+ die(i18n("Cannot allocate image buffer for page %d"), pageno);
+
+ /* Render */
diff --git a/repo/djvulibre/djvulibre-3.5.27-out-of-bound-write-2.patch b/repo/djvulibre/djvulibre-3.5.27-out-of-bound-write-2.patch
new file mode 100644
index 0000000..f2fae47
--- /dev/null
+++ b/repo/djvulibre/djvulibre-3.5.27-out-of-bound-write-2.patch
@@ -0,0 +1,14 @@
+diff --git a/libdjvu/DjVuText.cpp b/libdjvu/DjVuText.cpp
+index 60a4f39..b11df7b 100644
+--- a/libdjvu/DjVuText.cpp
++++ b/libdjvu/DjVuText.cpp
+@@ -345,7 +345,8 @@ DjVuTXT::decode(const GP<ByteStream> &gbs)
+ int textsize = bs.read24();
+ char *buffer = textUTF8.getbuf(textsize);
+ int readsize = bs.read(buffer,textsize);
+- buffer[readsize] = 0;
++ if (buffer)
++ buffer[readsize] = 0;
+ if (readsize < textsize)
+ G_THROW( ERR_MSG("DjVuText.corrupt_chunk") );
+ // Try reading zones
diff --git a/repo/djvulibre/djvulibre-3.5.27-unsigned-short-overflow.patch b/repo/djvulibre/djvulibre-3.5.27-unsigned-short-overflow.patch
new file mode 100644
index 0000000..c7a6f3a
--- /dev/null
+++ b/repo/djvulibre/djvulibre-3.5.27-unsigned-short-overflow.patch
@@ -0,0 +1,21 @@
+diff --git a/libdjvu/GBitmap.cpp b/libdjvu/GBitmap.cpp
+index c2fdbe4..e271a1d 100644
+--- a/libdjvu/GBitmap.cpp
++++ b/libdjvu/GBitmap.cpp
+@@ -69,6 +69,7 @@
+ #include <stddef.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <limits.h>
+
+ // - Author: Leon Bottou, 05/1997
+
+@@ -1284,6 +1285,8 @@ GBitmap::decode(unsigned char *runs)
+ // initialize pixel array
+ if (nrows==0 || ncolumns==0)
+ G_THROW( ERR_MSG("GBitmap.not_init") );
++ if (ncolumns > USHRT_MAX - border)
++ G_THROW("GBitmap: row size exceeds maximum (corrupted file?)");
+ bytes_per_row = ncolumns + border;
+ if (runs==0)
+ G_THROW( ERR_MSG("GBitmap.null_arg") );
diff --git a/repo/djvulibre/djvulibre.xibuild b/repo/djvulibre/djvulibre.xibuild
new file mode 100644
index 0000000..d275bd2
--- /dev/null
+++ b/repo/djvulibre/djvulibre.xibuild
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+NAME="djvulibre"
+DESC="Utilities and Libraries for the DjVu image format"
+
+MAKEDEPS=" libjpeg-turbo tiff automake autoconf libtool"
+
+PKG_VER=3.5.28
+SOURCE="https://downloads.sourceforge.net/djvu/djvulibre-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+djvulibre-3.5.27-check-image-size.patch
+djvulibre-3.5.27-check-input-pool.patch
+djvulibre-3.5.27-djvuport-stack-overflow.patch
+djvulibre-3.5.27-export-file.patch
+djvulibre-3.5.27-integer-overflow.patch
+djvulibre-3.5.27-out-of-bound-write-2.patch
+djvulibre-3.5.27-unsigned-short-overflow.patch
+"
+
+prepare() {
+ apply_patches
+ autoreconf -fi
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
+libs() {
+ pkgdesc="Runtime support for the DjVu image format"
+ mkdir -p "$PKG_DEST"/usr/lib
+ mv "$PKG_DEST"/usr/lib/*.so.* \
+ "$PKG_DEST"/usr/lib/
+}
+
diff --git a/repo/envsubst/envsubst.xibuild b/repo/envsubst/envsubst.xibuild
new file mode 100644
index 0000000..f74a990
--- /dev/null
+++ b/repo/envsubst/envsubst.xibuild
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+NAME="envsubst"
+DESC="perform variable substitutions on input"
+
+MAKEDEPS=""
+
+PKG_VER=0.1
+SOURCE="https://distfiles.dereferenced.org/envsubst/envsubst-$PKG_VER.tar.xz"
+
+build() {
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" prefix="/usr" install
+}
+
diff --git a/repo/fakeroot/do-not-redefine-id_t.patch b/repo/fakeroot/do-not-redefine-id_t.patch
new file mode 100644
index 0000000..4d3bab1
--- /dev/null
+++ b/repo/fakeroot/do-not-redefine-id_t.patch
@@ -0,0 +1,21 @@
+musl defines id_t as unsigned but doesn't use the _ID_T to detect its
+definition. This causes the type to be redefined as an int by fakeroot
+which causes a compilation error.
+
+diff -upr fakeroot-1.27.orig/libfakeroot.c fakeroot-1.27/libfakeroot.c
+--- fakeroot-1.27.orig/libfakeroot.c 2022-01-30 11:30:25.198506844 +0100
++++ fakeroot-1.27/libfakeroot.c 2022-01-30 11:30:41.928524429 +0100
+@@ -133,13 +133,6 @@
+ #define INT_SEND_STAT(a,b) SEND_STAT(a,b,_STAT_VER)
+ #define INT_SEND_GET_XATTR(a,b) SEND_GET_XATTR(a,b,_STAT_VER)
+ #define INT_SEND_GET_STAT(a,b) SEND_GET_STAT(a,b)
+-
+-/* 10.10 uses id_t in getpriority/setpriority calls, so pretend
+- id_t is used everywhere, just happens to be int on some OSes */
+-#ifndef _ID_T
+-#define _ID_T
+-typedef int id_t;
+-#endif
+ #endif
+
+ #include <sys/types.h>
diff --git a/repo/fakeroot/fakeroot-no64.patch b/repo/fakeroot/fakeroot-no64.patch
new file mode 100644
index 0000000..ff95f96
--- /dev/null
+++ b/repo/fakeroot/fakeroot-no64.patch
@@ -0,0 +1,17 @@
+--- a/libfakeroot.c
++++ b/libfakeroot.c
+@@ -81,12 +81,14 @@
+ #define SEND_STAT64(a,b,c) send_stat64(a,b,c)
+ #define SEND_GET_STAT(a,b) send_get_stat(a,b)
+ #define SEND_GET_STAT64(a,b) send_get_stat64(a,b)
++#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b,c)
+ #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b,c)
+ #else
+ #define SEND_STAT(a,b,c) send_stat(a,b)
+ #define SEND_STAT64(a,b,c) send_stat64(a,b)
+ #define SEND_GET_STAT(a,b) send_get_stat(a)
+ #define SEND_GET_STAT64(a,b) send_get_stat64(a)
++#define SEND_GET_XATTR(a,b,c) send_get_xattr(a,b)
+ #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b)
+ #endif
+
diff --git a/repo/fakeroot/fakeroot-skip-ipc-sanity-check.patch b/repo/fakeroot/fakeroot-skip-ipc-sanity-check.patch
new file mode 100644
index 0000000..9541973
--- /dev/null
+++ b/repo/fakeroot/fakeroot-skip-ipc-sanity-check.patch
@@ -0,0 +1,59 @@
+This patch was original added in aports commit
+439b449b68ebf3462a3f659804c41195e2d8d8ae. It
+seems to be needed since this sanity checks
+fails spuriously when cros compiling fakeroot.
+
+diff -upr fakeroot-1.27.orig/configure.ac fakeroot-1.27/configure.ac
+--- fakeroot-1.27.orig/configure.ac 2022-01-30 10:43:52.992260063 +0100
++++ fakeroot-1.27/configure.ac 2022-01-30 10:46:22.989526929 +0100
+@@ -25,50 +25,6 @@ AC_CACHE_CHECK([which IPC method to use]
+ [ac_cv_use_ipc],
+ [ac_cv_use_ipc=sysv])
+
+-if test $ac_cv_use_ipc = "sysv"; then
+- AC_MSG_CHECKING([whether SysV IPC message queues are actually working on the host])
+-
+- AC_LANG_PUSH(C)
+- AC_RUN_IFELSE([AC_LANG_SOURCE([[
+-#include <stdlib.h>
+-#include <sys/types.h>
+-#include <sys/ipc.h>
+-#include <sys/msg.h>
+-#include <time.h>
+-#include <unistd.h>
+-
+-int main() {
+-
+- srandom(time(NULL)+getpid()*33151);
+- key_t msg_key = random();
+- int msg_get = msgget(msg_key, IPC_CREAT|0600);
+-
+- if (msg_get==-1) {
+- return 1;
+- } else {
+- msgctl(msg_get, IPC_RMID, NULL);
+- return 0;
+- }
+-
+-}]])],[ac_cv_use_ipc=sysv],[ac_cv_use_ipc=tcp],[ac_cv_use_ipc=cross])
+-
+- if test $ac_cv_use_ipc = cross; then
+- if test "$host_os" = linux-gnu; then
+- ac_cv_use_ipc=sysv
+- AC_MSG_RESULT([cross, guessing yes])
+- else
+- (set -o posix; set)
+- AC_MSG_ERROR([cross compiling, unknown result for $host_os])
+- fi
+- elif test $ac_cv_use_ipc = "tcp"; then
+- AC_MSG_RESULT([No, using TCP])
+- else
+- AC_MSG_RESULT([Yes])
+- fi
+-
+- AC_LANG_POP(C)
+-fi
+-
+ AC_ARG_WITH([dbformat],
+ AS_HELP_STRING([--with-dbformat@<:@=DBFORMAT@:>@],
+ [database format to use: either inode (default) or path]),
diff --git a/repo/fakeroot/fakeroot-stdint.patch b/repo/fakeroot/fakeroot-stdint.patch
new file mode 100644
index 0000000..bb4f67f
--- /dev/null
+++ b/repo/fakeroot/fakeroot-stdint.patch
@@ -0,0 +1,34 @@
+--- fakeroot-1.18.2.orig/faked.c
++++ fakeroot-1.18.2/faked.c
+@@ -514,11 +514,11 @@
+
+ #ifdef FAKEROOT_DB_PATH
+ if (find_path(i->buf.dev, i->buf.ino, roots, path))
+- fprintf(f,"mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu %s\n",
++ fprintf(f,"mode=%"PRIo64",uid=%"PRIu64",gid=%"PRIu64",nlink=%"PRIu64",rdev=%"PRIu64" %s\n",
+ (uint64_t) i->buf.mode,(uint64_t) i->buf.uid,(uint64_t) i->buf.gid,
+ (uint64_t) i->buf.nlink,(uint64_t) i->buf.rdev,path);
+ #else
+- fprintf(f,"dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
++ fprintf(f,"dev=%"PRIx64",ino=%"PRIu64",mode=%"PRIo64",uid=%"PRIu64",gid=%"PRIu64",nlink=%"PRIu64",rdev=%"PRIu64"\n",
+ (uint64_t) i->buf.dev,(uint64_t) i->buf.ino,(uint64_t) i->buf.mode,
+ (uint64_t) i->buf.uid,(uint64_t) i->buf.gid,(uint64_t) i->buf.nlink,
+ (uint64_t) i->buf.rdev);
+@@ -544,7 +544,7 @@
+
+ while(1){
+ #ifdef FAKEROOT_DB_PATH
+- r=scanf("mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu "DB_PATH_SCAN"\n",
++ r=scanf("mode=%"PRIo64",uid=%"PRIu64",gid=%"PRIu64",nlink=%"PRIu64",rdev=%"PRIu64" "DB_PATH_SCAN"\n",
+ &stmode, &stuid, &stgid, &stnlink, &strdev, &path);
+ if (r != 6)
+ break;
+@@ -559,7 +559,7 @@
+ stdev = path_st.st_dev;
+ stino = path_st.st_ino;
+ #else
+- r=scanf("dev=%llx,ino=%llu,mode=%llo,uid=%llu,gid=%llu,nlink=%llu,rdev=%llu\n",
++ r=scanf("dev=%"PRIx64",ino=%"PRIu64",mode=%"PRIo64",uid=%"PRIu64",gid=%"PRIu64",nlink=%"PRIu64",rdev=%"PRIu64"\n",
+ &stdev, &stino, &stmode, &stuid, &stgid, &stnlink, &strdev);
+ if (r != 7)
+ break;
diff --git a/repo/fakeroot/fakeroot.xibuild b/repo/fakeroot/fakeroot.xibuild
new file mode 100644
index 0000000..46971af
--- /dev/null
+++ b/repo/fakeroot/fakeroot.xibuild
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+NAME="fakeroot"
+DESC="Gives a fake root environment, useful for building packages as a non-privileged user"
+
+MAKEDEPS=" libtool autoconf automake po4a libcap acl linux-headers"
+
+PKG_VER=1.29
+SOURCE="https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_$PKG_VER.orig.tar.gz"
+
+ADDITIONAL="
+do-not-redefine-id_t.patch
+fakeroot-no64.patch
+fakeroot-skip-ipc-sanity-check.patch
+fakeroot-stdint.patch
+fix-format.patch
+fix-shell-in-fakeroot.patch
+xstatjunk.patch
+"
+
+prepare () {
+ apply_patches
+}
+
+build() {
+ if [ "$CLIBC" = "musl" ]; then
+ # musl does not have _STAT_VER, it's really not used for
+ # anything, so define it as zero (just like uclibc does)
+ export CFLAGS="-D_STAT_VER=0 $CFLAGS"
+ fi
+
+ CONFIG_SHELL=/bin/sh ./bootstrap
+ CONFIG_SHELL=/bin/sh ./configure \
+
+
+ --prefix=/usr \
+ --disable-static
+
+ make
+ cd doc
+ #po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg
+}
+
+package() {
+ cd ..
+ make DESTDIR="$PKG_DEST" install
+}
+
diff --git a/repo/fakeroot/fix-format.patch b/repo/fakeroot/fix-format.patch
new file mode 100644
index 0000000..8f86396
--- /dev/null
+++ b/repo/fakeroot/fix-format.patch
@@ -0,0 +1,25 @@
+Fakeroot defines custom fake_dev_t/fake_ino_t as uint64_t
+but doesn't use the PRIu64 format specifier from inttypes.h
+to print them thereby relying on a specific representation
+of these types.
+
+diff -upr fakeroot-1.27.orig/faked.c fakeroot-1.27/faked.c
+--- fakeroot-1.27.orig/faked.c 2022-01-17 21:37:21.000000000 +0100
++++ fakeroot-1.27/faked.c 2022-01-30 11:36:59.963019225 +0100
+@@ -121,6 +121,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <signal.h>
++#include <inttypes.h>
+ #ifdef HAVE_STDINT_H
+ # include <stdint.h>
+ #endif
+@@ -687,7 +688,7 @@ int load_database(const uint32_t remote)
+ /* */
+ /*********************************/
+ void debug_stat(const struct fakestat *st){
+- fprintf(stderr,"dev:ino=(%llx:%lli), mode=0%lo, own=(%li,%li), nlink=%li, rdev=%lli\n",
++ fprintf(stderr,"dev:ino=(%"PRIx64":%"PRIu64"), mode=0%lo, own=(%li,%li), nlink=%li, rdev=%"PRIu64"\n",
+ st->dev,
+ st->ino,
+ (long)st->mode,
diff --git a/repo/fakeroot/fix-shell-in-fakeroot.patch b/repo/fakeroot/fix-shell-in-fakeroot.patch
new file mode 100644
index 0000000..ce5d23f
--- /dev/null
+++ b/repo/fakeroot/fix-shell-in-fakeroot.patch
@@ -0,0 +1,13 @@
+Description: Fix shell in fakeroot.in
+ Use /bin/sh instead of @SHELL@ in fakeroot.in
+Author: Juan Picca <jumapico@gmail.com>
+Last-Update: 2016-06-27
+---
+--- a/scripts/fakeroot.in
++++ b/scripts/fakeroot.in
+@@ -1,4 +1,4 @@
+-#!@SHELL@
++#!/bin/sh
+
+ # This script first starts faked (the daemon), and then it will run
+ # the requested program with fake root privileges.
diff --git a/repo/fakeroot/xstatjunk.patch b/repo/fakeroot/xstatjunk.patch
new file mode 100644
index 0000000..12f2759
--- /dev/null
+++ b/repo/fakeroot/xstatjunk.patch
@@ -0,0 +1,11 @@
+--- fakeroot-1.18.4.orig/configure.ac 2012-06-02 18:23:41.000000000 +0000
++++ fakeroot-1.18.4configure.ac 2015-09-24 23:15:56.917470073 +0000
+@@ -301,7 +301,7 @@
+ FUNC=`echo $SEARCH|sed -e 's/.*%//'`
+ PRE=`echo $SEARCH|sed -e 's/%.*//'`
+ FOUND=
+- for WRAPPED in __${PRE}x${FUNC} _${PRE}x${FUNC} __${PRE}${FUNC}13 ${PRE}${FUNC}; do
++ for WRAPPED in ${PRE}${FUNC}; do
+ AC_CHECK_FUNCS($WRAPPED,FOUND=$WRAPPED)
+ dnl
+ dnl to unconditionally define only the _* functions, comment out the 2 lines above,
diff --git a/repo/font-alias/font-alias.xibuild b/repo/font-alias/font-alias.xibuild
index 342abfe..551eca3 100644
--- a/repo/font-alias/font-alias.xibuild
+++ b/repo/font-alias/font-alias.xibuild
@@ -1,20 +1,27 @@
#!/bin/sh
-MAKEDEPS="make mkfontscale"
-DEPS="fontconfig libxcb xcursor-themes"
+NAME="font-alias"
+DESC="X.org font alias files"
+
+MAKEDEPS=""
PKG_VER=1.0.4
-SOURCE=https://www.x.org/pub/individual/font/font-alias-$PKG_VER.tar.bz2
+SOURCE="https://www.x.org/releases/individual/font/font-alias-$PKG_VER.tar.bz2"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --with-fontrootdir=/usr/share/fonts
+ make
+}
-build () {
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
- make
+check() {
+ make check
}
-package () {
- make DESTDIR=$PKG_DEST install
+package() {
+ make DESTDIR="$PKG_DEST" install
+
+ install -Dm644 COPYING "$PKG_DEST/usr/share/licenses/font-alias/COPYING"
+}
-install -d -m755 $PKG_DEST/usr/share/fonts &&
-ln -sf /usr/share/fonts/X11/OTF $PKG_DEST/usr/share/fonts/X11-OTF &&
-ln -sf /usr/share/fonts/X11/TTF $PKG_DEST/usr/share/fonts/X11-TTF
-} \ No newline at end of file
diff --git a/repo/font-dejavu/font-dejavu.xibuild b/repo/font-dejavu/font-dejavu.xibuild
index 53f1ac7..ff250e6 100644
--- a/repo/font-dejavu/font-dejavu.xibuild
+++ b/repo/font-dejavu/font-dejavu.xibuild
@@ -3,7 +3,7 @@
NAME="font-dejavu"
DESC="Font family based on the Bitstream Vera Fonts with a wider range of characters"
-MAKEDEPS="font-util"
+MAKEDEPS=" font-util"
PKG_VER=2.37
SOURCE="https://downloads.sourceforge.net/project/dejavu/dejavu/$PKG_VER/dejavu-fonts-ttf-$PKG_VER.tar.bz2"
@@ -14,21 +14,22 @@ ADDITIONAL="
"
package() {
- mkdir -p "$PKG_DEST"/usr/share/fonts/ttf-dejavu \
- "$PKG_DEST"/etc/fonts/conf.avail \
- "$PKG_DEST"/etc/fonts/conf.d
+ mkdir -p "$PKG_DEST"/etc/fonts/conf.d
- install -m644 "$BUILD_ROOT"/dejavu-fonts-ttf-$PKG_VER/ttf/*.ttf \
- "$BUILD_ROOT"/dejavu-lgc-fonts-ttf-$PKG_VER/ttf/*.ttf \
- "$PKG_DEST"/usr/share/fonts/ttf-dejavu
+ install -Dm644 \
+ dejavu-fonts-ttf-$PKG_VER/ttf/*.ttf \
+ dejavu-lgc-fonts-ttf-$PKG_VER/ttf/*.ttf \
+ -t "$PKG_DEST"/usr/share/fonts/dejavu
- install -m644 "$BUILD_ROOT"/dejavu-fonts-ttf-$PKG_VER/fontconfig/*.conf \
+ install -Dm644 \
+ "$BUILD_ROOT"/dejavu-fonts-ttf-$PKG_VER/fontconfig/*.conf \
"$BUILD_ROOT"/dejavu-lgc-fonts-ttf-$PKG_VER/fontconfig/*.conf \
- "$PKG_DEST"/etc/fonts/conf.avail
+ -t "$PKG_DEST"/etc/fonts/conf.avail/
cd "$PKG_DEST"/etc/fonts/conf.d
+ local j
for j in "$BUILD_ROOT"/*.conf; do
- install -m644 "$j" "$PKG_DEST"/etc/fonts/conf.avail/
+ install -Dm644 "$j" -t "$PKG_DEST"/etc/fonts/conf.avail/
ln -sf /etc/fonts/conf.avail/${j##*/}
done
}
diff --git a/repo/font-fira/font-fira.xibuild b/repo/font-fira/font-fira.xibuild
new file mode 100644
index 0000000..3d794a9
--- /dev/null
+++ b/repo/font-fira/font-fira.xibuild
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+NAME="font-fira"
+DESC="Mozilla's new typeface OTF, used in Firefox OS"
+
+MAKEDEPS=""
+
+PKG_VER=4.202
+SOURCE="https://github.com/mozilla/Fira/archive/$PKG_VER.tar.gz"
+
+package() {
+ mkdir -p "$PKG_DEST"
+ otf
+ ttf
+}
+
+otf() {
+ depends="fontconfig"
+
+ for f in $BUILD_ROOT/otf/*.otf; do
+ install -Dm644 $f "$PKG_DEST"/usr/share/fonts/OTF
+ done
+}
+
+ttf() {
+ pkgdesc="$pkgdesc (TTF version)"
+ depends="fontconfig"
+
+ for f in $BUILD_ROOT/ttf/*.ttf; do
+ install -Dm644 $f "$PKG_DEST"/usr/share/fonts/TTF
+ done
+}
diff --git a/repo/font-freefont/font-freefont.xibuild b/repo/font-freefont/font-freefont.xibuild
new file mode 100644
index 0000000..f02222d
--- /dev/null
+++ b/repo/font-freefont/font-freefont.xibuild
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+NAME="font-freefont"
+DESC="A set of free high-quality TrueType fonts covering the UCS character set"
+
+MAKEDEPS=" font-util"
+
+PKG_VER=20120503
+SOURCE="https://ftp.gnu.org/gnu/freefont/freefont-otf-$PKG_VER.tar.gz"
+
+package() {
+ install -Dm644 ./*.otf -t "$PKG_DEST"/usr/share/fonts/freefont/
+ # Licensing exception is discussed in README in pkgver==20120503
+ install -Dm644 README "$PKG_DEST/usr/share/licenses/font-freefont/README"
+}
+
diff --git a/repo/font-sony-misc/font-sony-misc.xibuild b/repo/font-sony-misc/font-sony-misc.xibuild
new file mode 100644
index 0000000..461ff75
--- /dev/null
+++ b/repo/font-sony-misc/font-sony-misc.xibuild
@@ -0,0 +1,30 @@
+#!/bin/sh
+
+NAME="font-sony-misc"
+DESC="X.org Sony fonts"
+
+MAKEDEPS=" font-util bdftopcf"
+
+PKG_VER=1.0.3
+SOURCE="https://www.x.org/releases/individual/font/font-sony-misc-$PKG_VER.tar.bz2"
+
+prepare() {
+ update_config_sub
+ apply_patches
+}
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --with-fontdir=/usr/share/fonts/misc
+ make
+}
+
+package() {
+ make -j1 DESTDIR="$PKG_DEST" \
+ MKFONTDIR=: \
+ MKFONTSCALE=: \
+ FCCACHE=: \
+ install
+}
+
diff --git a/repo/font-twemoji/font-twemoji.xibuild b/repo/font-twemoji/font-twemoji.xibuild
new file mode 100644
index 0000000..13e1853
--- /dev/null
+++ b/repo/font-twemoji/font-twemoji.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+NAME="font-twemoji"
+DESC="Twemoji font in TrueType format"
+
+MAKEDEPS=""
+
+PKG_VER=14.0.2
+SOURCE="https://artefacts.whynothugo.nl/twemoji.ttf/2023-01-25_10-59/Twemoji-$PKG_VER.ttf"
+
+package() {
+ depends="fontconfig"
+
+ install -Dm644 "$BUILD_ROOT"/Twemoji-$PKG_VER.ttf \
+ "$PKG_DEST"/usr/share/fonts/twemoji/Twemoji.ttf
+}
+
diff --git a/repo/gcc/gcc.xibuild b/repo/gcc/gcc.xibuild
index 88b05f5..12f1afc 100644
--- a/repo/gcc/gcc.xibuild
+++ b/repo/gcc/gcc.xibuild
@@ -51,7 +51,7 @@ ADDITIONAL="
iconv.c
"
-DESC="The GNU Compiler Collection - C and C++ frontends"
+DESC="The GNU Compiler Collection"
prepare () {
export languages="c,c++,lto"
diff --git a/repo/go/go.xibuild b/repo/go/go.xibuild
index 1db6040..585a2d0 100644
--- a/repo/go/go.xibuild
+++ b/repo/go/go.xibuild
@@ -4,20 +4,20 @@
MAKEDEPS="make gcc"
DEPS=""
-PKG_VER=1.17.13
+PKG_VER=1.20.3
SOURCE=https://go.dev/dl/go$PKG_VER.src.tar.gz
-BOOTSTRAP="go1.4-bootstrap-20171003"
+BOOTSTRAP="go-linux-amd64-bootstrap-1.19.1"
ADDITIONAL="
- https://dl.google.com/go/$BOOTSTRAP.tar.gz
+ https://dev.gentoo.org/~williamh/dist/$BOOTSTRAP.tbz
"
DESC="Core compiler tools for the Go programming language"
prepare () {
export TMPDIR=/tmp
- tar -xvf $BOOTSTRAP.tar.gz
- mv go $BOOTSTRAP
+ tar -xvf $BOOTSTRAP.tbz
+ mv go-linux-amd64-bootstrap $BOOTSTRAP
}
build () {
@@ -29,18 +29,17 @@ build () {
cd $BOOTSTRAP
cd src
echo "~~~~BUILDING BOOTSTRAP"
- CGO_ENABLED=0 ./make.bash -v
+ CGO_ENABLED=0 ./make.bash -v || return 1
cd $sourceroot
- export GOROOT_FINAL=/usr/lib/go
export GOROOT_BOOTSTRAP="$(pwd)/$BOOTSTRAP"
echo "~~~~BUILDING GOLANG"
cd src
if [ ! -z "${GOROOT_BOOTSTRAP}" ]; then
- ./bootstrap.bash -v
+ ./bootstrap.bash -v || return 1
fi
- ./make.bash -v
+ ./make.bash -v || reutrn 1
cd ..
}
diff --git a/repo/go/tests-filter-overflow-gid.patch b/repo/go/tests-filter-overflow-gid.patch
new file mode 100644
index 0000000..f06ead7
--- /dev/null
+++ b/repo/go/tests-filter-overflow-gid.patch
@@ -0,0 +1,65 @@
+Without this patch these tests fail in `abuild rootbld` with:
+
+ --- FAIL: TestChown (0.00s)
+ os_unix_test.go:58: gid: 1000
+ os_unix_test.go:70: groups: [65534 65534 65534 65534 65534 65534 65534 65534 1000]
+ os_unix_test.go:73: chown /tmp/_Go_TestChown1112875884 -1 65534: chown /tmp/_Go_TestChown1112875884: invalid argument
+ --- FAIL: TestFileChown (0.00s)
+ os_unix_test.go:101: gid: 1000
+ os_unix_test.go:113: groups: [65534 65534 65534 65534 65534 65534 65534 65534 1000]
+ os_unix_test.go:116: fchown /tmp/_Go_TestFileChown4034794686 -1 65534: chown /tmp/_Go_TestFileChown4034794686: invalid argument
+ --- FAIL: TestLchown (0.00s)
+ os_unix_test.go:153: gid: 1000
+ os_unix_test.go:168: groups: [65534 65534 65534 65534 65534 65534 65534 65534 1000]
+ os_unix_test.go:171: lchown /tmp/_Go_TestLchown3859759402 -1 65534: lchown /tmp/_Go_TestLchown3859759402: invalid argument
+
+The problem is: The test cases try to chown the test file to every GID
+the current user belongs too. With bubblewrap (which is used by rootbld)
+only the primary GID is available. All other GIDs are mapped to the
+overflow GID (usually 65534). However, chowning to the overflow GID
+causes an invalid argument error. To workaround this issue, filter out
+the overflow GID in the test cases.
+
+Alternative: Skip this tests entirely when they are invoked from within
+bubblewrap. This could for instance be detected by the presence of the
+FAKEROOTDONTTRYCHOWN environment variable.
+
+See also: https://github.com/containers/bubblewrap/issues/521#issuecomment-1192974798
+
+
+diff -upr go.orig/src/os/os_unix_test.go go/src/os/os_unix_test.go
+--- go.orig/src/os/os_unix_test.go 2022-09-23 12:36:28.276985650 +0200
++++ go/src/os/os_unix_test.go 2022-09-23 12:39:18.854010670 +0200
+@@ -69,6 +69,10 @@ func TestChown(t *testing.T) {
+ }
+ t.Log("groups: ", groups)
+ for _, g := range groups {
++ if (g == 65534) {
++ continue
++ }
++
+ if err = Chown(f.Name(), -1, g); err != nil {
+ t.Fatalf("chown %s -1 %d: %s", f.Name(), g, err)
+ }
+@@ -112,6 +116,10 @@ func TestFileChown(t *testing.T) {
+ }
+ t.Log("groups: ", groups)
+ for _, g := range groups {
++ if (g == 65534) {
++ continue
++ }
++
+ if err = f.Chown(-1, g); err != nil {
+ t.Fatalf("fchown %s -1 %d: %s", f.Name(), g, err)
+ }
+@@ -167,6 +175,10 @@ func TestLchown(t *testing.T) {
+ }
+ t.Log("groups: ", groups)
+ for _, g := range groups {
++ if (g == 65534) {
++ continue
++ }
++
+ if err = Lchown(linkname, -1, g); err != nil {
+ t.Fatalf("lchown %s -1 %d: %s", linkname, g, err)
+ }
diff --git a/repo/go/tests-unset-GCCGO.patch b/repo/go/tests-unset-GCCGO.patch
new file mode 100644
index 0000000..b69450b
--- /dev/null
+++ b/repo/go/tests-unset-GCCGO.patch
@@ -0,0 +1,16 @@
+We skip many gccgo tests by setting GCCGO to a bogus value. However,
+this particular test doesn't properly handle a non-existing $GCCGO
+hence we unset the environment variable here.
+
+diff -upr go.orig/src/cmd/go/testdata/script/gccgo_link_c.txt go/src/cmd/go/testdata/script/gccgo_link_c.txt
+--- go.orig/src/cmd/go/testdata/script/gccgo_link_c.txt 2022-09-30 10:58:07.524516646 +0200
++++ go/src/cmd/go/testdata/script/gccgo_link_c.txt 2022-09-30 10:58:29.441202925 +0200
+@@ -4,6 +4,8 @@
+ [!cgo] skip
+ [!exec:gccgo] skip
+
++env GCCGO=
++
+ go build -n -compiler gccgo
+ stderr 'gccgo.*\-L [^ ]*alibpath \-lalib' # make sure that Go-inline "#cgo LDFLAGS:" ("-L alibpath -lalib") passed to gccgo linking stage
+
diff --git a/repo/go/tests-unshare-enosys.patch b/repo/go/tests-unshare-enosys.patch
new file mode 100644
index 0000000..addb696
--- /dev/null
+++ b/repo/go/tests-unshare-enosys.patch
@@ -0,0 +1,19 @@
+On the Alpine CI our moby configuration returns ENOSYS instead of EPERM
+when attempting to use the unshare(2) system call from a container. The
+Go test suite expects unshare(2) to return EPERM in this scenario and
+skips tests using it when it does. By treating the ENOSYS errno in the
+same way as the EPERM errno we can ensure that the Go test suite
+continues to work on the Alpine CI.
+
+diff -upr go.orig/src/runtime/testdata/testprog/syscalls_linux.go go/src/runtime/testdata/testprog/syscalls_linux.go
+--- go.orig/src/runtime/testdata/testprog/syscalls_linux.go 2021-03-11 18:14:31.000000000 +0100
++++ go/src/runtime/testdata/testprog/syscalls_linux.go 2021-03-12 17:26:10.927644763 +0100
+@@ -46,7 +46,7 @@ func unshareFs() error {
+ err := syscall.Unshare(syscall.CLONE_FS)
+ if err != nil {
+ errno, ok := err.(syscall.Errno)
+- if ok && errno == syscall.EPERM {
++ if ok && (errno == syscall.EPERM || errno == syscall.ENOSYS) {
+ return errNotPermitted
+ }
+ }
diff --git a/repo/go/tests-x86-testsigfwd.patch b/repo/go/tests-x86-testsigfwd.patch
new file mode 100644
index 0000000..a681ec4
--- /dev/null
+++ b/repo/go/tests-x86-testsigfwd.patch
@@ -0,0 +1,14 @@
+See https://github.com/golang/go/issues/54422
+
+diff -upr go.orig/misc/cgo/testsigfwd/main.go go/misc/cgo/testsigfwd/main.go
+--- go.orig/misc/cgo/testsigfwd/main.go 2022-08-12 20:28:17.222319036 +0200
++++ go/misc/cgo/testsigfwd/main.go 2022-08-12 20:28:45.752384953 +0200
+@@ -7,7 +7,7 @@ package main
+ import "fmt"
+
+ /*
+-#cgo CFLAGS: -pthread
++#cgo CFLAGS: -pthread -fno-stack-protector
+ #cgo LDFLAGS: -pthread
+
+ #include <signal.h>
diff --git a/repo/gomuks/gomuks.xibuild b/repo/gomuks/gomuks.xibuild
index bb9c184..fac64d6 100644
--- a/repo/gomuks/gomuks.xibuild
+++ b/repo/gomuks/gomuks.xibuild
@@ -5,7 +5,7 @@ DESC="terminal-based Matrix client written in Go"
MAKEDEPS="go"
-PKG_VER=0.2.4
+PKG_VER=0.3.0
SOURCE="https://github.com/tulir/gomuks/archive/v$PKG_VER.tar.gz"
build() {
diff --git a/repo/hashcash/hashcash.xibuild b/repo/hashcash/hashcash.xibuild
new file mode 100644
index 0000000..c80a1ac
--- /dev/null
+++ b/repo/hashcash/hashcash.xibuild
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+NAME="hashcash"
+DESC="Proof-of-work algorithm for denial-of-service counter measures"
+
+MAKEDEPS=""
+
+PKG_VER=1.22
+SOURCE="http://www.hashcash.org/source/hashcash-$PKG_VER.tgz"
+
+build() {
+ make
+}
+
+check() {
+ ./test.sh
+}
+
+package() {
+ make \
+ INSTALL_PATH="$PKG_DEST/usr/bin" \
+ MAN_INSTALL_PATH="$PKG_DEST/usr/share/man/man1" \
+ DOC_INSTALL_PATH="$PKG_DEST/usr/share/doc/hashcash" \
+ install
+}
+
diff --git a/repo/irssi/irssi.xibuild b/repo/irssi/irssi.xibuild
new file mode 100644
index 0000000..2e6dcfb
--- /dev/null
+++ b/repo/irssi/irssi.xibuild
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+NAME="irssi"
+DESC="Modular textUI IRC client with IPv6 support"
+
+MAKEDEPS="glib openssl ncurses perl automake autoconf libtool libotr"
+
+PKG_VER=1.4.3
+SOURCE="https://github.com/irssi/irssi/releases/download/$PKG_VER/irssi-$PKG_VER.tar.xz"
+
+build() {
+ ./configure \
+
+
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --with-perl=module \
+ --with-perl-lib=vendor \
+ --with-proxy \
+ --enable-true-color \
+ --with-otr=yes
+ make
+}
+
+check() {
+ ./src/fe-text/irssi -v
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ find "$PKG_DEST" -name perllocal.pod -delete
+}
+
+perl() {
+ depends="irssi perl"
+ pkgdesc="Irssi perl support and scripts"
+ mkdir -p "$PKG_DEST"/usr/share/irssi
+ mv "$PKG_DEST"/usr/share/irssi/scripts \
+ "$PKG_DEST"/usr/share/irssi/
+ mkdir -p "$PKG_DEST"/usr/lib/irssi/modules
+ mv "$PKG_DEST"/usr/lib/irssi/modules/libfe_perl.* \
+ "$PKG_DEST"/usr/lib/irssi/modules/libperl_core.* \
+ "$PKG_DEST"/usr/lib/irssi/modules/
+ mv "$PKG_DEST"/usr/lib/perl5 "$PKG_DEST"/usr/lib/
+ #need write permission when stripping
+ for i in TextUI/TextUI.so Irssi.so Irc/Irc.so UI/UI.so; do
+ chmod +w "$PKG_DEST"/usr/lib/perl5/vendor_perl/auto/Irssi/$1
+ done
+}
+
+proxy() {
+ depends="irssi"
+ pkgdesc="Irssi module for enabling bouncer-like functionality"
+ mkdir -p "$PKG_DEST"/usr/lib/irssi/modules
+ mv "$PKG_DEST"/usr/lib/irssi/modules/libirc_proxy.* "$PKG_DEST"/usr/lib/irssi/modules/
+}
+
+otr() {
+ depends="irssi"
+ pkgdesc="Irssi module for enabling OTR functionality"
+ mkdir -p "$PKG_DEST"/usr/lib/irssi/modules
+ mv "$PKG_DEST"/usr/lib/irssi/modules/libotr_core.* "$PKG_DEST"/usr/lib/irssi/modules/
+ mkdir -p "$PKG_DEST"/usr/share/irssi/help
+ mv "$PKG_DEST"/usr/share/irssi/help/otr "$PKG_DEST"/usr/share/irssi/help/
+}
+
diff --git a/repo/libburn/libburn.xibuild b/repo/libburn/libburn.xibuild
index 721a39b..6783240 100644
--- a/repo/libburn/libburn.xibuild
+++ b/repo/libburn/libburn.xibuild
@@ -3,7 +3,7 @@
NAME="libburn"
DESC="Library for reading, mastering and writing optical discs"
-MAKEDEPS=" linux-headers"
+MAKEDEPS="linux-headers"
PKG_VER=1.5.4
_ver=${PKG_VER%_p*}
@@ -14,8 +14,6 @@ SOURCE="https://files.libburnia-project.org/releases/libburn-${_ver}$_pver.tar.g
build() {
./configure \
-
-
--prefix=/usr \
--disable-static
make
diff --git a/repo/libotr/libotr.xibuild b/repo/libotr/libotr.xibuild
new file mode 100644
index 0000000..57d7e91
--- /dev/null
+++ b/repo/libotr/libotr.xibuild
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+NAME="libotr"
+DESC="Off The Record Messaging, an encryption library for secure IM conversations"
+
+MAKEDEPS="libgcrypt"
+
+PKG_VER=4.1.1
+SOURCE="https://www.cypherpunks.ca/otr/libotr-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+socklen-t.patch
+"
+
+prepare() {
+ apply_patches
+}
+
+build() {
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
+tools() {
+ pkgdesc="libotr tools"
+ mkdir -p "$PKG_DEST"/usr/
+ mv "$PKG_DEST"/usr/bin "$PKG_DEST"/usr/
+}
+
diff --git a/repo/libotr/socklen-t.patch b/repo/libotr/socklen-t.patch
new file mode 100644
index 0000000..6d543ad
--- /dev/null
+++ b/repo/libotr/socklen-t.patch
@@ -0,0 +1,12 @@
+diff --git a/tests/regression/client/client.c b/tests/regression/client/client.c
+index e72b661..e0b3453 100644
+--- a/tests/regression/client/client.c
++++ b/tests/regression/client/client.c
+@@ -26,6 +26,7 @@
+ #include <stdlib.h>
+ #include <syscall.h>
+ #include <sys/epoll.h>
++#include <sys/socket.h>
+ #include <sys/types.h>
+ #include <sys/un.h>
+ #include <unistd.h>
diff --git a/repo/linux-headers/linux-headers.xibuild b/repo/linux-headers/linux-headers.xibuild
index 1c4ece4..9680c2a 100644
--- a/repo/linux-headers/linux-headers.xibuild
+++ b/repo/linux-headers/linux-headers.xibuild
@@ -3,7 +3,7 @@
MAKEDEPS="make "
DESC="Linux kernel headers"
-PKG_VER=6.1.3
+PKG_VER=6.2.1
SOURCE=https://cdn.kernel.org/pub/linux/kernel/v${PKG_VER%%.*}.x/linux-$PKG_VER.tar.xz
build () {
diff --git a/repo/linux-libre/linux-libre.xibuild b/repo/linux-libre/linux-libre.xibuild
index 9b249d0..0ed3adb 100644
--- a/repo/linux-libre/linux-libre.xibuild
+++ b/repo/linux-libre/linux-libre.xibuild
@@ -2,7 +2,7 @@
MAKEDEPS="make bc linux-headers cpio toybox kmod pahole"
-PKG_VER=6.1.4
+PKG_VER=6.3.1
#SOURCE=https://cdn.kernel.org/pub/linux/kernel/v${PKG_VER%%.*}.x/linux-$PKG_VER.tar.xz
SOURCE=https://linux-libre.fsfla.org/pub/linux-libre/releases/${PKG_VER}-gnu/linux-libre-${PKG_VER}-gnu.tar.xz
ADDITIONAL="
diff --git a/repo/lmms/lmms.xibuild b/repo/lmms/lmms.xibuild
index 301f1ec..0c9d96f 100644
--- a/repo/lmms/lmms.xibuild
+++ b/repo/lmms/lmms.xibuild
@@ -3,10 +3,10 @@
NAME="lmms"
DESC="Cross-platform music production software"
-MAKEDEPS="alsa-lib cmake fftw libsamplerate libsndfile pulseaudio qt5-qttools qt5-qtx11extras qt5-qtbase sdl2 xcb-util xcb-util-keysyms opus fluidsynth libgig sndio"
+MAKEDEPS="alsa-lib cmake fftw libsamplerate libsndfile pulseaudio qt5-qttools qt5-qtx11extras qt5-qtbase sdl2 xcb-util xcb-util-keysyms opus fluidsynth libgig sndio perl-list-moreutils"
-PKG_VER=1.2.2
-SOURCE="https://github.com/LMMS/lmms/releases/download/v$PKG_VER/lmms_$PKG_VER.tar.xz"
+PKG_VER=1.3.0-alpha.1
+SOURCE="https://github.com/LMMS/lmms.git"
build() {
cmake -B build \
diff --git a/repo/monero/monero.xibuild b/repo/monero/monero.xibuild
index 3383025..ae05c58 100644
--- a/repo/monero/monero.xibuild
+++ b/repo/monero/monero.xibuild
@@ -5,7 +5,7 @@ DESC="Secure, private, untraceable cryptocurrency"
MAKEDEPS=" boost cmake cppzmq hidapi libsodium miniupnpc openpgm openssl rapidjson readline unbound zeromq "
-PKG_VER=0.18.1.1
+PKG_VER=0.18.2.2
_ver_randomx=ae8e98b681766f31d49ac562dd6974906156e07b
_ver_supercop=633500ad8c8759995049ccd022107d1fa8a1bbc9
SOURCE="https://github.com/monero-project/monero/archive/refs/tags/v$PKG_VER.tar.gz"
diff --git a/repo/pax-utils/pax-utils.xibuild b/repo/pax-utils/pax-utils.xibuild
new file mode 100644
index 0000000..1e0033e
--- /dev/null
+++ b/repo/pax-utils/pax-utils.xibuild
@@ -0,0 +1,41 @@
+#!/bin/sh
+
+NAME="pax-utils"
+DESC="ELF related utils for ELF 32/64 binaries"
+
+MAKEDEPS=""
+
+PKG_VER=1.3.5
+SOURCE="https://dev.gentoo.org/~sam/distfiles/app-misc/pax-utils/pax-utils-$PKG_VER.tar.xz"
+
+build() {
+ meson --prefix=/usr \
+ \
+ -Dlddtree_implementation=sh \
+ -Duse_seccomp=false \
+ . output
+ meson compile -C output
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C output
+
+ # Don't conflict with main/lddtree
+ mv "$PKG_DEST"/usr/bin/lddtree "$PKG_DEST"/usr/bin/lddtreepax
+}
+
+_scanelf() {
+ depends=""
+ pkgdesc="Scan ELF binaries for stuff"
+ replaces="pax-utils"
+
+ amove usr/bin/scanelf
+}
+
+_lddtreepax() {
+ depends="python3 py3-elftools"
+ pkgdesc="Read and package ELF dependency trees"
+
+ amove usr/bin/lddtreepax
+}
+
diff --git a/repo/perl-config-autoconf/perl-config-autoconf.xibuild b/repo/perl-config-autoconf/perl-config-autoconf.xibuild
new file mode 100644
index 0000000..68ad5d6
--- /dev/null
+++ b/repo/perl-config-autoconf/perl-config-autoconf.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+NAME="perl-config-autoconf"
+DESC="A module to implement some of AutoConf macros in pure perl."
+
+MAKEDEPS=" perl"
+
+PKG_VER=0.320
+SOURCE="https://cpan.metacpan.org/authors/id/A/AM/AMBS/Config-AutoConf-$PKG_VER.tar.gz"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
diff --git a/repo/perl-exporter-tiny/perl-exporter-tiny.xibuild b/repo/perl-exporter-tiny/perl-exporter-tiny.xibuild
new file mode 100644
index 0000000..eff8d87
--- /dev/null
+++ b/repo/perl-exporter-tiny/perl-exporter-tiny.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+NAME="perl-exporter-tiny"
+DESC="an exporter with the features of Sub::Exporter but only core dependencies"
+
+MAKEDEPS=" perl"
+
+PKG_VER=1.006000
+SOURCE="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Exporter-Tiny-$PKG_VER.tar.gz"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
diff --git a/repo/perl-list-moreutils/perl-list-moreutils.xibuild b/repo/perl-list-moreutils/perl-list-moreutils.xibuild
new file mode 100644
index 0000000..6ccbbe5
--- /dev/null
+++ b/repo/perl-list-moreutils/perl-list-moreutils.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="perl-list-moreutils"
+DESC="Provide the stuff missing in List::Util"
+
+MAKEDEPS=" perl perl-config-autoconf perl-exporter-tiny"
+DEPS=" perl perl-config-autoconf perl-exporter-tiny"
+
+PKG_VER=0.430
+SOURCE="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-$PKG_VER.tar.gz"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
diff --git a/repo/po4a/po4a.xibuild b/repo/po4a/po4a.xibuild
new file mode 100644
index 0000000..e8c8b83
--- /dev/null
+++ b/repo/po4a/po4a.xibuild
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+NAME="po4a"
+DESC="Tools for helping translation of documentation"
+
+MAKEDEPS=" diffutils docbook-xsl perl-module-build"
+
+PKG_VER=0.68
+SOURCE="https://github.com/mquinson/po4a/archive/v$PKG_VER.tar.gz"
+
+build() {
+ perl Build.PL installdirs=vendor create_packlist=0
+ perl Build
+}
+
+check() {
+ perl Build test
+}
+
+package() {
+ perl Build destdir=$PKG_DEST install
+ # remove perllocal.pod and .packlist
+ find $PKG_DEST \( -name .packlist -o -name perllocal.pod \) -delete
+}
+
diff --git a/repo/smartmontools/smartd.confd b/repo/smartmontools/smartd.confd
new file mode 100644
index 0000000..7411cb0
--- /dev/null
+++ b/repo/smartmontools/smartd.confd
@@ -0,0 +1,10 @@
+# Configuration file for /etc/init.d/smartd
+
+# Path to the configuration file.
+#cfgfile=/etc/smartd.conf
+
+# Additional options to pass to smartd.
+#command_args=
+
+# Uncomment to use process supervisor.
+#supervisor=supervise-daemon
diff --git a/repo/smartmontools/smartd.initd b/repo/smartmontools/smartd.initd
new file mode 100644
index 0000000..b117aa9
--- /dev/null
+++ b/repo/smartmontools/smartd.initd
@@ -0,0 +1,31 @@
+#!/sbin/openrc-run
+
+name=smartd
+description="Daemon to monitor the S.M.A.R.T. system built into storage devices"
+description_reload="Reload configuration without exiting"
+extra_started_commands="reload"
+
+: ${cfgfile:="/etc/smartd.conf"}
+
+command=/usr/sbin/smartd
+command_args="--configfile=$cfgfile --no-fork ${command_args:-$SMARTD_OPTS}"
+command_background="yes"
+pidfile="/run/$RC_SVCNAME.pid"
+
+required_files="$cfgfile"
+
+depend() {
+ need localmount
+ after bootmisc
+}
+
+reload() {
+ ebegin "Reloading $name configuration"
+
+ if [ "$supervisor" ]; then
+ $supervisor "$RC_SVCNAME" --signal HUP
+ else
+ start-stop-daemon --signal HUP --pidfile "$pidfile"
+ fi
+ eend $?
+}
diff --git a/repo/smartmontools/smartmontools.xibuild b/repo/smartmontools/smartmontools.xibuild
new file mode 100644
index 0000000..21583a6
--- /dev/null
+++ b/repo/smartmontools/smartmontools.xibuild
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+NAME="smartmontools"
+DESC="Control and monitor S.M.A.R.T. enabled hard drives"
+
+MAKEDEPS="linux-headers"
+
+PKG_VER=7.3
+SOURCE="https://downloads.sourceforge.net/sourceforge/smartmontools/smartmontools-$PKG_VER.tar.gz"
+
+ADDITIONAL="
+smartd.confd
+smartd.initd
+"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST"/ install
+
+ install -Dm755 "$BUILD_ROOT"/smartd.initd "$PKG_DEST"/etc/init.d/smartd
+ install -Dm644 "$BUILD_ROOT"/smartd.confd "$PKG_DEST"/etc/conf.d/smartd
+}
+
diff --git a/repo/upx/upx.xibuild b/repo/upx/upx.xibuild
new file mode 100644
index 0000000..a23e930
--- /dev/null
+++ b/repo/upx/upx.xibuild
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+NAME="upx"
+DESC="The Ultimate Packer for eXecutables"
+
+MAKEDEPS=" cmake ninja"
+
+PKG_VER=4.0.2
+SOURCE="https://github.com/upx/upx/releases/download/v$PKG_VER/upx-$PKG_VER-src.tar.xz"
+
+build() {
+ cmake -B build -G Ninja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DUPX_CONFIG_DISABLE_WERROR=ON \
+ -DUPX_CONFIG_DISABLE_SANITIZE=ON \
+ -DUPX_CONFIG_DISABLE_GITREV=ON
+ cmake --build build
+}
+
+check() {
+ ctest --test-dir build --output-on-failure
+}
+
+package() {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
+
diff --git a/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild b/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild
index 694cffc..1951ac5 100644
--- a/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild
+++ b/repo/xf86-video-nouveau/xf86-video-nouveau.xibuild
@@ -1,23 +1,36 @@
#!/bin/sh
-MAKEDEPS="make xorg-server mesa"
+NAME="xf86-video-nouveau"
+DESC="Open-source X.org drivers for nVidia video cards"
-DESC="X.org nouveau video driver"
+MAKEDEPS=" libdrm xorg-server xorg-util-macros eudev xorgproto"
PKG_VER=1.0.17
-SOURCE=https://www.x.org/pub/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2
-ADDITIONAL="xorg-server-21.1.patch"
+SOURCE="https://www.x.org/archive/individual/driver/xf86-video-nouveau-$PKG_VER.tar.bz2"
+
+ADDITIONAL="
+xorg-server-21.1.patch
+"
prepare () {
apply_patches
}
-build () {
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static
- make
+build() {
+ export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
}
-package () {
- make DESTDIR=$PKG_DEST install
+package() {
+ make DESTDIR="$PKG_DEST" install
}
diff --git a/repo/xorg-server/xorg-server.xibuild b/repo/xorg-server/xorg-server.xibuild
index 4fde3aa..99aef61 100644
--- a/repo/xorg-server/xorg-server.xibuild
+++ b/repo/xorg-server/xorg-server.xibuild
@@ -2,7 +2,7 @@
MAKEDEPS="meson ninja doxygen xmlto libxcvt pixman font-util xkeyboardconfig elogind libepoxy libtirpc polkit acpid nettle libgcrypt xcb-util-keysyms xcb-util-image xcb-util-renderutil xcb-util-wm xkbcomp libxfont2"
-PKG_VER=21.1.4
+PKG_VER=21.1.6
SOURCE=https://www.x.org/pub/individual/xserver/xorg-server-$PKG_VER.tar.xz
build () {
@@ -11,6 +11,7 @@ build () {
meson --prefix=/usr \
-Dxorg=true \
+ -Dxorg=true \
-Dxephyr=true \
-Dglamor=true \
-Dxnest=true \
@@ -43,6 +44,11 @@ build () {
package () {
DESTDIR=$PKG_DEST ninja install
+ chmod u+s "$PKG_DEST"/usr/libexec/Xorg.wrap
+
+ # Don't conflict with xf86-input-evdev
+ rm -f "$PKG_DEST"/usr/share/X11/xorg.conf.d/10-evdev.conf
+
mkdir -p $PKG_DEST/etc/X11/xorg.conf.d &&
mkdir -p $PKG_DEST/etc/sysconfig &&
cat >> $PKG_DEST/etc/sysconfig/createfiles << "EOF"
diff --git a/repo/zathura-djvu/zathura-djvu.xibuild b/repo/zathura-djvu/zathura-djvu.xibuild
new file mode 100644
index 0000000..f4e4d16
--- /dev/null
+++ b/repo/zathura-djvu/zathura-djvu.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+NAME="zathura-djvu"
+DESC="djvu plugin for zathura"
+
+MAKEDEPS=" meson zathura djvulibre"
+
+PKG_VER=0.2.9
+SOURCE="https://pwmt.org/projects/zathura-djvu/download/zathura-djvu-$PKG_VER.tar.xz"
+
+build() {
+ meson --prefix=/usr \
+ build
+ meson compile ${JOBS:+-j ${JOBS}} -C build
+}
+
+package() {
+ DESTDIR="$PKG_DEST" meson install --no-rebuild -C build
+}
diff --git a/repo/linux-firmware/linux-firmware-3com.xibuild b/skip/linux-firmware/linux-firmware-3com.xibuild
index bf464ad..bf464ad 100644
--- a/repo/linux-firmware/linux-firmware-3com.xibuild
+++ b/skip/linux-firmware/linux-firmware-3com.xibuild
diff --git a/repo/linux-firmware/linux-firmware-RTL8192E.xibuild b/skip/linux-firmware/linux-firmware-RTL8192E.xibuild
index e6a55e9..e6a55e9 100644
--- a/repo/linux-firmware/linux-firmware-RTL8192E.xibuild
+++ b/skip/linux-firmware/linux-firmware-RTL8192E.xibuild
diff --git a/repo/linux-firmware/linux-firmware-acenic.xibuild b/skip/linux-firmware/linux-firmware-acenic.xibuild
index 600a2d9..600a2d9 100644
--- a/repo/linux-firmware/linux-firmware-acenic.xibuild
+++ b/skip/linux-firmware/linux-firmware-acenic.xibuild
diff --git a/repo/linux-firmware/linux-firmware-adaptec.xibuild b/skip/linux-firmware/linux-firmware-adaptec.xibuild
index 39827d1..39827d1 100644
--- a/repo/linux-firmware/linux-firmware-adaptec.xibuild
+++ b/skip/linux-firmware/linux-firmware-adaptec.xibuild
diff --git a/repo/linux-firmware/linux-firmware-advansys.xibuild b/skip/linux-firmware/linux-firmware-advansys.xibuild
index d0a95cc..d0a95cc 100644
--- a/repo/linux-firmware/linux-firmware-advansys.xibuild
+++ b/skip/linux-firmware/linux-firmware-advansys.xibuild
diff --git a/repo/linux-firmware/linux-firmware-amd-ucode.xibuild b/skip/linux-firmware/linux-firmware-amd-ucode.xibuild
index 257e65a..257e65a 100644
--- a/repo/linux-firmware/linux-firmware-amd-ucode.xibuild
+++ b/skip/linux-firmware/linux-firmware-amd-ucode.xibuild
diff --git a/repo/linux-firmware/linux-firmware-amd.xibuild b/skip/linux-firmware/linux-firmware-amd.xibuild
index f73c691..f73c691 100644
--- a/repo/linux-firmware/linux-firmware-amd.xibuild
+++ b/skip/linux-firmware/linux-firmware-amd.xibuild
diff --git a/repo/linux-firmware/linux-firmware-amdgpu.xibuild b/skip/linux-firmware/linux-firmware-amdgpu.xibuild
index c4b63e9..c4b63e9 100644
--- a/repo/linux-firmware/linux-firmware-amdgpu.xibuild
+++ b/skip/linux-firmware/linux-firmware-amdgpu.xibuild
diff --git a/repo/linux-firmware/linux-firmware-amphion.xibuild b/skip/linux-firmware/linux-firmware-amphion.xibuild
index 39671c1..39671c1 100644
--- a/repo/linux-firmware/linux-firmware-amphion.xibuild
+++ b/skip/linux-firmware/linux-firmware-amphion.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ar3k.xibuild b/skip/linux-firmware/linux-firmware-ar3k.xibuild
index 1aec3e7..1aec3e7 100644
--- a/repo/linux-firmware/linux-firmware-ar3k.xibuild
+++ b/skip/linux-firmware/linux-firmware-ar3k.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ath10k.xibuild b/skip/linux-firmware/linux-firmware-ath10k.xibuild
index 759c26d..759c26d 100644
--- a/repo/linux-firmware/linux-firmware-ath10k.xibuild
+++ b/skip/linux-firmware/linux-firmware-ath10k.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ath11k.xibuild b/skip/linux-firmware/linux-firmware-ath11k.xibuild
index 5bd17e0..5bd17e0 100644
--- a/repo/linux-firmware/linux-firmware-ath11k.xibuild
+++ b/skip/linux-firmware/linux-firmware-ath11k.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ath6k.xibuild b/skip/linux-firmware/linux-firmware-ath6k.xibuild
index 9a08c80..9a08c80 100644
--- a/repo/linux-firmware/linux-firmware-ath6k.xibuild
+++ b/skip/linux-firmware/linux-firmware-ath6k.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ath9k_htc.xibuild b/skip/linux-firmware/linux-firmware-ath9k_htc.xibuild
index 028d50f..028d50f 100644
--- a/repo/linux-firmware/linux-firmware-ath9k_htc.xibuild
+++ b/skip/linux-firmware/linux-firmware-ath9k_htc.xibuild
diff --git a/repo/linux-firmware/linux-firmware-atmel.xibuild b/skip/linux-firmware/linux-firmware-atmel.xibuild
index 536cb38..536cb38 100644
--- a/repo/linux-firmware/linux-firmware-atmel.xibuild
+++ b/skip/linux-firmware/linux-firmware-atmel.xibuild
diff --git a/repo/linux-firmware/linux-firmware-atusb.xibuild b/skip/linux-firmware/linux-firmware-atusb.xibuild
index 24c5059..24c5059 100644
--- a/repo/linux-firmware/linux-firmware-atusb.xibuild
+++ b/skip/linux-firmware/linux-firmware-atusb.xibuild
diff --git a/repo/linux-firmware/linux-firmware-av7110.xibuild b/skip/linux-firmware/linux-firmware-av7110.xibuild
index 95b8434..95b8434 100644
--- a/repo/linux-firmware/linux-firmware-av7110.xibuild
+++ b/skip/linux-firmware/linux-firmware-av7110.xibuild
diff --git a/repo/linux-firmware/linux-firmware-bnx2.xibuild b/skip/linux-firmware/linux-firmware-bnx2.xibuild
index 4a3eff7..4a3eff7 100644
--- a/repo/linux-firmware/linux-firmware-bnx2.xibuild
+++ b/skip/linux-firmware/linux-firmware-bnx2.xibuild
diff --git a/repo/linux-firmware/linux-firmware-bnx2x.xibuild b/skip/linux-firmware/linux-firmware-bnx2x.xibuild
index 7c57a3d..7c57a3d 100644
--- a/repo/linux-firmware/linux-firmware-bnx2x.xibuild
+++ b/skip/linux-firmware/linux-firmware-bnx2x.xibuild
diff --git a/repo/linux-firmware/linux-firmware-brcm.xibuild b/skip/linux-firmware/linux-firmware-brcm.xibuild
index 7ad90ac..7ad90ac 100644
--- a/repo/linux-firmware/linux-firmware-brcm.xibuild
+++ b/skip/linux-firmware/linux-firmware-brcm.xibuild
diff --git a/repo/linux-firmware/linux-firmware-cadence.xibuild b/skip/linux-firmware/linux-firmware-cadence.xibuild
index 78e8712..78e8712 100644
--- a/repo/linux-firmware/linux-firmware-cadence.xibuild
+++ b/skip/linux-firmware/linux-firmware-cadence.xibuild
diff --git a/repo/linux-firmware/linux-firmware-carl9170fw.xibuild b/skip/linux-firmware/linux-firmware-carl9170fw.xibuild
index e2f5c65..e2f5c65 100644
--- a/repo/linux-firmware/linux-firmware-carl9170fw.xibuild
+++ b/skip/linux-firmware/linux-firmware-carl9170fw.xibuild
diff --git a/repo/linux-firmware/linux-firmware-cavium.xibuild b/skip/linux-firmware/linux-firmware-cavium.xibuild
index e4cb963..e4cb963 100644
--- a/repo/linux-firmware/linux-firmware-cavium.xibuild
+++ b/skip/linux-firmware/linux-firmware-cavium.xibuild
diff --git a/repo/linux-firmware/linux-firmware-cis.xibuild b/skip/linux-firmware/linux-firmware-cis.xibuild
index f21083b..f21083b 100644
--- a/repo/linux-firmware/linux-firmware-cis.xibuild
+++ b/skip/linux-firmware/linux-firmware-cis.xibuild
diff --git a/repo/linux-firmware/linux-firmware-cnm.xibuild b/skip/linux-firmware/linux-firmware-cnm.xibuild
index 7797d9e..7797d9e 100644
--- a/repo/linux-firmware/linux-firmware-cnm.xibuild
+++ b/skip/linux-firmware/linux-firmware-cnm.xibuild
diff --git a/repo/linux-firmware/linux-firmware-cpia2.xibuild b/skip/linux-firmware/linux-firmware-cpia2.xibuild
index 6e842f9..6e842f9 100644
--- a/repo/linux-firmware/linux-firmware-cpia2.xibuild
+++ b/skip/linux-firmware/linux-firmware-cpia2.xibuild
diff --git a/repo/linux-firmware/linux-firmware-cxgb3.xibuild b/skip/linux-firmware/linux-firmware-cxgb3.xibuild
index 3713548..3713548 100644
--- a/repo/linux-firmware/linux-firmware-cxgb3.xibuild
+++ b/skip/linux-firmware/linux-firmware-cxgb3.xibuild
diff --git a/repo/linux-firmware/linux-firmware-cxgb4.xibuild b/skip/linux-firmware/linux-firmware-cxgb4.xibuild
index 14c3e25..14c3e25 100644
--- a/repo/linux-firmware/linux-firmware-cxgb4.xibuild
+++ b/skip/linux-firmware/linux-firmware-cxgb4.xibuild
diff --git a/repo/linux-firmware/linux-firmware-cypress.xibuild b/skip/linux-firmware/linux-firmware-cypress.xibuild
index 97f0971..97f0971 100644
--- a/repo/linux-firmware/linux-firmware-cypress.xibuild
+++ b/skip/linux-firmware/linux-firmware-cypress.xibuild
diff --git a/repo/linux-firmware/linux-firmware-dabusb.xibuild b/skip/linux-firmware/linux-firmware-dabusb.xibuild
index 82c0b0e..82c0b0e 100644
--- a/repo/linux-firmware/linux-firmware-dabusb.xibuild
+++ b/skip/linux-firmware/linux-firmware-dabusb.xibuild
diff --git a/repo/linux-firmware/linux-firmware-dpaa2.xibuild b/skip/linux-firmware/linux-firmware-dpaa2.xibuild
index 81603cd..81603cd 100644
--- a/repo/linux-firmware/linux-firmware-dpaa2.xibuild
+++ b/skip/linux-firmware/linux-firmware-dpaa2.xibuild
diff --git a/repo/linux-firmware/linux-firmware-dsp56k.xibuild b/skip/linux-firmware/linux-firmware-dsp56k.xibuild
index c646760..c646760 100644
--- a/repo/linux-firmware/linux-firmware-dsp56k.xibuild
+++ b/skip/linux-firmware/linux-firmware-dsp56k.xibuild
diff --git a/repo/linux-firmware/linux-firmware-e100.xibuild b/skip/linux-firmware/linux-firmware-e100.xibuild
index 1ef6e1c..1ef6e1c 100644
--- a/repo/linux-firmware/linux-firmware-e100.xibuild
+++ b/skip/linux-firmware/linux-firmware-e100.xibuild
diff --git a/repo/linux-firmware/linux-firmware-edgeport.xibuild b/skip/linux-firmware/linux-firmware-edgeport.xibuild
index 9f1ec9e..9f1ec9e 100644
--- a/repo/linux-firmware/linux-firmware-edgeport.xibuild
+++ b/skip/linux-firmware/linux-firmware-edgeport.xibuild
diff --git a/repo/linux-firmware/linux-firmware-emi26.xibuild b/skip/linux-firmware/linux-firmware-emi26.xibuild
index 7d9e716..7d9e716 100644
--- a/repo/linux-firmware/linux-firmware-emi26.xibuild
+++ b/skip/linux-firmware/linux-firmware-emi26.xibuild
diff --git a/repo/linux-firmware/linux-firmware-emi62.xibuild b/skip/linux-firmware/linux-firmware-emi62.xibuild
index cbbd278..cbbd278 100644
--- a/repo/linux-firmware/linux-firmware-emi62.xibuild
+++ b/skip/linux-firmware/linux-firmware-emi62.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ene-ub6250.xibuild b/skip/linux-firmware/linux-firmware-ene-ub6250.xibuild
index 04dc441..04dc441 100644
--- a/repo/linux-firmware/linux-firmware-ene-ub6250.xibuild
+++ b/skip/linux-firmware/linux-firmware-ene-ub6250.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ess.xibuild b/skip/linux-firmware/linux-firmware-ess.xibuild
index def34dd..def34dd 100644
--- a/repo/linux-firmware/linux-firmware-ess.xibuild
+++ b/skip/linux-firmware/linux-firmware-ess.xibuild
diff --git a/repo/linux-firmware/linux-firmware-go7007.xibuild b/skip/linux-firmware/linux-firmware-go7007.xibuild
index 30113aa..30113aa 100644
--- a/repo/linux-firmware/linux-firmware-go7007.xibuild
+++ b/skip/linux-firmware/linux-firmware-go7007.xibuild
diff --git a/repo/linux-firmware/linux-firmware-i915.xibuild b/skip/linux-firmware/linux-firmware-i915.xibuild
index 16fd3f0..16fd3f0 100644
--- a/repo/linux-firmware/linux-firmware-i915.xibuild
+++ b/skip/linux-firmware/linux-firmware-i915.xibuild
diff --git a/repo/linux-firmware/linux-firmware-imx.xibuild b/skip/linux-firmware/linux-firmware-imx.xibuild
index b61db99..b61db99 100644
--- a/repo/linux-firmware/linux-firmware-imx.xibuild
+++ b/skip/linux-firmware/linux-firmware-imx.xibuild
diff --git a/repo/linux-firmware/linux-firmware-inside-secure.xibuild b/skip/linux-firmware/linux-firmware-inside-secure.xibuild
index 98456ee..98456ee 100644
--- a/repo/linux-firmware/linux-firmware-inside-secure.xibuild
+++ b/skip/linux-firmware/linux-firmware-inside-secure.xibuild
diff --git a/repo/linux-firmware/linux-firmware-intel.xibuild b/skip/linux-firmware/linux-firmware-intel.xibuild
index 84578a6..84578a6 100644
--- a/repo/linux-firmware/linux-firmware-intel.xibuild
+++ b/skip/linux-firmware/linux-firmware-intel.xibuild
diff --git a/repo/linux-firmware/linux-firmware-isci.xibuild b/skip/linux-firmware/linux-firmware-isci.xibuild
index d16f8df..d16f8df 100644
--- a/repo/linux-firmware/linux-firmware-isci.xibuild
+++ b/skip/linux-firmware/linux-firmware-isci.xibuild
diff --git a/repo/linux-firmware/linux-firmware-kaweth.xibuild b/skip/linux-firmware/linux-firmware-kaweth.xibuild
index 9f3fe0b..9f3fe0b 100644
--- a/repo/linux-firmware/linux-firmware-kaweth.xibuild
+++ b/skip/linux-firmware/linux-firmware-kaweth.xibuild
diff --git a/repo/linux-firmware/linux-firmware-keyspan.xibuild b/skip/linux-firmware/linux-firmware-keyspan.xibuild
index 336e087..336e087 100644
--- a/repo/linux-firmware/linux-firmware-keyspan.xibuild
+++ b/skip/linux-firmware/linux-firmware-keyspan.xibuild
diff --git a/repo/linux-firmware/linux-firmware-keyspan_pda.xibuild b/skip/linux-firmware/linux-firmware-keyspan_pda.xibuild
index dc230cc..dc230cc 100644
--- a/repo/linux-firmware/linux-firmware-keyspan_pda.xibuild
+++ b/skip/linux-firmware/linux-firmware-keyspan_pda.xibuild
diff --git a/repo/linux-firmware/linux-firmware-korg.xibuild b/skip/linux-firmware/linux-firmware-korg.xibuild
index f5c7493..f5c7493 100644
--- a/repo/linux-firmware/linux-firmware-korg.xibuild
+++ b/skip/linux-firmware/linux-firmware-korg.xibuild
diff --git a/repo/linux-firmware/linux-firmware-libertas.xibuild b/skip/linux-firmware/linux-firmware-libertas.xibuild
index 510ffcd..510ffcd 100644
--- a/repo/linux-firmware/linux-firmware-libertas.xibuild
+++ b/skip/linux-firmware/linux-firmware-libertas.xibuild
diff --git a/repo/linux-firmware/linux-firmware-liquidio.xibuild b/skip/linux-firmware/linux-firmware-liquidio.xibuild
index 9ce91b1..9ce91b1 100644
--- a/repo/linux-firmware/linux-firmware-liquidio.xibuild
+++ b/skip/linux-firmware/linux-firmware-liquidio.xibuild
diff --git a/repo/linux-firmware/linux-firmware-matrox.xibuild b/skip/linux-firmware/linux-firmware-matrox.xibuild
index 8de36a3..8de36a3 100644
--- a/repo/linux-firmware/linux-firmware-matrox.xibuild
+++ b/skip/linux-firmware/linux-firmware-matrox.xibuild
diff --git a/repo/linux-firmware/linux-firmware-mediatek.xibuild b/skip/linux-firmware/linux-firmware-mediatek.xibuild
index 19b0b2f..19b0b2f 100644
--- a/repo/linux-firmware/linux-firmware-mediatek.xibuild
+++ b/skip/linux-firmware/linux-firmware-mediatek.xibuild
diff --git a/repo/linux-firmware/linux-firmware-mellanox.xibuild b/skip/linux-firmware/linux-firmware-mellanox.xibuild
index 90a97e5..90a97e5 100644
--- a/repo/linux-firmware/linux-firmware-mellanox.xibuild
+++ b/skip/linux-firmware/linux-firmware-mellanox.xibuild
diff --git a/repo/linux-firmware/linux-firmware-meson.xibuild b/skip/linux-firmware/linux-firmware-meson.xibuild
index 9993b79..9993b79 100644
--- a/repo/linux-firmware/linux-firmware-meson.xibuild
+++ b/skip/linux-firmware/linux-firmware-meson.xibuild
diff --git a/repo/linux-firmware/linux-firmware-microchip.xibuild b/skip/linux-firmware/linux-firmware-microchip.xibuild
index ab41843..ab41843 100644
--- a/repo/linux-firmware/linux-firmware-microchip.xibuild
+++ b/skip/linux-firmware/linux-firmware-microchip.xibuild
diff --git a/repo/linux-firmware/linux-firmware-moxa.xibuild b/skip/linux-firmware/linux-firmware-moxa.xibuild
index c07bc07..c07bc07 100644
--- a/repo/linux-firmware/linux-firmware-moxa.xibuild
+++ b/skip/linux-firmware/linux-firmware-moxa.xibuild
diff --git a/repo/linux-firmware/linux-firmware-mrvl.xibuild b/skip/linux-firmware/linux-firmware-mrvl.xibuild
index a2955f0..a2955f0 100644
--- a/repo/linux-firmware/linux-firmware-mrvl.xibuild
+++ b/skip/linux-firmware/linux-firmware-mrvl.xibuild
diff --git a/repo/linux-firmware/linux-firmware-mwl8k.xibuild b/skip/linux-firmware/linux-firmware-mwl8k.xibuild
index f496c74..f496c74 100644
--- a/repo/linux-firmware/linux-firmware-mwl8k.xibuild
+++ b/skip/linux-firmware/linux-firmware-mwl8k.xibuild
diff --git a/repo/linux-firmware/linux-firmware-mwlwifi.xibuild b/skip/linux-firmware/linux-firmware-mwlwifi.xibuild
index 3a770a5..3a770a5 100644
--- a/repo/linux-firmware/linux-firmware-mwlwifi.xibuild
+++ b/skip/linux-firmware/linux-firmware-mwlwifi.xibuild
diff --git a/repo/linux-firmware/linux-firmware-myricom.xibuild b/skip/linux-firmware/linux-firmware-myricom.xibuild
index 1f9720f..1f9720f 100644
--- a/repo/linux-firmware/linux-firmware-myricom.xibuild
+++ b/skip/linux-firmware/linux-firmware-myricom.xibuild
diff --git a/repo/linux-firmware/linux-firmware-netronome.xibuild b/skip/linux-firmware/linux-firmware-netronome.xibuild
index 9ed83f9..9ed83f9 100644
--- a/repo/linux-firmware/linux-firmware-netronome.xibuild
+++ b/skip/linux-firmware/linux-firmware-netronome.xibuild
diff --git a/repo/linux-firmware/linux-firmware-nvidia.xibuild b/skip/linux-firmware/linux-firmware-nvidia.xibuild
index b415e58..b415e58 100644
--- a/repo/linux-firmware/linux-firmware-nvidia.xibuild
+++ b/skip/linux-firmware/linux-firmware-nvidia.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ositech.xibuild b/skip/linux-firmware/linux-firmware-ositech.xibuild
index 383fe5a..383fe5a 100644
--- a/repo/linux-firmware/linux-firmware-ositech.xibuild
+++ b/skip/linux-firmware/linux-firmware-ositech.xibuild
diff --git a/repo/linux-firmware/linux-firmware-qca.xibuild b/skip/linux-firmware/linux-firmware-qca.xibuild
index 6b99d33..6b99d33 100644
--- a/repo/linux-firmware/linux-firmware-qca.xibuild
+++ b/skip/linux-firmware/linux-firmware-qca.xibuild
diff --git a/repo/linux-firmware/linux-firmware-qcom.xibuild b/skip/linux-firmware/linux-firmware-qcom.xibuild
index 8d34604..8d34604 100644
--- a/repo/linux-firmware/linux-firmware-qcom.xibuild
+++ b/skip/linux-firmware/linux-firmware-qcom.xibuild
diff --git a/repo/linux-firmware/linux-firmware-qed.xibuild b/skip/linux-firmware/linux-firmware-qed.xibuild
index 849f76e..849f76e 100644
--- a/repo/linux-firmware/linux-firmware-qed.xibuild
+++ b/skip/linux-firmware/linux-firmware-qed.xibuild
diff --git a/repo/linux-firmware/linux-firmware-qlogic.xibuild b/skip/linux-firmware/linux-firmware-qlogic.xibuild
index cba9807..cba9807 100644
--- a/repo/linux-firmware/linux-firmware-qlogic.xibuild
+++ b/skip/linux-firmware/linux-firmware-qlogic.xibuild
diff --git a/repo/linux-firmware/linux-firmware-r128.xibuild b/skip/linux-firmware/linux-firmware-r128.xibuild
index 8a8027a..8a8027a 100644
--- a/repo/linux-firmware/linux-firmware-r128.xibuild
+++ b/skip/linux-firmware/linux-firmware-r128.xibuild
diff --git a/repo/linux-firmware/linux-firmware-radeon.xibuild b/skip/linux-firmware/linux-firmware-radeon.xibuild
index bd26ba8..bd26ba8 100644
--- a/repo/linux-firmware/linux-firmware-radeon.xibuild
+++ b/skip/linux-firmware/linux-firmware-radeon.xibuild
diff --git a/repo/linux-firmware/linux-firmware-rockchip.xibuild b/skip/linux-firmware/linux-firmware-rockchip.xibuild
index df5f658..df5f658 100644
--- a/repo/linux-firmware/linux-firmware-rockchip.xibuild
+++ b/skip/linux-firmware/linux-firmware-rockchip.xibuild
diff --git a/repo/linux-firmware/linux-firmware-rsi.xibuild b/skip/linux-firmware/linux-firmware-rsi.xibuild
index a581484..a581484 100644
--- a/repo/linux-firmware/linux-firmware-rsi.xibuild
+++ b/skip/linux-firmware/linux-firmware-rsi.xibuild
diff --git a/repo/linux-firmware/linux-firmware-rtl_bt.xibuild b/skip/linux-firmware/linux-firmware-rtl_bt.xibuild
index 9e70dd4..9e70dd4 100644
--- a/repo/linux-firmware/linux-firmware-rtl_bt.xibuild
+++ b/skip/linux-firmware/linux-firmware-rtl_bt.xibuild
diff --git a/repo/linux-firmware/linux-firmware-rtl_nic.xibuild b/skip/linux-firmware/linux-firmware-rtl_nic.xibuild
index 0a27f90..0a27f90 100644
--- a/repo/linux-firmware/linux-firmware-rtl_nic.xibuild
+++ b/skip/linux-firmware/linux-firmware-rtl_nic.xibuild
diff --git a/repo/linux-firmware/linux-firmware-rtlwifi.xibuild b/skip/linux-firmware/linux-firmware-rtlwifi.xibuild
index ded8858..ded8858 100644
--- a/repo/linux-firmware/linux-firmware-rtlwifi.xibuild
+++ b/skip/linux-firmware/linux-firmware-rtlwifi.xibuild
diff --git a/repo/linux-firmware/linux-firmware-rtw88.xibuild b/skip/linux-firmware/linux-firmware-rtw88.xibuild
index ebee474..ebee474 100644
--- a/repo/linux-firmware/linux-firmware-rtw88.xibuild
+++ b/skip/linux-firmware/linux-firmware-rtw88.xibuild
diff --git a/repo/linux-firmware/linux-firmware-rtw89.xibuild b/skip/linux-firmware/linux-firmware-rtw89.xibuild
index 8f5d0f7..8f5d0f7 100644
--- a/repo/linux-firmware/linux-firmware-rtw89.xibuild
+++ b/skip/linux-firmware/linux-firmware-rtw89.xibuild
diff --git a/repo/linux-firmware/linux-firmware-sb16.xibuild b/skip/linux-firmware/linux-firmware-sb16.xibuild
index 1e6b254..1e6b254 100644
--- a/repo/linux-firmware/linux-firmware-sb16.xibuild
+++ b/skip/linux-firmware/linux-firmware-sb16.xibuild
diff --git a/repo/linux-firmware/linux-firmware-slicoss.xibuild b/skip/linux-firmware/linux-firmware-slicoss.xibuild
index 6066c7e..6066c7e 100644
--- a/repo/linux-firmware/linux-firmware-slicoss.xibuild
+++ b/skip/linux-firmware/linux-firmware-slicoss.xibuild
diff --git a/repo/linux-firmware/linux-firmware-sun.xibuild b/skip/linux-firmware/linux-firmware-sun.xibuild
index c433d11..c433d11 100644
--- a/repo/linux-firmware/linux-firmware-sun.xibuild
+++ b/skip/linux-firmware/linux-firmware-sun.xibuild
diff --git a/repo/linux-firmware/linux-firmware-sxg.xibuild b/skip/linux-firmware/linux-firmware-sxg.xibuild
index c7d5004..c7d5004 100644
--- a/repo/linux-firmware/linux-firmware-sxg.xibuild
+++ b/skip/linux-firmware/linux-firmware-sxg.xibuild
diff --git a/repo/linux-firmware/linux-firmware-tehuti.xibuild b/skip/linux-firmware/linux-firmware-tehuti.xibuild
index 36f8650..36f8650 100644
--- a/repo/linux-firmware/linux-firmware-tehuti.xibuild
+++ b/skip/linux-firmware/linux-firmware-tehuti.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ti-connectivity.xibuild b/skip/linux-firmware/linux-firmware-ti-connectivity.xibuild
index 3d5546c..3d5546c 100644
--- a/repo/linux-firmware/linux-firmware-ti-connectivity.xibuild
+++ b/skip/linux-firmware/linux-firmware-ti-connectivity.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ti-keystone.xibuild b/skip/linux-firmware/linux-firmware-ti-keystone.xibuild
index 70e59ad..70e59ad 100644
--- a/repo/linux-firmware/linux-firmware-ti-keystone.xibuild
+++ b/skip/linux-firmware/linux-firmware-ti-keystone.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ti.xibuild b/skip/linux-firmware/linux-firmware-ti.xibuild
index f044048..f044048 100644
--- a/repo/linux-firmware/linux-firmware-ti.xibuild
+++ b/skip/linux-firmware/linux-firmware-ti.xibuild
diff --git a/repo/linux-firmware/linux-firmware-tigon.xibuild b/skip/linux-firmware/linux-firmware-tigon.xibuild
index 884226b..884226b 100644
--- a/repo/linux-firmware/linux-firmware-tigon.xibuild
+++ b/skip/linux-firmware/linux-firmware-tigon.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ttusb-budget.xibuild b/skip/linux-firmware/linux-firmware-ttusb-budget.xibuild
index 2c0c2dc..2c0c2dc 100644
--- a/repo/linux-firmware/linux-firmware-ttusb-budget.xibuild
+++ b/skip/linux-firmware/linux-firmware-ttusb-budget.xibuild
diff --git a/repo/linux-firmware/linux-firmware-ueagle-atm.xibuild b/skip/linux-firmware/linux-firmware-ueagle-atm.xibuild
index 941296e..941296e 100644
--- a/repo/linux-firmware/linux-firmware-ueagle-atm.xibuild
+++ b/skip/linux-firmware/linux-firmware-ueagle-atm.xibuild
diff --git a/repo/linux-firmware/linux-firmware-usbdux.xibuild b/skip/linux-firmware/linux-firmware-usbdux.xibuild
index 33193a9..33193a9 100644
--- a/repo/linux-firmware/linux-firmware-usbdux.xibuild
+++ b/skip/linux-firmware/linux-firmware-usbdux.xibuild
diff --git a/repo/linux-firmware/linux-firmware-vicam.xibuild b/skip/linux-firmware/linux-firmware-vicam.xibuild
index ae3f793..ae3f793 100644
--- a/repo/linux-firmware/linux-firmware-vicam.xibuild
+++ b/skip/linux-firmware/linux-firmware-vicam.xibuild
diff --git a/repo/linux-firmware/linux-firmware-vxge.xibuild b/skip/linux-firmware/linux-firmware-vxge.xibuild
index ce56980..ce56980 100644
--- a/repo/linux-firmware/linux-firmware-vxge.xibuild
+++ b/skip/linux-firmware/linux-firmware-vxge.xibuild
diff --git a/repo/linux-firmware/linux-firmware-wfx.xibuild b/skip/linux-firmware/linux-firmware-wfx.xibuild
index c557527..c557527 100644
--- a/repo/linux-firmware/linux-firmware-wfx.xibuild
+++ b/skip/linux-firmware/linux-firmware-wfx.xibuild
diff --git a/repo/linux-firmware/linux-firmware-yam.xibuild b/skip/linux-firmware/linux-firmware-yam.xibuild
index ca7855d..ca7855d 100644
--- a/repo/linux-firmware/linux-firmware-yam.xibuild
+++ b/skip/linux-firmware/linux-firmware-yam.xibuild
diff --git a/repo/linux-firmware/linux-firmware-yamaha.xibuild b/skip/linux-firmware/linux-firmware-yamaha.xibuild
index 2380c83..2380c83 100644
--- a/repo/linux-firmware/linux-firmware-yamaha.xibuild
+++ b/skip/linux-firmware/linux-firmware-yamaha.xibuild
diff --git a/repo/linux-firmware/linux-firmware.tmpl b/skip/linux-firmware/linux-firmware.tmpl
index bddcc5d..bddcc5d 100644
--- a/repo/linux-firmware/linux-firmware.tmpl
+++ b/skip/linux-firmware/linux-firmware.tmpl
diff --git a/repo/linux-firmware/linux-firmware.xibuild b/skip/linux-firmware/linux-firmware.xibuild
index 3c66638..3c66638 100644
--- a/repo/linux-firmware/linux-firmware.xibuild
+++ b/skip/linux-firmware/linux-firmware.xibuild
diff --git a/repo/linux/config b/skip/linux/config
index 727d918..727d918 100644
--- a/repo/linux/config
+++ b/skip/linux/config
diff --git a/repo/linux/fix-sbase-coreutils.patch b/skip/linux/fix-sbase-coreutils.patch
index 27f2a95..27f2a95 100644
--- a/repo/linux/fix-sbase-coreutils.patch
+++ b/skip/linux/fix-sbase-coreutils.patch
diff --git a/repo/linux/linux-src.xibuild b/skip/linux/linux-src.xibuild
index 3ce3796..3ce3796 100644
--- a/repo/linux/linux-src.xibuild
+++ b/skip/linux/linux-src.xibuild
diff --git a/repo/linux/linux.xibuild b/skip/linux/linux.xibuild
index 9352484..5f4a8dd 100644
--- a/repo/linux/linux.xibuild
+++ b/skip/linux/linux.xibuild
@@ -2,7 +2,7 @@
MAKEDEPS="make bc cpio linux-headers toybox kmod"
-PKG_VER=6.1.4
+PKG_VER=6.3.1
SOURCE=https://cdn.kernel.org/pub/linux/kernel/v${PKG_VER%%.*}.x/linux-$PKG_VER.tar.xz
ADDITIONAL="
config