From ca63ba0b9b039d27497716c25c802f4fefde8915 Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Tue, 7 Mar 2017 11:57:17 +0200 Subject: testing/pwsafe: set SUID bit --- testing/pwsafe/APKBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testing/pwsafe/APKBUILD') 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" -- cgit v1.2.3