head	1.2;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2010.09.22.05.21.28;	author pgollucci;	state Exp;
branches;
next	1.1;

1.1
date	2009.03.10.07.45.26;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Convert to USERS/GROUPS

PR:             ports/150230
Submitted by:   Eitan Adler <lists@@eitanadler.com>
Approved by:    dkg@@fifthhorseman.net (maintainer)
@
text
@#!/bin/sh

# a package removal script for monkeysphere (borrowing from
# monkeysphere's debian/monkeysphere.postrm)

# Author: Daniel Kahn Gillmor <dkg@@fifthhorseman.net>
# Copyright 2008,2009

# FIXME: is /var/monkeysphere the right place for this stuff on
# FreeBSD?
VARLIB="/var/monkeysphere"


case $2 in
POST-DEINSTALL)
        USER=monkeysphere
# FIXME: This doesn't do anything!  Under what circumstances do we
# want to actually automatically purge all of /var/monkeysphere?

# (note: FreeBSD does not seem to want the package-specific user to be
# purged at package removal)
	if [ -d "$VARLIB" ] ; then
	    echo "Warning: You may want to remove monkeysphere's cached authentication data and keyrings in $VARLIB"
	fi
;;
esac
@


1.1
log
@SSH key-based authentication is tried-and-true, but it lacks a true
Public Key Infrastructure for key certification, revocation and
expiration.  Monkeysphere is a framework that uses the OpenPGP web of
trust for these PKI functions.  It can be used in both directions: for
users to get validated host keys, and for hosts to authenticate users.

WWW: http://web.monkeysphere.info/

PR:		ports/128406
Submitted by:	Daniel Kahn Gillmor <dkg at fifthhorseman.net>
@
text
@a21 3
	if pw user show "${USER}" 2>/dev/null >/dev/null; then
	    echo "Warning: If you will *NOT* use this package anymore, please remove the monkeysphere user manually."
	fi
@

