summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Kleinschmidt2022-10-12 14:56:47 +0200
committerTim Kleinschmidt2022-10-12 14:56:47 +0200
commite0bb50e7b34a7c31c544ec6d84fcc72fef9c7082 (patch)
tree7361bd04c94e0de0c4acce91f6f8842d1ca4201b
parentd433d2ae953ab493f4a13e73054d3a7e2d8c6c18 (diff)
downloadaur-e0bb50e7b34a7c31c544ec6d84fcc72fef9c7082.tar.gz
Remove custom permission handling
This was introuce in the first commit (3ccf7959ec0b). Since then it always make trouble if some new executables was introuced inside electron on which Gitkraken depends. There are no clear statements to this inside wiki for example regarding security concerns. https://wiki.archlinux.org/title/PKGBUILD https://wiki.archlinux.org/title/creating_packages This custom permission is removed to address current issues regarding the upgrade. Close #207
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 2 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 80732f9debe5..40eacc6fb504 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gitkraken
pkgdesc = The intuitive, fast, and beautiful cross-platform Git client.
pkgver = 8.10.0
- pkgrel = 2
+ pkgrel = 3
url = https://www.gitkraken.com/
arch = x86_64
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 6eaa4ebd4b76..4c50fc0b728c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
# Contributor: KokaKiwi <kokakiwi+aur@kokakiwi.net>
pkgname=gitkraken
-pkgrel=2
+pkgrel=3
pkgver=8.10.0
pkgdesc="The intuitive, fast, and beautiful cross-platform Git client."
url="https://www.gitkraken.com/"
@@ -37,14 +37,6 @@ package() {
install -d "$pkgdir"/opt
cp -R "$srcdir"/gitkraken "$pkgdir"/opt/gitkraken
- find "$pkgdir"/opt/gitkraken/ -type f -exec chmod 644 {} \;
- chmod 755 "$pkgdir"/opt/gitkraken/gitkraken
- chmod 755 "$pkgdir"/opt/gitkraken/chrome_crashpad_handler
- chmod 755 "$pkgdir"/opt/gitkraken/resources/app.asar.unpacked/src/js/redux/domain/AskPass/AskPass.sh
- chmod 755 "$pkgdir"/opt/gitkraken/resources/app.asar.unpacked/resources/cli/unix/gk
- chmod 755 "$pkgdir"/opt/gitkraken/resources/app.asar.unpacked/resources/cli/unix/gkrc
- chmod 4755 "$pkgdir"/opt/gitkraken/chrome-sandbox
-
install -d "$pkgdir"/usr/bin
install -D -m755 "./gitkraken.sh" "${pkgdir}/usr/bin/gitkraken"