summaryrefslogtreecommitdiff
path: root/mail/autorespond
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2003-09-02 13:46:37 +0000
committerPeter Pentchev <roam@FreeBSD.org>2003-09-02 13:46:37 +0000
commitb98b95a1de098311dcdb19bc50b49c02a53056b5 (patch)
treeed31855ab1ca13bff487b1a12af64cb9bd01afbc /mail/autorespond
parentUpdated to 1.56 (diff)
Update to autorespond-2.0.4, which contains a couple of security fixes.
This version also includes the Debian manpage, which I converted to -mdoc format; the WITHOUT_MDOC_MANPAGE knob makes the port install the original Debian page. PR: 56309, 56310 Submitted by: Alex Dupre <sysadmin@alexdupre.com>
Notes
Notes: svn path=/head/; revision=88350
Diffstat (limited to 'mail/autorespond')
-rw-r--r--mail/autorespond/Makefile12
-rw-r--r--mail/autorespond/distinfo4
-rw-r--r--mail/autorespond/files/autorespond.150
3 files changed, 62 insertions, 4 deletions
diff --git a/mail/autorespond/Makefile b/mail/autorespond/Makefile
index 50367b82b6c8..218c151c5838 100644
--- a/mail/autorespond/Makefile
+++ b/mail/autorespond/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= autorespond
-PORTVERSION= 2.0.3
-PORTREVISION= 1
+PORTVERSION= 2.0.4
CATEGORIES= mail
MASTER_SITES= http://www.inter7.com/devel/
@@ -17,6 +16,14 @@ PATCHFILES= ${DISTNAME}-conf-strcasestr.patch
MAINTAINER= roam@FreeBSD.org
COMMENT= Simple autoresponder for qmail
+MAN1= autorespond.1
+
+.if defined(WITHOUT_MDOC_MANPAGE)
+AR_MANPAGE= ${WRKSRC}/autorespond.1
+.else
+AR_MANPAGE= ${FILESDIR}/autorespond.1
+.endif
+
post-patch:
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
${ECHO_CMD} "${CC} ${STRIP}" > ${WRKSRC}/conf-ld
@@ -24,5 +31,6 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/autorespond ${PREFIX}/bin/
+ ${INSTALL_MAN} ${AR_MANPAGE} ${PREFIX}/man/man1/
.include <bsd.port.mk>
diff --git a/mail/autorespond/distinfo b/mail/autorespond/distinfo
index 9edffa7c1aa9..ee7075b1745b 100644
--- a/mail/autorespond/distinfo
+++ b/mail/autorespond/distinfo
@@ -1,2 +1,2 @@
-MD5 (autorespond-2.0.3.tar.gz) = 21cbd765ab662c0553b309f7e412fcbf
-MD5 (autorespond-2.0.3-conf-strcasestr.patch) = 5d05646620a057ebc2ea2013b3500403
+MD5 (autorespond-2.0.4.tar.gz) = 1beae4bc3319ccd06c59b2d1b681bb4d
+MD5 (autorespond-2.0.4-conf-strcasestr.patch) = 62cae25b6efe210f25ed8ccc2f0588ed
diff --git a/mail/autorespond/files/autorespond.1 b/mail/autorespond/files/autorespond.1
new file mode 100644
index 000000000000..8a151d77b833
--- /dev/null
+++ b/mail/autorespond/files/autorespond.1
@@ -0,0 +1,50 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\"
+.\" $FreeBSD$
+.\"
+.Dd "September 11, 2001"
+.Dt AUTORESPOND 1
+.Os FreeBSD
+.Sh NAME
+.Nm autorespond
+.Nd simple autoresponder for qmail
+.Sh SYNOPSIS
+.Nm
+.Ar time num message dir
+.Sh DESCRIPTION
+This manual page documents briefly the
+.Nm
+command.
+This manual page was written for the
+.Nm Debian GNU/Linux
+distribution
+because the original program does not have a manual page.
+.Pp
+.Nm
+sends an automatically generated response to emails for
+given address(es).
+It catches simple situations such as mail from a
+mailer-daemon, empty envelope sender, bulk precedence headers, etc.
+.Bl -tag -width indent
+.It Ar time
+amount of time to consider a message (in secs)
+.It Ar num
+maximum number of messages to allow within time secs
+.It Ar message
+the filename of the message to send
+.It Ar dir
+the directory to hold the log of messages
+.Sh AUTHOR
+This manual page was written by
+.An Sam Johnston Aq samj@debian.org ,
+for the
+.Nm Debian GNU/Linux
+system (but may be used by others).
+It was converted to
+.Xr mdoc 7
+format by
+.An Peter Pentchev Aq roam@FreeBSD.org
+for use by the
+.Fx
+port of
+.Nm .