Date: Wed, 28 May 2003 17:01:15 +0200 (SAST) From: Matthew West <mwest@uct.ac.za> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52757: new port: mail/exact Message-ID: <200305281501.h4SF1FZj073018@casper.cs.uct.ac.za> Resent-Message-ID: <200305281510.h4SFABJ6061448@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52757 >Category: ports >Synopsis: new port: mail/exact >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 28 08:10:10 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Matthew West >Release: FreeBSD 5.0-RELEASE-p1 i386 >Organization: University of Cape Town >Environment: >Description: 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/ >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # exact # exact/Makefile # exact/distinfo # exact/pkg-descr # exact/pkg-plist # exact/files # exact/files/exact.sh # echo c - exact mkdir -p exact > /dev/null 2>&1 echo x - exact/Makefile sed 's/^X//' >exact/Makefile << 'END-of-exact/Makefile' X# New ports collection makefile for: exact X# Date created: 26/05/2003 X# Whom: mwest@uct.ac.za X# X# $FreeBSD: $ X# X XPORTNAME= exact XPORTVERSION= 1.33 XCATEGORIES= mail XMASTER_SITES= http://www.britishsteal.com/dist/exact/ X XMAINTAINER= mwest@uct.ac.za XCOMMENT= A program that implements POP Before SMTP Relay Authentication X XMAILUSER?= mailnull XMAILGROUP?= mailnull XMAILLOG?= /var/log/maillog XEXACTDIR?= /var/exact X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --with-user=${MAILUSER} \ X --with-group=${MAILGROUP} \ X --with-watch=${MAILLOG} X Xpre-install: X @${SED} -e "s,/usr/local/var,/var,g; s,/state,,g" ${WRKSRC}/exact.conf > ${WRKSRC}/exact.conf.sample X @${SED} -e "s,%%PREFIX%%,${PREFIX},g; s,%%EXACTDIR%%,${EXACTDIR},g" ${FILESDIR}/exact.sh > ${WRKSRC}/exact.sh X Xdo-install: X ${MKDIR} ${EXACTDIR} X ${CHOWN} ${MAILUSER}:${MAILGROUP} ${EXACTDIR} X ${INSTALL_PROGRAM} ${WRKSRC}/exact ${PREFIX}/sbin X ${INSTALL_SCRIPT} ${WRKSRC}/exact.sh ${PREFIX}/etc/rc.d X ${INSTALL_DATA} ${WRKSRC}/exact.conf.sample ${PREFIX}/etc X ${INSTALL_MAN} ${WRKSRC}/exact.conf.5 ${MAN5PREFIX}/man/man5 X ${INSTALL_MAN} ${WRKSRC}/exact.8 ${MAN8PREFIX}/man/man8 X XMAN5= exact.conf.5 XMAN8= exact.8 X X.include <bsd.port.mk> END-of-exact/Makefile echo x - exact/distinfo sed 's/^X//' >exact/distinfo << 'END-of-exact/distinfo' XMD5 (exact-1.33.tar.gz) = 78e1f3554019492d97aaa412e901d600 END-of-exact/distinfo echo x - exact/pkg-descr sed 's/^X//' >exact/pkg-descr << 'END-of-exact/pkg-descr' XEXACT is a program that implements POP Before SMTP Relay Authentication. X XIt will work as is with UW-IMAPD, Cyrus, Courier (imapd and popd), XPerdition, Exim and Sendmail. X XWWW: http://www.britishsteal.com/dist/exact/ X X-- Xmwest@uct.ac.za END-of-exact/pkg-descr echo x - exact/pkg-plist sed 's/^X//' >exact/pkg-plist << 'END-of-exact/pkg-plist' Xsbin/exact Xetc/exact.conf.sample END-of-exact/pkg-plist echo c - exact/files mkdir -p exact/files > /dev/null 2>&1 echo x - exact/files/exact.sh sed 's/^X//' >exact/files/exact.sh << 'END-of-exact/files/exact.sh' X#!/bin/sh XPIDFILE=%%EXACTDIR%%/exact.pid X Xcase "$1" in X start) X if [ -x %%PREFIX%%/sbin/exact ]; then X %%PREFIX%%/sbin/exact && echo -n ' exact' X fi X ;; X stop) X if [ -f ${PIDFILE} ]; then X /bin/kill `cat ${PIDFILE}` > /dev/null 2>&1 && echo -n 'exact' X else X echo "exact isn't running" X fi X ;; X *) X echo "" X echo "Usage: `basename $0` { start | stop }" X echo "" X exit 64 X ;; Xesac END-of-exact/files/exact.sh exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305281501.h4SF1FZj073018>