summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraulonsal2022-05-29 18:28:43 +0530
committeraulonsal2022-05-29 18:28:43 +0530
commit2e353785b2cbfdb3e30b6f9b9f86a1e213434296 (patch)
tree092fa0a361abbb38f3656485546f45dc9b620584
parent5a36d55b79fb3549890985472ff35ef94fe5ad29 (diff)
downloadaur-2e353785b2cbfdb3e30b6f9b9f86a1e213434296.tar.gz
upgpkg: dbgate-bin 5.0.1-3 Set SUID bit on chrome-sandbox
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--dbgate.install7
3 files changed, 11 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5ddd0e993502..fe3778ade051 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = dbgate-bin
pkgdesc = Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others
pkgver = 5.0.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/dbgate/dbgate
+ install = dbgate.install
arch = x86_64
license = MIT
depends = nss
diff --git a/PKGBUILD b/PKGBUILD
index 8df6c85d9bcd..3213c5f6d792 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: aulonsal <aulonsal at gmail dot com>
pkgname=dbgate-bin
pkgver=5.0.1
-pkgrel=2
+pkgrel=3
pkgdesc='Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others'
arch=('x86_64')
url="https://github.com/${pkgname%-bin}/${pkgname%-bin}"
@@ -12,6 +12,7 @@ depends=(
)
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
+install=dbgate.install
source=(
"$pkgname-$pkgver.deb::$url/releases/download/v$pkgver/dbgate-$pkgver-linux_amd64.deb"
"$pkgname-$pkgver-LICENSE::${url/github/raw.githubusercontent}/v$pkgver/LICENSE"
diff --git a/dbgate.install b/dbgate.install
new file mode 100644
index 000000000000..0a6b5d7550c8
--- /dev/null
+++ b/dbgate.install
@@ -0,0 +1,7 @@
+post_install() {
+ chmod u+s /opt/DbGate/chrome-sandbox
+}
+
+post_upgrade() {
+ post_install
+}