summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Milanez Melo <jmelo@FreeBSD.org>2006-04-25 19:50:25 +0000
committerJean Milanez Melo <jmelo@FreeBSD.org>2006-04-25 19:50:25 +0000
commitea234c75e733efd9dfefd10b2bb35b354bf597f5 (patch)
treeb714d12792cd5a4eee081f7236304671f0d4cbc5
parent- Update to 2.3-20060418 (diff)
- New port:
Mailrep - A program for reporting mail log information in sendmail and postfix. A program for reporting mail log information. You can configure it to respond to errors in various ways and you can specify RBLs that can be used for blocking spam. The program can measure the number of messages sent for a particular account and the number of messages that the server processes daily. PR: ports/95544 Submitted by: Marcelo Araujo <araujo@bsdmail.org> Reworked by: jmelo Approved by: mnag (mentor)
Notes
Notes: svn path=/head/; revision=160460
-rw-r--r--mail/Makefile1
-rw-r--r--mail/mailrep/Makefile37
-rw-r--r--mail/mailrep/distinfo3
-rw-r--r--mail/mailrep/pkg-descr8
-rw-r--r--mail/mailrep/pkg-plist4
5 files changed, 53 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index ffe98714a106..78d299204d36 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -185,6 +185,7 @@
SUBDIR += mailgraph
SUBDIR += mailman
SUBDIR += mailmgr
+ SUBDIR += mailrep
SUBDIR += mailscanner
SUBDIR += mailscanner-devel
SUBDIR += mailscanner-mrtg
diff --git a/mail/mailrep/Makefile b/mail/mailrep/Makefile
new file mode 100644
index 000000000000..335939835798
--- /dev/null
+++ b/mail/mailrep/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: mailrep
+# Date created: 2006-04-25
+# Whom: Marcelo Araujo <araujo@bsdmail.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mailrep
+PORTVERSION= 1.0
+CATEGORIES= mail sysutils
+MASTER_SITES= http://cs.bon.matrix.com.br/araujo/pub/mailrep/
+
+MAINTAINER= araujo@bsdmail.org
+COMMENT= Program for reporting mail log information
+
+NO_BUILD= yes
+USE_PERL5= yes
+
+PORTDOCS= *
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ @${MKDIR} ${PREFIX}/etc/mailrep
+ ${INSTALL_SCRIPT} ${WRKSRC}/mailrep.pl ${PREFIX}/sbin/
+ ${INSTALL_DATA} ${WRKSRC}/mailrep.conf ${PREFIX}/etc/mailrep/mailrep.conf.sample
+.if !exists(${PREFIX}/etc/mailrep/mailrep.conf)
+ ${INSTALL_DATA} ${WRKSRC}/mailrep.conf ${PREFIX}/etc/mailrep/
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/mail/mailrep/distinfo b/mail/mailrep/distinfo
new file mode 100644
index 000000000000..4ee454bef89b
--- /dev/null
+++ b/mail/mailrep/distinfo
@@ -0,0 +1,3 @@
+MD5 (mailrep-1.0.tar.gz) = 09c648d8ab18727b70f27c654d1da93d
+SHA256 (mailrep-1.0.tar.gz) = 33036cd8f7b2bce45c8a522f7fccbc6c7ff263b59e8a40a99c64dd26992b0c0e
+SIZE (mailrep-1.0.tar.gz) = 19968
diff --git a/mail/mailrep/pkg-descr b/mail/mailrep/pkg-descr
new file mode 100644
index 000000000000..4cf5870b4d42
--- /dev/null
+++ b/mail/mailrep/pkg-descr
@@ -0,0 +1,8 @@
+Mailrep - A program for reporting mail log information in sendmail and postfix.
+
+A program for reporting mail log information. You can configure it to respond
+to errors in various ways and you can specify RBLs that can be used for
+blocking spam. The program can measure the number of messages sent for a
+particular account and the number of messages that the server processes daily.
+
+WWW: http://experience.bsdnetwork.org/
diff --git a/mail/mailrep/pkg-plist b/mail/mailrep/pkg-plist
new file mode 100644
index 000000000000..18f4f8e375a2
--- /dev/null
+++ b/mail/mailrep/pkg-plist
@@ -0,0 +1,4 @@
+@unexec if cmp -s %D/etc/mailrep/mailrep.conf %D/etc/mailrep/mailrep.conf.sample; then rm -f %D/etc/mailrep/mailrep.conf; fi
+etc/mailrep/mailrep.conf.sample
+sbin/mailrep.pl
+@dirrm etc/mailrep