upg archlinux-keyring glib2 gnupg pam

This commit is contained in:
joborun linux 2022-09-03 15:12:06 +03:00
parent 57bebbaf02
commit 96b01a7bf5
14 changed files with 178 additions and 24 deletions

View File

@ -0,0 +1,56 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=archlinux-keyring
_tag='cdf4b6b45cf96152b694aedb747eb9376d48b963' # git rev-parse ${pkgver}
pkgver=20220831
pkgrel=01
pkgdesc='Arch Linux PGP keyring'
arch=(any)
url='https://gitlab.archlinux.org/archlinux/archlinux-keyring/'
install=$pkgname.install
groups=(base)
depends=(pacman)
makedepends=('git' 'python' 'sequoia-sq' 'pkgconf')
checkdepends=('python-coverage' 'python-pytest')
source=("archlinux-keyring::git+https://gitlab.archlinux.org/archlinux/archlinux-keyring.git#tag=${_tag}?signed")
## before 2022 source=(https://sources.archlinux.org/other/$pkgname/${pkgname}-${pkgver}.tar.gz{,.sig})
build() {
cd archlinux-keyring/
make build
}
check() {
cd archlinux-keyring/
make check
}
package() {
cd archlinux-keyring/
make PREFIX='/usr' DESTDIR="${pkgdir}" install
rm -rf $pkgdir/timers.target.wants
rm -rf $pkgdir/archlinux-keyring-wkd-sync.timer
rm -rf $pkgdir/archlinux-keyring-wkd-sync.service
}
#---- license gpg-key sha256sums ----
license=(GPL3)
validpgpkeys=('02FD1C7A934E614545849F19A6234074498E9CEE' # Christian Hesse <eworm@archlinux.org>
'C7E7849466FE2358343588377258734B41C31549' # David Runge <dvzrv@archlinux.org>
'4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC' # Pierre Schmitz <pierre@archlinux.org>
'CFA6AF15E5C74149FC1D8C086D1655C14CE1C13E' # Florian Pritz <bluewind@archlinux.org>
'ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini <grazzolini@archlinux.org>
'E240B57E2C4630BA768E2F26FC1B547C8D8172C8' # Levente Polyak <anthraxx@archlinux.org>
'C100346676634E80C940FB9E9C02FF419FECBE16') # Morten Linderud <foxboron@archlinux.org>
sha256sums=(SKIP)

View File

@ -0,0 +1,43 @@
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
pkgname=archlinux-keyring
_tag='cdf4b6b45cf96152b694aedb747eb9376d48b963' # git rev-parse ${pkgver}
pkgver=20220831
pkgrel=1
pkgdesc='Arch Linux PGP keyring'
arch=('any')
url='https://gitlab.archlinux.org/archlinux/archlinux-keyring/'
license=('GPL3')
groups=('base-devel')
install=$pkgname.install
depends=('pacman')
makedepends=('git' 'python' 'sequoia-sq' 'pkgconf' 'systemd')
checkdepends=('python-coverage' 'python-pytest')
source=("archlinux-keyring::git+https://gitlab.archlinux.org/archlinux/archlinux-keyring.git#tag=${_tag}?signed")
sha256sums=('SKIP')
validpgpkeys=('02FD1C7A934E614545849F19A6234074498E9CEE' # Christian Hesse <eworm@archlinux.org>
'C7E7849466FE2358343588377258734B41C31549' # David Runge <dvzrv@archlinux.org>
'4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC' # Pierre Schmitz <pierre@archlinux.org>
'CFA6AF15E5C74149FC1D8C086D1655C14CE1C13E' # Florian Pritz <bluewind@archlinux.org>
'ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini <grazzolini@archlinux.org>
'E240B57E2C4630BA768E2F26FC1B547C8D8172C8' # Levente Polyak <anthraxx@archlinux.org>
'C100346676634E80C940FB9E9C02FF419FECBE16') # Morten Linderud <foxboron@archlinux.org>
build() {
cd archlinux-keyring/
make build
}
check() {
cd archlinux-keyring/
make check
}
package() {
cd archlinux-keyring/
make PREFIX='/usr' DESTDIR="${pkgdir}" install
}

View File

@ -0,0 +1,12 @@
post_upgrade() {
if usr/bin/pacman-key -l >/dev/null 2>&1; then
usr/bin/pacman-key --populate archlinux
usr/bin/pacman-key --updatedb
fi
}
post_install() {
if [ -x usr/bin/pacman-key ]; then
post_upgrade
fi
}

