Package Details: endpoint-verification-chrome 2020.10.19.c337849236_00-2

Git Clone URL: https://aur.archlinux.org/endpoint-verification.git (read-only, click to copy)
Package Base: endpoint-verification
Description: Endpoint verification Helper for Google Chrome
Upstream URL: https://chrome.google.com/webstore/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg
Keywords: endpoint google verification
Licenses: unknown
Conflicts: endpoint-verification
Provides: endpoint-verification
Submitter: ilango100
Maintainer: ilango100
Last Packager: ilango100
Votes: 2
Popularity: 0.124631
First Submitted: 2020-06-09 10:15
Last Updated: 2020-11-06 13:21

Latest Comments

ilango100 commented on 2020-11-06 14:13

Package updated to latest version, service file update to start properly.

@VSpike, the error occurs when device_state.sh is run as is. But it's run with "init" argument in startup script, in which case, no errors occur.

@omgitsaheadcrab, I've moved the chromium dependency to sub-package, so it's not needed while building.

Thank you all for your support!

omgitsaheadcrab commented on 2020-10-14 11:57

This also fails if you don't have chromium installed. Is it possible to move the chromium dependency to inside that sub package?

VSpike commented on 2020-10-14 08:33

Sorry, I did this late last night and it was enough to make the errors go away from the browser extension but there are a couple of issues still.

First the line in the Systemd unit should be:-

ExecStart=/opt/google/endpoint-verification/endpoint-verification

not

ExecStart=/opt/google/endpoint_verification/endpoint-verification

I also had to add a line to the device_state.sh script to stop it aborting on an error:-

[root@johncc-x1 bin]# diff -p device_state.sh{.old,}
*** device_state.sh.old 2020-10-14 09:32:28.026281002 +0100
--- device_state.sh 2020-10-14 09:23:49.540632781 +0100
*************** get_disk_encrypted() {
*** 68,73 ****
--- 68,74 ----

  get_os_name_and_version() {
    OS_INFO_FILE=/etc/os-release
+   OS_VERSION=Unknown
    if [ -r "$OS_INFO_FILE" ]; then
      OS_NAME=$("$GREP" -i '^NAME=' "$OS_INFO_FILE" | "$AWK" -F= '{ print $2 }' | "$TR" [:upper:] [:lower:])
      case "$OS_NAME" in

ilango100 commented on 2020-10-14 06:59

Thanks a bunch for the patch @VSpike, the package is now updated.

VSpike commented on 2020-10-13 22:00

I had to bump the version like this to get the endpoint verification plugin working again.

diff --git a/PKGBUILD b/PKGBUILD
index 6769c0f..66addaa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,22 @@

 pkgbase=endpoint-verification
 pkgname=(endpoint-verification endpoint-verification-chrome)
-_pkgver=2019.10.07.c273328186-00
-pkgver=2019.10.07.c273328186_00
+_pkgver=2020.09.29.c334423510-00
+pkgver=2020.09.29.c334423510_00
 pkgrel=2
 pkgdesc="Endpoint Verification Helper for Chromium"
 arch=(x86_64)
 url="https://chrome.google.com/webstore/detail/endpoint-verification/callobklhcbilhphinckomhgkigmfocg"
 license=(unknown)
 depends=(chromium)
-sha256sums=("466d329b82384574a5b062adcd6312623918ac27c5ea3999985856366735bdca" "SKIP")
+sha256sums=("74682ecaa214a1cc192cd9be4be64f5b3762caf53e7a3376e103d11c7c37424a" "SKIP")
 source=("${pkgbase}.deb::https://packages.cloud.google.com/apt/pool/${pkgbase}_${_pkgver}_amd64_${sha256sums[0]}.deb"
        "endpoint-verification.service")

 prepare() {
        mkdir -p data
        tar -C data -xf data.tar.gz
-       mv data/etc/init.d/endpoint_verification.sh data/opt/google/endpoint_verification
+       mv data/etc/init.d/endpoint-verification data/opt/google/endpoint-verification
        rmdir data/etc/init.d
 }

diff --git a/endpoint-verification.service b/endpoint-verification.service
index 9d9eff5..d153639 100644
--- a/endpoint-verification.service
+++ b/endpoint-verification.service
@@ -3,7 +3,7 @@ Description=Endpoint Verification Service

 [Service]
 Type=oneshot
-ExecStart=/opt/google/endpoint_verification/endpoint_verification.sh
+ExecStart=/opt/google/endpoint_verification/endpoint-verification

 [Install]
 WantedBy=graphical.target

ilango100 commented on 2020-08-01 19:12

@bitfehler Glad I could be of help.

bitfehler commented on 2020-07-30 14:16

Hi there, thanks a lot for packaging this. I have a small suggestion: maybe you can optdepend on dmidecode? The tool uses that to retrieve the serial number and model name from the BIOS

edit: scratch that, sorry, I was just holding it wrong! So simply thanks for packaging then :)