aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pwsafe/APKBUILD
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-03-07 11:57:17 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-03-07 11:57:17 +0200
commitca63ba0b9b039d27497716c25c802f4fefde8915 (patch)
tree1f5a595ecb63e7adc5ae69632f60977fe2fbe44f /testing/pwsafe/APKBUILD
parent234f580539009569357111f1aa2d2af09a9b7f70 (diff)
downloadaports-ca63ba0b9b039d27497716c25c802f4fefde8915.tar.bz2
aports-ca63ba0b9b039d27497716c25c802f4fefde8915.tar.xz
testing/pwsafe: set SUID bit
Diffstat (limited to 'testing/pwsafe/APKBUILD')
-rw-r--r--testing/pwsafe/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/pwsafe/APKBUILD b/testing/pwsafe/APKBUILD
index 3cc0ad2f8e..739ed3f965 100644
--- a/testing/pwsafe/APKBUILD
+++ b/testing/pwsafe/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=pwsafe
pkgver=0.2.0
-pkgrel=3
+pkgrel=4
pkgdesc="Password database"
url="http://nsd.dyndns.org/pwsafe/"
arch="all !aarch64"
@@ -10,6 +10,7 @@ license="GPL2"
makedepends="ncurses-dev libressl-dev libxmu-dev readline-dev"
subpackages="$pkgname-doc"
source="http://nsd.dyndns.org/pwsafe/releases/pwsafe-$pkgver.tar.gz"
+options="suid"
builddir="$srcdir/$pkgname-$pkgver"
@@ -25,7 +26,7 @@ build() {
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install && chmod u+s "$pkgdir"/usr/bin/pwsafe
}
md5sums="4bb36538a2772ecbf1a542bc7d4746c0 pwsafe-0.2.0.tar.gz"