1
archlinux-keyring/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,archlinux-keyring}

5
archlinux-keyring/deps Normal file
View File

@ -0,0 +1,5 @@
git
sequoia-sq
python-coverage
python-pytest

1
archlinux-keyring/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-keys 6D42BDD116E0068F

4
archlinux-keyring/time Normal file
View File

@ -0,0 +1,4 @@
real 1m12.492s
user 0m28.579s
sys 0m5.551s

View File

@ -9,7 +9,7 @@
#pkgname=(glib2 glib2-docs)
pkgname=glib2
pkgver=2.72.3
pkgrel=02
pkgrel=03
# this is a waste of resources rebuilding this for the shake of catching up
# to arch's late decision to be building debug symbol packages along with the core pkg
# like void does with the -devel pkgs. We are not going to build such debug pkgs, if you
@ -47,8 +47,9 @@ prepare() {
build() {
# Produce more debug info: GLib has a lot of useful macros
CFLAGS+=' -g3'
CXXFLAGS+=' -g3'
# use fat LTO objects for static libraries
CFLAGS+=' -ffat-lto-objects -g3'
CXXFLAGS+=' -ffat-lto-objects -g3'
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
arch-meson glib build \
--default-library both \

View File

@ -4,7 +4,7 @@
pkgbase=glib2
pkgname=(glib2 glib2-docs)
pkgver=2.72.3
pkgrel=2
pkgrel=3
pkgdesc="Low level core library"
url="https://wiki.gnome.org/Projects/GLib"
license=(LGPL)
@ -38,8 +38,9 @@ prepare() {
build() {
# Produce more debug info: GLib has a lot of useful macros
CFLAGS+=' -g3'
CXXFLAGS+=' -g3'
# use fat LTO objects for static libraries
CFLAGS+=' -ffat-lto-objects -g3'
CXXFLAGS+=' -ffat-lto-objects -g3'
CFLAGS+=" -DG_DISABLE_CAST_CHECKS"
arch-meson glib build \

View File

@ -6,7 +6,7 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gnupg
pkgver=2.2.38
pkgver=2.2.39
pkgrel=01
pkgdesc='Complete and free implementation of the OpenPGP standard w/o systemd'
url='https://www.gnupg.org/'
@ -86,8 +86,13 @@ validpgpkeys=(5B80C5754298F0CB55D8ED6ABCEF7E294B092E28 # Andre Heinecke (Release
AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD # Niibe Yutaka (GnuPG Release Key)
02F38DFF731FF97CB039A1DA549E695E905BA208) # GnuPG.com (Release Signing Key 2021)
sha256sums=(f02bd9853ea25d7bc3051a5725fb8b455f2481cffb498c707b78cf4380fe97ea # gnupg-2.2.38.tar.bz2
16afe86d819ca7bbdab573e0c4ec665c79004c03ada90f0f5454fc39723518f1 # gnupg-2.2.38.tar.bz2.sig
sha256sums=(ab74db6685f026d7c0a10b527ecddecd608606a1691d15fda5d0a7f7d27e4c2f # gnupg-2.2.39.tar.bz2
ab13c7a340f2ee3784366f74619a3035bfeb6f0b40e8836630e892b27f03c41e # gnupg-2.2.39.tar.bz2.sig
02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc # drop-import-clean.patch
22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d) # avoid-beta-warning.patch
b2sums=('a9e31830f3ef9ec6d8d461a85fcbe4b91bcac9607d3b5f13f5edc0c54505afb6c6c119cd397023b1378d96c7d0f15c0d60da1d15721e9a18eb3ea8c7b69fba83'
'SKIP'
'd598015e7f27b27840667d1656c083b4ad85d6acdd312e9929854067313a5f28415ee7eecf4d84a4b8da0385b667aaa01a9743461f5c785402a56c238274e376'
'7ea069e81e2d91a3154bcb62516b4b599f34596de277f95ad1ccaba73869c4f84f94f063b65026ba0bc8a72c0fd8e8e182b82346964f67ea78166b6399c923c5')

View File

@ -7,7 +7,7 @@
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=gnupg
pkgver=2.2.38
pkgver=2.2.39
pkgrel=1
pkgdesc='Complete and free implementation of the OpenPGP standard'
url='https://www.gnupg.org/'
@ -35,11 +35,11 @@ source=(
'drop-import-clean.patch'
'avoid-beta-warning.patch'
)
sha256sums=('f02bd9853ea25d7bc3051a5725fb8b455f2481cffb498c707b78cf4380fe97ea'
sha256sums=('ab74db6685f026d7c0a10b527ecddecd608606a1691d15fda5d0a7f7d27e4c2f'
'SKIP'
'02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc'
'22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d')
b2sums=('249fd6502a1607d1881fd97e4a97a1a3557da26929b67424bafcf29b5ef1588c9295347c5be497a8485dd61755bfe40b4f0232e0f1f67d2517c69613c6080da1'
b2sums=('a9e31830f3ef9ec6d8d461a85fcbe4b91bcac9607d3b5f13f5edc0c54505afb6c6c119cd397023b1378d96c7d0f15c0d60da1d15721e9a18eb3ea8c7b69fba83'
'SKIP'
'd598015e7f27b27840667d1656c083b4ad85d6acdd312e9929854067313a5f28415ee7eecf4d84a4b8da0385b667aaa01a9743461f5c785402a56c238274e376'
'7ea069e81e2d91a3154bcb62516b4b599f34596de277f95ad1ccaba73869c4f84f94f063b65026ba0bc8a72c0fd8e8e182b82346964f67ea78166b6399c923c5')

View File

@ -0,0 +1,29 @@
From faedc1669cb4862020b572fdd013fbe7f5fb925c Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Fri, 2 Sep 2022 13:37:51 +0200
Subject: [PATCH 1/1] kern/efi/mm: increase default heap size
The new dynamic memory allocation slows down grub startup. Try to
fix / work around by increasing the default heap size.
Signed-off-by: Christian Hesse <mail@eworm.de>
---
grub-core/kern/efi/mm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/kern/efi/mm.c b/grub-core/kern/efi/mm.c
index d290c9a76..598e6b6a2 100644
--- a/grub-core/kern/efi/mm.c
+++ b/grub-core/kern/efi/mm.c
@@ -39,7 +39,7 @@
#define MEMORY_MAP_SIZE 0x3000
/* The default heap size for GRUB itself in bytes. */
-#define DEFAULT_HEAP_SIZE 0x100000
+#define DEFAULT_HEAP_SIZE 0x1000000
static void *finish_mmap_buf = 0;
static grub_efi_uintn_t finish_mmap_size = 0;
--
2.37.3

View File

@ -2,4 +2,3 @@ bison
gettext

View File

@ -1,12 +1,13 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=pam
pkgver=1.5.2
pkgrel=01
pkgrel=02
pkgdesc="PAM (Pluggable Authentication Modules) library - w/o systemd"
arch=('x86_64')
url="http://linux-pam.org"
@ -48,27 +49,23 @@ package() {
# remove doc which is not used anymore
# FS #40749
rm "$pkgdir"/usr/share/doc/Linux-PAM/sag-pam_userdb.html
# rm $pkgdir/usr/share/doc/Linux-PAM/sag-pam_userdb.html
rm $pkgdir/usr/lib/systemd/system/pam_namespace.service
}
## added to Arch's PKGBUILD to remove this useless file ##
post_install() {
# Fix unix_chkpwd perms.
chmod 4755 ${DESTDIR}/usr/bin/unix_chkpwd
rm -r ${DESTDIR}/usr/lib/systemd
vlicense COPYING LICENSE
}
#---- license gpg-key sha256sums ----
license=('GPL2')
validpgpkeys=(
'8C6BFD92EE0F42EDF91A6A736D1A7F052E5924BB' # Thorsten Kukuk
'296D6F29A020808E8717A8842DB5BD89A340AEB7' #Dimitry V. Levin <ldv@altlinux.org>
)
validpgpkeys=(8C6BFD92EE0F42EDF91A6A736D1A7F052E5924BB # Thorsten Kukuk
296D6F29A020808E8717A8842DB5BD89A340AEB7) #Dimitry V. Levin <ldv@altlinux.org>
sha256sums=(e4ec7131a91da44512574268f493c6d8ca105c87091691b8e9b56ca685d4f94d # Linux-PAM-1.5.2.tar.xz
f388f9ea16a3cf541e71d452f024b83e62bf6391bcdca509d7e5027a62c07fd8 # Linux-PAM-1.5.2.tar.xz.asc
5631f224e90c4f0459361c2a5b250112e3a91ba849754bb6f67d69d683a2e5ac) # pam.tmpfiles