Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/archlinux32-keyring/PKGBUILD11
-rw-r--r--core/coreutils/PKGBUILD2
-rw-r--r--core/glib2/PKGBUILD6
-rw-r--r--core/gnutls/PKGBUILD2
-rw-r--r--core/gpgme/PKGBUILD26
-rw-r--r--core/linux/PKGBUILD11
-rw-r--r--core/nss/PKGBUILD5
-rw-r--r--core/pacman/PKGBUILD12
-rw-r--r--core/pacman/pacman.conf2
-rw-r--r--core/pcre2/PKGBUILD2
-rw-r--r--core/perl/PKGBUILD5
-rw-r--r--core/pinentry/PKGBUILD13
-rw-r--r--core/pkgconf/PKGBUILD11
-rw-r--r--core/systemd/PKGBUILD5
14 files changed, 88 insertions, 25 deletions
diff --git a/core/archlinux32-keyring/PKGBUILD b/core/archlinux32-keyring/PKGBUILD
index 0f3d38a4..840a79e6 100644
--- a/core/archlinux32-keyring/PKGBUILD
+++ b/core/archlinux32-keyring/PKGBUILD
@@ -1,8 +1,7 @@
# Maintainer: Erich Eckner <deep42thought@archlinux32.org>
pkgname=archlinux32-keyring
-pkgver='20240131'
-_pkgver='20240131-1-g00da5c3'
-pkgrel='5'
+pkgver='20240924'
+pkgrel='1'
pkgdesc='Arch Linux 32 PGP keyring'
arch=('any')
url='https://archlinux32.org'
@@ -10,13 +9,13 @@ license=('GPL')
install="${pkgname}.install"
conflicts=('archlinux32-keyring-transition')
replaces=('archlinux32-keyring-transition')
-source=("https://sources.archlinux32.org/sources/${pkgname}-v${_pkgver}.tar.gz"{,.sig})
-sha256sums=('b64db02d172ec9fa93e9e0f17dc2eca422656a18f549ae4abf2aff98fa44f0e2'
+source=("https://sources.archlinux32.org/sources/${pkgname}-v${pkgver}.tar.gz"{,.sig})
+sha512sums=('a1b16e4cf43b5f5cfea2184d55c1d19ccd6398d224a09c36bbd29d36a6685eb8a18035c76b33b6363850cfb7243d484f537c661c8f3a6bbfb68ab1bbeb8a94a9'
'SKIP')
validpgpkeys=('33CA3597B0D161AAE4173F65C17F1214114574A4') # obtain from https://archlinux32.org/keys.php
package() {
- cd "${srcdir}/${pkgname}-v${_pkgver}"
+ cd "${srcdir}/${pkgname}-v${pkgver}"
make PREFIX=/usr DESTDIR=${pkgdir} install
}
diff --git a/core/coreutils/PKGBUILD b/core/coreutils/PKGBUILD
index 5385a852..48b03317 100644
--- a/core/coreutils/PKGBUILD
+++ b/core/coreutils/PKGBUILD
@@ -2,7 +2,7 @@
if [ "${CARCH}" = "i486" ]; then
# make uname return i486 instead of i686 when used with setarch
source+=('coreutils-9.5-uname-i486.patch')
- sha256sums+=('9c8b9c88a2f737808ef43dca4c7ea03c638930e33f3c01e7c407ec6f9f67f218')
+ b2sums+=('94be6a03eeb940609d65af90b9977744ae5627c5e99f73924e57cd36df5b9212c6e0fb1a71008a2f97d83c23cfd30bd8e386e7ffd0718ff59c0dc1ff03e6e6ef')
fi
# FS#66506: temporarily ignore test-login failure
diff --git a/core/glib2/PKGBUILD b/core/glib2/PKGBUILD
index 2d6cf671..03004ef9 100644
--- a/core/glib2/PKGBUILD
+++ b/core/glib2/PKGBUILD
@@ -6,3 +6,9 @@ declare -f check | \
s/\(meson test.*\)/\1 || true/
'
)"
+
+# Crappy hack to work around glib2-devel not being installed
+eval "$(
+ declare -f package_glib2 | \
+ sed '3i depends+=(glib2-devel)'
+)"
diff --git a/core/gnutls/PKGBUILD b/core/gnutls/PKGBUILD
index 3056d6a0..02b833fc 100644
--- a/core/gnutls/PKGBUILD
+++ b/core/gnutls/PKGBUILD
@@ -3,6 +3,6 @@
eval "$(
declare -f check | \
sed '
- s/make -j1 check/make -j1 check || true/
+ s/make check/make check || true/
'
)"
diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD
index e1b4abf1..472d6ab5 100644
--- a/core/gpgme/PKGBUILD
+++ b/core/gpgme/PKGBUILD
@@ -34,3 +34,29 @@ eval "$(
s/make/make CXXFLAGS='-D_FILE_OFFSET_BITS=64' /
'
)"
+
+if [[ $CARCH == i486 ]]; then
+ # ignore gui (for now, needs Qt6, which needs atomics)
+ makedepends=(${makedepends[@]//qt6-base/})
+ eval "$(
+ declare -f package_qgpgme-qt6 | \
+ sed '
+ s/--sphinx-man//
+ s/--sphinx-html//
+ '
+ declare -f package_gpgme | \
+ sed '
+ /libqgpgmeqt6/d
+ '
+
+ declare -f package_qgpgme-qt6 | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
+ )"
+fi
+
+if [[ $CARCH == pentium4 ]]; then
+ eval "$(declare -f build | sed 's@./configure@CC="gcc -msse2" CXX="g++ -msse2" ./configure@')"
+fi
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD
index 76b4daa6..e8cf0d85 100644
--- a/core/linux/PKGBUILD
+++ b/core/linux/PKGBUILD
@@ -25,10 +25,19 @@ eval "$(
a \
install -t "${builddir}/arch/x86" -m644 arch/x86/Makefile_32.cpu
}
- $ i depends+=(gcc-libs=$(_get_gcc_version_from_config))
'
)"
+# pin gcc-libs version (for pahole, kernel modules etc.)
+# currently not working because of 'creative' pkgver
+# versions upstream '14.1.1+r58+gfc9fb69ad62-1'
+#eval "$(
+# declare -f package_${pkgbase}-headers | \
+# sed '
+# $ i depends+=(gcc-libs=$(_get_gcc_version_from_config))
+# '
+#)"
+
_get_gcc_version_from_config() {
if [ -z "$srcdir" ]; then
gcc --version \
diff --git a/core/nss/PKGBUILD b/core/nss/PKGBUILD
index f88ce921..91955360 100644
--- a/core/nss/PKGBUILD
+++ b/core/nss/PKGBUILD
@@ -36,3 +36,8 @@ eval "$(
s/build.sh/build.sh --clang/g
'
)"
+
+# for clang on i486
+if [ "${CARCH}" = "i486" ]; then
+ makedepends+=(llvm14-libs)
+fi
diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD
index e5966c06..99b6a18e 100644
--- a/core/pacman/PKGBUILD
+++ b/core/pacman/PKGBUILD
@@ -1,14 +1,16 @@
-# upstream git revision: 557099dcb495b55b563735a21fdc393d0fc050fb
+# upstream git revision: 1a52f2e1d641587a1514c99b96d839368076288d
depends+=(archlinux32-keyring)
# fail if upstream changes makepkg.conf or pacman.conf
for ((i=0; i<${#sha256sums[@]}; i++)); do
- if [ "${sha256sums[${i}]}" = '2465d495cb275dce434eb3bfe4d293a223e301b968c14861aea42bc7c60404ef' ]; then
- sha256sums[${i}]='82e963060a02c9a04cf5296bb4c5e732d3c3d0666d221ddaf2b3367989b9d894'
+ # pacman.conf
+ if [ "${sha256sums[${i}]}" = '0e84952e4b8eacbb38c018608d152ddd6f98e205c4c6c7d3cdca854d4b7d4179' ]; then
+ sha256sums[${i}]='3e482ca4e98386679cec02b51e32c6a13caf3dee365a850567547f616a69408f'
fi
- if [ "${sha256sums[${i}]}" = '656c4d4cb8cb12adbf178fc8cb2fd25f8c285d6572bbdbb24d865d00e0d5a85a' ]; then
- sha256sums[${i}]='663cbfe0643ff78c1eeb38d59046707da49bde6ab8226fbc5844457a985cb5bc'
+ # makepkg.conf
+ if [ "${sha256sums[${i}]}" = 'd99c1f9608362fff9ab3a2ca0a3096a317927b42a6725bc86599da6849c9c67c' ]; then
+ sha256sums[${i}]='82e963060a02c9a04cf5296bb4c5e732d3c3d0666d221ddaf2b3367989b9d894'
fi
done
diff --git a/core/pacman/pacman.conf b/core/pacman/pacman.conf
index 75ba5b82..780c9a87 100644
--- a/core/pacman/pacman.conf
+++ b/core/pacman/pacman.conf
@@ -35,6 +35,8 @@ Architecture = auto
CheckSpace
#VerbosePkgLists
#ParallelDownloads = 5
+DownloadUser = alpm
+DisableSandbox
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
diff --git a/core/pcre2/PKGBUILD b/core/pcre2/PKGBUILD
index da90f860..fa4189bb 100644
--- a/core/pcre2/PKGBUILD
+++ b/core/pcre2/PKGBUILD
@@ -11,3 +11,5 @@ if [ "${CARCH}" = "i486" ]; then
'
)"
fi
+
+unset check
diff --git a/core/perl/PKGBUILD b/core/perl/PKGBUILD
index c8d3b267..46ef2329 100644
--- a/core/perl/PKGBUILD
+++ b/core/perl/PKGBUILD
@@ -1,9 +1,6 @@
-# temporary workaround for not having the locale set in build chroots
-# (is fixed upstream in devtools, but must update all build slaves first,
-# otherwise the whole Perl rebuild fails!)
eval "$(
declare -f check | \
sed '
- s/make test/LC_ALL=C LANGUAGE=C make test/
+ s/make test/make test || true/
'
)"
diff --git a/core/pinentry/PKGBUILD b/core/pinentry/PKGBUILD
index fb6dfc37..bb3c9176 100644
--- a/core/pinentry/PKGBUILD
+++ b/core/pinentry/PKGBUILD
@@ -12,3 +12,16 @@ if [ "${CARCH}" = "i486" ]; then
'
)"
fi
+
+# disable qt6 and wayland on i486
+if [ "${CARCH}" = "i486" ]; then
+ makedepends=(${makedepends[@]//qt6-base/})
+ makedepends=(${makedepends[@]//kwayland5/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-pinentry-qt/--disable-pinentry-qt/
+ '
+ )"
+fi
+
diff --git a/core/pkgconf/PKGBUILD b/core/pkgconf/PKGBUILD
index 2cc6e9ca..1c4ba27b 100644
--- a/core/pkgconf/PKGBUILD
+++ b/core/pkgconf/PKGBUILD
@@ -1,13 +1,10 @@
# use i686 personality as main personality, no lib32, no 64-bit
source=(${source[@]//x86_64-pc-linux-gnu.personality/})
-sha256sums=(${sha256sums[@]//c8297817ba0b57d003878db247ff34b4c47a7594c9f67dcfe8ff8d6567956cd5/})
-sha256sums[1]='4df633eb84275d51c94bc70a6c56def678ad76dd58573a2ac9b1360732883d96'
+b2sums=(${b2sums[@]//c04583e19149c1035cb7777a59f0fbc4988b672d8e45105e33def3d0f9054464e33a400a3e7c7e8b99b334e4fe06aaa9d7e34662e806096d4374bd6b12d803db/})
+b2sums[1]='b44d82b4c4fd32eeed11a3e5a5ab7331f27467d0f83c118eb381d872cc41a1d69e00605a598a35e9288edf5e8fdadaebfff4bd83131506665c7ab94ef7a678a3'
eval "$(
declare -f package | \
- sed '
- /install/s/x86_64-pc-linux-gnu.personality//
- /ln.*x86_64-pc-linux-gnu-pkg-config/d
- '
-)"
+ sed 's@{x86_64,i686}@i686@'
+)"
diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD
index 535411ce..32b22179 100644
--- a/core/systemd/PKGBUILD
+++ b/core/systemd/PKGBUILD
@@ -42,3 +42,8 @@ eval "$(
$ i fi
'
)"
+
+# for clang on i486
+if [ "${CARCH}" = "i486" ]; then
+ makedepends+=(llvm14-libs)
+fi