upg audit gcc glib2 gpgme libcap-ng libseccomp libcap-ng libxml2 ncurses python util-linux

This commit is contained in:
joborun linux 2024-04-22 02:32:14 +03:00
parent 84f6d3386d
commit 57c7403d82
26 changed files with 192 additions and 131 deletions

View File

@ -9,7 +9,7 @@ pkgbase=audit
_name=audit-userspace
pkgname=('audit' 'python-audit')
pkgver=4.0.1
pkgrel=02
pkgrel=03
pkgdesc="Userspace components of the audit framework w/o systemd"
url='https://people.redhat.com/sgrubb/audit'
makedepends=(apparmor glibc krb5 libcap-ng libldap linux-api-headers python swig)
@ -120,6 +120,6 @@ license=(GPL-2.0-or-later LGPL-2.0-or-later)
sha256sums=(f964610dc0c1e68075d5ae4b14d6280d1164b6eca3a4a13721d1a711681403d9 # audit-userspace-v4.0.1.tar.gz
0ed3ff18f966f57e62d181705cad44ec0873a50d151dad46ca18a82edaa5589c) # audit.tmpfiles
## 4c1bc01da10a5f4f9b5d8964f89235107bf00077f5814c51286349a0a7dd1782 python-audit-4.0.1-03-x86_64.pkg.tar.lz
## 0bd124f21ead27fb36645bf8f6ab8692aeb319bc3c043125bd854e5f8b30fa3d audit-4.0.1-03-x86_64.pkg.tar.lz
## 7a532bd07cf6f559cdc3cb3f79ab72501477e3dbacb3bdc43d10d7f085a11726 audit-4.0.1-02-x86_64.pkg.tar.lz
## 0390b13574961229d75e6d5e67f4aede9761244332c37806348723fd43ad17bb python-audit-4.0.1-02-x86_64.pkg.tar.lz

View File

@ -14,7 +14,7 @@ pkgname=(
python-audit
)
pkgver=4.0.1
pkgrel=2
pkgrel=3
pkgdesc='Userspace components of the audit framework'
url='https://people.redhat.com/sgrubb/audit'
arch=(x86_64)

View File

@ -8,7 +8,7 @@
pkgbase=brotli
pkgname=('brotli' 'python-brotli' 'brotli-testdata')
pkgver=1.1.0
pkgrel=01
pkgrel=02
pkgdesc='Generic-purpose lossless compression algorithm'
url='https://github.com/google/brotli'
makedepends=(git cmake python-setuptools python-build python-installer python-wheel)
@ -90,6 +90,7 @@ license=('MIT')
sha256sums=(SKIP)
## 648dbfe4d27a9c761b019c2032b1e793866b939d668429d842a7ba0a14127b44 brotli-1.1.0-01-x86_64.pkg.tar.lz
## 562dbea12821909d64daeb6a77002e189f8f9a0c6c46f07d56b5730539f01d96 brotli-testdata-1.1.0-01-x86_64.pkg.tar.lz
## 66ca1fd711a3b6a83bfe6233cd2c24aa1c980d97b879db4db054f2794ff9bca8 python-brotli-1.1.0-01-x86_64.pkg.tar.lz
## 56e098e11e3ff81891f7d004182903c4e5e306a4c1735c9ec24185199389bd2d brotli-1.1.0-02-x86_64.pkg.tar.lz
## d74d80e611d6a2ea84da051df8488f0ad9f805b0b90e15270a73781d4811d28c brotli-testdata-1.1.0-02-x86_64.pkg.tar.lz
## 4fe6b724f5c4cd8215d44928308814003306de84c0d021f8bb653c2c41f1149d python-brotli-1.1.0-02-x86_64.pkg.tar.lz

View File

@ -8,7 +8,7 @@ pkgbase=brotli
pkgname=('brotli' 'python-brotli' 'brotli-testdata')
_gitcommit=ed738e842d2fbdf2d6459e39267a633c4a9b2f5d
pkgver=1.1.0
pkgrel=1
pkgrel=2
pkgdesc='Generic-purpose lossless compression algorithm'
url='https://github.com/google/brotli'
arch=('x86_64')

View File

