You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
new port mail/proxsmtp
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@11437 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# $Id: Portfile,v 1.1 2005/03/24 11:38:50 mww Exp $
|
||||
|
||||
PortSystem 1.0
|
||||
|
||||
name proxsmtp
|
||||
version 1.2
|
||||
categories mail
|
||||
platforms darwin
|
||||
maintainers mww@opendarwin.org
|
||||
description ProxSMTP is a filtering SMTP proxy daemon
|
||||
long_description ProxSMTP is a flexible tool that allows you to reject, \
|
||||
change or log email based on arbitrary critera. It accepts \
|
||||
SMTP connections and forwards the SMTP commands and responses \
|
||||
to another SMTP server. The 'DATA' email body is intercepted \
|
||||
and filtered before forwarding.
|
||||
|
||||
homepage http://memberwebs.com/nielsen/software/proxsmtp/
|
||||
master_sites ${homepage}
|
||||
checksums md5 59daa6a81ccad7a31234a0a125522b2c
|
||||
|
||||
configure.args --mandir=${prefix}/share/man
|
||||
|
||||
post-destroot {
|
||||
xinstall -m 755 -d ${destroot}${prefix}/var/run
|
||||
xinstall -m 644 ${worksrcpath}/doc/proxsmtpd.conf \
|
||||
${destroot}${prefix}/etc/proxsmtpd.conf.sample
|
||||
}
|
||||
destroot.keepdirs ${destroot}${prefix}/var/run
|
||||
|
||||
set pidfile ${prefix}/var/run/proxsmtpd.pid
|
||||
startupitem.create yes
|
||||
startupitem.name ProxSMTP
|
||||
startupitem.start \
|
||||
"if \[ -r ${prefix}/etc/proxsmtpd.conf \]; then
|
||||
${prefix}/sbin/proxsmtpd -p ${pidfile} -f ${prefix}/etc/proxsmtpd.conf
|
||||
fi"
|
||||
startupitem.stop \
|
||||
"if \[ -r ${pidfile} \]; then
|
||||
kill \$(cat ${pidfile})
|
||||
fi"
|
||||
Reference in New Issue
Block a user