diff --git a/SOURCES/esc-1.1.0-fix32.patch b/SOURCES/esc-1.1.0-fix32.patch new file mode 100644 index 0000000..0d73ca2 --- /dev/null +++ b/SOURCES/esc-1.1.0-fix32.patch @@ -0,0 +1,38 @@ +diff -up ./esc/rpm/esc.fix32 ./esc/rpm/esc +--- ./esc/rpm/esc.fix32 2020-03-23 03:12:03.028787312 -0400 ++++ ./esc/rpm/esc 2020-03-23 03:13:09.586642559 -0400 +@@ -24,6 +24,7 @@ ESC_ARGS= + + REDHAT_BASE=~/.redhat + ESC_PROFILE_BASE=$REDHAT_BASE/esc ++ESC_CACHE_BASE=~/.cache/redhat/esc + ESC_LOG_FILE=esc.log + ESC_PROFILE_PERMS=700 + +@@ -110,6 +111,9 @@ else + chmod -R $ESC_PROFILE_PERMS $ESC_PROFILE_BASE + fi + ++chmod -Rf $ESC_PROFILE_PERMS $ESC_CACHE_BASE ++ ++ + cd $ESC_PATH + + #First check if we just want the version +@@ -153,6 +157,8 @@ then + fi + #echo "force start esc not running start esc..." + ./$ESC_EXEC ++ sleep 4 ++ chmod -Rf $ESC_PROFILE_PERMS $ESC_CACHE_BASE + exit 0 + fi + +@@ -169,6 +175,7 @@ else + sleep 4 + #echo "done sleeping bring up esc window." + ./$ESC_EXEC ++ chmod -Rf $ESC_PROFILE_PERMS $ESC_CACHE_BASE + exit 0 + fi + diff --git a/SPECS/esc.spec b/SPECS/esc.spec index 172fc90..3a560dd 100644 --- a/SPECS/esc.spec +++ b/SPECS/esc.spec @@ -1,6 +1,6 @@ Name: esc Version: 1.1.0 -Release: 43%{?dist} +Release: 44%{?dist} Summary: Enterprise Security Client Smart Card Client License: GPL+ URL: http://directory.fedoraproject.org/wiki/CoolKey @@ -47,6 +47,7 @@ Patch28: esc-1.1.0-fix28.patch Patch29: esc-1.1.0-fix29.patch Patch30: esc-1.1.0-fix30.patch Patch31: esc-1.1.0-fix31.patch +Patch32: esc-1.1.0-fix32.patch BuildRequires: doxygen fontconfig-devel freetype-devel >= 2.1 BuildRequires: glib2-devel libIDL-devel atk-devel gtk2-devel libjpeg-devel @@ -132,6 +133,7 @@ cryptographic smartcards. %patch29 -p1 -b .fix29 %patch30 -p1 -b .fix30 %patch31 -p1 -b .fix31 +%patch32 -p1 -b .fix32 r=$(uname -r | sed -e 's/\(^[^.]*\.[^.]*\).*/\1/') [ -f esc/coreconf/Linux$r.mk ] || ln -s Linux3.5.mk esc/coreconf/Linux$r.mk @@ -282,6 +284,8 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then fi %changelog +* Mon Mar 23 2020 Jack Magne - 1.1.0-44 +- Resolves: Bug# 1787362 - 'esc' creates world-writable directories . * Mon Jul 05 2019 Jack Magne - 1.1.0-43 - Resolves: Bug# 1688904 - ESC - HTTP GET Requests incorrectly Being Sent To TPS for Token Operations. * Tue Mar 26 2019 Jack Magne - 1.1.0-42