@ -15,8 +15,9 @@
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-ada gcc-d gcc-fortran gcc-go gcc-m2 gcc-objc lto-dump libgccjit)
pkgver=13.2.1
_majorver=${pkgver%%.*}
_commit=860b0f0ef787f756c0e293671b4c4622dff63a79 # 13.2.1
pkgrel=05
#_commit=860b0f0ef787f756c0e293671b4c4622dff63a79
_commit=ca7d454804045a39d10a9b1f691a940aeacdf25b # 13.2.1
pkgrel=06
pkgdesc='The GNU Compiler Collection'
url='https://gcc.gnu.org'
makedepends=(
@ -77,7 +78,7 @@ build() {
--libexecdir=/usr/lib
--mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues \
--with-build-config=bootstrap-lto
--with-linker-hash-style=gnu
--with-system-zlib
@ -523,21 +524,9 @@ validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.
13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guenther@gmail.com
D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62) # Jakub Jelinek <jakub@redhat.com>
sha256sums=(SKIP
sha256sums=(4730129b2d8bc80630bfe512e6cbe69151395be6bd2eb1967d64ca87ed8c0e09 # gcc
de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 # c89
2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a # c99
1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f # gcc-ada-repro.patch
5ede1f5fec5b664428412a0849b28895be1c8d8982d3c0d246a4e95fd4730d65) # fix-asan-allocator-aslr.patch
## dce5a65fcd30cfc49dacb4acb1478cb8808b0e9b6c8659983d3cfda6041e4e6a gcc-13.2.1-05-x86_64.pkg.tar.lz
## 07090b10d16f7fff78a24d94165a96cabe4174895ffe1de119893da74d6b27e3 gcc-ada-13.2.1-05-x86_64.pkg.tar.lz
## f91ef9898645cb336aa0f8603432e62496a46bc3cd982fc4b746f6e1fc74011d gcc-d-13.2.1-05-x86_64.pkg.tar.lz
## a03af044c441812bca17a8bf4a71329ee1897bc557753b5ebbae4c14067a67b4 gcc-fortran-13.2.1-05-x86_64.pkg.tar.lz
## 3e95c4a43fd12c0d8fd6fdab82b7883d3e47b406dbca2abfea65b722ab531da0 gcc-go-13.2.1-05-x86_64.pkg.tar.lz
## 312a71453cecaf24b865c3c8fd7a2f0d3b6342b62a76a201985ee9aa9dd38aa9 gcc-libs-13.2.1-05-x86_64.pkg.tar.lz
## c42413a0098daf901dbc0b22d2bf4cf024aadd905b88336e2c00f62af3a5cde6 gcc-m2-13.2.1-05-x86_64.pkg.tar.lz
## 4b7e97da58cb3cd196f411e763406d3afb475c7c1b41ee8e9d3e16cac997205f gcc-objc-13.2.1-05-x86_64.pkg.tar.lz
## c455b0b9416dedeef0fa97ed6cd22e5064caa39ed73ffd0306f656d447e724ed lib32-gcc-libs-13.2.1-05-x86_64.pkg.tar.lz
## dc6c498cc9f04c794f9d5367adbeb8baeb5d7a0d8b60c72593788b1c7c704f4e libgccjit-13.2.1-05-x86_64.pkg.tar.lz
## 872bcec6c3183d040e8e00ec73b3723f69cbe1ce01fdd3270b8bc1aed6cc09ba lto-dump-13.2.1-05-x86_64.pkg.tar.lz

View File

@ -10,8 +10,8 @@
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-ada gcc-d gcc-fortran gcc-go gcc-m2 gcc-objc lto-dump libgccjit)
pkgver=13.2.1
_majorver=${pkgver%%.*}
_commit=860b0f0ef787f756c0e293671b4c4622dff63a79
pkgrel=5
_commit=ca7d454804045a39d10a9b1f691a940aeacdf25b
pkgrel=6
pkgdesc='The GNU Compiler Collection'
arch=(x86_64)
license=(GPL-3.0-with-GCC-exception GFDL-1.3-or-later)
@ -47,7 +47,7 @@ validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.
86CFFCA918CF3AF47147588051E8B148A9999C34 # evangelos@foutrelis.com
13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guenther@gmail.com
D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62) # Jakub Jelinek <jakub@redhat.com>
sha256sums=('SKIP'
sha256sums=('4730129b2d8bc80630bfe512e6cbe69151395be6bd2eb1967d64ca87ed8c0e09'
'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
'1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f'
@ -80,7 +80,7 @@ build() {
--libexecdir=/usr/lib
--mandir=/usr/share/man
--infodir=/usr/share/info
--with-bugurl=https://bugs.archlinux.org/
--with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues \
--with-build-config=bootstrap-lto
--with-linker-hash-style=gnu
--with-system-zlib

View File

@ -0,0 +1,60 @@
From fb77ca05ffb4f8e666878f2f6718a9fb4d686839 Mon Sep 17 00:00:00 2001
From: Thurston Dang <thurston@google.com>
Date: Thu, 13 Apr 2023 23:55:01 +0000
Subject: [PATCH] Re-land 'ASan: move allocator base to avoid conflict with
high-entropy ASLR for x86-64 Linux'
D147984 was reverted because it broke lit tests on Mac. This revision is based on D147984
but maintains the old behavior for Apple.
Note that, per the follow-up discussion with MaskRay in D147984, this patch excludes Apple
but includes other platforms (e.g., aarch64, MIPS64) and OSes (e.g., FreeBSD, S390X), not just
x86-64 Linux.
Original commit message from D147984:
Users have discovered [*] that when CONFIG_ARCH_MMAP_RND_BITS == 32,
it will frequently conflict with ASan's allocator on x86-64 Linux, because the
PIE program segment base address of 0x555555555554 plus an ASLR shift of up to
((2**32) * 4K == 0x100000000000) will sometimes exceed ASan's hardcoded
base address of 0x600000000000. We fix this by simply moving the allocator base
to 0x500000000000, which is below the PIE program segment base address. This is
cleaner than trying to move it to another location that is sandwiched between
the PIE program and library segments, because if either of those grow too large,
it will collide with the allocator region.
Note that we will never need to change this base address again (unless we want to increase
the size of the allocator), because ASLR cannot be set above 32-bits for x86-64 Linux (the
PIE program segment and library segments would collide with each other; see also
ARCH_MMAP_RND_BITS_MAX in https://github.com/torvalds/linux/blob/master/arch/x86/Kconfig).
[*] see https://b.corp.google.com/issues/276925478
and https://groups.google.com/a/google.com/g/chrome-os-gardeners/c/BbfzCP3dEeo/m/h3C_vVUxCQAJ
Differential Revision: https://reviews.llvm.org/D148280
---
compiler-rt/lib/asan/asan_allocator.h | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/compiler-rt/lib/asan/asan_allocator.h b/compiler-rt/lib/asan/asan_allocator.h
index 0b4dbf03bb9d5..6a12a6c602528 100644
--- a/compiler-rt/lib/asan/asan_allocator.h
+++ b/compiler-rt/lib/asan/asan_allocator.h
@@ -143,11 +143,15 @@ typedef DefaultSizeClassMap SizeClassMap;
const uptr kAllocatorSpace = ~(uptr)0;
const uptr kAllocatorSize = 0x8000000000ULL; // 500G
typedef DefaultSizeClassMap SizeClassMap;
-# else
+# elif SANITIZER_APPLE
const uptr kAllocatorSpace = 0x600000000000ULL;
const uptr kAllocatorSize = 0x40000000000ULL; // 4T.
typedef DefaultSizeClassMap SizeClassMap;
-# endif
+# else
+const uptr kAllocatorSpace = 0x500000000000ULL;
+const uptr kAllocatorSize = 0x40000000000ULL; // 4T.
+typedef DefaultSizeClassMap SizeClassMap;
+# endif
template <typename AddressSpaceViewTy>
struct AP64 { // Allocator64 parameters. Deliberately using a short name.
static const uptr kSpaceBeg = kAllocatorSpace;

View File

@ -9,7 +9,7 @@
#pkgname=(glib2 glib2-docs)
pkgname=glib2
pkgver=2.80.0
pkgrel=02
pkgrel=03
pkgdesc="Low level core library"
#url="https://wiki.gnome.org/Projects/GLib"
url="https://gitlab.gnome.org/GNOME/glib"
@ -23,18 +23,20 @@ libelf meson python shared-mime-info util-linux libxslt) #libsysprof-capture
checkdepends=(desktop-file-utils glib2)
#options=(debug staticlibs) ### uncomment this to have the debug pkg produced
options=(staticlibs)
_commit=763cc3b238398614c20069fd67642730e3a6519b # tags/2.80.0^0
source=("git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
# _commit=763cc3b238398614c20069fd67642730e3a6519b # tags/2.80.0^0
source=(
# "git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/glib.git?signed#tag=$pkgver"
"git+https://gitlab.gnome.org/GNOME/gvdb.git"
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
gio-querymodules.hook
glib-compile-schemas.hook)
# docbook.xsl::https://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl)
pkgver() {
cd glib
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
#pkgver() {
# cd glib
# git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
#}
prepare() {
cd glib
@ -119,13 +121,18 @@ arch=(x86_64)
license=(LGPL-2.1-or-later)
validpgpkeys=('923B7025EE03C1C59F42684CF0942E894B2EAFA0') # Philip Withnall (https://endlessos.org/) <pwithnall@endlessos.org>
validpgpkeys=(923B7025EE03C1C59F42684CF0942E894B2EAFA0) # Philip Withnall <pwithnall@gnome.org>
b2sums=('cc3a6a7a14fef1aabc08d3bdfe98f66e3ecf3591ac054d83aa9404c8c9cd72e690a4c26c16934700d067bb2cb3d58730387482032cd9ffa04b041869426165ba'
'SKIP'
'94c73ca7070c239494873dd52d6ee09382bbb5b1201f7afd737cfa140b1a2fb0744b2c2831baf3943d1d072550c35888d21ce6f19f89481ff9d1a60d9a0b30e0'
'14c9211c0557f6d8d9a914f1b18b7e0e23f79f4abde117cb03ab119b95bf9fa9d7a712aa0a29beb266468aeb352caa3a9e4540503cfc9fe0bbaf764371832a96'
'acc2f474139e535f4bdd70ac22a9150f786b3395e679b14d0d3fbb9361d511bb1b5069d95b2a7ac9c0f3d901b03a0c037eb273446ba00764191b30a777bd2bc9')
sha256sums=(SKIP # glib
SKIP # gvdb
7f8ee5db60987f0d0feba84643e1cf988c98a294a681fb8d4fce1a5b2c25d1d3 # 0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
557c88177f011ced17bdeac1af3f882b2ca33b386a866fdf900b35f927a2bbe8 # gio-querymodules.hook
64ae5597dda3cc160fc74be038dbe6267d41b525c0c35da9125fbf0de27f9b25) # glib-compile-schemas.hook
fe31399eb057d24a37062bcae6f88ca0778a91b85737f8110a03baa8bfc64fec) # glib-compile-schemas.hook
## 01ecf268ea1bc5de8e0db0a020e040084cdd0035e1b8f62116194f9fedf09730 glib2-2.80.0-02-x86_64.pkg.tar.lz
## c4b4e62d99d5b20ad31cf560981f27e6671a958f116e732fdbe54aebe2df55fe glib2-2.80.0-03-x86_64.pkg.tar.lz

View File

@ -8,7 +8,7 @@ pkgname=(
glib2-docs
)
pkgver=2.80.0
pkgrel=2
pkgrel=3
pkgdesc="Low level core library"
url="https://gitlab.gnome.org/GNOME/glib"
license=(LGPL-2.1-or-later)
@ -42,9 +42,8 @@ options=(
debug
staticlibs
)
_commit=763cc3b238398614c20069fd67642730e3a6519b # tags/2.80.0^0
source=(
"git+https://gitlab.gnome.org/GNOME/glib.git#commit=$_commit"
"git+https://gitlab.gnome.org/GNOME/glib.git?signed#tag=$pkgver"
"git+https://gitlab.gnome.org/GNOME/gvdb.git"
0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch
gio-querymodules.hook
@ -54,13 +53,10 @@ b2sums=('cc3a6a7a14fef1aabc08d3bdfe98f66e3ecf3591ac054d83aa9404c8c9cd72e690a4c26
'SKIP'
'94c73ca7070c239494873dd52d6ee09382bbb5b1201f7afd737cfa140b1a2fb0744b2c2831baf3943d1d072550c35888d21ce6f19f89481ff9d1a60d9a0b30e0'
'14c9211c0557f6d8d9a914f1b18b7e0e23f79f4abde117cb03ab119b95bf9fa9d7a712aa0a29beb266468aeb352caa3a9e4540503cfc9fe0bbaf764371832a96'
'd30d349b4cb4407839d9074ce08f5259b8a5f3ca46769aabc621f17d15effdb89c4bf19bd23603f6df3d59f8d1adaded0f4bacd0333afcab782f2d048c882858')
pkgver() {
cd glib
git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
}
'acc2f474139e535f4bdd70ac22a9150f786b3395e679b14d0d3fbb9361d511bb1b5069d95b2a7ac9c0f3d901b03a0c037eb273446ba00764191b30a777bd2bc9')
validpgpkeys=(
923B7025EE03C1C59F42684CF0942E894B2EAFA0 # Philip Withnall <pwithnall@gnome.org>
)
prepare() {
cd glib

View File

@ -9,3 +9,4 @@ python-packaging
python-docutils
python-distutils-extra

View File

@ -3,8 +3,8 @@ Type = Path
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/share/glib-2.0/schemas/*.gschema.xml
Target = usr/share/glib-2.0/schemas/*.gschema.override
Target = usr/share/glib-2.0/schemas/*.xml
Target = usr/share/glib-2.0/schemas/*.override
[Action]
Description = Compiling GSettings XML schema files...

View File

@ -9,7 +9,7 @@ pkgbase=gpgme
#pkgname=(gpgme qgpgme-qt5 qgpgme-qt6 python-gpgme)
pkgname=(gpgme python-gpgme) # qgpgme)
pkgver=1.23.2
pkgrel=01
pkgrel=02
pkgdesc="A C wrapper library for GnuPG"
#options=('debug') ## uncomment this to have the debug pkg produced
url='https://www.gnupg.org/related_software/gpgme/'
@ -122,8 +122,9 @@ validpgpkeys=('6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist sig
'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD') # Niibe Yutaka (GnuPG Release Key)
sha256sums=(9499e8b1f33cccb6815527a1bc16049d35a6198a6c5fae0185f2bd561bce5224 # gpgme-1.23.2.tar.bz2
34c6f18f6fc44f21185a4f8530db0fc2d89b577f0336426c8a82574ef2be4f56) # gpgme-1.23.2.tar.bz2.sig
23d825e204c13c22416c2387276a08fa654bfaa9a0dbb1e4e9c8e66044451547) # gpgme-1.23.2.tar.bz2.sig
#34c6f18f6fc44f21185a4f8530db0fc2d89b577f0336426c8a82574ef2be4f56) # gpgme-1.23.2.tar.bz2.sig
## 75a860bbfb5142932a28ea7cab87056508e228e9a2ea48a3b3c04e6c54ab0737 gpgme-1.23.2-01-x86_64.pkg.tar.lz
## 19d227da7bd8fa54850b1295f7294760c0460b519ccb7b52eabf9bc2ec50399d python-gpgme-1.23.2-01-x86_64.pkg.tar.lz
## d95244e13d6aade4fa15b4b858d7f7c30891c4af6119d5c7a301e8aa33b5c665 gpgme-1.23.2-02-x86_64.pkg.tar.lz
## be31cf37d019b15ce510a4320b4ae1307e48033808ac4541e6f061ba662d1a19 python-gpgme-1.23.2-02-x86_64.pkg.tar.lz

View File

@ -5,7 +5,7 @@
pkgbase=gpgme
pkgname=(gpgme qgpgme-qt5 qgpgme-qt6 python-gpgme)
pkgver=1.23.2
pkgrel=1
pkgrel=2
pkgdesc='A C wrapper library for GnuPG'
arch=('x86_64')
url='https://www.gnupg.org/related_software/gpgme/'

View File

@ -7,14 +7,15 @@
pkgbase=libcap-ng
pkgname=(libcap-ng python-capng)
pkgver=0.8.5
pkgrel=02
pkgver=0.8.4
pkgrel=03
pkgdesc='A library for Linux that makes using posix capabilities easy'
url='https://people.redhat.com/sgrubb/libcap-ng/'
depends=(glibc)
makedepends=(python swig)
#options=(debug) # uncomment if you want libcap-ng-debug package made
source=(https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
source=(https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
$pkgname-0.8.4-remove_exception_handler.patch::https://github.com/stevegrubb/libcap-ng/commit/30453b6553948cd05c438f9f509013e3bb84f25b.patch)
_pick() {
local p="$1" f d; shift
@ -27,7 +28,8 @@ _pick() {
}
prepare() {
# backport patch for removed swig functionality: https://github.com/stevegrubb/libcap-ng/issues/48
patch -Np1 -d $pkgbase-$pkgver -i ../$pkgname-0.8.4-remove_exception_handler.patch
cd $pkgbase-$pkgver
# make stupid autotools happy -_-
touch NEWS
@ -73,7 +75,9 @@ arch=(x86_64)
license=(GPL-2.0-or-later LGPL-2.1-or-later)
sha256sums=(e4be07fdd234f10b866433f224d183626003c65634ed0552b02e654a380244c2) # libcap-ng-0.8.5.tar.gz
sha256sums=(5615c76a61039e283a6bd107c4faf345ae5ad4dcd45907defe5e474d8fdb6fd2 # libcap-ng-0.8.4.tar.gz
9893217e21f1dfd817ef1e25b458a1a5e315b370c1808b435598d48b65b9124d) # libcap-ng-0.8.4-remove_exception_handler.patch
## d730c04789ec4e83f486c25af2fb82ce4ab95737c410907722270edc493a3fcf libcap-ng-0.8.4-03-x86_64.pkg.tar.lz
## b5987842c8c31eff678181164ca1389eaaf595b26df642e939666c379f424f7b python-capng-0.8.4-03-x86_64.pkg.tar.lz
## aefaffe5cbb94ca94909af407f1a2132bac2e3cd061c3b0e94b83f08742e4154 libcap-ng-0.8.5-02-x86_64.pkg.tar.lz
## 02c5d075068e8b9c1a054074df14444c2f3ea05b97b761f308fa5e993fc5347f python-capng-0.8.5-02-x86_64.pkg.tar.lz

View File

@ -8,8 +8,8 @@ pkgname=(
libcap-ng
python-capng
)
pkgver=0.8.5
pkgrel=2
pkgver=0.8.4
pkgrel=3
pkgdesc='A library for Linux that makes using posix capabilities easy'
arch=(x86_64)
url='https://people.redhat.com/sgrubb/libcap-ng/'
@ -24,9 +24,12 @@ makedepends=(
)
source=(
https://github.com/stevegrubb/libcap-ng/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
$pkgname-0.8.4-remove_exception_handler.patch::https://github.com/stevegrubb/libcap-ng/commit/30453b6553948cd05c438f9f509013e3bb84f25b.patch
)
sha512sums=('3bd868c7f263b77edd2feda831470b407f1086b434618e54336fb78bbf8bf3bad53f4c006a2118fb594b16554f8f7ec2acb76e08be5586d0261684e9ba139231')
b2sums=('70d70da50aff6423cf98cc87512d691308ec73e4143b4deb4bbc32e764db856af60d2aab2fed6ead2c5662adccb1ebf3a72bc1a8990261e104b28d2b9225cf92')
sha512sums=('3e640ba4bfa2d5b5d0eb463abca3b2c745b10e929571c0ec32eb068bdc41fd95e19f7131893a22ceebb4d1f1083d3d87d9a32f0808442d594ac5940791152acf'
'74de0b06ca948d217fba18dece9072684267bc3f60d53f6c3c164af8f57c48d69d5d17df4a35fee98fdc5919146864168249a690153a95dcda97712efb3e1f7a')
b2sums=('f4ea9780b87cdd4f9fa85d4ad3960afe654bc8aa6f5aa298ec87b7d90c87dd981f81577e5113ed76d83aa39c959160bf4deee57be9b458a98f8715e6f7b8dd33'
'd5a2f35354efb9adb9c45a2173a97358de2fa79fcd6ea5af8987f85a743fc3eb4a2f7f20741538c5487087db9b6f5143041ad7a85d6943b2175ec2c20dac7eb7')
_pick() {
local p="$1" f d; shift
@ -39,6 +42,9 @@ _pick() {
}
prepare() {
# backport patch for removed swig functionality: https://github.com/stevegrubb/libcap-ng/issues/48
patch -Np1 -d $pkgbase-$pkgver -i ../$pkgname-0.8.4-remove_exception_handler.patch
cd $pkgbase-$pkgver
# make stupid autotools happy -_-
touch NEWS

View File

@ -8,7 +8,7 @@
pkgbase=libseccomp
pkgname=(libseccomp python-libseccomp)
pkgver=2.5.5
pkgrel=02
pkgrel=03
pkgdesc='Enhanced seccomp library'
url="https://github.com/seccomp/libseccomp"
depends=('glibc')
@ -60,6 +60,6 @@ validpgpkeys=('7100AADFAE6E6E940D2E0AD655E45A5AE8CA7C8A' # Paul Moore <paul@paul
sha256sums=(248a2c8a4d9b9858aa6baf52712c34afefcf9c9e94b76dce02c1c9aa25fb3375 # libseccomp-2.5.5.tar.gz
f3bf8a946020d3047581f11fe6ac71971a842115ddb362562b193861ef57d97b) # libseccomp-2.5.5.tar.gz.asc
## 1c95458436f7de8d2e8797bf24565417f1b021cc26f18f1a8d6e8c8c3be952ef libseccomp-2.5.5-02-x86_64.pkg.tar.lz
## 51fe26228e2780e2e1350e3b76c2d041afbce3ad3eea33cfd11969eae1f6bbf0 python-libseccomp-2.5.5-02-x86_64.pkg.tar.lz
## 5c26f7cc87a2503637fad7f7d373e680799886f6c7ab04a20ac3e4f089cd3f3c libseccomp-2.5.5-03-x86_64.pkg.tar.lz
## f4d2119cfd0529bc5b1c5f844405609c65fc6c88c3fccc7a917ce7bf04048ee2 python-libseccomp-2.5.5-03-x86_64.pkg.tar.lz

View File

@ -6,7 +6,7 @@
pkgbase=libseccomp
pkgname=(libseccomp python-libseccomp)
pkgver=2.5.5
pkgrel=2
pkgrel=3
pkgdesc='Enhanced seccomp library'
arch=('x86_64')
license=('LGPL2.1')

View File

@ -9,7 +9,7 @@
#pkgname=(libxml2 libxml2-docs)
pkgname=libxml2
pkgver=2.12.6
pkgrel=01
pkgrel=02
# mixup between jobcore and staging 4/22 rebuild on jobcore used staging PKGBUILD-arch
# so staging pkgrel is bumped up one to distinguish from jobcore's build
pkgdesc="XML C parser and toolkit"
@ -93,5 +93,5 @@ sha256sums=(SKIP
60921b7894753a079659369b49b718c83d09edd49de76503850e5560af778c3a # 0001-HACK-Don-t-run-fuzzing-tests.patch
9b61db9f5dbffa545f4b8d78422167083a8568c59bd1129f94138f936cf6fc1f) # xmlts20130923.tar.gz
## a7f741eebe902148164cc337c699b349ebf77de959ed3d7502018f677fad52b3 libxml2-2.12.6-01-x86_64.pkg.tar.lz
## 63dce83864d53dee33720212b25319020d41cbe8630fdf0e3ef79f0ff50f2d3f libxml2-2.12.6-02-x86_64.pkg.tar.lz

View File

@ -10,7 +10,7 @@ pkgname=(
libxml2-docs
)
pkgver=2.12.6
pkgrel=1
pkgrel=2
pkgdesc="XML C parser and toolkit"
url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
arch=(x86_64)

View File

@ -105,5 +105,3 @@ sha256sums=(SKIP
dc4261b6642058a9df1c0945e2409b24f84673ddc3a665d8a15ed3580e51ee25 # ncurses-6.3-libs.patch
b8544a607dfbeffaba2b087f03b57ed1fa81286afca25df65f61b04b5f3b3738) # ncurses-6.3-pkgconfig.patch
## be169a733743b9365529910f581766325cc9027e81089b9a01bd4e99f8676206 ncurses-6.4_20230520-02-x86_64.pkg.tar.lz

View File

@ -8,7 +8,7 @@
shopt -s extglob
pkgbase=python
pkgname=(python python-tests)
pkgver=3.11.8
pkgver=3.12.2
pkgrel=01
_pybasever=${pkgver%.*}
pkgdesc="The Python programming language - ipv6 disabled "
@ -31,7 +31,7 @@ prepare() {
# Ensure that we are using the system copy of various libraries (expat, libffi, and libmpdec),
# rather than copies shipped in the tarball
rm -r Modules/expat
rm -r Modules/_ctypes/{darwin,libffi}*
# rm -r Modules/_ctypes/{darwin,libffi}*
rm -r Modules/_decimal/libmpdec
}
@ -62,24 +62,27 @@ build() {
LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"
}
#check() {
# # test_tk: test_askcolor tkinter.test.test_tkinter.test_colorchooser.DefaultRootTest hangs
# # test_pyexpat: our `debug` implementation rewrites source location, which breaks the build-time
# # only test test.test_pyexpat.HandlerExceptionTest as it cannot find source file in
# # the to-be-installed debug package
# # test_socket: https://github.com/python/cpython/issues/79428
# # test_unittest: https://github.com/python/cpython/issues/108927
#
# cd Python-${pkgver}
#
# # Obtain next free server number for xvfb-run; this even works in a chroot environment.
# export servernum=99
# while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done
#
# LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
# LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" \
# "${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk -x test_pyexpat -x test_socket -x test_unittest
#}
check() {
# test_tk: test_askcolor tkinter.test.test_tkinter.test_colorchooser.DefaultRootTest hangs
# test_pyexpat: our `debug` implementation rewrites source location, which breaks the build-time
# only test test.test_pyexpat.HandlerExceptionTest as it cannot find source file in
# the to-be-installed debug package
# test_socket: https://github.com/python/cpython/issues/79428
# test_unittest: https://github.com/python/cpython/issues/108927
# test_tkk: AssertionError: Tuples differ: (0,) != ('0',)
cd Python-${pkgver}
# Obtain next free server number for xvfb-run; this even works in a chroot environment.
export servernum=99
while ! xvfb-run -a -n "$servernum" /bin/true 2>/dev/null; do servernum=$((servernum+1)); done
LD_LIBRARY_PATH="${srcdir}/Python-${pkgver}":${LD_LIBRARY_PATH} \
LC_CTYPE=en_US.UTF-8 xvfb-run -s "-screen 0 1920x1080x16 -ac +extension GLX" -a -n "$servernum" \
"${srcdir}/Python-${pkgver}/python" -m test.regrtest -v -uall -x test_tk -x \
test_ttk -x test_ttk.test_widgets -x test_tkinter -x test_pyexpat -x test_socket -x test_unittest
}
package_python() {
optdepends=('python-setuptools'
@ -119,10 +122,9 @@ package_python() {
# Split tests
cd "$pkgdir"/usr/lib/python*/
rm -r {ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,tkinter/test,unittest/test}
cd test
# FS#76193
rm -r !(support)
rm -r {test,idlelib/idle_test}
}
package_python-tests() {
@ -133,20 +135,6 @@ package_python-tests() {
make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" libinstall
cd "$pkgdir"/usr/lib/python*/
rm -r !(test|ctypes|distutils|idlelib|lib2to3|tkinter|unittest)
cd "$pkgdir"/usr/lib/python*/test
rm -r support
cd "$pkgdir"/usr/lib/python*/ctypes
rm -r !(test)
cd "$pkgdir"/usr/lib/python*/distutils
rm -r !(tests)
cd "$pkgdir"/usr/lib/python*/idlelib
rm -r !(idle_test)
cd "$pkgdir"/usr/lib/python*/lib2to3
rm -r !(tests)
cd "$pkgdir"/usr/lib/python*/tkinter
rm -r !(test)
cd "$pkgdir"/usr/lib/python*/unittest
rm -r !(test)
}
@ -158,13 +146,16 @@ license=('PSF-2.0')
validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) <nad@python.org>
'E3FF2839C048B25C084DEBE9B26995E310250568' # Łukasz Langa (GPG langa.pl) <lukasz@langa.pl>
'A035C8C19219BA821ECEA86B64E628F8D684696D') # Pablo Galindo Salgado <pablogsal@gmail.com>
'A035C8C19219BA821ECEA86B64E628F8D684696D' # Pablo Galindo Salgado <pablogsal@gmail.com>
'7169605F62C751356D054A26A821E680E5FA6305') # Thomas Wouters <thomas@xs4all.nl>
sha256sums=(9e06008c8901924395bc1da303eac567a729ae012baa182ab39269f650383bb3 # Python-3.11.8.tar.xz
8919230598fb4da5a0383a68ce09256df97f25c4efe717f70d197c2f786359a3 # Python-3.11.8.tar.xz.asc
sha512sums=('2ccfae7b9f95d8e15ea85d3f66eea5f6a8fdcaffc0b405095fecb33efc0df50b831c1215542910ced948b54e6de1f7242b0b8b9afc5f89079451c552430d7d9f'
'SKIP'
'0868854a6b2647706a3c98443fbacf275fe31f85c7cb78301db46e395c17cac9a02512cf0db40b981eae9ffe9d9d5fc8e0a83635adb0e2545ca134d9830cd1e0'
'62a6fbfbaeaa3ba7c54e109d9c3b7f67e73bb21986da4c1fcc5d28cca83d71e0fcae28e1fc70ee8ddce7dea8cd0b64e18d1031dae3a2eae5eaa379c53efd53a0')
sha256sums=(be28112dac813d2053545c14bf13a16401a21877f1a69eb6ea5d84c4a0f3d870 # Python-3.12.2.tar.xz
3d80381995eabd74a9e100de6e8263227f22b408c15300c2a619fc8ebcfc115b # Python-3.12.2.tar.xz.asc
e2f9a36df0442f34b838db4f261c8be9daf18f81679f800282bf5a5f0d8a9eb7 # python-expat-2.6.patch
c07b94bf7dcbe7be5ba0cee29971a005a5be65002cbfb59c5a8f661fa92aa82f) # EXTERNALLY-MANAGED
## 808a58e4157aa4cb14e868670eb5d7e7924b830f1bdd3ceaf3b385e2b0dc793f python-3.11.8-01-x86_64.pkg.tar.lz
## 2b4addccb4eb31cb8e3e7ac7c755ec568db9c28c193fbbd7bcefe4fbc534e5f3 python-tests-3.11.8-01-x86_64.pkg.tar.lz

View File

@ -1,2 +1 @@
gpg -v --recv-key FFE87404168BD847
gpg --recv-key A821E680E5FA6305

View File

@ -1,11 +1,9 @@
311 tests OK.
1 test failed:
test_signal
5 tests skipped:
test_devpoll test_gdb test_kqueue test_launcher test_msilib
465 tests OK.
Total duration: 9 hour 3 min
Tests result: FAILURE, INTERRUPTED
/usr/bin/xvfb-run: line 186: kill: (15850) - No such process
Total duration: 22 min 58 sec
Total tests: run=40,515 skipped=1,070
Total test files: run=482/483 failed=1 skipped=16 resource_denied=1

View File

@ -0,0 +1,10 @@
1 test failed:
test_signal
465 tests OK.
Total duration: 22 min 58 sec
Total tests: run=40,515 skipped=1,070
Total test files: run=482/483 failed=1 skipped=16 resource_denied=1

View File

@ -9,7 +9,7 @@ pkgbase=util-linux
pkgname=(util-linux util-linux-libs)
_tag='2.40'
pkgver="${_tag/-/}"
pkgrel=02
pkgrel=03
pkgdesc='Miscellaneous system utilities for Linux w/o systemd'
url='https://github.com/util-linux/util-linux'
#url='https://github.com/util-linux/util-linux'
@ -203,6 +203,6 @@ sha256sums=(153ae22d30a04e8c3ef1edbac63081f21b2d7622467dd7bf324f7f45e45b343d #
10b0505351263a099163c0d928132706e501dd0a008dac2835b052167b14abe3 # util-linux.sysusers
7423aaaa09fee7f47baa83df9ea6fef525ff9aec395c8cbd9fe848ceb2643f37) # 60-rfkill.rules
## 62eb3bd324cd4e6b3da70fec6e0e8e96c9e8c0048b3703389a870f904cb10262 util-linux-2.40-02-x86_64.pkg.tar.lz
## a42a23b90b43f47c76ac74b8675bc60419bce629e553822663fb0c4a83203f28 util-linux-libs-2.40-02-x86_64.pkg.tar.lz
## 3a78cf3dc296659206f1131ed399d3a664aee5e1986bea5be7917bc41c96453b util-linux-2.40-03-x86_64.pkg.tar.lz
## ef6a9803d6e5251fd3994712fb259b19f3f286b81d25d58a1ff108795b5a44c0 util-linux-libs-2.40-03-x86_64.pkg.tar.lz

View File

@ -6,7 +6,7 @@ pkgbase=util-linux
pkgname=(util-linux util-linux-libs)
_tag='2.40'
pkgver="${_tag/-/}"
pkgrel=2
pkgrel=3
pkgdesc='Miscellaneous system utilities for Linux'
url='https://github.com/util-linux/util-linux'
arch=('x86_64')