From 6c10ff06abb7ca3a4db4c73624f73aafdd3b2e63 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 2 Nov 2011 23:14:55 +0000 Subject: Wed Nov 2 23:14:55 UTC 2011 --- social/monkeysphere/PKGBUILD | 2 +- social/monkeysphere/monkeysphere.install | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'social/monkeysphere') diff --git a/social/monkeysphere/PKGBUILD b/social/monkeysphere/PKGBUILD index c804b8409..ba869598e 100644 --- a/social/monkeysphere/PKGBUILD +++ b/social/monkeysphere/PKGBUILD @@ -4,7 +4,7 @@ # $Id: PKGBUILD 264 2010-11-10 00:57:53Z shtrom $ pkgname=monkeysphere pkgver=0.35 -pkgrel=1 +pkgrel=2 pkgdesc="Leverage the OpenPGP web of trust for OpenSSH and Web authentication" arch=('i686' 'x86_64') url="http://web.monkeysphere.info/" diff --git a/social/monkeysphere/monkeysphere.install b/social/monkeysphere/monkeysphere.install index cc31e728d..2013f9f41 100644 --- a/social/monkeysphere/monkeysphere.install +++ b/social/monkeysphere/monkeysphere.install @@ -12,7 +12,9 @@ post_install() { echo ">>> Creating monkeysphere user and group and setting permissions..." getent group monkeysphere >/dev/null || usr/sbin/groupadd monkeysphere getent passwd monkeysphere >/dev/null || usr/sbin/useradd -c 'Monkeysphere WoT server identification tool' -g monkeysphere -d '/var/lib/monkeysphere' -s /bin/bash monkeysphere - chown monkeysphere:monkeysphere /var/lib/monkeysphere + +# Should be root:root for sshd to work + chown root:root /var/lib/monkeysphere } # arg 1: the new package version @@ -24,7 +26,8 @@ pre_upgrade() { # arg 1: the new package version # arg 2: the old package version post_upgrade() { - /bin/true +# Should be root:root for sshd to work + chown root:root /var/lib/monkeysphere } # arg 1: the old package version -- cgit v1.2.3-54-g00ecf