upg gnupg nss python zlib

This commit is contained in:
joborun linux 2022-10-15 05:24:20 +03:00
parent bd949400aa
commit af4b0d84e4
11 changed files with 86 additions and 93 deletions

View File

@ -6,17 +6,16 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=gnupg
pkgver=2.2.39
pkgver=2.2.40
pkgrel=01
pkgdesc='Complete and free implementation of the OpenPGP standard w/o systemd'
url='https://www.gnupg.org/'
arch=('x86_64')
url='https://www.gnupg.org/'
depends=( 'bzip2' 'libbz2.so' 'glibc' 'gnutls' 'libgcrypt'
'libgpg-error' 'libksba' 'libassuan' 'libassuan.so' 'npth'
'libnpth.so' 'pinentry' 'readline' 'libreadline.so' 'sqlite' 'zlib')
checkdepends=('openssh')
makedepends=('libldap' 'libusb-compat' 'pcsclite' 'automake' 'autoconf' 'gettext')
depends=('npth' 'libgpg-error' 'libgcrypt' 'libksba' 'libassuan' 'pinentry'
'bzip2' 'libbz2.so' 'readline' 'libreadline.so' 'gnutls' 'sqlite'
'zlib' 'glibc')
optdepends=('libldap: gpg2keys_ldap'
'libusb-compat: scdaemon'
'pcsclite: scdaemon')
@ -86,13 +85,8 @@ validpgpkeys=(5B80C5754298F0CB55D8ED6ABCEF7E294B092E28 # Andre Heinecke (Release
AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD # Niibe Yutaka (GnuPG Release Key)
02F38DFF731FF97CB039A1DA549E695E905BA208) # GnuPG.com (Release Signing Key 2021)
sha256sums=(ab74db6685f026d7c0a10b527ecddecd608606a1691d15fda5d0a7f7d27e4c2f # gnupg-2.2.39.tar.bz2
ab13c7a340f2ee3784366f74619a3035bfeb6f0b40e8836630e892b27f03c41e # gnupg-2.2.39.tar.bz2.sig
sha256sums=(1164b29a75e8ab93ea15033300149e1872a7ef6bdda3d7c78229a735f8204c28 # gnupg-2.2.40.tar.bz2
46a856ed1264daf5f709a11efd10a2b36e3c9b68c19131bfac493d92ee882d51 # gnupg-2.2.40.tar.bz2.sig
02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc # drop-import-clean.patch
22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d) # avoid-beta-warning.patch
b2sums=('a9e31830f3ef9ec6d8d461a85fcbe4b91bcac9607d3b5f13f5edc0c54505afb6c6c119cd397023b1378d96c7d0f15c0d60da1d15721e9a18eb3ea8c7b69fba83'
'SKIP'
'd598015e7f27b27840667d1656c083b4ad85d6acdd312e9929854067313a5f28415ee7eecf4d84a4b8da0385b667aaa01a9743461f5c785402a56c238274e376'
'7ea069e81e2d91a3154bcb62516b4b599f34596de277f95ad1ccaba73869c4f84f94f063b65026ba0bc8a72c0fd8e8e182b82346964f67ea78166b6399c923c5')

View File

@ -7,47 +7,57 @@
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=gnupg
pkgver=2.2.39
pkgver=2.2.40
pkgrel=1
pkgdesc='Complete and free implementation of the OpenPGP standard'
arch=('x86_64')
url='https://www.gnupg.org/'
license=(BSD custom custom:CC0 GPL2 GPL3 LGPL3 LGPL2.1 MIT)
arch=('x86_64')
checkdepends=('openssh')
depends=(
'bzip2' 'libbz2.so'
'glibc'
'gnutls'
'libgcrypt'
'libgpg-error'
'libksba'
'libassuan' 'libassuan.so'
'npth' 'libnpth.so'
'pinentry'
'readline' 'libreadline.so'
'sqlite'
'zlib'
)
makedepends=('libldap' 'libusb-compat' 'pcsclite')
depends=('npth' 'libgpg-error' 'libgcrypt' 'libksba' 'libassuan' 'pinentry'
'bzip2' 'libbz2.so' 'readline' 'libreadline.so' 'gnutls' 'sqlite'
'zlib' 'glibc')
checkdepends=('openssh')
optdepends=(
'libldap: gpg2keys_ldap'
'libusb-compat: scdaemon'
'pcsclite: scdaemon'
)
options=('debug')
install=$pkgname.install
source=(
"https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
'drop-import-clean.patch'
'avoid-beta-warning.patch'
)
sha256sums=('1164b29a75e8ab93ea15033300149e1872a7ef6bdda3d7c78229a735f8204c28'
'SKIP'
'02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc'
'22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d')
b2sums=('c9a077e28b22888573bdd12029205eb5f79a463a297e400a623bc86a39eeb6454cd884d05bd96734998613c695f2c9dcc68963c7275b89938ac38ddc7ba1e229'
'SKIP'
'd598015e7f27b27840667d1656c083b4ad85d6acdd312e9929854067313a5f28415ee7eecf4d84a4b8da0385b667aaa01a9743461f5c785402a56c238274e376'
'7ea069e81e2d91a3154bcb62516b4b599f34596de277f95ad1ccaba73869c4f84f94f063b65026ba0bc8a72c0fd8e8e182b82346964f67ea78166b6399c923c5')
validpgpkeys=(
'5B80C5754298F0CB55D8ED6ABCEF7E294B092E28' # Andre Heinecke (Release Signing Key)
'6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD' # Niibe Yutaka (GnuPG Release Key)
'02F38DFF731FF97CB039A1DA549E695E905BA208' # GnuPG.com (Release Signing Key 2021)
)
source=(
"https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
'drop-import-clean.patch'
'avoid-beta-warning.patch'
)
sha256sums=('ab74db6685f026d7c0a10b527ecddecd608606a1691d15fda5d0a7f7d27e4c2f'
'SKIP'
'02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc'
'22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d')
b2sums=('a9e31830f3ef9ec6d8d461a85fcbe4b91bcac9607d3b5f13f5edc0c54505afb6c6c119cd397023b1378d96c7d0f15c0d60da1d15721e9a18eb3ea8c7b69fba83'
'SKIP'
'd598015e7f27b27840667d1656c083b4ad85d6acdd312e9929854067313a5f28415ee7eecf4d84a4b8da0385b667aaa01a9743461f5c785402a56c238274e376'
'7ea069e81e2d91a3154bcb62516b4b599f34596de277f95ad1ccaba73869c4f84f94f063b65026ba0bc8a72c0fd8e8e182b82346964f67ea78166b6399c923c5')
install=$pkgname.install
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
local src
for src in "${source[@]}"; do
@ -65,7 +75,7 @@ prepare() {
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@ -77,7 +87,7 @@ build() {
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
make check
}
@ -86,7 +96,7 @@ package() {
local socket_target_dir="$pkgdir/usr/lib/systemd/user/sockets.target.wants/"
local unit
cd "${srcdir}/${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
ln -s gpg "${pkgdir}"/usr/bin/gpg2
ln -s gpgv "${pkgdir}"/usr/bin/gpgv2

View File

@ -7,16 +7,16 @@
pkgbase=nss
pkgname=(nss ca-certificates-mozilla)
pkgver=3.83
pkgver=3.84
pkgrel=01
pkgdesc="Network Security Services - zstd mandatory here!"
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
arch=(x86_64)
depends=('nspr>=4.34' sqlite zlib sh 'p11-kit>=0.23.19')
depends=('nspr>=4.35' sqlite zlib sh 'p11-kit>=0.23.19')
makedepends=(perl python gyp mercurial)
#options=(debug) # uncomment this if you need to build the nss debug pkg
_revision=25fb4eb2656aa67f850d3456f764753e4f529e61
_revision=89975de900203c7a8aaf8457311b8c1ebfda7b22
source=("hg+https://hg.mozilla.org/projects/nss#revision=$_revision"
certdata2pem.py bundle.sh)

View File

@ -3,16 +3,16 @@
pkgbase=nss
pkgname=(nss ca-certificates-mozilla)
pkgver=3.83
pkgver=3.84
pkgrel=1
pkgdesc="Network Security Services"
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
arch=(x86_64)
license=(MPL GPL)
depends=('nspr>=4.34' sqlite zlib sh 'p11-kit>=0.23.19')
depends=('nspr>=4.35' sqlite zlib sh 'p11-kit>=0.23.19')
makedepends=(perl python gyp mercurial)
options=(debug)
_revision=25fb4eb2656aa67f850d3456f764753e4f529e61
_revision=89975de900203c7a8aaf8457311b8c1ebfda7b22
source=("hg+https://hg.mozilla.org/projects/nss#revision=$_revision"
certdata2pem.py bundle.sh)
sha256sums=('SKIP'

View File

@ -3,3 +3,4 @@ python
gyp
mercurial

View File

@ -9,7 +9,7 @@ shopt -s extglob
pkgbase=python
pkgname=(python python-tests)
pkgver=3.10.8
pkgrel=01
pkgrel=02
_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language - no ipv6 "
arch=('x86_64')
@ -105,9 +105,6 @@ package_python() {
make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" install
# Split tests
rm -r "$pkgdir"/usr/lib/python*/{test,ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,sqlite3/test,tkinter/test,unittest/test}
# Why are these not done by default...
ln -s python3 "${pkgdir}"/usr/bin/python
ln -s python3-config "${pkgdir}"/usr/bin/python-config
@ -122,6 +119,13 @@ package_python() {
# License
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Split tests
cd "$pkgdir"/usr/lib/python*/
rm -r {ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,sqlite3/test,tkinter/test,unittest/test}
cd test
# FS#76193
rm -r !(support)
}
package_python-tests() {
@ -133,6 +137,8 @@ package_python-tests() {
make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" libinstall
cd "$pkgdir"/usr/lib/python*/
rm -r !(test|ctypes|distutils|idlelib|lib2to3|sqlite3|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
@ -159,3 +165,5 @@ validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python re
sha256sums=(6a30ecde59c47048013eb5a658c9b5dec277203d2793667f578df7671f7f03f3 # Python-3.10.8.tar.xz
e0f6c26fcfea8b6047ee5cfe46dbdbbeb71d975c4f5fa72673777c87c016eaf3) # Python-3.10.8.tar.xz.asc

View File

@ -9,7 +9,7 @@ shopt -s extglob
pkgbase=python
pkgname=(python python-tests)
pkgver=3.10.8
pkgrel=1
pkgrel=2
_pybasever=${pkgver%.*}
pkgdesc="Next generation of the python high-level scripting language"
arch=('x86_64')
@ -104,9 +104,6 @@ package_python() {
make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" install
# Split tests
rm -r "$pkgdir"/usr/lib/python*/{test,ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,sqlite3/test,tkinter/test,unittest/test}
# Why are these not done by default...
ln -s python3 "${pkgdir}"/usr/bin/python
ln -s python3-config "${pkgdir}"/usr/bin/python-config
@ -121,6 +118,13 @@ package_python() {
# License
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Split tests
cd "$pkgdir"/usr/lib/python*/
rm -r {ctypes/test,distutils/tests,idlelib/idle_test,lib2to3/tests,sqlite3/test,tkinter/test,unittest/test}
cd test
# FS#76193
rm -r !(support)
}
package_python-tests() {
@ -132,6 +136,8 @@ package_python-tests() {
make DESTDIR="${pkgdir}" EXTRA_CFLAGS="$CFLAGS" libinstall
cd "$pkgdir"/usr/lib/python*/
rm -r !(test|ctypes|distutils|idlelib|lib2to3|sqlite3|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

View File

@ -8,5 +8,4 @@ xorg-server-xvfb
ttf-liberation
gettext

View File

@ -8,29 +8,19 @@
pkgbase=zlib
pkgname=(zlib minizip)
epoch=1
pkgver=1.2.12
pkgrel=03
pkgver=1.2.13
pkgrel=01
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-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)
source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc})
prepare() {
cd "${srcdir}/zlib-$pkgver"
grep -A 24 '^ Copyright' zlib.h > LICENSE
# 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() {
@ -81,10 +71,7 @@ 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
0bf4794975bd3be95f3f1d92cdf781a26c937d5c879b72939ae9cffbf6c430c7 # zlib-CVE-2022-37434.patch
db41b76fd40bdc77b26e9a202177cee807da5e7cf751e72298d62742c349057d) # zlib-CVE-2022-37434-fix.patch
sha256sums=(b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30 # zlib-1.2.13.tar.gz
1263ec60e148a1cf8de3894418df79a6c8bc95f211af92731da0f04170f8b0ac) # zlib-1.2.13.tar.gz.asc

View File

@ -3,34 +3,21 @@
pkgbase=zlib
pkgname=(zlib minizip)
epoch=1
pkgver=1.2.12
pkgrel=3
pkgver=1.2.13
pkgrel=1
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-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'
'0bf4794975bd3be95f3f1d92cdf781a26c937d5c879b72939ae9cffbf6c430c7'
'db41b76fd40bdc77b26e9a202177cee807da5e7cf751e72298d62742c349057d')
source=("https://zlib.net/zlib-${pkgver}.tar.gz"{,.asc})
sha256sums=('b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30'
'SKIP')
validpgpkeys=('5ED46A6721D365587791E2AA783FCD8E58BCAFBA')
prepare() {
cd "${srcdir}/zlib-$pkgver"
grep -A 24 '^ Copyright' zlib.h > LICENSE
# 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,5 +1,6 @@
real 0m10.536s
user 0m15.586s
sys 0m1.450s
real 0m15.388s
user 0m13.875s
sys 0m1.209s