upg mpfr openssh

This commit is contained in:
joborun linux 2023-07-22 19:37:05 +03:00
parent 4731af37f1
commit 5f6ab25fb4
8 changed files with 2218 additions and 28 deletions

View File

@ -7,7 +7,7 @@
pkgname=mpfr
_pkgver=4.2.0
_patchver=9
_patchver=12
pkgrel=01
pkgver=${_pkgver}.p${_patchver}
#pkgver=$_pkgver
@ -18,7 +18,8 @@ makedepends=('autoconf-archive' 'automake')
#options=(debug) ### uncomment here for debug pkg
source=(https://ftp.gnu.org/gnu/mpfr/mpfr-${_pkgver}.tar.xz{,.sig}
tsprintf.patch::https://gitlab.inria.fr/mpfr/mpfr/-/commit/5172494c09718ffcb7ef1f19b3b211e3bce8781a.patch
patches.diff) # wget https://www.mpfr.org/mpfr-${_pkgver}/allpatches -O patches.diff
# patches.diff) # wget https://www.mpfr.org/mpfr-${_pkgver}/allpatches -O patches.diff
patches.diff::https://www.mpfr.org/mpfr-${_pkgver}/allpatches)
## options=(debug) ## uncomment this to produce the debug pkg
prepare() {
@ -60,12 +61,7 @@ validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
sha256sums=(06a378df13501248c1b2db5aa977a2c8126ae849a9d9b7be2546fb4a9c26d993 # mpfr-4.2.0.tar.xz
8151b7ef1b84c6384a08b05e007fa42da877a18528c44206b64d78b9baedcb7a # mpfr-4.2.0.tar.xz.sig
c05587045fb064853bfd5d2953f95bbc9f3630787a9c45e77e6509f3ebabbcd3 # tsprintf.patch
06da0b2a56e365f7e74ac241926f61d2574a0754548ff8116e9ddee0dabacda0) # patches.diff
b2sums=('dd88ae3a6a910ad8faeb791b49c3b1085de5d0d4c49c637c124bf4d9bc79fb621d0d1d69e07d0642b9b678f6d355a5830d083dfd189e1e91d0e04c970c10bd64'
'SKIP'
'SKIP'
'a1f85dba4f0d69c64a76cd2287edc4f05f109a809b28a2b004f40564bed33aaa01bcbca02062a5c0634ef18bc39427679ef9e278e8f1f31aa01fae9912489e86')
a9099cee74188d5f522b7b3fca0097196c6dd38126f8f042d233010cbf92e8d0) # patches.diff
## f86a4f6ea9fd8eb7d2551213da97de541a0434ba660009d8608039e76d9a3984 mpfr-4.2.0.p9-01-x86_64.pkg.tar.lz
## 093d8b901130adbe0fed5b3741702366d849414954bf6d9c3f156d88bc31367f mpfr-4.2.0.p12-01-x86_64.pkg.tar.lz

View File

@ -5,8 +5,8 @@
pkgname=mpfr
_pkgver=4.2.0
_patchver=7
pkgrel=2
_patchver=12
pkgrel=1
pkgver=${_pkgver}.p${_patchver}
#pkgver=$_pkgver
pkgdesc='Multiple-precision floating-point library'
@ -18,10 +18,10 @@ source=(https://ftp.gnu.org/gnu/mpfr/mpfr-${_pkgver}.tar.xz{,.sig}
patches.diff) # wget https://www.mpfr.org/mpfr-${_pkgver}/allpatches -O patches.diff
sha512sums=('58e843125884ca58837ae5159cd4092af09e8f21931a2efd19c15de057c9d1dc0753ae95c592e2ce59a727fbc491af776db8b00a055320413cdcf2033b90505c'
'SKIP'
'12cb553946b372da762b919a523a0dbb5c7b9f7931fd018013fb8e2a51b43d6ef421dda9c5ff6d89d7f75376d67f33205e7bcc3c69ef1aeaad5b3539218ec349')
'c3de1907648cbf1a87d292bc017f1f651ed4449eb28459187821199016e0f12e7cb3b45d6163c9a4361d3b7499f5b6f771b271edcfa93399f3c28c1180b3b387')
b2sums=('dd88ae3a6a910ad8faeb791b49c3b1085de5d0d4c49c637c124bf4d9bc79fb621d0d1d69e07d0642b9b678f6d355a5830d083dfd189e1e91d0e04c970c10bd64'
'SKIP'
'bbe00cff15d382663db623e1ef834e44192df1ad22c436d5b870fcf8bf438bd618d8ae332fe7ac4c0fd1d638e0764ab84a81954b91d54e0337ccad3568a3a83b')
'0c8e3da9057defe4289a9665f27ec03d2312d58bf6b2a108d089097d6b22fbc5b9fe92b1cb8607c3bd53f8b93d82c5db6a467a0d7881ed8e893560a24b33e061')
validpgpkeys=('07F3DBBECC1A39605078094D980C197698C3739D'
'A534BE3F83E241D918280AEB5831D11A0D4DB02A') # Vincent Lefevre <vincent@vinc17.net>

