summaryrefslogtreecommitdiff
path: root/mail/mimedefang/INSTALL
blob: 72f325201581f2b7289ecbcc5e0ad4ae467664e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
# $NetBSD: INSTALL,v 1.1.1.1 2002/09/23 13:08:52 markd Exp $

case ${STAGE} in
POST-INSTALL)
        if test ! -f @PKG_SYSCONFDIR@/mimedefang-ip-key ; then
                ${PERL5} @SHAREDIR@/gen-ip-validator.pl > @PKG_SYSCONFDIR@/mimedefang-ip-key
        fi
	${CHOWN} @DEFANG_USER@ @PKG_SYSCONFDIR@/mimedefang-ip-key
        ${CHMOD} 600 @PKG_SYSCONFDIR@/mimedefang-ip-key
        ;;
esac