upg tzdata linux-lts mkinitcpio glibc eudev

moved from jobextra guile libxml2 libbpf gc
This commit is contained in:
joborun linux 2022-10-29 21:07:11 +03:00
parent 85d4ba641b
commit d0ef2682c8
47 changed files with 857 additions and 160 deletions

View File

@ -1,47 +1,29 @@
#!/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 |---------------------------------------
pkgbase=eudev
pkgname=(eudev libeudev)
pkgver=3.2.11
pkgrel=03
pkgrel=04
_udev_ver=243
# This is the old official gentoo fork source location
#url="https://github.com/gentoo/eudev"
#source=("git+https://anongit.gentoo.org/git/proj/eudev.git")
url="https://github.com/eudev-project/eudev/releases/download"
source=($url/v$pkgver/$pkgbase-$pkgver.tar.gz{,.asc}
initcpio_hooks
initcpio_install
udev-hwdb.hook
)
udev-hwdb.hook )
groups=('base')
arch=(x86_64)
pkgname=(eudev libeudev)
makedepends=(
gobject-introspection \
gperf \
gtk-doc \
intltool \
kmod \
autoconf \
automake \
gawk \
gcc \
glib2 \
libxslt \
libtool \
linux-lts-headers \
m4 \
make \
sed \
util-linux
)
makedepends=( gobject-introspection gperf gtk-doc intltool kmod gawk gcc glib2 libxslt libtool m4 make sed util-linux) # autoconf automake linux-lts-headers )
options=( !staticlibs !libtool)
prepare(){
@ -75,43 +57,26 @@ build() {
package_eudev() {
pkgdesc="The userspace dev tools (udev) forked by Gentoo"
backup=(
'etc/udev/udev.conf'
'usr/lib/udev/rules.d/80-net-name-slot.rules'
)
depends=(
libeudev
kbd
kmod
hwdata
util-linux
)
depends=(libeudev kbd kmod hwdata util-linux)
optdepends=(
'upower-pm-utils: pm-utils support'
'libgudev: GObject bindings for libudev'
)
conflicts=(
eudev-git
udev
eudev-libgudev
)
replaces=(
udev
mdevd
smdev
nldev
)
provides=(
"udev=$_udev_ver"
)
provides=("udev=${_udev_ver}" "eudev")
conflicts=(eudev-git udev eudev-libgudev)
replaces=(udev mdevd smdev nldev)
cd $pkgbase-$pkgver
make DESTDIR="$pkgdir" install
rm -rv "$pkgdir"/usr/lib/pkgconfig
rm -v "$pkgdir"/usr/include/libudev.h
rm -v "$pkgdir"/usr/lib/libudev*.{so*,a}
@ -122,20 +87,11 @@ package_eudev() {
}
package_libeudev() {
pkgdesc="Eudev client libraries"
depends=(
glib2
glibc
)
conflicts=(libudev-zero)
replaces=(
libudev-zero
)
provides=(
"libudev=$_udev_ver"
libudev.so
)
pkgdesc="eudev client libraries"
depends=(glib2 glibc)
conflicts=(libudev-zero 'libudev.so' 'libeudev-git')
replaces=(libudev-zero libudev)
provides=("libudev=$_udev_ver" 'libudev.so')
cd $pkgbase-$pkgver
@ -153,3 +109,5 @@ sha256sums=(19847cafec67897da855fde56f9dc7d92e21c50e450aa79068a7e704ed44558b # e
892ce43218e0a458981bbce451252c8987dc398e60b8de288e7542b8f2409c13 # initcpio_hooks
77dd1fd318b4456409aceb077f060b87944defb07cf39d29ad1968dc6f361875 # initcpio_install
846e9ddbb95c8394ba7efe75107cc1308426921bc042f5d6b48fa4c2dcbac151) # udev-hwdb.hook

View File

@ -9,7 +9,7 @@
pkgbase=eudev
pkgver=3.2.11
pkgrel=2
pkgrel=3
udevver=243
url="https://github.com/eudev-project/eudev"
@ -98,7 +98,7 @@ package_eudev() {
depends=(
'kbd'
'kmod'
'hwids'
'hwdata'
'util-linux'
'libeudev'
)

View File

@ -1,2 +1,5 @@
autoconf automake linux-lts-headers
gobject-introspection gperf gtk-doc intltool
gobject-introspection
gtk-doc
intltool
gperf

50
gc/PKGBUILD Normal file
View File

@ -0,0 +1,50 @@
#!/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=gc
pkgver=8.2.2
pkgrel=01
pkgdesc="A garbage collector for C and C++"
arch=('x86_64')
groups=( jobbot )
url="https://www.hboehm.info/gc/"
depends=('gcc-libs')
source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
# gc-missing-header.patch::https://patch-diff.githubusercontent.com/raw/ivmai/bdwgc/pull/389.patch)
# gc-missing-header.patch::https://github.com/ivmai/bdwgc/commit/c876dc2b.patch)
#prepare() {
# cd $pkgname-$pkgver
# patch -p1 < ../gc-missing-header.patch # Install missing header
# ./autogen.sh
#}
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --enable-cplusplus --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
sed 's|GC_MALLOC 1L|gc 3|g' doc/gc.man |
install -Dm644 /dev/stdin "${pkgdir}/usr/share/man/man3/gc.3"
}
#---- license gpg-key sha256sums ----
license=('GPL')
sha256sums=(f30107bcb062e0920a790ffffa56d9512348546859364c23a14be264b38836a0) # gc-8.2.2.tar.gz

32
gc/PKGBUILD-arch Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Daniel Isenmann <daniel [at] archlinux.org>
# Contributor: dorphell <dorphell@gmx.net>
pkgname=gc
pkgver=8.2.2
pkgrel=1
pkgdesc="A garbage collector for C and C++"
arch=('x86_64')
url="https://www.hboehm.info/gc/"
license=('GPL')
depends=('gcc-libs')
source=(https://github.com/ivmai/bdwgc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('4a7b26789ce22ab72bfaadf3029362c5fe26737df1e856e43db7d9b24ee8acf625e35d596bb3f698f91d6a5ddfb6c45a952a1dbd18d47359569696a544c9c248')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --enable-cplusplus --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
sed 's|GC_MALLOC 1L|gc 3|g' doc/gc.man |
install -Dm644 /dev/stdin "${pkgdir}/usr/share/man/man3/gc.3"
}

1
gc/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,gc*.tar.gz,*.patch}

4
gc/deps Normal file
View File

@ -0,0 +1,4 @@
autoconf
automake

6
gc/time Normal file
View File

@ -0,0 +1,6 @@
real 0m25.338s
user 0m27.131s
sys 0m5.771s

View File

@ -11,8 +11,8 @@
pkgbase=glibc
pkgname=(glibc lib32-glibc)
pkgver=2.36
_commit=da5f134f6d59701a3a6119309ae91c93c3fa5b51
pkgrel=05
_commit=2bd815d8347851212b9a91dbdca8053f4dbdac87
pkgrel=06
arch=(x86_64)
url='https://www.gnu.org/software/libc'
makedepends=(git gd lib32-gcc-libs python)
@ -51,8 +51,8 @@ build() {
--enable-multi-arch
--enable-stack-protector=strong
--enable-systemtap
--disable-profile
--disable-crypt
--disable-profile
--disable-werror
)
@ -232,6 +232,5 @@ sha256sums=(SKIP
c27424154a6096ae32c0824b785e05de6acef33d9224fd6147d1936be9b4962b # lib32-glibc.conf
774061aff612a377714a509918a9e0e0aafce708b87d2d7e06b1bd1f6542fe70 # sdt.h
cdc234959c6fdb43f000d3bb7d1080b0103f4080f5e67bcfe8ae1aaf477812f0 # sdt-config.h
# f5df8fc95592cce7825744aeb8c9699a5b4b5b7ccf7bcf554355167c3a7e375e # disable-clone3.diff
bb2fc5a38158d339a51a4aaab3fe2d5cc496221f77cfce6f74768db91cb5ec1e) # reenable_DT_HASH.patch

View File

@ -9,8 +9,8 @@
pkgbase=glibc
pkgname=(glibc lib32-glibc)
pkgver=2.36
_commit=da5f134f6d59701a3a6119309ae91c93c3fa5b51
pkgrel=5
_commit=2bd815d8347851212b9a91dbdca8053f4dbdac87
pkgrel=6
arch=(x86_64)
url='https://www.gnu.org/software/libc'
license=(GPL LGPL)
@ -56,8 +56,8 @@ build() {
--enable-multi-arch
--enable-stack-protector=strong
--enable-systemtap
--disable-profile
--disable-crypt
--disable-profile
--disable-werror
)

53
guile/PKGBUILD Normal file
View File

@ -0,0 +1,53 @@
#!/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=guile
pkgver=2.2.7
pkgrel=03
pkgdesc='Portable, embeddable Scheme implementation written in C'
url='https://www.gnu.org/software/guile/'
arch=(x86_64)
groups=( jobbot )
depends=(gmp libltdl ncurses texinfo libunistring gc libffi)
source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
prepare() {
cd $pkgname-$pkgver
sed -e '/test-out-of-memory/d' -i test-suite/standalone/Makefile.am # Disable test known to fail https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966301
autoreconf -if
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-static \
--disable-error-on-warning
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
#check() {
# cd $pkgname-$pkgver
# make check
#}
package() {
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm
}
#---- license gpg-key sha256sums ----
license=(GPL)
validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès <ludo@gnu.org>
'FF478FB264DE32EC296725A3DDC0F5358812F8F2' # Andy Wingo
'4FD4D288D445934E0A14F9A5A8803732E4436885') # Andy Wingo <wingo@pobox.com>"
sha256sums=(44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007 # guile-2.2.7.tar.gz
cf4b0fcf9859abf7048876f48f01ec716b3d6d912385dbbf2197eaa42dafaa08) #guile-2.2.7.tar.gz.sig

43
guile/PKGBUILD-arch Normal file
View File

@ -0,0 +1,43 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=guile
pkgver=2.2.7
pkgrel=2
pkgdesc='Portable, embeddable Scheme implementation written in C'
url='https://www.gnu.org/software/guile/'
arch=(x86_64)
license=(GPL)
depends=(gmp libltdl ncurses texinfo libunistring gc libffi)
source=(https://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
validpgpkeys=('3CE464558A84FDC69DB40CFB090B11993D9AEBB5' # Ludovic Courtès <ludo@gnu.org>
'FF478FB264DE32EC296725A3DDC0F5358812F8F2' # Andy Wingo
'4FD4D288D445934E0A14F9A5A8803732E4436885') # Andy Wingo <wingo@pobox.com>"
sha256sums=('44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007'
'SKIP')
prepare() {
cd $pkgname-$pkgver
sed -e '/test-out-of-memory/d' -i test-suite/standalone/Makefile.am # Disable test known to fail https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966301
autoreconf -if
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--disable-static \
--disable-error-on-warning
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/libguile-2.?.so.*-gdb.scm
}

1
guile/clean Normal file
View File

@ -0,0 +1 @@
rm -rvf {src,pkg,guil*tar.gz*}

4
guile/deps Normal file
View File

@ -0,0 +1,4 @@
autoconf
automake
gettext

1
guile/key Normal file
View File

@ -0,0 +1 @@
gpg -v --recv-key 090B11993D9AEBB5

1
guile/note Normal file
View File

@ -0,0 +1 @@
disabled checks as some of them fail, will try next edition

4
guile/time Normal file
View File

@ -0,0 +1,4 @@
real 1m32.750s
user 2m20.658s
sys 0m13.843s

38
libbpf/PKGBUILD Normal file
View File

@ -0,0 +1,38 @@
#!/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 |---------------------------------------
# when libbpf is upgraded iproute2 should be rebuilt "afterwards" based on the new libbpf
pkgname=libbpf
pkgver=1.0.1
pkgrel=03
pkgdesc='Library for loading eBPF programs and reading and manipulating eBPF objects from user-space'
url='https://github.com/libbpf/libbpf'
arch=('x86_64')
depends=('glibc' 'libelf' 'linux-api-headers')
makedepends=('rsync')
provides=('libbpf.so')
#options=('debug') ### uncomment this to have the debug pkg produced
source=(https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
build() {
cd ${pkgname}-${pkgver}
make -C src
}
package() {
cd ${pkgname}-${pkgver}
make -C src DESTDIR="${pkgdir}" LIBSUBDIR=lib install install_headers
install -Dm 644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
#---- license gpg-key sha256sums ----
license=('LGPL2.1')
sha256sums=(3d6afde67682c909e341bf194678a8969f17628705af25f900d5f68bd299cb03) # libbpf-1.0.1.tar.gz

31
libbpf/PKGBUILD-arch Normal file
View File

@ -0,0 +1,31 @@
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Adrian Bacircea <adrian.bacircea@gmail.com>
pkgname=libbpf
pkgver=1.0.1
pkgrel=1
pkgdesc='Library for loading eBPF programs and reading and manipulating eBPF objects from user-space'
url='https://github.com/libbpf/libbpf'
arch=('x86_64')
license=('LGPL2.1')
depends=('glibc' 'libelf' 'linux-api-headers')
makedepends=('rsync')
provides=('libbpf.so')
options=('debug')
source=(https://github.com/libbpf/libbpf/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('2ee6d85c0a33f723e5b93ddddf97118e67754c9e44ca0449ceb49126820f89fea9ddc282a5add764dc4da090af6164cc6641b497489253d192ed01bc397df9be')
b2sums=('24e43f9a2b20e6f708b74ff50c8ce243546681201b1d72d6b35a95dd85b59032069814792739d3b2a6adaa007958a142a687e901e36a193fd02cdca69926d08f')
build() {
cd ${pkgname}-${pkgver}
make -C src
}
package() {
cd ${pkgname}-${pkgver}
make -C src DESTDIR="${pkgdir}" LIBSUBDIR=lib install install_headers
install -Dm 644 LICENSE* -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
# vim: ts=2 sw=2 et:

1
libbpf/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,libbpf*.gz}

3
libbpf/deps Normal file
View File

@ -0,0 +1,3 @@
rsync

6
libbpf/time Normal file
View File

@ -0,0 +1,6 @@
real 0m17.089s
user 0m16.559s
sys 0m0.690s

99
libxml2/PKGBUILD Normal file
View File

@ -0,0 +1,99 @@
#!/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 |---------------------------------------
#pkgbase=libxml2
#pkgname=(libxml2 libxml2-docs)
pkgname=libxml2
pkgver=2.10.3
pkgrel=02
pkgdesc="XML C parser and toolkit"
url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
arch=(x86_64)
depends=(zlib xz icu readline ncurses)
makedepends=(python git)
optdepends=('python: Python bindings')
provides=(libxml2.so)
#options=(debug) ## uncomment this to have the debug pkg produced
_commit=f507d167f1755b7eaea09fb1a44d29aab828b6d1 # tags/v2.10.3^0
source=("git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit"
libxml2-2.9.8-python3-unicode-errors.patch
no-fuzz.diff
https://www.w3.org/XML/Test/xmlts20130923.tar.gz)
pkgver() {
cd libxml2
git describe --tags | sed 's/-rc/rc/;s/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd libxml2
# Use xmlconf from conformance test suite
ln -s ../xmlconf
# https://src.fedoraproject.org/rpms/libxml2/tree/rawhide
git apply -3 ../libxml2-2.9.8-python3-unicode-errors.patch
# Do not run fuzzing tests
git apply -3 ../no-fuzz.diff
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd libxml2
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-threads \
--with-history \
--with-python=/usr/bin/python \
--with-icu \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd libxml2
make check
}
#package_libxml2() {
package() {
cd libxml2
make DESTDIR="$pkgdir" install
mkdir -p ../doc/usr/share
mv "$pkgdir"/usr/share/{doc,gtk-doc} -t ../doc/usr/share
install -Dm644 Copyright -t "$pkgdir/usr/share/licenses/$pkgname"
}
#package_libxml2-docs() {
# pkgdesc+=" (documentation)"
# depends=()
#
# mv doc/* "$pkgdir"
#}
#---- license gpg-key sha256sums ----
# license=(MIT) ... 2.9.14
license=(custom:MIT) # 2.10.1
sha256sums=(SKIP
3d07a50fc0963bda05fc5269dedc51f108260699e25e455bb31f6d80c2a9cada # libxml2-2.9.8-python3-unicode-errors.patch
3908e7a53b20109bdfde143238f36e22a154dbb7d363b634e54c0a18328f4656 # no-fuzz.diff
9b61db9f5dbffa545f4b8d78422167083a8568c59bd1129f94138f936cf6fc1f) # xmlts20130923.tar.gz

101
libxml2/PKGBUILD-arch Normal file
View File

@ -0,0 +1,101 @@
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: John Proctor <jproctor@prium.net>
pkgbase=libxml2
pkgname=(libxml2 libxml2-docs)
pkgver=2.10.3
pkgrel=2
pkgdesc="XML C parser and toolkit"
url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home"
arch=(x86_64)
license=(custom:MIT)
depends=(
icu
ncurses
readline
xz
zlib
)
makedepends=(
git
python
)
options=(debug)
_commit=f507d167f1755b7eaea09fb1a44d29aab828b6d1 # tags/v2.10.3^0
source=("git+https://gitlab.gnome.org/GNOME/libxml2.git#commit=$_commit"
libxml2-2.9.8-python3-unicode-errors.patch
no-fuzz.diff
https://www.w3.org/XML/Test/xmlts20130923.tar.gz)
sha256sums=('SKIP'
'3d07a50fc0963bda05fc5269dedc51f108260699e25e455bb31f6d80c2a9cada'
'3908e7a53b20109bdfde143238f36e22a154dbb7d363b634e54c0a18328f4656'
'9b61db9f5dbffa545f4b8d78422167083a8568c59bd1129f94138f936cf6fc1f')
pkgver() {
cd libxml2
git describe --tags | sed 's/-rc/rc/;s/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd libxml2
# Use xmlconf from conformance test suite
ln -s ../xmlconf
# https://src.fedoraproject.org/rpms/libxml2/tree/rawhide
git apply -3 ../libxml2-2.9.8-python3-unicode-errors.patch
# Do not run fuzzing tests
git apply -3 ../no-fuzz.diff
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd libxml2
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-threads \
--with-history \
--with-python=/usr/bin/python \
--with-icu \
--disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd libxml2
make check
}
package_libxml2() {
optdepends=('python: Python bindings')
provides=(libxml2.so)
cd libxml2
make DESTDIR="$pkgdir" install
mkdir -p ../doc/usr/share
mv "$pkgdir"/usr/share/{doc,gtk-doc} -t ../doc/usr/share
install -Dm644 Copyright -t "$pkgdir/usr/share/licenses/$pkgname"
}
package_libxml2-docs() {
pkgdesc+=" (documentation)"
depends=()
mv doc/* "$pkgdir"
install -Dm644 libxml2/Copyright -t "$pkgdir/usr/share/licenses/$pkgname"
}
# vim:set sw=2 sts=-1 et:

1
libxml2/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,libxml2,xml*.tar.gz*}

6
libxml2/deps Normal file
View File

@ -0,0 +1,6 @@
python git
autoconf
automake
gettext

View File

@ -0,0 +1,43 @@
diff --git i/python/libxml.c w/python/libxml.c
index e071e824..9d476f4f 100644
--- i/python/libxml.c
+++ w/python/libxml.c
@@ -1621,28 +1621,37 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNUSED void *ctx, const char *msg,
PyObject *message;
PyObject *result;
char str[1000];
+ unsigned char *ptr = (unsigned char *)str;
#ifdef DEBUG_ERROR
printf("libxml_xmlErrorFuncHandler(%p, %s, ...) called\n", ctx, msg);
#endif
if (libxml_xmlPythonErrorFuncHandler == NULL) {
va_start(ap, msg);
vfprintf(stderr, msg, ap);
va_end(ap);
} else {
va_start(ap, msg);
if (vsnprintf(str, 999, msg, ap) >= 998)
str[999] = 0;
va_end(ap);
+#if PY_MAJOR_VERSION >= 3
+ /* Ensure the error string doesn't start at UTF8 continuation. */
+ while (*ptr && (*ptr & 0xc0) == 0x80)
+ ptr++;
+#endif
+
list = PyTuple_New(2);
PyTuple_SetItem(list, 0, libxml_xmlPythonErrorFuncCtxt);
Py_XINCREF(libxml_xmlPythonErrorFuncCtxt);
- message = libxml_charPtrConstWrap(str);
+ message = libxml_charPtrConstWrap(ptr);
PyTuple_SetItem(list, 1, message);
result = PyEval_CallObject(libxml_xmlPythonErrorFuncHandler, list);
+ /* Forget any errors caused in the error handler. */
+ PyErr_Clear();
Py_XDECREF(list);
Py_XDECREF(result);
}

19
libxml2/no-fuzz.diff Normal file
View File

@ -0,0 +1,19 @@
diff --git i/Makefile.am w/Makefile.am
index 316109b1..3ef672fe 100644
--- i/Makefile.am
+++ w/Makefile.am
@@ -2,12 +2,12 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = include . doc example fuzz xstc
+SUBDIRS = include . doc example xstc
if WITH_PYTHON
SUBDIRS += python
endif
-DIST_SUBDIRS = include . doc example fuzz python xstc
+DIST_SUBDIRS = include . doc example python xstc
AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include -DSYSCONFDIR='"$(sysconfdir)"'

24
libxml2/no-fuzz.patch Normal file
View File

@ -0,0 +1,24 @@
diff --git i/Makefile.am w/Makefile.am
index a9284b95..3d7b344d 100644
--- i/Makefile.am
+++ w/Makefile.am
@@ -2,9 +2,9 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = include . doc example fuzz xstc $(PYTHON_SUBDIR)
+SUBDIRS = include . doc example xstc $(PYTHON_SUBDIR)
-DIST_SUBDIRS = include . doc example fuzz python xstc
+DIST_SUBDIRS = include . doc example python xstc
AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include
@@ -210,7 +210,6 @@ runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
$(CHECKER) ./runxmlconf$(EXEEXT)
@(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
$(MAKE) tests ; fi)
- @cd fuzz; $(MAKE) tests
check: all runtests

6
libxml2/time Normal file
View File

@ -0,0 +1,6 @@
real 1m50.525s
user 1m39.923s
sys 0m6.988s

View File

@ -6,17 +6,13 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgbase=linux-lts
pkgver=5.10.148
pkgver=5.10.151
pkgrel=01
pkgdesc='LTS Linux 5.10 w/o zstd & ipv6'
_url="https://www.kernel.org/"
arch=(x86_64)
makedepends=(bc kmod libelf pahole cpio perl tar xz
xmlto python-sphinx python-sphinx_rtd_theme graphviz imagemagick) # python-six
# pahole must be reverted to 1.23 to build, 1.24 is a dependency of linux 6.0
# which has a bug against older kernels. It is unclear at this point why or how Arch builds
# the kernels, aka linux-lts 5.15 having the same problem.
#
options=('!strip')
_srcname=linux-$pkgver
url="https://cdn.kernel.org/pub/linux/kernel"
@ -206,10 +202,9 @@ validpgpkeys=(ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds
# https://cdn.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc
sha256sums=(12523f6be221067094ec541b196bce70493f7f44f031b3c4711d82e290c6e956 # linux-5.10.148.tar.xz
48b6ea23ba20b2b11581a45ad700f166a7af0d7e36b6bed5a7453c587ba04d24 # linux-5.10.148.tar.sign
c8ef0a90c56df2b7c6bc7339d404b8d8cbd929dd6ce96a8a2239fe6ef41f01fd # config
9590a77ca0f265381368d6aa732e55ddb1b08ebb3e7786dedfbc309bac210741 # sha256sums
96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e) # 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch
# 0aaa9111f477ef766d84e2c8173c28b2c06b06b090372e18da8e77cddabc4bdb) # 0002-fix-pahole.patch
sha256sums=(dd8d6d0b0dad2be98f5f07bcd4cf7780a60a7de6367fdd2f5cd8f48dabeed1fa # linux-5.10.151.tar.xz
0530067b6f852354d3bc69e2d3bb27dbbe9322df41ed1fce8ac6b69ae74ed4cf # linux-5.10.151.tar.sign
4648b2d55392eac078805f2fc3d4273714e56b0ac197f40df6ed0941cffb3b67 # config
66082125a4f1a2bcbc7f35c5a84a2d5ed648f1d8fbfd4a6138a0628f18524581 # sha256sums
96a72e1652314215da7140956c3abcf495cafd00811eda3cf4ce03ec5f791f1e) # 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch

View File

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.10.148 Kernel Configuration
# Linux/x86 5.10.151 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.2.0"
CONFIG_CC_IS_GCC=y

View File

@ -305,6 +305,8 @@ f26bc5a112260041ee4cf30f989a9b7ef4b836de18d9520000f89219870005fb ChangeLog-5.4.
0242022d4479755a7eed150f2a343beac01777949b69d164264de5e5a892f0cd ChangeLog-5.4.216
45956ab90c71a43fbe49b76631ab73265e59e76771f729e34dd150940da96135 ChangeLog-5.4.217
b2f3769ed7a3b4ab37caeed3615cd9db010d22b1e2bb8110518a09049ecf2a7d ChangeLog-5.4.218
647a0b86bb3baaaf7b7222ebb9822abc25acb009c042d64559d909035b2f5d22 ChangeLog-5.4.219
31f193762bbe46f3b606cfb6602941ce6d41bf9d905bc39cac8af4b739160d07 ChangeLog-5.4.220
b06ab2b602fc03f3a5ee3e5bbb93b4d1a6ed33f09440ba57fc2f90f7f5339576 ChangeLog-5.5
70703385d5a64eb604eb7db844319fd9b6908aea346d2488b5860a7982d6e591 ChangeLog-5.5.1
e77d916573c237b1422b89845f520f416c4a58df7f869eec401a68c6135b9842 ChangeLog-5.5.2
@ -550,6 +552,9 @@ fb141e78d93a4922fb240f385fef61bbdd909c814081325aff1fead1538b2e63 ChangeLog-5.10
6def07cd2e80c569c8b844ca914d98202c104a3f940a927f9fc1a4e13fc21634 ChangeLog-5.10.146
4016fb94e0dc994ab059b953583262fb66fc06be9615e71793c95507c0ef548e ChangeLog-5.10.147
78c31c6bf335fb469d4a4733eabb397c28881d419d87087a86dd828874429557 ChangeLog-5.10.148
0beb4bc98f607bf6b601805d94404c58f9192e0d7065e6b9a2644f6d934d06b4 ChangeLog-5.10.149
ec9b2a3ade9a88c30ef13c6fccb3d2ed21f9a2edb9f9dea63d543c7ea738ff90 ChangeLog-5.10.150
faf3c2f5997061c7f0ba36caf8fa96f6ef790dfea7ff95f56cd1855a394a645e ChangeLog-5.10.151
1b67a4eb91d8009cf5b47521caae0ff1c904e4fb0ec95e4c2562b61a772f3e16 ChangeLog-5.11
61e4714a1413779d4c9bf707de34ca7146714eb787a9078bcd51c8c18489dc7e ChangeLog-5.11.1
548b64c633da18f18021e72b4c9ba3212d699df6c56e9496277285283df300f5 ChangeLog-5.11.2
@ -710,6 +715,7 @@ f0f7168b78ba708e53f42da49506606f8552ecbf52541c32b2b70210e6bedf51 ChangeLog-5.15
594bc50b7bad0e495fad0de35af3fb9664ea13b776ac6548178f6d389f5acd7f ChangeLog-5.15.72
032454d1c6a10706b71ea715a24f3ea0110b1688eb58e75ca55b4ff441171b1c ChangeLog-5.15.73
108053dd1a504c89271b165012ce01c04b9449cd93f737f91fe54ab9bf6c53a0 ChangeLog-5.15.74
d8b6d4bfe07671a80f1ad43519f5a9c65cbd65748e49f4a2d34cea4144877df0 ChangeLog-5.15.75
8973679b5da41c4f9f3a12edf2598bcea3ee4a4988a179f36c4c8d4ec9c96e6f ChangeLog-5.16
694254b586ab67c329bc79a3b0a60f74771b97aebe314aff66c944ec454acb98 ChangeLog-5.16.1
5f029a42102d90a5ca51c2d7d64095dbd846fbf6391582ac9e2f7a791e33b3dd ChangeLog-5.16.2
@ -784,6 +790,7 @@ f87bccd77db370079491176f79a2e9c467f9d55815a347b897fb7d351e8e82c2 ChangeLog-5.19
6ce8677bf490fb0488946cbd407b08a9758638d2aceb754b08849b6c949d1e6b ChangeLog-5.19.14
414db30a96d259d54b54b823081448adeb8f375d241413ac6718c9d43944660b ChangeLog-5.19.15
2cc658f6dc0c20eea5ec7c45f9cc31d7e6adee53b46111f605a87db8e1341f2b ChangeLog-5.19.16
2aa3c1b0a87936048aa7e35ea5ff245342bf49c6ce2018cd0dd413cfc049ba25 ChangeLog-5.19.17
665b3addf94d4f3372c715363f3f893da6e29c9d6114d6e496e2a2fdd921f707 ChangeLog-5.0-rc3
d9dcf8bafdd5778274c3f9d2634500d4cc186f3ba80fc71ea1a1a100aa65ad6f linux-5.0.tar.gz
437b141a6499159f5a7282d5eb4b2be055f8e862ccce44d7464e8759c31a2e43 linux-5.0.tar.xz
@ -1393,6 +1400,10 @@ b4668a2c2ffc983fb820335cc3d7da2c57c8f4946b11786c77b224e756015c2b linux-5.4.217.
2bb826cdf9b2cfce385fb5d51fc8070fe428e467bd3df4ae2a7eb6f0c0cc2e63 linux-5.4.217.tar.xz
1a92d0018f772df918bcf3717c78ee03f24bf7ab76838fab8dc3c3e6c86e4205 linux-5.4.218.tar.gz
3ddd74028537d677b0c02b17cfdf881f4ebddf755526ccb9cd7f988371a9f438 linux-5.4.218.tar.xz
84273991b543f4a2ff2b318fa38aaa1692e5511622cbf38aa9e247ef0c1a86a0 linux-5.4.219.tar.gz
5293ad927269dfb697bc80e9dd95c1d9fd2e4bad7d8422300e012fd31950a261 linux-5.4.219.tar.xz
b57ca8537c10f02ffb005961e4049952fcf5500e15108a9b2457d38ce72ba26d linux-5.4.220.tar.gz
8d2c13d592c223bca74ab260566d5905e9c50a62a55129c7aee1a4d521b80256 linux-5.4.220.tar.xz
b7feea0a1d505f26098d596e6ad6a2e8b476c8f63c52eabf435deab2bb9a5559 linux-5.5.tar.gz
a6fbd4ee903c128367892c2393ee0d9657b6ed3ea90016d4dc6f1f6da20b2330 linux-5.5.tar.xz
8ad23faa72b6a22e3701b90485c0a60c75bd4226c0a438d9cc15e6eb0da2a665 linux-5.5.1.tar.gz
@ -1883,6 +1894,12 @@ d1ab6e7107bdafac7fcfd2cfb96b87ac9f25ebefe066f0945ee8cbdda6d74d87 linux-5.10.146
85253abf097eb5013b988a400eb022eed0e0626e7e0a7daa3ab4b6bcabbced9a linux-5.10.147.tar.xz
881f684b285778e8b574e6d0f53835b7c51cbfa89510c6fda8fea6c8e64d20c5 linux-5.10.148.tar.gz
12523f6be221067094ec541b196bce70493f7f44f031b3c4711d82e290c6e956 linux-5.10.148.tar.xz
d675c60b9822fa2ebe15fd27a51648f36515b2c10168f2cafd1d512ff569fd66 linux-5.10.149.tar.gz
0f6134c537563b9cd0533924e3ce06f577cf874e7a00cf3d8e8b31222ac065d3 linux-5.10.149.tar.xz
d983053971c44f489528664af02d7f0876bcc281a42a2879aece76db5c80e7db linux-5.10.150.tar.gz
5813bc3c5d70b0beb26de4b627baa33554d01bed8c842a2e46072cf03d74dee1 linux-5.10.150.tar.xz
769ae0747002c976ae4e212e705ce5fcb1630dbf47a60e86ac180376f44ecf7a linux-5.10.151.tar.gz
dd8d6d0b0dad2be98f5f07bcd4cf7780a60a7de6367fdd2f5cd8f48dabeed1fa linux-5.10.151.tar.xz
8e7f07e91e9aa0611b749fd1a908dc9d28c7d612f831e9d273427d4442b55f25 linux-5.11.tar.gz
04f07b54f0d40adfab02ee6cbd2a942c96728d87c1ef9e120d0cb9ba3fe067b4 linux-5.11.tar.xz
13c77074922003f9c456dec532020067358849a54877d8bca68157b1a5feb5f7 linux-5.11.1.tar.gz
@ -2203,6 +2220,8 @@ dada7fcc6fa0810300ec6d8e1f75bd4c8c935ca06ed39d74307f2a85674c1140 linux-5.15.72.
a822f09525ae8803453939a91e73f18097a3ba2aec73be4fe9ab314a0131715d linux-5.15.73.tar.xz
2d3c9b0529b8b00a0699762a688a5251beb9223b1216858833d50cc1713409e0 linux-5.15.74.tar.gz
2c1539a2f85b835c36c4a07c8270b52b0bec38fdda7339477d07f0c3af8c4265 linux-5.15.74.tar.xz
52892adb89bb94962047267e71571a35a5270596f89ea0aa9b488a9a70f9e2cf linux-5.15.75.tar.gz
d9a65bdd3659ccf55acf42268a27f7989b1500815ae51223aadbad9aeec45fc6 linux-5.15.75.tar.xz
d4791f2eddeb25c4e6ae0b2f9b3f5fb3fd394d7f9a57fa3e33de6dd9761480f6 linux-5.16.tar.gz
027d7e8988bb69ac12ee92406c3be1fe13f990b1ca2249e226225cd1573308bb linux-5.16.tar.xz
5c91875fd84393b6a8a6352f5f7a2fedbed3708e06dc8cc465a9f5a86d1324f5 linux-5.16.1.tar.gz
@ -2351,6 +2370,8 @@ a91c00edb3d5b9917057677d592446fa70ddf64ada5e33ca3acae73918f4b63a linux-5.19.15.
4686e33847db3ec58e1043bc0c806472aae694b2c413bb7d8da91a5c9a55eb1b linux-5.19.15.tar.xz
9b835ea04b0210ad0748829367acd84e09357c3dd6d0f48e31737a7f21e990ff linux-5.19.16.tar.gz
a1ebaf667e1059ae2d72aa6374a4d6e2febc0b8ccda6a124687acc2ea961e08d linux-5.19.16.tar.xz
f201873920873bcd3c62b4d1bf2091d0ca00ff3c81cb3a1063d38d23058f6062 linux-5.19.17.tar.gz
c93bb384a97ad1f0a4f18e442ce0291242722f78023eca658b22344541f09489 linux-5.19.17.tar.xz
ef6a51451d5d2131ec7a5e30d6ba62b54791b99c9a5f32e4ad4363bc358dc7a1 linux-5.0-rc3.tar.gz
868e8b7b2b4e29976baf413f5b261bd932e40f2e7c0370c965caf72e2c01c92f linux-5.0-rc3.tar.xz
926bbeac621ae1adda57a3499af173e10890c9e0976abbf782933d9ea23c5f42 patch-5.0.xz
@ -2657,6 +2678,8 @@ c99bffd3536fe367f60fd83d243695ce015b694e9837d958eb68a789fc02c695 patch-5.4.214.
4c088333a35dd2be08726ed70d5c3c163be1753b3c3a80a4d52151313e117096 patch-5.4.216.xz
b1a3f68b354dec69d2a4713ca423dabecc286c40f1ee81d78b3425c70c0d739a patch-5.4.217.xz
0e6d67a2db107fb9b6cdf0272076d80782c8a85311a1cd426a2f4c20c9cda97a patch-5.4.218.xz
4949fe7f370226c4bf7abeb185f28c7bcbc8b0ea0cabe8071c7f62b1408b7a12 patch-5.4.219.xz
f087fde8be8bd6dbbaf631263bc4f2babbacfb10fb23166f14596da7b374f703 patch-5.4.220.xz
e082f16aa710285ada2c1376b5509bb3bd49548b60ffca84605ac632caa990db patch-5.5.xz
db575e6dfabeb2ab409e2c56f826a6d52d56b8a3b0c004ae261cabd5af220688 patch-5.5.1.xz
07cbd21a049b0bf5a96d7e0b8272db8e53e9947f0eff06fa2a765bb3b34bc8fa patch-5.5.2.xz
@ -2902,6 +2925,9 @@ c6b9febd27c790f6436c44f1445f901e4a4c303b005a72a2f9ca9d2c713a3334 patch-5.10.144
06db0ccaa45e58fff4aa0fecd1a2d7f53ddb082b5822fd79f55258b387ff0b20 patch-5.10.146.xz
75f09e86840697f8dd159e84052a6a66fc64aeac92b78618cef317b31089a887 patch-5.10.147.xz
e05bfd6b2016cd8cd2332dc8c54b83835c74322bc2d93efbf29788bf9ea140c4 patch-5.10.148.xz
445cd2dd69c0c92904d2ccce5ce21200aa9d36252aaeac44555c472350b84ec8 patch-5.10.149.xz
099a48f7e71e41658b0e88647f5e38cacaff8cc55ebd215c42ac2815cd02e6d3 patch-5.10.150.xz
5d7856715c0ce86e18c0e22a92fa96d438855eaa4867e2e8de9fb0593e7b44e7 patch-5.10.151.xz
5b2710f30dd7b0c6f886a2042a76a4e640d3a690a57817d6ac3da49d5e1d96e9 patch-5.11.xz
8808ee2c7e904f2fb3c830b41c8bbc2b2ad37638ee95fdfde68167f0be35dd3f patch-5.11.1.xz
7a6d20308aed903a81a67e76e7c6cd294fb7cbb87f887e2168097da865def8ba patch-5.11.2.xz
@ -3062,6 +3088,7 @@ f3350d8187d35ba2e915694ee700b83e072bb054381631999ee23e49227683ad patch-5.15.71.
47f56015c8e255d8ceb4ff2ada1a0215492365e73e2774c17a0246d31bc11d28 patch-5.15.72.xz
8bf33ade0944346c37119b6b7fef9671deb71720021a4bfa10a96d551d91a553 patch-5.15.73.xz
c820aa0d09647e9b9d32ff746d8581600696f5a16b1485af9c9826c228e990ec patch-5.15.74.xz
2d5cd95dff820f8ecf3663d662d12269f2c2d1abc0115165d6e95099c88013e2 patch-5.15.75.xz
cdc44e99ee873ef2fe27f1ca62120ad225e8d59a99506db3ebfd31e0c7f6796b patch-5.16.xz
9ff97f3a01ec8744863ff611315c44c1f5d1ff551769f7d8359c85561dee1b1d patch-5.16.1.xz
3a09c2f1ad410c09cf03921abeed1a6ca7c38138fb508171ee673d429d179171 patch-5.16.2.xz
@ -3136,21 +3163,22 @@ c07463072798b6590454c4e9fa074d816668ea1a064ef564b3c95de49aff1310 patch-5.19.13.
a5fc5931ee3d7b5b66199ecbc51a065dea4a904b75971cc169ee65062efbb52a patch-5.19.14.xz
fdabf20292982e808a26b87f2f29493ba9f20a87d958dc592018ba1a381669df patch-5.19.15.xz
87c0a682bc2ba3af9560e91dd2fdc763369694e858642d7920b1e67f5c51337a patch-5.19.16.xz
988a6c50f8b875b6642cf656f5d848e740c394334782de5bf516bd475ea4eca5 patch-5.19.17.xz
7593cc214eb43917b74fd85afc2fe66af55439eb275849693a5062ff8001b4ca patch-5.0-rc3.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCAAGBQJjSlCeAAoJEGMtOgZYnaaxZToP/00XSD4jYehMcu2ic5PSxPZx
7KDNtZ/2A+cblZFMLMFEJIdPr5U80YSIUTC9/ctZLQs6dnus+9xiKugTaKaseN9e
a/rjQQRZ/YxYViDRnZUcG0+Kg9pdGzg6Mlt5nEt1UE3IaLrRYIGG0He4gxcdID8t
7cQQtiSzBO3kXPFoUhTR1BgiR9pZX9LnEpfVj8LZvTwU0Au64yqzyJE+Y867LfYo
3UMWn1Rg6okgFanbp2l7Qp4ySQ2kiy2dPwZSjS0V5s422u5I8jNZ+ftdjqKOIdwX
M5SGrxCc9BPDWlrRnqj5IxJ4SlgGxeyHpArKXwgpYPHoMBb+XhsZivEGvJKdE3gt
RNAbq0rIyOrQHn03TIHGZsrKHAGofVQ+8XTeIYBLDlvQr8b3lUv9nj05KQRRjErX
oEXLvw1vcGTGofQa1wCLC8XGAyjDkB8OpIguLUeGmNEdTbaZeD01morse0G8lb/d
QtH/FEX+kI33Kxade1BAhB4ClRBNiw6DLiNGA3P5ZTIGHWOxqowAUApLKHV0m0b3
8TCTf15+ck2Bh1eTzPRs97v2S+VuVx43aAcmg80+lnh4sVsToxlYOuDNOyONh3wg
F5HwwIYPfDgOqBBE9VYOcuBsUM5/KNaj68re4b4AS1mmDAuBtj9xiLKtRewSW4oo
wbvBZXYrv9z4vbOCPoRx
=iDnT
iQIcBAEBCAAGBQJjW7kfAAoJEGMtOgZYnaaxiKEP/i8WuDKC6LmP57Q7AfuGrbRY
Fz+Cj3sXHg6VtpWaDM64/xcRByWJB+dxkZoKGT7lvg4zIwfkWiBQUApiiFTZo1xB
+OMsuEGpxwQZKozHSTL2nQYqjIfnzDqGqD8b6lcxNUekvamr9hC8XPm4GU6E7/Wm
lDO+Y/vmBztmOyGur1ssWWXySMCGYAVEYjPliQIc0xcXtZMHdRqZUMAj+GLLQ+V6
U99DxRFUWVNwzQSffiwKgNNQHD7IPs/OPUJP+kJcOPhyg9op8dAAi0xqSoHL8op8
jsQ49Ayozy9XbNz2uSRYyz7IeaS1tCmUmwPT/BZ94CbnAcQQunO3oo1IpZ8I7YDI
oKX1Wc+pgJufee+1Wd6eJWuIG9lsOQViD26VtvnuZ5m668qDrNqk0Koqu17S0V7h
ay+105gdJxc35QttFvO522GSu88plInM0so/6OLAN1vu5c6o89593yRknTjwAtXe
T0AIe+uEMYDfvpU6x+CFOjxhwj+KaTuMMldXiWcYPb6cY9cUTqZIY+0OzddsQ4f/
Ku5SiqADCunU62eZWyJ1tsRQVyv6NqzcBoZFA5D90gUUsEH8ti2E7uRxWiIJ/34l
JOnZw6ESxq8hHhiexxW3zhAZ3pEISGVNgWU5Bd9Xld3zmOuZy3Pxqf5gWH8fEYiP
lfsxKhFSndzJ2fWN3mHu
=it8+
-----END PGP SIGNATURE-----

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

View File

@ -6,37 +6,32 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=mkinitcpio
pkgver=31
pkgrel=04
pkgdesc='Modular initramfs image creation utility w/o systemd'
#_url='https://github.com/archlinux/mkinitcpio'
pkgver=32
pkgrel=02
pkgdesc="Modular initramfs image creation utility"
#url='https://github.com/archlinux/mkinitcpio'
url="https://sources.archlinux.org/other"
makedepends=('binutils' 'asciidoc' 'sed')
arch=(x86_64)
install=mkinitcpio.install
depends=('awk' 'mkinitcpio-busybox>=1.35.0' 'kmod' 'util-linux>=2.38' 'libarchive' 'coreutils'
'bash' 'binutils' 'diffutils' 'findutils' 'grep' 'filesystem>=2022.07-07' 'gzip' 'lz4' 'sed')
optdepends=(
'bzip2: Use bzip2 compression for the initramfs image'
'lzop: Use lzo compression for the initramfs image'
'mkinitcpio-nfs-utils: Support for root filesystem on NFS'
'zstd: Use zstd compression for the initramfs image'
)
depends=('awk' 'mkinitcpio-busybox>=1.35.0' 'kmod' 'util-linux>=2.23' 'libarchive' 'coreutils'
'bash' 'binutils' 'diffutils' 'findutils' 'grep' 'filesystem' 'gzip')
optdepends=('zstd: Use zstd compression for the initramfs image'
'bzip2: Use bzip2 compression for the initramfs image'
'lzop: Use lzo compression for the initramfs image'
'lz4: Use lz4 compression for the initramfs image'
'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
provides=("mkinitcpio=$pkgver-$pkgrel"
'initramfs')
backup=('etc/mkinitcpio.conf')
source=("$url/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
'001-remove-systemd-and-kept-gzip-as-default.patch'
# 'add_udev_rule_function.patch'
'0001-Fix-the-warning-about-missing-modules.builtin.modinf.patch')
nosystemd.patch
"fix-strip.patch::https://github.com/archlinux/mkinitcpio/commit/dece596d569ca90af902bf2403227b478b629c03.patch")
prepare() {
cd $pkgname-$pkgver
patch -Np1 < $srcdir/001-remove-systemd-and-kept-gzip-as-default.patch
# patch -Np1 < $srcdir/add_udev_rule_function.patch
patch -Np1 < "$srcdir"/0001-Fix-the-warning-about-missing-modules.builtin.modinf.patch
cd "${pkgname}-${pkgver}"
patch -Np1 < "$srcdir/fix-strip.patch"
patch -Np1 -i ../nosystemd.patch
}
check() {
@ -45,18 +40,18 @@ check() {
package() {
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
rm -f "${pkgdir}"/usr/lib/initcpio/install/sd-*
}
#---- license gpg-key sha256sums ----
license=(GPL)
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB') # Giancarlo Razzolini
sha256sums=(8f2811250b852ab78375bf90e1a7430daa132e57e128b0f6eaadddd9b27bbc63 # mkinitcpio-31.tar.gz
493e04724241e28d9d089bf09748f36b79fd455cb4e62c2e5c8c3d5fb67b6d62 # mkinitcpio-31.tar.gz.sig
a7dcad6ec0a3ea32896f2ca218ea4ba1550feaed25d58ed609bfbb7f9fd03619 # 001-remove-systemd-and-kept-gzip-as-default.patch
# 0fd3bc75aeb24d3ac272e2f8500fe289ec8606295b25fa299b80ac0834efdbe8 # add_udev_rule_function.patch
127816da46476bc37178d1484fb531c97cd269b520f033bcb5841c41d16c34bb) # 0001-Fix-the-warning-about-missing-modules.builtin.modinf.patch
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini
'C100346676634E80C940FB9E9C02FF419FECBE16') # Morten Linderud
sha256sums=(f167d0b9831a5b6ae388525ebc92cea3a4766429e16ee2b56dbaa8d3b7c73ab2 # mkinitcpio-32.tar.gz
0def1b0543f75140a499ac1d3e6085f8f7d5a4443fecc319dbf08878cac9be2e # mkinitcpio-32.tar.gz.sig
c4afeb6b3300c4d50c3f01233705b542f59d6e95a7670f7efde097ea209ef5bd # nosystemd.patch
d5ca05e3f2b338f6ac988461ba9bd60c030e7cb092aecf90b43d5a470e7e3652) # fix-strip.patch

View File

@ -1,10 +1,11 @@
# Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>
# Maintainer: Dave Reisner <dreisner@archlinux.org>
# Maintainer: Thomas Bächler <thomas@archlinux.org>
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: Dave Reisner <dreisner@archlinux.org>
# Contributor: Thomas Bächler <thomas@archlinux.org>
pkgname=mkinitcpio
pkgver=31
pkgrel=3
pkgver=32
pkgrel=2
pkgdesc="Modular initramfs image creation utility"
arch=('any')
url='https://github.com/archlinux/mkinitcpio'
@ -20,20 +21,20 @@ optdepends=('gzip: Use gzip compression for the initramfs image'
provides=('initramfs')
backup=('etc/mkinitcpio.conf')
source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
0001-Fix-the-warning-about-missing-modules.builtin.modinf.patch)
"fix-strip.patch::https://github.com/archlinux/mkinitcpio/commit/dece596d569ca90af902bf2403227b478b629c03.patch")
install=mkinitcpio.install
sha512sums=('4ef87c2e4f579b292c38f9c487e78b3b99f6db77909cab322e860e5ca70aca3747fcfc272e2e15c9a3605c924ab178057b8b23151f98debc5d96e65f3c0c49d5'
sha512sums=('c180bef8af774305e8c9779b3405daaa5be33588bf89c6625a28eac1cde424f447782737d85d810fed4971d38b31086a072293d42aad08398c090f9538b56a4e'
'SKIP'
'fd348d6fcff249672b495db50fa67ce06d5d9a0c8f749c8b488bc1e4b43c9b850a5ad87392230fbe8b715422bb14e760bb0ad219cfcf1d7e132c6a7e4dd118a6')
b2sums=('0113e288906e3b5fa485c29c00e7df60d85addd96718c45531031a686f18c739fa18303b6cac374d35b85edb7b663e221c8dc9158dff08c75858a4ed4dd154bf'
'd19718f92916e00cece4e213bd7bd1cbf55b0094a39c459aaa995442342b64eb3fe8ec0bf023074f7ea26474a6fe2dc0370e0663823ed08ec5d33f6f645b833c')
b2sums=('0c29659278e662eb58bc776f99e9579b5f0cf3268175382ecf2d635d54a6a8261ae173e387503a0c20a7492656c703a6699b52e1a6693c85c3211225d3e7abf8'
'SKIP'
'5a05cee0382284d6cc0a2033e872b7c4c9f01ddfe6d3550974b5eab9a8a18690d1115b57d8d08153497fed08fd55b69f8b4a4cbcbe67795d615cc06ea7c86618')
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB') # Giancarlo Razzolini
'2b404010d5edb4b7eac36e25f0bf1c7958b7bc7b9740a1fda859579de48dc47552d9eee1d40abb8d2ebf1dffc523a64797c834bba59a22bab9e537ad12e991c7')
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini
'C100346676634E80C940FB9E9C02FF419FECBE16') # Morten Linderud
prepare() {
cd $pkgname-$pkgver
patch -Np1 < "$srcdir"/0001-Fix-the-warning-about-missing-modules.builtin.modinf.patch
cd "${pkgname}-${pkgver}"
patch -Np1 < "$srcdir/fix-strip.patch"
}
check() {

51
mkinitcpio/PKGBUILD-artix Normal file
View File

@ -0,0 +1,51 @@
# Maintainer: artoo <artoo@artixlinux.org>
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: Dave Reisner <dreisner@archlinux.org>
# Contributor: Thomas Bächler <thomas@archlinux.org>
pkgname=mkinitcpio
pkgver=32
pkgrel=2
pkgdesc="Modular initramfs image creation utility"
arch=('any')
url='https://github.com/archlinux/mkinitcpio'
license=('GPL')
depends=('awk' 'mkinitcpio-busybox>=1.19.4-2' 'kmod' 'util-linux>=2.23' 'libarchive' 'coreutils'
'bash' 'binutils' 'diffutils' 'findutils' 'grep' 'filesystem>=2011.10-1' 'zstd' 'udev')
optdepends=('gzip: Use gzip compression for the initramfs image'
'xz: Use lzma or xz compression for the initramfs image'
'bzip2: Use bzip2 compression for the initramfs image'
'lzop: Use lzo compression for the initramfs image'
'lz4: Use lz4 compression for the initramfs image'
'mkinitcpio-nfs-utils: Support for root filesystem on NFS')
provides=('initramfs')
backup=('etc/mkinitcpio.conf')
source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
nosystemd.patch
"fix-strip.patch::https://github.com/archlinux/mkinitcpio/commit/dece596d569ca90af902bf2403227b478b629c03.patch")
install=mkinitcpio.install
sha512sums=('c180bef8af774305e8c9779b3405daaa5be33588bf89c6625a28eac1cde424f447782737d85d810fed4971d38b31086a072293d42aad08398c090f9538b56a4e'
'SKIP'
'f1ad7792b3b42397c2645e834d4b6c6a89122060455954d1ab56a71c673c3b8a8fdbbd6d722d30195211672b9075d09ac07ce6fb5d9723f56ce540709ebe4665'
'd19718f92916e00cece4e213bd7bd1cbf55b0094a39c459aaa995442342b64eb3fe8ec0bf023074f7ea26474a6fe2dc0370e0663823ed08ec5d33f6f645b833c')
b2sums=('0c29659278e662eb58bc776f99e9579b5f0cf3268175382ecf2d635d54a6a8261ae173e387503a0c20a7492656c703a6699b52e1a6693c85c3211225d3e7abf8'
'SKIP'
'92e1969572e0022bd257f44314045f57db47821d99a40ea1290749967b50ead1cb11adaa9b79f4286fbf20a94173e0ba7f2d4f88208e31d7a03a8de4ea014396'
'2b404010d5edb4b7eac36e25f0bf1c7958b7bc7b9740a1fda859579de48dc47552d9eee1d40abb8d2ebf1dffc523a64797c834bba59a22bab9e537ad12e991c7')
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini
'C100346676634E80C940FB9E9C02FF419FECBE16') # Morten Linderud
prepare() {
cd "${pkgname}-${pkgver}"
patch -Np1 < "$srcdir/fix-strip.patch"
patch -Np1 -i ../nosystemd.patch
}
check() {
make -C "$pkgname-$pkgver" check
}
package() {
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
rm -f "${pkgdir}"/usr/lib/initcpio/install/sd-*
}

View File

@ -17,7 +17,6 @@ url='https://github.com/archlinux/mkinitcpio'
source=(
"https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"
'001-remove-systemd-and-kept-gzip-as-default.patch'
# 'add_udev_rule_function.patch'
)
#----------------------
@ -37,12 +36,12 @@ arch=(x86_64)
install=mkinitcpio.install
depends=(
'awk'
'mkinitcpio-busybox>=1.19.4-2'
'kmod'
'util-linux>=2.23'
'libarchive'
'coreutils'
'awk'
'bash'
'binutils'
'diffutils'
@ -80,7 +79,6 @@ prepare() {
## Apply 0003-remove-systemd.patch
patch -Np1 < $srcdir/001-remove-systemd-and-kept-gzip-as-default.patch
# patch -Np1 < $srcdir/add_udev_rule_function.patch
}

View File

@ -2,4 +2,3 @@ asciidoc
mkinitcpio-busybox

View File

@ -0,0 +1,22 @@
From dece596d569ca90af902bf2403227b478b629c03 Mon Sep 17 00:00:00 2001
From: 0x7F <87573360+zeroxsevenf@users.noreply.github.com>
Date: Tue, 25 Oct 2022 15:19:44 +0500
Subject: [PATCH] Missing semicolons
cause errors with strip hook
---
install/strip | 1 +
1 file changed, 1 insertion(+)
diff --git a/install/strip b/install/strip
index f8eb49d..b71ed54 100644
--- a/install/strip
+++ b/install/strip
@@ -18,6 +18,7 @@ build() {
*application/x-pie-executable*)
# Binaries
strip --strip-all "$bin"
+ ;;
*application/x-object*)
# Kernel objects
strip --strip-debug "$bin"

View File

@ -1 +1,2 @@
gpg -v --recv-key F22FB1D78A77AEAB
gpg -v --recv-keys 9C02FF419FECBE16

View File

@ -0,0 +1,15 @@
#!/bin/sh
post_upgrade() {
if [ "$(vercmp 0.9.0 "$2")" -eq 1 ]; then
printf '==> If your /usr is on a separate partition, you must add the "usr" hook\n'
printf ' to /etc/mkinitcpio.conf and regenerate your images before rebooting\n'
fi
if [ "$(vercmp 0.12.0 "$2")" -eq 1 ]; then
printf '==> The "block" hook has replaced several hooks:\n'
printf ' fw, sata, pata, scsi, virtio, mmc, usb\n'
printf ' Replace any and all of these in /etc/mkinitcpio.conf with a single\n'
printf ' instance of the "block" hook\n'
fi
}

View File

@ -0,0 +1,50 @@
Makefile | 6 +-----
init_functions | 11 -----------
2 files changed, 1 insertion(+), 16 deletions(-)
diff --git a/Makefile b/Makefile
index 9ef0f6a..f6e322e 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,6 @@ DIRS = \
/usr/share/man/man5 \
/usr/share/man/man1 \
/usr/share/mkinitcpio \
- /usr/lib/systemd/system/shutdown.target.wants \
/usr/lib/tmpfiles.d \
/usr/share/libalpm/hooks \
/usr/share/libalpm/scripts
@@ -57,10 +56,7 @@ install: all
cp -at $(DESTDIR)/usr/lib/initcpio hooks install
install -m644 -t $(DESTDIR)/usr/share/mkinitcpio mkinitcpio.d/*
- install -m644 systemd/mkinitcpio-generate-shutdown-ramfs.service \
- $(DESTDIR)/usr/lib/systemd/system/mkinitcpio-generate-shutdown-ramfs.service
- ln -s ../mkinitcpio-generate-shutdown-ramfs.service \
- $(DESTDIR)/usr/lib/systemd/system/shutdown.target.wants/mkinitcpio-generate-shutdown-ramfs.service
+
install -m644 tmpfiles/mkinitcpio.conf $(DESTDIR)/usr/lib/tmpfiles.d/mkinitcpio.conf
install -m755 50-mkinitcpio.install $(DESTDIR)/usr/lib/kernel/install.d/50-mkinitcpio.install
diff --git a/init_functions b/init_functions
index 8ad10c7..5579a49 100644
--- a/init_functions
+++ b/init_functions
@@ -298,17 +298,6 @@ fsck_root() {
elif bitfield_has_bit "$fsckret" 128; then
err "fatal error invoking fsck"
fi
-
- # ensure that root is going to be mounted rw. Otherwise, systemd
- # might fsck the device again. Annoy the user so that they fix this.
- if [ "${rwopt:-ro}" != 'rw' ]; then
- echo "********************** WARNING **********************"
- echo "* *"
- echo "* The root device is not configured to be mounted *"
- echo "* read-write! It may be fsck'd again later. *"
- echo "* *"
- echo "*****************************************************"
- fi
fi
}

View File

@ -1,7 +1,7 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

View File

@ -1,16 +1,19 @@
#!/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=reiserfsprogs
pkgver=3.6.27
pkgrel=03
pkgrel=04
pkgdesc="Reiserfs utilities"
arch=('x86_64')
url="https://www.kernel.org/"
depends=('util-linux')
replaces=(progsreiserfs)
conflicts=(progsreiserfs)
source=("https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${pkgver}/${pkgname}-${pkgver}.tar.xz"
reiserfsprogs-3.6.27-loff_t.patch)
@ -46,3 +49,4 @@ md5sums=('90c139542725efc6da3a6b1709695395'
sha256sums=(0e95b67fa7746a3c2d59145e9b9c2feb4a6be52853e83b497b182eae508e62e3 # reiserfsprogs-3.6.27.tar.xz
2d4e90d5e2b0610021d0c078f350e098d5573edccdf2864909aada83ed0473f9) # reiserfsprogs-3.6.27-loff_t.patch

View File

@ -6,9 +6,9 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=tzdata
pkgver=2022e
_tzcode=2022e
_tzdata=2022e
pkgver=2022f
_tzcode=2022f
_tzdata=2022f
pkgrel=01
pkgdesc="Sources for time zone and daylight saving time data"
arch=('x86_64')
@ -55,9 +55,9 @@ license=('custom: public domain')
validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert@cs.ucla.edu>
sha256sums=(d40280253980e89168e6be4275a852bf9521524d47684de3135b9a5ca387710b # tzcode2022e.tar.gz
4ba6a24901f131d6489edcb66fe3f4439e9653ae868783bd277f65993bd266c0 # tzcode2022e.tar.gz.asc
8de4c2686dce3d1aae9030719e6814931c216a2d5e891ec3d332e6f6516aeccd # tzdata2022e.tar.gz
9316acc6e3a3787232c63aae67eadeaff56e43ec505095678bf8e498e2b41a45) # tzdata2022e.tar.gz.asc
sha256sums=(e4543e90f84f91fa82809ea98930052fdbc13880c8a623ee3a4eaa42f8a64c15 # tzcode2022f.tar.gz
767e27365db76e57e7d14bb7c3ed15c446a69b69b608c8abf13a612bc1d571c2 # tzcode2022f.tar.gz.asc
9990d71f675d212567b931fe8aae1cab7027f89fefb8a79d808a6933a67af000 # tzdata2022f.tar.gz
2788b16875bbb5f8ccd1343352ed9bcf7cb98393ea6ecb49f48bb938ffc88854) # tzdata2022f.tar.gz.asc

View File

@ -1,9 +1,9 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=tzdata
pkgver=2022e
_tzcode=2022e
_tzdata=2022e
pkgver=2022f
_tzcode=2022f
_tzdata=2022f
pkgrel=1
pkgdesc="Sources for time zone and daylight saving time data"
arch=('x86_64')
@ -12,9 +12,9 @@ license=('custom: public domain')
options=('!emptydirs')
source=(https://www.iana.org/time-zones/repository/releases/tzcode${_tzcode}.tar.gz{,.asc}
https://www.iana.org/time-zones/repository/releases/${pkgname}${_tzdata}.tar.gz{,.asc})
sha512sums=('7b3771bfa024d0bf445256f4d837a046eaba910ca3f2a5b4fcaf72ddd5fe34a9318a68f94ee09c0de120f3bdea41e9a16b0e82763896df8a6254ced0b454c060'
sha512sums=('3e2ef91b972f1872e3e8da9eae9d1c4638bfdb32600f164484edd7147be45a116db80443cd5ae61b5c34f8b841e4362f4beefd957633f6cc9b7def543ed6752b'
'SKIP'
'3b63ba2662930ee13dec79290f57545d71d21d4ddb76f94498a7096edaee0b3150e501c221c4d596df6af7c1d770c211f88feb5add13c5e3bed979218b4544da'
'72d05d05be999075cdf57b896c0f4238b1b862d4d0ed92cc611736592a4ada14d47bd7f0fc8be39e7938a7f5940a903c8af41e87859482bcfab787d889d429f6'
'SKIP')
validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert@cs.ucla.edu>