View File

@ -2044,3 +2044,151 @@ diff -Naurd mpfr-4.2.0-a/tests/tsprintf.c mpfr-4.2.0-b/tests/tsprintf.c
test_locale ();
if (getenv ("MPFR_CHECK_LIBC_PRINTF"))
diff -Naurd mpfr-4.2.0-a/PATCHES mpfr-4.2.0-b/PATCHES
--- mpfr-4.2.0-a/PATCHES 2023-07-17 13:54:11.126789510 +0000
+++ mpfr-4.2.0-b/PATCHES 2023-07-17 13:54:11.170788387 +0000
@@ -0,0 +1 @@
+gcc-pr106155-workaround
diff -Naurd mpfr-4.2.0-a/VERSION mpfr-4.2.0-b/VERSION
--- mpfr-4.2.0-a/VERSION 2023-05-17 17:19:35.596201603 +0000
+++ mpfr-4.2.0-b/VERSION 2023-07-17 13:54:11.170788387 +0000
@@ -1 +1 @@
-4.2.0-p9
+4.2.0-p10
diff -Naurd mpfr-4.2.0-a/src/mpfr.h mpfr-4.2.0-b/src/mpfr.h
--- mpfr-4.2.0-a/src/mpfr.h 2023-05-17 17:19:35.592201606 +0000
+++ mpfr-4.2.0-b/src/mpfr.h 2023-07-17 13:54:11.170788387 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 4
#define MPFR_VERSION_MINOR 2
#define MPFR_VERSION_PATCHLEVEL 0
-#define MPFR_VERSION_STRING "4.2.0-p9"
+#define MPFR_VERSION_STRING "4.2.0-p10"
/* User macros:
MPFR_USE_FILE: Define it to make MPFR define functions dealing
diff -Naurd mpfr-4.2.0-a/src/version.c mpfr-4.2.0-b/src/version.c
--- mpfr-4.2.0-a/src/version.c 2023-05-17 17:19:35.592201606 +0000
+++ mpfr-4.2.0-b/src/version.c 2023-07-17 13:54:11.170788387 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "4.2.0-p9";
+ return "4.2.0-p10";
}
diff -Naurd mpfr-4.2.0-a/tests/tfpif.c mpfr-4.2.0-b/tests/tfpif.c
--- mpfr-4.2.0-a/tests/tfpif.c 2023-01-05 17:09:48.000000000 +0000
+++ mpfr-4.2.0-b/tests/tfpif.c 2023-07-17 13:54:11.162788591 +0000
@@ -277,7 +277,10 @@
for (i = 0; i < BAD; i++)
{
- mpfr_exp_t emax;
+ mpfr_exp_t INITIALIZED(emax);
+ /* The INITIALIZED() is a workaround for GCC bug 106155:
+ https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106155 */
+
/* For i == 6, mpfr_prec_t needs at least a 65-bit precision
(64 value bits + 1 sign bit) to avoid a failure. */
if (i == 6 && MPFR_PREC_BITS > 64)
diff -Naurd mpfr-4.2.0-a/PATCHES mpfr-4.2.0-b/PATCHES
--- mpfr-4.2.0-a/PATCHES 2023-07-17 13:56:17.375566485 +0000
+++ mpfr-4.2.0-b/PATCHES 2023-07-17 13:56:17.415565464 +0000
@@ -0,0 +1 @@
+inp_str-nullchar
diff -Naurd mpfr-4.2.0-a/VERSION mpfr-4.2.0-b/VERSION
--- mpfr-4.2.0-a/VERSION 2023-07-17 13:54:11.170788387 +0000
+++ mpfr-4.2.0-b/VERSION 2023-07-17 13:56:17.415565464 +0000
@@ -1 +1 @@
-4.2.0-p10
+4.2.0-p11
diff -Naurd mpfr-4.2.0-a/src/inp_str.c mpfr-4.2.0-b/src/inp_str.c
--- mpfr-4.2.0-a/src/inp_str.c 2023-01-05 17:09:48.000000000 +0000
+++ mpfr-4.2.0-b/src/inp_str.c 2023-07-17 13:56:17.407565669 +0000
@@ -69,6 +69,15 @@
if (c == EOF || isspace (c))
break;
str[str_size++] = (unsigned char) c;
+ /* If c is '\0' (while not being a whitespace character), the word will
+ not have a valid format. But in the context of a string in memory,
+ '\0' is a terminating null character. So, to avoid ending with a
+ valid string format (like "1" with ignored characters after the
+ terminating null character), we need to make sure that the string
+ does not have a valid format; so let's start it with '*'. Note
+ that we should read the full word, so we cannot break. */
+ if (MPFR_UNLIKELY (c == '\0'))
+ str[0] = '*';
if (str_size == (size_t) -1)
break;
c = getc (stream);
diff -Naurd mpfr-4.2.0-a/src/mpfr.h mpfr-4.2.0-b/src/mpfr.h
--- mpfr-4.2.0-a/src/mpfr.h 2023-07-17 13:54:11.170788387 +0000
+++ mpfr-4.2.0-b/src/mpfr.h 2023-07-17 13:56:17.411565566 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 4
#define MPFR_VERSION_MINOR 2
#define MPFR_VERSION_PATCHLEVEL 0
-#define MPFR_VERSION_STRING "4.2.0-p10"
+#define MPFR_VERSION_STRING "4.2.0-p11"
/* User macros:
MPFR_USE_FILE: Define it to make MPFR define functions dealing
diff -Naurd mpfr-4.2.0-a/src/version.c mpfr-4.2.0-b/src/version.c
--- mpfr-4.2.0-a/src/version.c 2023-07-17 13:54:11.170788387 +0000
+++ mpfr-4.2.0-b/src/version.c 2023-07-17 13:56:17.415565464 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "4.2.0-p10";
+ return "4.2.0-p11";
}
diff -Naurd mpfr-4.2.0-a/PATCHES mpfr-4.2.0-b/PATCHES
--- mpfr-4.2.0-a/PATCHES 2023-07-17 13:57:28.913739912 +0000
+++ mpfr-4.2.0-b/PATCHES 2023-07-17 13:57:28.961738687 +0000
@@ -0,0 +1 @@
+strtofr-nullchar
diff -Naurd mpfr-4.2.0-a/VERSION mpfr-4.2.0-b/VERSION
--- mpfr-4.2.0-a/VERSION 2023-07-17 13:56:17.415565464 +0000
+++ mpfr-4.2.0-b/VERSION 2023-07-17 13:57:28.961738687 +0000
@@ -1 +1 @@
-4.2.0-p11
+4.2.0-p12
diff -Naurd mpfr-4.2.0-a/src/mpfr.h mpfr-4.2.0-b/src/mpfr.h
--- mpfr-4.2.0-a/src/mpfr.h 2023-07-17 13:56:17.411565566 +0000
+++ mpfr-4.2.0-b/src/mpfr.h 2023-07-17 13:57:28.957738789 +0000
@@ -27,7 +27,7 @@
#define MPFR_VERSION_MAJOR 4
#define MPFR_VERSION_MINOR 2
#define MPFR_VERSION_PATCHLEVEL 0
-#define MPFR_VERSION_STRING "4.2.0-p11"
+#define MPFR_VERSION_STRING "4.2.0-p12"
/* User macros:
MPFR_USE_FILE: Define it to make MPFR define functions dealing
diff -Naurd mpfr-4.2.0-a/src/strtofr.c mpfr-4.2.0-b/src/strtofr.c
--- mpfr-4.2.0-a/src/strtofr.c 2023-01-05 17:09:48.000000000 +0000
+++ mpfr-4.2.0-b/src/strtofr.c 2023-07-17 13:57:28.949738993 +0000
@@ -242,7 +242,10 @@
pstr->mantissa = NULL;
/* Optional leading whitespace */
- while (isspace((unsigned char) *str)) str++;
+ /* For non-"C" locales, the ISO C standard allows isspace(0) to
+ return true. So we need to stop explicitly on '\0'. */
+ while (*str != '\0' && isspace ((unsigned char) *str))
+ str++;
/* An optional sign `+' or `-' */
pstr->negative = (*str == '-');
diff -Naurd mpfr-4.2.0-a/src/version.c mpfr-4.2.0-b/src/version.c
--- mpfr-4.2.0-a/src/version.c 2023-07-17 13:56:17.415565464 +0000
+++ mpfr-4.2.0-b/src/version.c 2023-07-17 13:57:28.961738687 +0000
@@ -25,5 +25,5 @@
const char *
mpfr_get_version (void)
{
- return "4.2.0-p11";
+ return "4.2.0-p12";
}

