summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/freebsd/files/patch-etclocation4
-rwxr-xr-xpackaging/freebsd/pkg-install2
2 files changed, 3 insertions, 3 deletions
diff --git a/packaging/freebsd/files/patch-etclocation b/packaging/freebsd/files/patch-etclocation
index 0100a9c..2ab3ac0 100644
--- a/packaging/freebsd/files/patch-etclocation
+++ b/packaging/freebsd/files/patch-etclocation
@@ -6,8 +6,8 @@ index c001f2d..d33fd36 100644
# authorized_keys file. '%h' will be replaced by the home directory
# of the user, and %u will be replaced by the username of the user.
# For purely admin-controlled authorized_user_ids, you might put them
--# in /etc/monkeysphere/authorized_user_ids/%u
-+# in /usr/local/etc/monkeysphere/authorized_user_ids/%u
+-# in /etc/monkeysphere/authorized_user_ids/%u, for instance.
++# in /usr/local/etc/monkeysphere/authorized_user_ids/%u, for instance.
#AUTHORIZED_USER_IDS="%h/.monkeysphere/authorized_user_ids"
# Whether to add user controlled authorized_keys file to
diff --git a/packaging/freebsd/pkg-install b/packaging/freebsd/pkg-install
index d7e4dbe..70d37b5 100755
--- a/packaging/freebsd/pkg-install
+++ b/packaging/freebsd/pkg-install
@@ -65,7 +65,7 @@ POST-INSTALL)
install -d -o monkeysphere -g monkeysphere -m 700 "$VARLIB"/gnupg-authentication
ln -sf "$ETCDIR"/gnupg-authentication.conf "$VARLIB"/gnupg-authentication/gpg.conf
- chown monkeysphere:monkeysphere "$VARLIB"/gnupg-authentication/gpg.conf
+ install -d "$VARLIB"/tmp "$VARLIB"/authorized_keys
monkeysphere-server diagnostics
;;