Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jan 2017 07:12:47 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431222 - in head/mail: . mailfromd mailfromd/files
Message-ID:  <201701120712.v0C7Cldx019083@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Jan 12 07:12:47 2017
New Revision: 431222
URL: https://svnweb.freebsd.org/changeset/ports/431222

Log:
  `mail/mailfromd' is mail filtering daemon for Sendmail, Postfix, and MeTA1.
  
  Submitted by:	Zeus Panchenko

Added:
  head/mail/mailfromd/
  head/mail/mailfromd/Makefile   (contents, props changed)
  head/mail/mailfromd/distinfo   (contents, props changed)
  head/mail/mailfromd/files/
  head/mail/mailfromd/files/mailfromd.in   (contents, props changed)
  head/mail/mailfromd/pkg-descr   (contents, props changed)
  head/mail/mailfromd/pkg-plist   (contents, props changed)
Modified:
  head/mail/Makefile

Modified: head/mail/Makefile
==============================================================================
--- head/mail/Makefile	Thu Jan 12 07:10:53 2017	(r431221)
+++ head/mail/Makefile	Thu Jan 12 07:12:47 2017	(r431222)
@@ -216,6 +216,7 @@
     SUBDIR += maildrop
     SUBDIR += mailest
     SUBDIR += mailfmt
+    SUBDIR += mailfromd
     SUBDIR += mailfront
     SUBDIR += mailgraph
     SUBDIR += mailman

Added: head/mail/mailfromd/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailfromd/Makefile	Thu Jan 12 07:12:47 2017	(r431222)
@@ -0,0 +1,70 @@
+# Created by: Zeus Panchenko <zeus@gnu.org.ua>
+# $FreeBSD$
+
+PORTNAME=	mailfromd
+PORTVERSION=	8.1
+CATEGORIES=	mail
+MASTER_SITES=	http://download.gnu.org.ua/pub/release/${PORTNAME}/
+
+MAINTAINER=	zeus@gnu.org.ua
+COMMENT=	Mail filtering daemon for Sendmail, Postfix, and MeTA1
+
+LICENSE=	GPLv3+
+
+LIB_DEPENDS=	libmailutils.so:mail/mailutils
+
+USES=		gmake localbase readline tar:xz
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	DEFAULT_STATE_DIR="${DATABASEDIR}" \
+		DEFAULT_SOCKET="unix:${MFD_RUN_DIR}/${PORTNAME}.sock" \
+		DEFAULT_USER=mailnull
+USE_RC_SUBR=	${PORTNAME}
+
+DATABASEDIR?=	/var/db/${PORTNAME}
+MFD_RUN_DIR?=	/var/run/${PORTNAME}
+
+PLIST_SUB+=	DATABASEDIR=${DATABASEDIR} \
+		MFD_RUN_DIR=${MFD_RUN_DIR} \
+		VERSION=${PORTVERSION}
+SUB_LIST+=	MFD_RUN_DIR=${MFD_RUN_DIR}
+
+INFO=		${PORTNAME}
+PORTDOCS=	AUTHORS ChangeLog NEWS README THANKS TODO
+
+OPTIONS_DEFINE=		DOCS DSPAM GEOIP NLS
+OPTIONS_DEFAULT=	BDB
+OPTIONS_MULTI=		DB
+OPTIONS_MULTI_DB=	BDB GDBM
+OPTIONS_SUB=		yes
+
+BDB_DESC=		Berkeley DB v4.8 support (last working one)
+DB_DESC=		Database configuration
+
+DSPAM_DESC=		DSPAM spam filter library support
+DSPAM_LIB_DEPENDS=	libdspam.so:mail/dspam
+DSPAM_USES=		pkgconfig
+DSPAM_CONFIGURE_WITH=	dspam
+
+GEOIP_LIB_DEPENDS=	libGeoIP.so:net/GeoIP
+GEOIP_CONFIGURE_WITH=	geoip
+
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+
+BDB_USES=		bdb:48
+BDB_CONFIGURE_WITH=	berkeley-db
+BDB_CPPFLAGS=		-I${BDB_INCLUDE_DIR}
+BDB_LDFLAGS=		-L${BDB_LIB_DIR}
+INVALID_BDB_VER=	5+
+
+GDBM_LIB_DEPENDS=	libgdbm.so:databases/gdbm
+GDBM_CONFIGURE_WITH=	gdbm
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DATABASEDIR} ${STAGEDIR}${MFD_RUN_DIR}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/mail/mailfromd/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailfromd/distinfo	Thu Jan 12 07:12:47 2017	(r431222)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1481666642
+SHA256 (mailfromd-8.1.tar.xz) = 6d83038a17e9d9009da2545a76898ba62a386d0d0b9f558be76765eeabeaf5c2
+SIZE (mailfromd-8.1.tar.xz) = 1040704

Added: head/mail/mailfromd/files/mailfromd.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailfromd/files/mailfromd.in	Thu Jan 12 07:12:47 2017	(r431222)
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+# PROVIDE: mailfromd
+# REQUIRE: DAEMON
+# BEFORE: mail
+# KEYWORD: shutdown
+#
+
+. /etc/rc.subr
+
+name="mailfromd"
+rcvar=mailfromd_enable
+command="%%PREFIX%%/sbin/${name}"
+
+load_rc_config ${name}
+
+: ${mailfromd_enable="NO"}
+: ${mailfromd_flags}
+: ${mailfromd_runpath="%%MFD_RUN_DIR%%"}
+pidfile="${mailfromd_runpath}/${name}.pid"
+
+run_rc_command "$1"

Added: head/mail/mailfromd/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailfromd/pkg-descr	Thu Jan 12 07:12:47 2017	(r431222)
@@ -0,0 +1,14 @@
+Mailfromd is a general-purpose mail filtering daemon for Sendmail, Postfix,
+and MeTA1.  It is able to filter both incoming and outgoing messages using
+criteria of arbitrary complexity, supplied by the administrator in the form
+of a script file.  The daemon interacts with the MTA via Milter or PMilter
+protocols.  Some of its features:
+
+  - Flexible programming language for writing MTA extensions
+  - Sender address verification (call-out)
+  - Greylisting and whitelisting
+  - Mail sending rate control
+  - Local account verification
+  - Native language support
+
+WWW: http://puszcza.gnu.org.ua/software/mailfromd/

Added: head/mail/mailfromd/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mailfromd/pkg-plist	Thu Jan 12 07:12:47 2017	(r431222)
@@ -0,0 +1,41 @@
+bin/mfdbtool
+bin/mtasim
+etc/mailfromd.mf
+sbin/calloutd
+sbin/mailfromd
+%%NLS%%share/locale/fr/LC_MESSAGES/mailfromd.mo
+%%NLS%%share/locale/id/LC_MESSAGES/mailfromd.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/mailfromd.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/mailfromd.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/mailfromd.mo
+%%DATADIR%%/%%VERSION%%/include/_register.mf
+%%DATADIR%%/%%VERSION%%/include/callout.mf
+%%DATADIR%%/%%VERSION%%/include/dns.mf
+%%DSPAM%%%%DATADIR%%/%%VERSION%%/include/dspam.mf
+%%DATADIR%%/%%VERSION%%/include/gettext.mf
+%%DATADIR%%/%%VERSION%%/include/header_rename.mf
+%%DATADIR%%/%%VERSION%%/include/heloarg_test.mf
+%%DATADIR%%/%%VERSION%%/include/is_ip.mf
+%%DATADIR%%/%%VERSION%%/include/localdomain.mf
+%%DATADIR%%/%%VERSION%%/include/match_cidr.mf
+%%DATADIR%%/%%VERSION%%/include/match_dnsbl.mf
+%%DATADIR%%/%%VERSION%%/include/match_rhsbl.mf
+%%DATADIR%%/%%VERSION%%/include/poll.mf
+%%DATADIR%%/%%VERSION%%/include/portprobe.mf
+%%DATADIR%%/%%VERSION%%/include/pp-setup
+%%DATADIR%%/%%VERSION%%/include/rateok.mf
+%%DATADIR%%/%%VERSION%%/include/revip.mf
+%%DATADIR%%/%%VERSION%%/include/sa.mf
+%%DATADIR%%/%%VERSION%%/include/safedb.mf
+%%DATADIR%%/%%VERSION%%/include/sieve.mf
+%%DATADIR%%/%%VERSION%%/include/sockmap.mf
+%%DATADIR%%/%%VERSION%%/include/spf.mf
+%%DATADIR%%/%%VERSION%%/include/status.mf
+%%DATADIR%%/%%VERSION%%/include/status.mfh
+%%DATADIR%%/%%VERSION%%/include/strip_domain_part.mf
+%%DATADIR%%/%%VERSION%%/include/syslog.mf
+%%DATADIR%%/%%VERSION%%/include/valid_domain.mf
+%%DATADIR%%/%%VERSION%%/include/verp.mf
+%%DATADIR%%/postfix-macros.sed
+@dir(mailnull,mail,775) %%DATABASEDIR%%
+@dir(mailnull,mail,775) %%MFD_RUN_DIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701120712.v0C7Cldx019083>