1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update `mail/mailfromd' to version 8.1.90 (this is actually required to

unbreak the port against recent `mail/mailutils')
- Amend MASTER_SITES to allow fetching both stable and alpha releases
- Install configuration file as @sample to avoid overwriting existing one
- Tighten permissions on ${DATABASEDIR} and ${MFD_RUN_DIR}
- Make port description text more detailed and accurate

Submitted by:	maintainer
This commit is contained in:
Alexey Dokuchaev 2017-04-12 15:51:08 +00:00
parent 1c5651c00b
commit cd3a45672c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438363
5 changed files with 29 additions and 10 deletions

View File

@ -2,9 +2,10 @@
# $FreeBSD$
PORTNAME= mailfromd
PORTVERSION= 8.1
PORTVERSION= 8.1.90
CATEGORIES= mail
MASTER_SITES= http://download.gnu.org.ua/pub/release/${PORTNAME}/
MASTER_SITES= http://download.gnu.org.ua/pub/release/${PORTNAME}/ \
http://download.gnu.org.ua/pub/alpha/${PORTNAME}/
MAINTAINER= zeus@gnu.org.ua
COMMENT= Mail filtering daemon for Sendmail, Postfix, and MeTA1

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1481666642
SHA256 (mailfromd-8.1.tar.xz) = 6d83038a17e9d9009da2545a76898ba62a386d0d0b9f558be76765eeabeaf5c2
SIZE (mailfromd-8.1.tar.xz) = 1040704
TIMESTAMP = 1491762601
SHA256 (mailfromd-8.1.90.tar.xz) = 8d5e12002eafcd66025662c6142fdb5486eb2ba27f18caad78a1b0efe0397669
SIZE (mailfromd-8.1.90.tar.xz) = 1057192

View File

@ -0,0 +1,14 @@
--- etc/Makefile.in.orig 2017-04-09 17:50:03 UTC
+++ etc/Makefile.in
@@ -681,9 +681,8 @@ check-am: mailfromd.lint
install-data-local:
@test -z "$(DESTDIR)$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
- @if [ -r $(DESTDIR)$(sysconfdir)/mailfromd.mf ]; then :; \
- else ${INSTALL} -m 644 $(top_srcdir)/etc/mailfromd.mf \
- $(DESTDIR)$(sysconfdir)/mailfromd.mf; fi
+ ${INSTALL} -m 644 $(top_srcdir)/etc/mailfromd.mf \
+ $(DESTDIR)$(sysconfdir)/mailfromd.mf.sample
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.

View File

@ -4,9 +4,12 @@ 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
- Feature-rich, detailed, configurable absolute control over each
stage of SMTP session
- Advanced sieve support (flexible programming language for writing
MTA extensions)
- Sender address verification (call-out)
- Greylisting and whitelisting
- Black/greylisting and whitelisting
- Mail sending rate control
- Local account verification
- Native language support

View File

@ -1,8 +1,9 @@
bin/mfdbtool
bin/mtasim
etc/mailfromd.mf
@sample etc/mailfromd.mf.sample
sbin/calloutd
sbin/mailfromd
%%NLS%%share/locale/da/LC_MESSAGES/mailfromd.mo
%%NLS%%share/locale/fr/LC_MESSAGES/mailfromd.mo
%%NLS%%share/locale/id/LC_MESSAGES/mailfromd.mo
%%NLS%%share/locale/pl/LC_MESSAGES/mailfromd.mo
@ -37,5 +38,5 @@ sbin/mailfromd
%%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%%
@dir(mailnull,mail,700) %%DATABASEDIR%%
@dir(mailnull,mail,700) %%MFD_RUN_DIR%%