summaryrefslogtreecommitdiff
path: root/security/cyrus-sasl2
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-07-20 06:29:25 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-07-20 06:29:25 +0000
commitf0922b5aa5a827e7461432b822ecd8f8b6dbf346 (patch)
tree6c16e7a5455451e528584519ec2238dfc74ec589 /security/cyrus-sasl2
parentFirst round of ia64 patches. These simply enable the nspr API for ia64. (diff)
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.
Notes
Notes: svn path=/head/; revision=85224
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r--security/cyrus-sasl2/pkg-deinstall20
-rw-r--r--security/cyrus-sasl2/pkg-install9
2 files changed, 0 insertions, 29 deletions
diff --git a/security/cyrus-sasl2/pkg-deinstall b/security/cyrus-sasl2/pkg-deinstall
index 87d620928422..e12682e24418 100644
--- a/security/cyrus-sasl2/pkg-deinstall
+++ b/security/cyrus-sasl2/pkg-deinstall
@@ -15,16 +15,6 @@ SASLDB_NAME=${PKG_PREFIX}/etc/%%SASLDB%%
CYRUS_USER=${CYRUS_USER:=%%CYRUS_USER%%}
CYRUS_GROUP=${CYRUS_GROUP:=%%CYRUS_GROUP%%}
-remove_file()
-{
- file=$1
-
- if cmp -s ${file} ${file}.tmp; then
- rm -f ${file}
- fi
- rm -f ${file}.tmp
-}
-
# delete sasldb database
delete_sasldb() {
@@ -47,19 +37,9 @@ delete_user() {
}
-# This should really be uninstalled by Sendmail
-
-sendmail_conf() {
- if [ -f ${PKG_PREFIX}/lib/sasl2/Sendmail.conf ]; then
- echo "pwcheck_method: auxprop" > ${PKG_PREFIX}/lib/sasl2/Sendmail.conf.tmp
- remove_file ${PKG_PREFIX}/lib/sasl2/Sendmail.conf
- fi
-}
-
case $2 in
DEINSTALL)
delete_sasldb
- sendmail_conf
;;
POST-DEINSTALL)
delete_user
diff --git a/security/cyrus-sasl2/pkg-install b/security/cyrus-sasl2/pkg-install
index 627f039b6625..25db3ba32891 100644
--- a/security/cyrus-sasl2/pkg-install
+++ b/security/cyrus-sasl2/pkg-install
@@ -85,14 +85,6 @@ create_sasldb() {
fi
}
-# This should really be installed by Sendmail
-
-sendmail_conf() {
- if [ ! -f ${PKG_PREFIX}/lib/sasl2/Sendmail.conf ]; then
- echo "pwcheck_method: auxprop" > ${PKG_PREFIX}/lib/sasl2/Sendmail.conf
- fi
-}
-
case $2 in
PRE-INSTALL)
create_user
@@ -100,7 +92,6 @@ case $2 in
POST-INSTALL)
if [ "${PKG_BATCH}" = "NO" ]; then
create_sasldb
- sendmail_conf
fi
;;