upg zlib tzdata manpages

This commit is contained in:
joborun linux 2022-10-13 06:06:33 +03:00
parent 4a6753845a
commit bd949400aa
11 changed files with 85 additions and 48 deletions

View File

@ -1,25 +1,29 @@
#!/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"
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=man-pages
pkgver=5.13
_commit=324e1d8289644e5159d43a04945df0841c45b966 # 2022-10-09 = 6.00 release
pkgver=6.00
_posixver=2017-a
pkgrel=01
pkgdesc="Linux man pages"
arch=('any')
url="https://www.kernel.org/doc/man-pages/"
makedepends=('man2html')
source=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
makedepends=('man2html' 'git')
# https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/
source=(#https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
"git+https://git.kernel.org/pub/scm/docs/man-pages/man-pages#commit=$_commit" # no tarball release for 6.00
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
prepare() {
cd "${srcdir}"/$pkgname-$pkgver
cd "${srcdir}"/$pkgname # -$pkgver
sed -i "s|prefix := /usr/local|prefix := /usr|g" Makefile
# sed -i "s|prefix := /usr/local|prefix := /usr|g" Makefile
# included in shadow
rm man5/passwd.5
@ -31,10 +35,10 @@ prepare() {
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
cd "${srcdir}"/$pkgname #-$pkgver
# install man-pages
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" prefix=/usr install
# install posix pages
pushd "${srcdir}"/$pkgname-posix-${_posixver%-*}
@ -52,10 +56,9 @@ license=('GPL' 'custom')
validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') # Michael Kerrisk (Linux man-pages maintainer) <mtk.manpages@gmail.com>
# ed615e9a31978833f59e7316667b9aeffbbdb0a92d1391f9c66fadc6e77d0da8 # man-pages-5.13.tar.gz
# 614dae3efe7dfd480986763a2a2a8179215032a5a4526c0be5e899a25f096b8b # man-pages-5.13.tar.xz
sha256sums=(614dae3efe7dfd480986763a2a2a8179215032a5a4526c0be5e899a25f096b8b # man-pages-5.13.tar.xz
a9148d4662a5d75b650f0782dec716da696917b090ef3f85363bb3c2291c3596 # man-pages-5.13.tar.sign
sha256sums=(SKIP
ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3 # man-pages-posix-2017-a.tar.xz
a754077b66853702059a7ae8ff520fadf42ab7484da6df991207343e8b7c5eff) # man-pages-posix-2017-a.tar.sign

View File

@ -1,27 +1,33 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=man-pages
pkgver=5.13
_commit=324e1d8289644e5159d43a04945df0841c45b966 # 2022-10-09 = 6.00 release
pkgver=6.00
_posixver=2017-a
pkgrel=1
pkgdesc="Linux man pages"
arch=('any')
license=('GPL' 'custom')
url="https://www.kernel.org/doc/man-pages/"
makedepends=('man2html')
source=(https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
makedepends=('man2html' 'git')
# https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/
source=(#https://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.{xz,sign}
"git+https://git.kernel.org/pub/scm/docs/man-pages/man-pages#commit=$_commit" # no tarball release for 6.00
https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.{xz,sign})
# https://www.kernel.org/pub/linux/docs/man-pages/sha256sums.asc
sha256sums=('614dae3efe7dfd480986763a2a2a8179215032a5a4526c0be5e899a25f096b8b'
'SKIP'
#sha256sums=('614dae3efe7dfd480986763a2a2a8179215032a5a4526c0be5e899a25f096b8b'
# 'SKIP'
# 'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
# 'SKIP')
sha256sums=('SKIP'
'ce67bb25b5048b20dad772e405a83f4bc70faf051afa289361c81f9660318bc3'
'SKIP')
validpgpkeys=('E522595B52EDA4E6BFCCCB5E856199113A35CE5E') # Michael Kerrisk (Linux man-pages maintainer) <mtk.manpages@gmail.com>
prepare() {
cd "${srcdir}"/$pkgname-$pkgver
cd "${srcdir}"/$pkgname #-$pkgver
sed -i "s|prefix := /usr/local|prefix := /usr|g" Makefile
# sed -i "s|prefix := /usr/local|prefix := /usr|g" Makefile
# included in shadow
rm man5/passwd.5
@ -33,10 +39,10 @@ prepare() {
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
cd "${srcdir}"/$pkgname #-$pkgver
# install man-pages
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" prefix=/usr install
# install posix pages
pushd "${srcdir}"/$pkgname-posix-${_posixver%-*}

View File

@ -1 +1 @@
rm -rvf {src,pkg,man-pages-*tar.*,sha256sums}
rm -rvf {src,pkg,man-pages-*tar.*,man-pages,sha256sums}

View File

@ -1,2 +1,4 @@
man2html
git

View File

@ -6,9 +6,9 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=tzdata
pkgver=2022d
_tzcode=2022d
_tzdata=2022d
pkgver=2022e
_tzcode=2022e
_tzdata=2022e
pkgrel=01
pkgdesc="Sources for time zone and daylight saving time data"
arch=('x86_64')
@ -55,7 +55,9 @@ license=('custom: public domain')
validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert@cs.ucla.edu>
sha256sums=(d644ba0f938899374ea8cb554e35fb4afa0f7bd7b716c61777cd00500b8759e0 # tzcode2022d.tar.gz
7005806f72fc39d17c0f58ee69317a61ef41b9db4a35d89970bc23a981323613 # tzcode2022d.tar.gz.asc
6ecdbee27fa43dcfa49f3d4fd8bb1dfef54c90da1abcd82c9abcf2dc4f321de0 # tzdata2022d.tar.gz
abbd3cccccb19c06890b2185d987895157bcd75a4e4be8cdc96077ccf8cac3dd) # tzdata2022d.tar.gz.asc
sha256sums=(d40280253980e89168e6be4275a852bf9521524d47684de3135b9a5ca387710b # tzcode2022e.tar.gz
4ba6a24901f131d6489edcb66fe3f4439e9653ae868783bd277f65993bd266c0 # tzcode2022e.tar.gz.asc
8de4c2686dce3d1aae9030719e6814931c216a2d5e891ec3d332e6f6516aeccd # tzdata2022e.tar.gz
9316acc6e3a3787232c63aae67eadeaff56e43ec505095678bf8e498e2b41a45) # tzdata2022e.tar.gz.asc

View File

@ -1,9 +1,9 @@
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
pkgname=tzdata
pkgver=2022d
_tzcode=2022d
_tzdata=2022d
pkgver=2022e
_tzcode=2022e
_tzdata=2022e
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=('54491ef8dbab7c41754eb3f2990b8ccb2a10960098c7d78d94375d7f1362540f0d71ba77a46bcaf95f419f8d01a23bdf940cdc9c7906c23ad6c40cd1c788b1c2'
sha512sums=('7b3771bfa024d0bf445256f4d837a046eaba910ca3f2a5b4fcaf72ddd5fe34a9318a68f94ee09c0de120f3bdea41e9a16b0e82763896df8a6254ced0b454c060'
'SKIP'
'f0d9f1dc6b7613598a861a3860f249e5beff75d8c4bb12bae21018ee617044cf25065dff08f81b0e6ed2c43602f2166dd6407a989a369a004e068260f2eece30'
'3b63ba2662930ee13dec79290f57545d71d21d4ddb76f94498a7096edaee0b3150e501c221c4d596df6af7c1d770c211f88feb5add13c5e3bed979218b4544da'
'SKIP')
validpgpkeys=('7E3792A9D8ACF7D633BC1588ED97E90E62AA7E34') # Paul Eggert <eggert@cs.ucla.edu>

View File

@ -1,3 +1,6 @@
real 0m13.745s
user 0m12.878s
sys 0m2.083s
real 0m13.501s
user 0m10.254s
sys 0m1.929s

View File

@ -9,14 +9,16 @@ pkgbase=zlib
pkgname=(zlib minizip)
epoch=1
pkgver=1.2.12
pkgrel=02
pkgrel=03
arch=('x86_64')
url="https://www.zlib.net/"
depends=('glibc')
makedepends=('automake' 'autoconf')
options=('staticlibs') # needed by binutils testsuite
source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc}
$pkgname-handle-incorrect-crc-inputs.patch::https://github.com/madler/zlib/commit/ec3df00224d4.patch)
$pkgname-handle-incorrect-crc-inputs.patch::https://github.com/madler/zlib/commit/ec3df00224d4.patch
$pkgname-CVE-2022-37434.patch::https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1.patch
$pkgname-CVE-2022-37434-fix.patch::https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d.patch)
prepare() {
cd "${srcdir}/zlib-$pkgver"
@ -24,6 +26,11 @@ prepare() {
# https://github.com/madler/zlib/issues/613
patch -Np1 -i ../$pkgname-handle-incorrect-crc-inputs.patch
# CVE-2022-37434
patch -Np1 -i ../$pkgname-CVE-2022-37434.patch
patch -Np1 -i ../$pkgname-CVE-2022-37434-fix.patch
}
build() {
@ -74,6 +81,10 @@ license=('custom')
validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
sha256sums=(91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9 # zlib-1.2.12.tar.gz
1ee1ba0d9e837f44aecf33600c82ae162d76f0069e446afb4c326ac64b5fe995 # zlib-1.2.12.tar.gz.asc
00e023c3ccb7b895ebb3421970b1b77f8a527b40190f35050b79fd0e817a7b0c) # zlib-handle-incorrect-crc-inputs.patch
sha256sums=(91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9 # zlib-1.2.12.tar.gz
1ee1ba0d9e837f44aecf33600c82ae162d76f0069e446afb4c326ac64b5fe995 # zlib-1.2.12.tar.gz.asc
00e023c3ccb7b895ebb3421970b1b77f8a527b40190f35050b79fd0e817a7b0c # zlib-handle-incorrect-crc-inputs.patch
0bf4794975bd3be95f3f1d92cdf781a26c937d5c879b72939ae9cffbf6c430c7 # zlib-CVE-2022-37434.patch
db41b76fd40bdc77b26e9a202177cee807da5e7cf751e72298d62742c349057d) # zlib-CVE-2022-37434-fix.patch

View File

@ -4,17 +4,21 @@ pkgbase=zlib
pkgname=(zlib minizip)
epoch=1
pkgver=1.2.12
pkgrel=2
pkgrel=3
arch=('x86_64')
license=('custom')
url="https://www.zlib.net/"
depends=('glibc')
options=('staticlibs') # needed by binutils testsuite
source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc}
$pkgname-handle-incorrect-crc-inputs.patch::https://github.com/madler/zlib/commit/ec3df00224d4.patch)
$pkgname-handle-incorrect-crc-inputs.patch::https://github.com/madler/zlib/commit/ec3df00224d4.patch
$pkgname-CVE-2022-37434.patch::https://github.com/madler/zlib/commit/eff308af425b67093bab25f80f1ae950166bece1.patch
$pkgname-CVE-2022-37434-fix.patch::https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d.patch)
sha256sums=('91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9'
'SKIP'
'00e023c3ccb7b895ebb3421970b1b77f8a527b40190f35050b79fd0e817a7b0c')
'00e023c3ccb7b895ebb3421970b1b77f8a527b40190f35050b79fd0e817a7b0c'
'0bf4794975bd3be95f3f1d92cdf781a26c937d5c879b72939ae9cffbf6c430c7'
'db41b76fd40bdc77b26e9a202177cee807da5e7cf751e72298d62742c349057d')
validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
prepare() {
@ -23,6 +27,10 @@ prepare() {
# https://github.com/madler/zlib/issues/613
patch -Np1 -i ../$pkgname-handle-incorrect-crc-inputs.patch
# CVE-2022-37434
patch -Np1 -i ../$pkgname-CVE-2022-37434.patch
patch -Np1 -i ../$pkgname-CVE-2022-37434-fix.patch
}
build() {

View File

@ -1 +1 @@
rm -rvf {src,pkg,*gz*,zlib-*patch}
rm -rvf {src,pkg,*gz*,zlib-*patch,*CVE*.patch}

View File

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