2046
mpfr/patches.diff.1 Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=openssh
pkgver=9.3p1
pkgrel=02 # openssl rebuild
pkgver=9.3p2
pkgrel=01 # openssl rebuild
pkgdesc='SSH protocol implementation for remote login, command execution and file transfer w/o systemd'
url='https://www.openssh.com/portable.html'
depends=(
@ -105,10 +105,11 @@ license=('custom:BSD')
validpgpkeys=('7168B983815A5EEF59A4ADFD2A3F414E736060BA') # "Damien Miller <djm@mindrot.org>"
sha256sums=(e9baba7701a76a51f3d85a62c383a3c9dcd97fa900b859bc7db114c1868af8a8 # openssh-9.3p1.tar.gz
6d96d2ff60d8d3545f0fa1709cb4c273d9a2fe086afa90f70951cffc01c8fa68 # openssh-9.3p1.tar.gz.asc
sha256sums=(200ebe147f6cb3f101fd0cdf9e02442af7ddca298dffd9f456878e7ccac676e8 # openssh-9.3p2.tar.gz
1296c444239811c61403d99734d4536c822ebf4dfc16718209e1b9a35f657672 # openssh-9.3p2.tar.gz.asc
27e43dfd1506c8a821ec8186bae65f2dc43ca038616d6de59f322bd14aa9d07f # openssh-9.0p1-sshd_config.patch
4effac1186cc62617f44385415103021f72f674f8b8e26447fc1139c670090f6 # sshd.conf
64576021515c0a98b0aaf0a0ae02e0f5ebe8ee525b1e647ab68f369f81ecd846) # sshd.pam
## 950409f0d42ce7b031d1f6364ac3e58fadf6140c60bef3f374e8195ee1e69a98 openssh-9.3p1-02-x86_64.pkg.tar.lz
## 1beee58b72017f2f756c6f3c8ac7d0de5e21b2beddb17fdbddc8dc6050592217 openssh-9.3p2-01-x86_64.pkg.tar.lz

View File

@ -5,8 +5,8 @@
# Contributor: judd <jvinet@zeroflux.org>
pkgname=openssh
pkgver=9.3p1
pkgrel=2
pkgver=9.3p2
pkgrel=1
pkgdesc="SSH protocol implementation for remote login, command execution and file transfer"
arch=('x86_64')
url='https://www.openssh.com/portable.html'
@ -40,14 +40,14 @@ source=(
'sshd.conf'
'sshd.pam'
)
sha256sums=('e9baba7701a76a51f3d85a62c383a3c9dcd97fa900b859bc7db114c1868af8a8'
sha256sums=('200ebe147f6cb3f101fd0cdf9e02442af7ddca298dffd9f456878e7ccac676e8'
'SKIP'
'27e43dfd1506c8a821ec8186bae65f2dc43ca038616d6de59f322bd14aa9d07f'
'e5305767b2d317183ad1c5022a5f6705bd9014a8b22495a000fd482713738611'
'e40f8b7c8e5e2ecf3084b3511a6c36d5b5c9f9e61f2bb13e3726c71dc7d4fbc7'
'4effac1186cc62617f44385415103021f72f674f8b8e26447fc1139c670090f6'
'64576021515c0a98b0aaf0a0ae02e0f5ebe8ee525b1e647ab68f369f81ecd846')
b2sums=('45578edf98bba3d23c7cefe60d8a7d3079e7c6676459f7422ace7a2461ab96943fbcadb478633a80f40bc098f2435722850b563714adb78b14922be53cb5753d'
b2sums=('38f8d4ada263112b318fafccabf0a33a004d8290a867434004eb3d37127c9bdabe6e0225fca9d6d68fb54338fec81dcc9313ca7c91d3a033311db44174dc9f6f'
'SKIP'
'29e1a1c2744e0234830c6f93a46338ea8dc943370e20a24883d207d611025e54643da678f2826050c073a36be48dfdc7329d4cfb144c2ff90607a5f10f73dc59'
'09fad3648f48f13ee80195b90913feeba21240d121b1178e0ce62f4a17b1f7e58e8edc22c04403e377ab300f5022a804c848f5be132765d5ca26a38aab262e50'

View File

@ -6,8 +6,8 @@
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=xfsprogs
pkgver=6.3.0
pkgrel=02
pkgver=6.4.0
pkgrel=01
pkgdesc="XFS filesystem utilities w/o systemd"
# url="https://xfs.org"
url="https://xfs.wiki.kernel.org"
@ -57,5 +57,4 @@ validpgpkeys=(2B8185919E8D248981869DED20AE1692E13DDEE0 # Eric Sandeen <sandeen@
sha256sums=(SKIP)
## fc43c824708d3acc43bb1e5eafd318e304d4542309596f146385e4f5e550f7d5 xfsprogs-6.3.0-02-x86_64.pkg.tar.lz
## 9df4cb9170e68beb3767edab00141f31d4e58cae72ad3c14b4d50c05729662e0 xfsprogs-6.4.0-01-x86_64.pkg.tar.lz

View File

@ -1,8 +1,8 @@
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=xfsprogs
pkgver=6.3.0
pkgrel=2
pkgver=6.4.0
pkgrel=1
pkgdesc="XFS filesystem utilities"
arch=('x86_64')
license=('LGPL')