aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjmelo <jmelo@FreeBSD.org>2006-04-26 03:50:25 +0800
committerjmelo <jmelo@FreeBSD.org>2006-04-26 03:50:25 +0800
commitff71e8d72f9bc566bf932e4e526b10f7e3c1c699 (patch)
tree796453110f68a068f6ee330803e23ee1b7f612a5 /mail
parent3ee49fb77d8336b818d446f468b8f2c9e97a4cb9 (diff)
downloadfreebsd-ports-gnome-ff71e8d72f9bc566bf932e4e526b10f7e3c1c699.tar.gz
freebsd-ports-gnome-ff71e8d72f9bc566bf932e4e526b10f7e3c1c699.tar.zst
freebsd-ports-gnome-ff71e8d72f9bc566bf932e4e526b10f7e3c1c699.zip
- 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)
Diffstat (limited to 'mail')
-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