head	1.2;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.20.06.29.25;	author ume;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Switch exporter over
@
text
@#!/bin/sh
#
#	$FreeBSD: head/security/cyrus-sasl2-saslauthd/pkg-install 300897 2012-07-14 14:29:18Z beat $
#

PKG_BATCH=${BATCH:=NO}
PKG_PREFIX=${PKG_PREFIX:=/usr/local}

# This should really be installed by Sendmail
sendmail_conf() {
	if [ ! -f ${PKG_PREFIX}/lib/sasl2/Sendmail.conf ]; then
		echo "pwcheck_method: saslauthd" > ${PKG_PREFIX}/lib/sasl2/Sendmail.conf
	fi
}

case $2 in
POST-INSTALL)
	if [ "${PKG_BATCH}" = "NO" ]; then
		sendmail_conf
	fi
	;;
esac
@


1.1
log
@Stop installing Sendmail.conf by cyrus-sasl2, and it is now installed
by cyrus-sasl2-saslauthd.  Since if Sendmail.conf is not installed,
SASL2 uses auxprop by default, it is enough to install Sendmail.conf
by saslauthd port.
@
text
@d3 1
a3 1
#	$FreeBSD$
@

