* Re: [PR PATCH] [Updated] [WIP] New package: forticlient-7.2.1.0700
2023-10-05 8:54 [PR PATCH] [WIP] New package: forticlient-7.2.1.0700 Eloitor
@ 2023-10-05 9:03 ` Eloitor
2023-10-05 9:07 ` Eloitor
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Eloitor @ 2023-10-05 9:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 870 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages forticlient7.2
https://github.com/void-linux/void-packages/pull/46439
[WIP] New package: forticlient-7.2.1.0700
Forticlient VPN, which is a bit tricky to get running on void. It works for me, and I'm not sure about which dependencies does it require.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **NO**
- Proprietary
- Installs in /opt
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/46439.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-forticlient7.2-46439.patch --]
[-- Type: text/x-diff, Size: 6204 bytes --]
From 64c42d369bcb391dc3bc38c19113c630f11daba2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 5 Oct 2023 10:44:31 +0200
Subject: [PATCH] New package: forticlient-7.2.1.0700
---
srcpkgs/forticlient/files/forticlient/run | 3 +
srcpkgs/forticlient/template | 106 ++++++++++++++++++++++
srcpkgs/forticlient/update | 1 +
3 files changed, 110 insertions(+)
create mode 100755 srcpkgs/forticlient/files/forticlient/run
create mode 100644 srcpkgs/forticlient/template
create mode 100644 srcpkgs/forticlient/update
diff --git a/srcpkgs/forticlient/files/forticlient/run b/srcpkgs/forticlient/files/forticlient/run
new file mode 100755
index 0000000000000..c6ad465a81733
--- /dev/null
+++ b/srcpkgs/forticlient/files/forticlient/run
@@ -0,0 +1,3 @@
+#! /bin/sh
+exec 2>&1
+exec /opt/forticlient/fctsched
diff --git a/srcpkgs/forticlient/template b/srcpkgs/forticlient/template
new file mode 100644
index 0000000000000..5aff92c226094
--- /dev/null
+++ b/srcpkgs/forticlient/template
@@ -0,0 +1,106 @@
+# Template file for 'forticlient'
+pkgname=forticlient
+version=7.2.1.0700
+revision=1
+archs="x86_64"
+depends="libffi"
+short_desc="FortiClient VPN"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="custom:Proprietary"
+homepage="https://www.fortinet.com"
+distfiles="https://repo.fortinet.com/repo/forticlient/7.2/debian/pool/non-free/f/forticlient/forticlient_${version}_amd64.deb"
+checksum=e2197329afc7305e558da2c69dccaaf0b526e787095578d917ed78cea0a18260
+alternatives="forticlient:/usr/bin/FortiClient:/opt/forticlient/gui/FortiClient-linux-x64/FortiClient"
+make_dirs="/etc/forticlient 0755 root root
+ /var/log/forticlient/ 0755 root root"
+repository=nonfree
+nopie=yes
+
+do_install() {
+ vmkdir usr/share/applications
+ vinstall usr/share/applications/forticlient.desktop 644 /usr/share/applications
+ vinstall usr/share/applications/forticlient-register.desktop 644 /usr/share/applications
+ vinstall opt/forticlient/Fortitray.desktop 644 /usr/share/applications
+
+ vmkdir usr/share/doc/forticlient
+ vinstall usr/share/doc/forticlient/changelog 644 /usr/share/doc/forticlient
+ vinstall usr/share/doc/forticlient/copyright 644 /usr/share/doc/forticlient
+
+ for size in 16 22 24 32 48 64 128 256; do
+ vinstall usr/share/icons/hicolor/${size}x${size}/apps/forticlient.png 644 \
+ /usr/share/icons/hicolor/${size}x${size}/apps
+ done
+
+ vinstall usr/share/polkit-1/actions/org.fortinet.forticlient.policy 644 \
+ /usr/share/polkit-1/actions
+ vinstall usr/share/polkit-1/actions/org.fortinet.fortitray.policy 644 \
+ /usr/share/polkit-1/actions
+
+ cd opt/forticlient
+ vinstall FortiGuardAgent 744 /opt/forticlient
+ vinstall confighandler 744 /opt/forticlient
+ vinstall epctrl 744 /opt/forticlient
+ vinstall fazlogupload 744 /opt/forticlient
+ vinstall fchelper 744 /opt/forticlient
+ vinstall fctsched 744 /opt/forticlient
+ vinstall firewall 744 /opt/forticlient
+ vinstall fmon 744 /opt/forticlient
+ vinstall forticlient-cli 744 /opt/forticlient
+ vinstall fortitray 744 /opt/forticlient
+ vinstall fortitraylauncher 744 /opt/forticlient
+ vinstall fortivpn 744 /opt/forticlient
+ vinstall scanunit 744 /opt/forticlient
+ vinstall update 744 /opt/forticlient
+ vinstall vpn 744 /opt/forticlient
+ vinstall vulscan 744 /opt/forticlient
+ vinstall webfilter 744 /opt/forticlient
+ vinstall ztproxy 744 /opt/forticlient
+
+ vinstall FGD_category_list.json 644 /opt/forticlient
+ vinstall TLS_whitelist.json 644 /opt/forticlient
+ vinstall icdb 644 /opt/forticlient
+ vinstall isdb_app.txt 644 /opt/forticlient
+ vinstall isdb_map.dat 644 /opt/forticlient
+ vinstall libav.so 644 /opt/forticlient
+ vinstall libvcm.so 644 /opt/forticlient
+ vinstall wf_intercepted_apps.json 644 /opt/forticlient
+ vinstall vcm_sig/vulns.dat 644 /opt/forticlient/vcm_sig
+ vinstall vir_sig/vir_high 644 /opt/forticlient/vir_sig/vir_high
+
+ cd images
+ for name in Forticlient Virus_Alert alert avatar_b notification_error notification_info notification_warning; do
+ vinstall ${name}.png 644 /opt/forticlient/images
+ done
+ cd ../gui/FortiClient-linux-x64
+ vmkdir /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall FortiClient 744 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome-sandbox 744 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome_100_percent.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome_200_percent.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall icudtl.dat 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libEGL.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libGLESv2.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libffmpeg.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libvk_swiftshader.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libvulkan.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall resources.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall snapshot_blob.bin 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall v8_context_snapshot.bin 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall version 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall vk_swiftshader_icd.json 644 /opt/forticlient/gui/FortiClient-linux-x64
+
+ vmkdir opt/forticlient/gui/FortiClient-linux-x64/locales
+ vcopy "locales/*.pak" opt/forticlient/gui/FortiClient-linux-x64/locales
+
+ vinstall resources/app.asar 644 /opt/forticlient/gui/FortiClient-linux-x64/resources
+
+ vinstall swiftshader/libEGL.so 644 /opt/forticlient/gui/FortiClient-linux-x64/swiftshader
+ vinstall swiftshader/libGLESv2.so 644 /opt/forticlient/gui/FortiClient-linux-x64/swiftshader
+}
+
+post_install() {
+ vsv forticlient
+ vlicense usr/share/doc/forticlient/copyright
+ vlicense opt/forticlient/gui/FortiClient-linux-x64/LICENSE
+ vlicense opt/forticlient/gui/FortiClient-linux-x64/LICENSES.chromium.html
+}
diff --git a/srcpkgs/forticlient/update b/srcpkgs/forticlient/update
new file mode 100644
index 0000000000000..349f3b1e82e3b
--- /dev/null
+++ b/srcpkgs/forticlient/update
@@ -0,0 +1 @@
+pattern="forticlient_\K[\d.]+_amd64.deb"
\ No newline at end of file
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: forticlient-7.2.1.0700
2023-10-05 8:54 [PR PATCH] [WIP] New package: forticlient-7.2.1.0700 Eloitor
2023-10-05 9:03 ` [PR PATCH] [Updated] " Eloitor
@ 2023-10-05 9:07 ` Eloitor
2023-10-05 9:13 ` Eloitor
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Eloitor @ 2023-10-05 9:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 870 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages forticlient7.2
https://github.com/void-linux/void-packages/pull/46439
[WIP] New package: forticlient-7.2.1.0700
Forticlient VPN, which is a bit tricky to get running on void. It works for me, and I'm not sure about which dependencies does it require.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **NO**
- Proprietary
- Installs in /opt
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/46439.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-forticlient7.2-46439.patch --]
[-- Type: text/x-diff, Size: 6194 bytes --]
From 9bbc866486a3dfc514b70157921ef32b3c8f8b6b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 5 Oct 2023 10:44:31 +0200
Subject: [PATCH] New package: forticlient-7.2.1.0700
---
srcpkgs/forticlient/files/forticlient/run | 3 +
srcpkgs/forticlient/template | 106 ++++++++++++++++++++++
srcpkgs/forticlient/update | 1 +
3 files changed, 110 insertions(+)
create mode 100755 srcpkgs/forticlient/files/forticlient/run
create mode 100644 srcpkgs/forticlient/template
create mode 100644 srcpkgs/forticlient/update
diff --git a/srcpkgs/forticlient/files/forticlient/run b/srcpkgs/forticlient/files/forticlient/run
new file mode 100755
index 0000000000000..c6ad465a81733
--- /dev/null
+++ b/srcpkgs/forticlient/files/forticlient/run
@@ -0,0 +1,3 @@
+#! /bin/sh
+exec 2>&1
+exec /opt/forticlient/fctsched
diff --git a/srcpkgs/forticlient/template b/srcpkgs/forticlient/template
new file mode 100644
index 0000000000000..5aff92c226094
--- /dev/null
+++ b/srcpkgs/forticlient/template
@@ -0,0 +1,106 @@
+# Template file for 'forticlient'
+pkgname=forticlient
+version=7.2.1.0700
+revision=1
+archs="x86_64"
+depends="libffi"
+short_desc="FortiClient VPN"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="custom:Proprietary"
+homepage="https://www.fortinet.com"
+distfiles="https://repo.fortinet.com/repo/forticlient/7.2/debian/pool/non-free/f/forticlient/forticlient_${version}_amd64.deb"
+checksum=e2197329afc7305e558da2c69dccaaf0b526e787095578d917ed78cea0a18260
+alternatives="forticlient:/usr/bin/FortiClient:/opt/forticlient/gui/FortiClient-linux-x64/FortiClient"
+make_dirs="/etc/forticlient 0755 root root
+ /var/log/forticlient/ 0755 root root"
+repository=nonfree
+nopie=yes
+
+do_install() {
+ vmkdir usr/share/applications
+ vinstall usr/share/applications/forticlient.desktop 644 /usr/share/applications
+ vinstall usr/share/applications/forticlient-register.desktop 644 /usr/share/applications
+ vinstall opt/forticlient/Fortitray.desktop 644 /usr/share/applications
+
+ vmkdir usr/share/doc/forticlient
+ vinstall usr/share/doc/forticlient/changelog 644 /usr/share/doc/forticlient
+ vinstall usr/share/doc/forticlient/copyright 644 /usr/share/doc/forticlient
+
+ for size in 16 22 24 32 48 64 128 256; do
+ vinstall usr/share/icons/hicolor/${size}x${size}/apps/forticlient.png 644 \
+ /usr/share/icons/hicolor/${size}x${size}/apps
+ done
+
+ vinstall usr/share/polkit-1/actions/org.fortinet.forticlient.policy 644 \
+ /usr/share/polkit-1/actions
+ vinstall usr/share/polkit-1/actions/org.fortinet.fortitray.policy 644 \
+ /usr/share/polkit-1/actions
+
+ cd opt/forticlient
+ vinstall FortiGuardAgent 744 /opt/forticlient
+ vinstall confighandler 744 /opt/forticlient
+ vinstall epctrl 744 /opt/forticlient
+ vinstall fazlogupload 744 /opt/forticlient
+ vinstall fchelper 744 /opt/forticlient
+ vinstall fctsched 744 /opt/forticlient
+ vinstall firewall 744 /opt/forticlient
+ vinstall fmon 744 /opt/forticlient
+ vinstall forticlient-cli 744 /opt/forticlient
+ vinstall fortitray 744 /opt/forticlient
+ vinstall fortitraylauncher 744 /opt/forticlient
+ vinstall fortivpn 744 /opt/forticlient
+ vinstall scanunit 744 /opt/forticlient
+ vinstall update 744 /opt/forticlient
+ vinstall vpn 744 /opt/forticlient
+ vinstall vulscan 744 /opt/forticlient
+ vinstall webfilter 744 /opt/forticlient
+ vinstall ztproxy 744 /opt/forticlient
+
+ vinstall FGD_category_list.json 644 /opt/forticlient
+ vinstall TLS_whitelist.json 644 /opt/forticlient
+ vinstall icdb 644 /opt/forticlient
+ vinstall isdb_app.txt 644 /opt/forticlient
+ vinstall isdb_map.dat 644 /opt/forticlient
+ vinstall libav.so 644 /opt/forticlient
+ vinstall libvcm.so 644 /opt/forticlient
+ vinstall wf_intercepted_apps.json 644 /opt/forticlient
+ vinstall vcm_sig/vulns.dat 644 /opt/forticlient/vcm_sig
+ vinstall vir_sig/vir_high 644 /opt/forticlient/vir_sig/vir_high
+
+ cd images
+ for name in Forticlient Virus_Alert alert avatar_b notification_error notification_info notification_warning; do
+ vinstall ${name}.png 644 /opt/forticlient/images
+ done
+ cd ../gui/FortiClient-linux-x64
+ vmkdir /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall FortiClient 744 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome-sandbox 744 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome_100_percent.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome_200_percent.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall icudtl.dat 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libEGL.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libGLESv2.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libffmpeg.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libvk_swiftshader.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libvulkan.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall resources.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall snapshot_blob.bin 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall v8_context_snapshot.bin 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall version 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall vk_swiftshader_icd.json 644 /opt/forticlient/gui/FortiClient-linux-x64
+
+ vmkdir opt/forticlient/gui/FortiClient-linux-x64/locales
+ vcopy "locales/*.pak" opt/forticlient/gui/FortiClient-linux-x64/locales
+
+ vinstall resources/app.asar 644 /opt/forticlient/gui/FortiClient-linux-x64/resources
+
+ vinstall swiftshader/libEGL.so 644 /opt/forticlient/gui/FortiClient-linux-x64/swiftshader
+ vinstall swiftshader/libGLESv2.so 644 /opt/forticlient/gui/FortiClient-linux-x64/swiftshader
+}
+
+post_install() {
+ vsv forticlient
+ vlicense usr/share/doc/forticlient/copyright
+ vlicense opt/forticlient/gui/FortiClient-linux-x64/LICENSE
+ vlicense opt/forticlient/gui/FortiClient-linux-x64/LICENSES.chromium.html
+}
diff --git a/srcpkgs/forticlient/update b/srcpkgs/forticlient/update
new file mode 100644
index 0000000000000..2895f28691111
--- /dev/null
+++ b/srcpkgs/forticlient/update
@@ -0,0 +1 @@
+pattern="forticlient_\K[\d.]+"
\ No newline at end of file
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: forticlient-7.2.1.0700
2023-10-05 8:54 [PR PATCH] [WIP] New package: forticlient-7.2.1.0700 Eloitor
2023-10-05 9:03 ` [PR PATCH] [Updated] " Eloitor
2023-10-05 9:07 ` Eloitor
@ 2023-10-05 9:13 ` Eloitor
2023-10-05 9:19 ` Eloitor
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Eloitor @ 2023-10-05 9:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 870 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages forticlient7.2
https://github.com/void-linux/void-packages/pull/46439
[WIP] New package: forticlient-7.2.1.0700
Forticlient VPN, which is a bit tricky to get running on void. It works for me, and I'm not sure about which dependencies does it require.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **NO**
- Proprietary
- Installs in /opt
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/46439.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-forticlient7.2-46439.patch --]
[-- Type: text/x-diff, Size: 6189 bytes --]
From 605281dae66f0205324ab566e0bdb3a5fa8493dd Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 5 Oct 2023 10:44:31 +0200
Subject: [PATCH] New package: forticlient-7.2.1.0700
---
srcpkgs/forticlient/files/forticlient/run | 3 +
srcpkgs/forticlient/template | 106 ++++++++++++++++++++++
srcpkgs/forticlient/update | 1 +
3 files changed, 110 insertions(+)
create mode 100755 srcpkgs/forticlient/files/forticlient/run
create mode 100644 srcpkgs/forticlient/template
create mode 100644 srcpkgs/forticlient/update
diff --git a/srcpkgs/forticlient/files/forticlient/run b/srcpkgs/forticlient/files/forticlient/run
new file mode 100755
index 0000000000000..c6ad465a81733
--- /dev/null
+++ b/srcpkgs/forticlient/files/forticlient/run
@@ -0,0 +1,3 @@
+#! /bin/sh
+exec 2>&1
+exec /opt/forticlient/fctsched
diff --git a/srcpkgs/forticlient/template b/srcpkgs/forticlient/template
new file mode 100644
index 0000000000000..0a596b88de1b2
--- /dev/null
+++ b/srcpkgs/forticlient/template
@@ -0,0 +1,106 @@
+# Template file for 'forticlient'
+pkgname=forticlient
+version=7.2.1.0700
+revision=1
+archs="x86_64"
+depends="libffi"
+short_desc="FortiClient VPN"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="custom:Proprietary"
+homepage="https://www.fortinet.com"
+distfiles="https://repo.fortinet.com/repo/forticlient/7.2/debian/pool/non-free/f/forticlient/forticlient_${version}_amd64.deb"
+checksum=e2197329afc7305e558da2c69dccaaf0b526e787095578d917ed78cea0a18260
+alternatives="forticlient:/usr/bin/FortiClient:/opt/forticlient/gui/FortiClient-linux-x64/FortiClient"
+make_dirs="/etc/forticlient 0755 root root
+ /var/log/forticlient/ 0755 root root"
+repository=nonfree
+nopie=yes
+
+do_install() {
+ vmkdir usr/share/applications
+ vinstall usr/share/applications/forticlient.desktop 644 /usr/share/applications
+ vinstall usr/share/applications/forticlient-register.desktop 644 /usr/share/applications
+ vinstall opt/forticlient/Fortitray.desktop 644 /usr/share/applications
+
+ vmkdir usr/share/doc/forticlient
+ vinstall usr/share/doc/forticlient/changelog 644 /usr/share/doc/forticlient
+ vinstall usr/share/doc/forticlient/copyright 644 /usr/share/doc/forticlient
+
+ for size in 16 22 24 32 48 64 128 256; do
+ vinstall usr/share/icons/hicolor/${size}x${size}/apps/forticlient.png 644 \
+ /usr/share/icons/hicolor/${size}x${size}/apps
+ done
+
+ vinstall usr/share/polkit-1/actions/org.fortinet.forticlient.policy 644 \
+ /usr/share/polkit-1/actions
+ vinstall usr/share/polkit-1/actions/org.fortinet.fortitray.policy 644 \
+ /usr/share/polkit-1/actions
+
+ cd opt/forticlient
+ vinstall FortiGuardAgent 744 /opt/forticlient
+ vinstall confighandler 744 /opt/forticlient
+ vinstall epctrl 744 /opt/forticlient
+ vinstall fazlogupload 744 /opt/forticlient
+ vinstall fchelper 744 /opt/forticlient
+ vinstall fctsched 744 /opt/forticlient
+ vinstall firewall 744 /opt/forticlient
+ vinstall fmon 744 /opt/forticlient
+ vinstall forticlient-cli 744 /opt/forticlient
+ vinstall fortitray 744 /opt/forticlient
+ vinstall fortitraylauncher 744 /opt/forticlient
+ vinstall fortivpn 744 /opt/forticlient
+ vinstall scanunit 744 /opt/forticlient
+ vinstall update 744 /opt/forticlient
+ vinstall vpn 744 /opt/forticlient
+ vinstall vulscan 744 /opt/forticlient
+ vinstall webfilter 744 /opt/forticlient
+ vinstall ztproxy 744 /opt/forticlient
+
+ vinstall FGD_category_list.json 644 /opt/forticlient
+ vinstall TLS_whitelist.json 644 /opt/forticlient
+ vinstall icdb 644 /opt/forticlient
+ vinstall isdb_app.txt 644 /opt/forticlient
+ vinstall isdb_map.dat 644 /opt/forticlient
+ vinstall libav.so 644 /opt/forticlient
+ vinstall libvcm.so 644 /opt/forticlient
+ vinstall wf_intercepted_apps.json 644 /opt/forticlient
+ vinstall vcm_sig/vulns.dat 644 /opt/forticlient/vcm_sig
+ vinstall vir_sig/vir_high 644 /opt/forticlient/vir_sig/vir_high
+
+ cd images
+ for name in Forticlient Virus_Alert alert avatar_b notification_error notification_info notification_warning; do
+ vinstall ${name}.png 644 /opt/forticlient/images
+ done
+ cd ../gui/FortiClient-linux-x64
+ vmkdir /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall FortiClient 744 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome-sandbox 744 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome_100_percent.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome_200_percent.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall icudtl.dat 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libEGL.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libGLESv2.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libffmpeg.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libvk_swiftshader.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libvulkan.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall resources.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall snapshot_blob.bin 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall v8_context_snapshot.bin 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall version 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall vk_swiftshader_icd.json 644 /opt/forticlient/gui/FortiClient-linux-x64
+
+ vmkdir opt/forticlient/gui/FortiClient-linux-x64/locales
+ vcopy "locales/*.pak" opt/forticlient/gui/FortiClient-linux-x64/locales
+
+ vinstall resources/app.asar 644 /opt/forticlient/gui/FortiClient-linux-x64/resources
+
+ vinstall swiftshader/libEGL.so 644 /opt/forticlient/gui/FortiClient-linux-x64/swiftshader
+ vinstall swiftshader/libGLESv2.so 644 /opt/forticlient/gui/FortiClient-linux-x64/swiftshader
+}
+
+post_install() {
+ vsv forticlient
+ vlicense usr/share/doc/forticlient/copyright
+ vlicense opt/forticlient/gui/FortiClient-linux-x64/LICENSE
+ vlicense opt/forticlient/gui/FortiClient-linux-x64/LICENSES.chromium.html
+}
diff --git a/srcpkgs/forticlient/update b/srcpkgs/forticlient/update
new file mode 100644
index 0000000000000..2895f28691111
--- /dev/null
+++ b/srcpkgs/forticlient/update
@@ -0,0 +1 @@
+pattern="forticlient_\K[\d.]+"
\ No newline at end of file
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [WIP] New package: forticlient-7.2.1.0700
2023-10-05 8:54 [PR PATCH] [WIP] New package: forticlient-7.2.1.0700 Eloitor
` (2 preceding siblings ...)
2023-10-05 9:13 ` Eloitor
@ 2023-10-05 9:19 ` Eloitor
2023-10-05 11:30 ` [PR PATCH] [Updated] " Eloitor
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Eloitor @ 2023-10-05 9:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 208 bytes --]
New comment by Eloitor on void-packages repository
https://github.com/void-linux/void-packages/pull/46439#issuecomment-1748460784
Comment:
I'm not sure about the permissions that I should set for each file
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Updated] [WIP] New package: forticlient-7.2.1.0700
2023-10-05 8:54 [PR PATCH] [WIP] New package: forticlient-7.2.1.0700 Eloitor
` (3 preceding siblings ...)
2023-10-05 9:19 ` Eloitor
@ 2023-10-05 11:30 ` Eloitor
2024-01-04 1:46 ` github-actions
2024-01-18 1:46 ` [PR PATCH] [Closed]: " github-actions
6 siblings, 0 replies; 8+ messages in thread
From: Eloitor @ 2023-10-05 11:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 870 bytes --]
There is an updated pull request by Eloitor against master on the void-packages repository
https://github.com/Eloitor/void-packages forticlient7.2
https://github.com/void-linux/void-packages/pull/46439
[WIP] New package: forticlient-7.2.1.0700
Forticlient VPN, which is a bit tricky to get running on void. It works for me, and I'm not sure about which dependencies does it require.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **NO**
- Proprietary
- Installs in /opt
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/46439.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-forticlient7.2-46439.patch --]
[-- Type: text/x-diff, Size: 6183 bytes --]
From 1dde019dc179311b09f372e2d7615b5ba1907629 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitor@disroot.org>
Date: Thu, 5 Oct 2023 10:44:31 +0200
Subject: [PATCH] New package: forticlient-7.2.1.0700
---
srcpkgs/forticlient/files/forticlient/run | 3 +
srcpkgs/forticlient/template | 106 ++++++++++++++++++++++
srcpkgs/forticlient/update | 1 +
3 files changed, 110 insertions(+)
create mode 100755 srcpkgs/forticlient/files/forticlient/run
create mode 100644 srcpkgs/forticlient/template
create mode 100644 srcpkgs/forticlient/update
diff --git a/srcpkgs/forticlient/files/forticlient/run b/srcpkgs/forticlient/files/forticlient/run
new file mode 100755
index 0000000000000..c6ad465a81733
--- /dev/null
+++ b/srcpkgs/forticlient/files/forticlient/run
@@ -0,0 +1,3 @@
+#! /bin/sh
+exec 2>&1
+exec /opt/forticlient/fctsched
diff --git a/srcpkgs/forticlient/template b/srcpkgs/forticlient/template
new file mode 100644
index 0000000000000..279a2deb784e7
--- /dev/null
+++ b/srcpkgs/forticlient/template
@@ -0,0 +1,106 @@
+# Template file for 'forticlient'
+pkgname=forticlient
+version=7.2.1.0700
+revision=1
+archs="x86_64"
+depends="libffi"
+short_desc="FortiClient VPN"
+maintainer="Eloi Torrents <eloitor@disroot.org>"
+license="custom:Proprietary"
+homepage="https://www.fortinet.com"
+distfiles="https://repo.fortinet.com/repo/forticlient/7.2/debian/pool/non-free/f/forticlient/forticlient_${version}_amd64.deb"
+checksum=e2197329afc7305e558da2c69dccaaf0b526e787095578d917ed78cea0a18260
+alternatives="forticlient:/usr/bin/FortiClient:/opt/forticlient/gui/FortiClient-linux-x64/FortiClient"
+make_dirs="/etc/forticlient 0755 root root
+ /var/log/forticlient/ 0755 root root"
+repository=nonfree
+nopie=yes
+
+do_install() {
+ vmkdir usr/share/applications
+ vinstall usr/share/applications/forticlient.desktop 644 /usr/share/applications
+ vinstall usr/share/applications/forticlient-register.desktop 644 /usr/share/applications
+ vinstall opt/forticlient/Fortitray.desktop 644 /usr/share/applications
+
+ vmkdir usr/share/doc/forticlient
+ vinstall usr/share/doc/forticlient/changelog 644 /usr/share/doc/forticlient
+ vinstall usr/share/doc/forticlient/copyright 644 /usr/share/doc/forticlient
+
+ for size in 16 22 24 32 48 64 128 256; do
+ vinstall usr/share/icons/hicolor/${size}x${size}/apps/forticlient.png 644 \
+ /usr/share/icons/hicolor/${size}x${size}/apps
+ done
+
+ vinstall usr/share/polkit-1/actions/org.fortinet.forticlient.policy 644 \
+ /usr/share/polkit-1/actions
+ vinstall usr/share/polkit-1/actions/org.fortinet.fortitray.policy 644 \
+ /usr/share/polkit-1/actions
+
+ cd opt/forticlient
+ vinstall FortiGuardAgent 744 /opt/forticlient
+ vinstall confighandler 744 /opt/forticlient
+ vinstall epctrl 744 /opt/forticlient
+ vinstall fazlogupload 744 /opt/forticlient
+ vinstall fchelper 744 /opt/forticlient
+ vinstall fctsched 744 /opt/forticlient
+ vinstall firewall 744 /opt/forticlient
+ vinstall fmon 744 /opt/forticlient
+ vinstall forticlient-cli 744 /opt/forticlient
+ vinstall fortitray 744 /opt/forticlient
+ vinstall fortitraylauncher 744 /opt/forticlient
+ vinstall fortivpn 744 /opt/forticlient
+ vinstall scanunit 744 /opt/forticlient
+ vinstall update 744 /opt/forticlient
+ vinstall vpn 744 /opt/forticlient
+ vinstall vulscan 744 /opt/forticlient
+ vinstall webfilter 744 /opt/forticlient
+ vinstall ztproxy 744 /opt/forticlient
+
+ vinstall FGD_category_list.json 644 /opt/forticlient
+ vinstall TLS_whitelist.json 644 /opt/forticlient
+ vinstall icdb 644 /opt/forticlient
+ vinstall isdb_app.txt 644 /opt/forticlient
+ vinstall isdb_map.dat 644 /opt/forticlient
+ vinstall libav.so 644 /opt/forticlient
+ vinstall libvcm.so 644 /opt/forticlient
+ vinstall wf_intercepted_apps.json 644 /opt/forticlient
+ vinstall vcm_sig/vulns.dat 644 /opt/forticlient/vcm_sig
+ vinstall vir_sig/vir_high 644 /opt/forticlient/vir_sig/vir_high
+
+ for name in Forticlient Virus_Alert alert avatar_b notification_error notification_info notification_warning; do
+ vinstall images/${name}.png 644 /opt/forticlient/images
+ done
+
+ cd gui/FortiClient-linux-x64
+ vmkdir /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall FortiClient 744 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome-sandbox 744 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome_100_percent.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall chrome_200_percent.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall icudtl.dat 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libEGL.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libGLESv2.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libffmpeg.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libvk_swiftshader.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall libvulkan.so 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall resources.pak 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall snapshot_blob.bin 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall v8_context_snapshot.bin 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall version 644 /opt/forticlient/gui/FortiClient-linux-x64
+ vinstall vk_swiftshader_icd.json 644 /opt/forticlient/gui/FortiClient-linux-x64
+
+ vmkdir opt/forticlient/gui/FortiClient-linux-x64/locales
+ vcopy "locales/*.pak" opt/forticlient/gui/FortiClient-linux-x64/locales
+
+ vinstall resources/app.asar 644 /opt/forticlient/gui/FortiClient-linux-x64/resources
+
+ vinstall swiftshader/libEGL.so 644 /opt/forticlient/gui/FortiClient-linux-x64/swiftshader
+ vinstall swiftshader/libGLESv2.so 644 /opt/forticlient/gui/FortiClient-linux-x64/swiftshader
+}
+
+post_install() {
+ vsv forticlient
+ vlicense usr/share/doc/forticlient/copyright
+ vlicense opt/forticlient/gui/FortiClient-linux-x64/LICENSE
+ vlicense opt/forticlient/gui/FortiClient-linux-x64/LICENSES.chromium.html
+}
diff --git a/srcpkgs/forticlient/update b/srcpkgs/forticlient/update
new file mode 100644
index 0000000000000..2895f28691111
--- /dev/null
+++ b/srcpkgs/forticlient/update
@@ -0,0 +1 @@
+pattern="forticlient_\K[\d.]+"
\ No newline at end of file
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [WIP] New package: forticlient-7.2.1.0700
2023-10-05 8:54 [PR PATCH] [WIP] New package: forticlient-7.2.1.0700 Eloitor
` (4 preceding siblings ...)
2023-10-05 11:30 ` [PR PATCH] [Updated] " Eloitor
@ 2024-01-04 1:46 ` github-actions
2024-01-18 1:46 ` [PR PATCH] [Closed]: " github-actions
6 siblings, 0 replies; 8+ messages in thread
From: github-actions @ 2024-01-04 1:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 305 bytes --]
New comment by github-actions[bot] on void-packages repository
https://github.com/void-linux/void-packages/pull/46439#issuecomment-1876198195
Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PR PATCH] [Closed]: [WIP] New package: forticlient-7.2.1.0700
2023-10-05 8:54 [PR PATCH] [WIP] New package: forticlient-7.2.1.0700 Eloitor
` (5 preceding siblings ...)
2024-01-04 1:46 ` github-actions
@ 2024-01-18 1:46 ` github-actions
6 siblings, 0 replies; 8+ messages in thread
From: github-actions @ 2024-01-18 1:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 707 bytes --]
There's a closed pull request on the void-packages repository
[WIP] New package: forticlient-7.2.1.0700
https://github.com/void-linux/void-packages/pull/46439
Description:
Forticlient VPN, which is a bit tricky to get running on void. It works for me, and I'm not sure about which dependencies does it require.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **NO**
- Proprietary
- Installs in /opt
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
^ permalink raw reply [flat|nested] 8+ messages in thread