Skip to content

Commit

Permalink
Add openssl_fix.cnf override. Add wrapper script.
Browse files Browse the repository at this point in the history
  • Loading branch information
reiichi001 committed Dec 18, 2023
1 parent 1f86820 commit 0ffff7f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ package() {
install -d "${pkgdir}/opt/XIVLauncher/"
install -D -m644 "${srcdir}/XIVLauncher.desktop" "${pkgdir}/usr/share/applications/XIVLauncher.desktop"
install -D -m644 "${srcdir}/XIVLauncher.Core/misc/linux_distrib/512.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
install -D -m644 "${srcdir}/openssl_fix.cnf" "${pkgdir}/opt/XIVLauncher/openssl_fix.cnf"
cp -r "${srcdir}/build/." "${pkgdir}/opt/XIVLauncher/"
ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/XIVLauncher.Core"
install -D -m755 "${srcdir}/xivlauncher-core" "${pkgdir}/usr/bin/xivlauncher-core"
}
2 changes: 2 additions & 0 deletions PKGBUILD-git
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ package() {
install -d "${pkgdir}/opt/XIVLauncher/"
install -D -m644 "${srcdir}/XIVLauncher.desktop" "${pkgdir}/usr/share/applications/XIVLauncher.desktop"
install -D -m644 "${srcdir}/XIVLauncher.Core/misc/linux_distrib/512.png" "${pkgdir}/usr/share/pixmaps/xivlauncher.png"
install -D -m644 "${srcdir}/openssl_fix.cnf" "${pkgdir}/opt/XIVLauncher/openssl_fix.cnf"
cp -r "${srcdir}/build/." "${pkgdir}/opt/XIVLauncher/"
ln -s ../../opt/XIVLauncher/XIVLauncher.Core "${pkgdir}/usr/bin/XIVLauncher.Core"
install -D -m755 "${srcdir}/xivlauncher-core" "${pkgdir}/usr/bin/xivlauncher-core"
}
2 changes: 1 addition & 1 deletion XIVLauncher.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Name=XIVLauncher.Core
Comment=Custom launcher for Final Fantasy XIV Online
Exec=XIVLauncher.Core
Exec=xivlauncher-core
Icon=xivlauncher
Terminal=false
Type=Application
Expand Down
11 changes: 11 additions & 0 deletions openssl_fix.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
openssl_conf = openssl_init

[openssl_init]
ssl_conf = ssl_module

[ ssl_module ]
system_default = crypto_policy

[ crypto_policy ]
MinProtocol = TLSv1.2
CipherString = DEFAULT:@SECLEVEL=1
2 changes: 2 additions & 0 deletions xivlauncher-core
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
OPENSSL_CONF=/opt/XIVLauncher/openssl_fix.cnf exec /opt/XIVLauncher/XIVLauncher.Core

0 comments on commit 0ffff7f

Please sign in to comment.