From e8879f1f678eb54726dac34f7572b40d19eea6ab Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Thu, 2 Dec 2021 09:42:19 +0200 Subject: [PATCH] Remove chrome-policy package WE2-613 Signed-off-by: Raul Metsma --- debian/control | 9 --------- debian/web-eid-chrome-policy.install | 1 - debian/web-eid-chrome-policy.postinst | 8 -------- debian/web-eid-chrome-policy.postrm | 11 ----------- src/app/CMakeLists.txt | 2 -- 5 files changed, 31 deletions(-) delete mode 100644 debian/web-eid-chrome-policy.install delete mode 100644 debian/web-eid-chrome-policy.postinst delete mode 100644 debian/web-eid-chrome-policy.postrm diff --git a/debian/control b/debian/control index 1811ee75..7948738b 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,6 @@ Package: web-eid Architecture: all Depends: web-eid-native Recommends: web-eid-firefox, web-eid-chrome -Suggests: web-eid-chrome-policy Replaces: chrome-token-signing Breaks: chrome-token-signing Description: Web eID application suite (metapackage) @@ -51,11 +50,3 @@ Description: Web eID browser extension for Chrome The Web eID extension for Chrome communicates with the Web eID native application using Native messaging to enable usage of electronic ID smart cards for secure authentication and digital signing of documents on the web. - -Package: web-eid-chrome-policy -Architecture: all -Depends: web-eid-chrome (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} -Replaces: chrome-token-signing-policy -Breaks: chrome-token-signing-policy -Description: Chrome policy to enable Web eID browser extension - Chrome policy for enabling extension by default. diff --git a/debian/web-eid-chrome-policy.install b/debian/web-eid-chrome-policy.install deleted file mode 100644 index 8400a776..00000000 --- a/debian/web-eid-chrome-policy.install +++ /dev/null @@ -1 +0,0 @@ -usr/share/web-eid/eu.webeid.chrome-policy.json \ No newline at end of file diff --git a/debian/web-eid-chrome-policy.postinst b/debian/web-eid-chrome-policy.postinst deleted file mode 100644 index 45fdf359..00000000 --- a/debian/web-eid-chrome-policy.postinst +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -set -e - -mkdir -p /etc/opt/chrome/policies/managed -ln -sf /usr/share/web-eid/eu.webeid.chrome-policy.json \ - /etc/opt/chrome/policies/managed/eu.webeid.chrome-policy.json - -#DEBHELPER# diff --git a/debian/web-eid-chrome-policy.postrm b/debian/web-eid-chrome-policy.postrm deleted file mode 100644 index 1796eb52..00000000 --- a/debian/web-eid-chrome-policy.postrm +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -set -e - -# Workaround postrm when folder is missing -mkdir -p /etc/opt/chrome/policies/managed - -rm -f /etc/opt/chrome/policies/managed/eu.webeid.chrome-policy.json -rmdir -p --ignore-fail-on-non-empty /etc/opt/chrome/policies/managed - -#DEBHELPER# diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index 48e5370b..e73b8ce1 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -175,8 +175,6 @@ else() DESTINATION ${CMAKE_INSTALL_DATADIR}/web-eid) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eu.webeid.firefox.json DESTINATION "${MOZILLA_INSTALL_DIR}" RENAME eu.webeid.json) - install(FILES ${CMAKE_SOURCE_DIR}/install/eu.webeid.chrome-policy.json - DESTINATION ${CMAKE_INSTALL_DATADIR}/web-eid) install(FILES ${CMAKE_SOURCE_DIR}/install/ncibgoaomkmdpilpocfeponihegamlic.json DESTINATION "${CMAKE_INSTALL_FULL_DATADIR}/google-chrome/extensions") install(FILES ${CMAKE_SOURCE_DIR}/install/web-eid.desktop