Add exact 1.33, a program that implements POP Before SMTP Relay

Authentication.

PR:		52757
Submitted by:	mwest@uct.ac.za
This commit is contained in:
Will Andrews 2003-06-03 02:15:01 +00:00
parent 5f958f3c18
commit 7260defd05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82081
6 changed files with 78 additions and 0 deletions

View File

@ -51,6 +51,7 @@
SUBDIR += emil
SUBDIR += evolution
SUBDIR += evolution-devel
SUBDIR += exact
SUBDIR += exim
SUBDIR += exim-doc-html
SUBDIR += exim-doc-pdf

42
mail/exact/Makefile Normal file
View File

@ -0,0 +1,42 @@
# New ports collection makefile for: exact
# Date created: 26/05/2003
# Whom: mwest@uct.ac.za
#
# $FreeBSD$
#
PORTNAME= exact
PORTVERSION= 1.33
CATEGORIES= mail
MASTER_SITES= http://www.britishsteal.com/dist/exact/
MAINTAINER= mwest@uct.ac.za
COMMENT= A program that implements POP Before SMTP Relay Authentication
MAILUSER?= mailnull
MAILGROUP?= mailnull
MAILLOG?= /var/log/maillog
EXACTDIR?= /var/exact
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-user=${MAILUSER} \
--with-group=${MAILGROUP} \
--with-watch=${MAILLOG}
pre-install:
@${SED} -e "s,/usr/local/var,/var,g; s,/state,,g" ${WRKSRC}/exact.conf > ${WRKSRC}/exact.conf.sample
@${SED} -e "s,%%PREFIX%%,${PREFIX},g; s,%%EXACTDIR%%,${EXACTDIR},g" ${FILESDIR}/exact.sh > ${WRKSRC}/exact.sh
do-install:
${MKDIR} ${EXACTDIR}
${CHOWN} ${MAILUSER}:${MAILGROUP} ${EXACTDIR}
${INSTALL_PROGRAM} ${WRKSRC}/exact ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/exact.sh ${PREFIX}/etc/rc.d
${INSTALL_DATA} ${WRKSRC}/exact.conf.sample ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/exact.conf.5 ${MAN5PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/exact.8 ${MAN8PREFIX}/man/man8
MAN5= exact.conf.5
MAN8= exact.8
.include <bsd.port.mk>

1
mail/exact/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (exact-1.33.tar.gz) = 78e1f3554019492d97aaa412e901d600

23
mail/exact/files/exact.sh Normal file
View File

@ -0,0 +1,23 @@
#!/bin/sh
PIDFILE=%%EXACTDIR%%/exact.pid
case "$1" in
start)
if [ -x %%PREFIX%%/sbin/exact ]; then
%%PREFIX%%/sbin/exact && echo -n ' exact'
fi
;;
stop)
if [ -f ${PIDFILE} ]; then
/bin/kill `cat ${PIDFILE}` > /dev/null 2>&1 && echo -n 'exact'
else
echo "exact isn't running"
fi
;;
*)
echo ""
echo "Usage: `basename $0` { start | stop }"
echo ""
exit 64
;;
esac

9
mail/exact/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
EXACT is a program that implements POP Before SMTP Relay Authentication.
It will work as is with UW-IMAPD, Cyrus, Courier (imapd and popd),
Perdition, Exim and Sendmail.
WWW: http://www.britishsteal.com/dist/exact/
--
mwest@uct.ac.za

2
mail/exact/pkg-plist Normal file
View File

@ -0,0 +1,2 @@
sbin/exact
etc/exact.conf.sample