[arch-commits] Commit in expect/trunk (PKGBUILD expect-5.45-format-security.patch)
Jelle van der Waa
jelle at gemini.archlinux.org
Sun Jul 31 14:32:08 UTC 2022
Date: Sunday, July 31, 2022 @ 14:32:08
Author: jelle
Revision: 451787
upgpkg: expect 5.45.4-3
Added:
expect/trunk/expect-5.45-format-security.patch
Modified:
expect/trunk/PKGBUILD
-----------------------------------+
PKGBUILD | 13 ++++++++++---
expect-5.45-format-security.patch | 13 +++++++++++++
2 files changed, 23 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-31 14:22:14 UTC (rev 451786)
+++ PKGBUILD 2022-07-31 14:32:08 UTC (rev 451787)
@@ -3,15 +3,22 @@
pkgname=expect
pkgver=5.45.4
-pkgrel=2
+pkgrel=3
pkgdesc='A tool for automating interactive applications'
arch=(x86_64)
url='https://www.nist.gov/el/msid/expect.cfm'
license=(custom)
depends=(tcl)
-source=(https://downloads.sourceforge.net/project/expect/Expect/$pkgver/expect${pkgver}.tar.gz)
-sha256sums=('49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34')
+source=(https://downloads.sourceforge.net/project/expect/Expect/$pkgver/expect${pkgver}.tar.gz
+ expect-5.45-format-security.patch)
+sha256sums=('49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34'
+ 'b141e1a18186aaedb48ad503f34848413819f7a55789d86d04f14e8ae4cacc56')
+prepare() {
+ cd expect${pkgver}
+ patch -Np0 -i ${srcdir}/expect-5.45-format-security.patch
+}
+
build() {
cd expect${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
Added: expect-5.45-format-security.patch
===================================================================
--- expect-5.45-format-security.patch (rev 0)
+++ expect-5.45-format-security.patch 2022-07-31 14:32:08 UTC (rev 451787)
@@ -0,0 +1,13 @@
+--- exp_clib.c.orig 2017-03-24 10:34:37.269183513 -0400
++++ exp_clib.c 2017-03-24 10:34:41.171117943 -0400
+@@ -1938,8 +1938,8 @@
+ char *str;
+ {
+ if (exp_is_debugging) {
+- fprintf(stderr,str);
+- if (exp_logfile) fprintf(exp_logfile,str);
++ fprintf(stderr, "%s", str);
++ if (exp_logfile) fprintf(exp_logfile, "%s", str);
+ }
+ }
+
More information about the arch-commits
mailing list