Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
winetricks
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
winetricks
Commits
a81b9514
Commit
a81b9514
authored
Mar 22, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20240223-eter2
- winetricks: added cades installation (eterbug #17080) (github #2197)
parent
05139fa1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
1 deletion
+57
-1
0004-winetricks-added-cades-installation.patch
patches/0004-winetricks-added-cades-installation.patch
+51
-0
winetricks.spec
winetricks.spec
+6
-1
No files found.
patches/0004-winetricks-added-cades-installation.patch
0 → 100644
View file @
a81b9514
From a5ff44cdc421d368f1427b42a537ed13746268e8 Mon Sep 17 00:00:00 2001
From: Iviv <iviv@etersoft.ru>
Date: Tue, 5 Mar 2024 19:32:34 +0300
Subject: [PATCH] winetricks: added cades installation
To: wine-devel <wine-devel@winehq.org>
---
src/winetricks | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/src/winetricks b/src/winetricks
index 05b6683..97a9ced 100755
--- a/src/winetricks
+++ b/src/winetricks
@@ -19299,6 +19299,33 @@ load_remove_mono()
}
+#----------------------------------------------------------------
+
+w_metadata cades dlls \
+ title="CAdES Plugin" \
+ publisher="CryptoPro" \
+ year="2024" \
+ media="download" \
+ file1="cades-win32.msi" \
+ installed_file1="${W_SYSTEM32_DLLS_WIN}/cades.dll"
+
+
+load_cades()
+{
+ w_download https://cryptopro.ru/sites/default/files/products/cades/release_2_0_13642/cades-win32.msi d3c1f5d4e24d5b3011166c4bea7054eca91fa2477c312bac64312c86b72d6d38
+ w_try_cd "${W_CACHE}/${W_PACKAGE}"
+ w_try "${WINE}" msiexec /i cades-win32.msi ${W_OPT_UNATTENDED:+/q}
+ w_try_cp_dll "${W_WINDIR_UNIX}/winsxs/x86_cryptopro.pki.cades_a6d31b994cfcddc4_2.0.13742.0_none_deadbeef/cades.dll" "${W_SYSTEM32_DLLS}/cades.dll"
+ case "${W_ARCH}" in
+ win64)
+ #Also install 64-bit version
+ w_download https://cryptopro.ru/sites/default/files/products/cades/release_2_0_13642/cades-x64.msi f02bf53d3501fa0839870bb440c53d5a846af43c142effd0fb8531dd0ed6c7cf
+ w_try "${WINE}" msiexec /i cades-x64.msi ${W_OPT_UNATTENDED:+/q}
+ w_try_cp_dll "${W_WINDIR_UNIX}/winsxs/amd64_cryptopro.pki.cades_a6d31b994cfcddc4_2.0.13635.0_none_deadbeef/cades.dll" "${W_SYSTEM64_DLLS}/cades.dll"
+ ;;
+ esac
+}
+
#----------------------------------------------------------------
w_metadata sandbox settings \
--
2.42.1
winetricks.spec
View file @
a81b9514
%define oname winetricks
Name: wine-etersoft-winetricks
Version: 20240223
Release: eter
1
Release: eter
2
Summary: Work around common problems in Wine
...
...
@@ -20,6 +20,7 @@ Patch2: 0001-winetricks-try-use-xvt-as-terminal.patch
Patch10: 0001-Remove-unuseful-binary-arch-detection.patch
Patch11: 0002-add-w_expand_env32-and-w_expand_env64-and-using-them.patch
Patch12: 0003-Rename-w_try_regsvr-to-w_try_regsvr32.patch
Patch13: 0004-winetricks-added-cades-installation.patch
BuildArch: noarch
...
...
@@ -57,6 +58,7 @@ or tweak various Wine settings individually.
%patch10 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
# fix req. Disable autoreq at all?
%__subst 's|fusermount|a= fusermount|' src/winetricks
...
...
@@ -91,6 +93,9 @@ desktop-file-validate %buildroot%_desktopdir/%oname.desktop
#exclude %_datadir/appdata/%name.appdata.xml
%changelog
* Fri Mar 22 2024 Vitaly Lipatov <lav@altlinux.ru> 20240223-eter2
- winetricks: added cades installation (eterbug #17080) (github #2197)
* Mon Mar 04 2024 Vitaly Lipatov <lav@altlinux.ru> 20240223-eter1
- new version (20240223) from commit f87bf9e6a7c67a0648
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment