aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2012-04-17 04:06:22 +0800
committerpawel <pawel@FreeBSD.org>2012-04-17 04:06:22 +0800
commit358caedc999888888fff5bd5e31d40291b70ab6b (patch)
tree80f05ded575ce45f689bfe08181fa989a34ce65b /mail
parent1022c0e21ac67b9f7c162e580abf90117a3e4ad7 (diff)
downloadfreebsd-ports-gnome-358caedc999888888fff5bd5e31d40291b70ab6b.tar.gz
freebsd-ports-gnome-358caedc999888888fff5bd5e31d40291b70ab6b.tar.zst
freebsd-ports-gnome-358caedc999888888fff5bd5e31d40291b70ab6b.zip
- Update to version 2.73 [1]
- Switch to bsd.port.options.mk PR: ports/166988 [1] Submitted by: maintainer [1]
Diffstat (limited to 'mail')
-rw-r--r--mail/mimedefang/Makefile7
-rw-r--r--mail/mimedefang/distinfo4
-rw-r--r--mail/mimedefang/files/patch-Makefile.in14
3 files changed, 12 insertions, 13 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile
index 79f61d5a7cf7..aa9ec58b99c8 100644
--- a/mail/mimedefang/Makefile
+++ b/mail/mimedefang/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mimedefang
-PORTVERSION= 2.72
-PORTREVISION= 2
+PORTVERSION= 2.73
CATEGORIES= mail
MASTER_SITES= http://www.mimedefang.org/static/
@@ -52,7 +51,7 @@ SUB_FILES= pkg-message
CONFIG_FILES= mimedefang-filter sa-mimedefang.cf mimedefang-ip-key
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if !exists( /usr/include/libmilter/mfapi.h )
BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
@@ -99,4 +98,4 @@ post-install:
@[ -d ${QUARANTINEDIR} ] && ${CHGRP} ${MAILUSER} ${QUARANTINEDIR}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/mimedefang/distinfo b/mail/mimedefang/distinfo
index da53227dde21..6b22db0e20b0 100644
--- a/mail/mimedefang/distinfo
+++ b/mail/mimedefang/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mimedefang-2.72.tar.gz) = 86a3a72fc46155da83ce9536c2d730ae23526d28c1b2beafd7c6f3d2b5c57345
-SIZE (mimedefang-2.72.tar.gz) = 348897
+SHA256 (mimedefang-2.73.tar.gz) = 88a0f294e517348b692b0e0f226b60f90fa94eb0e771e02ab716c8e50d8cf714
+SIZE (mimedefang-2.73.tar.gz) = 356601
diff --git a/mail/mimedefang/files/patch-Makefile.in b/mail/mimedefang/files/patch-Makefile.in
index c8293b645844..ba3ff4338d33 100644
--- a/mail/mimedefang/files/patch-Makefile.in
+++ b/mail/mimedefang/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig 2011-06-20 21:25:17.000000000 +0400
-+++ Makefile.in 2011-08-12 18:31:02.338324612 +0400
+--- Makefile.in.orig 2012-01-20 19:20:32.000000000 +0400
++++ Makefile.in 2012-04-16 03:14:35.979944862 +0400
@@ -156,14 +156,14 @@
install: all
@@ -9,19 +9,19 @@
- -chmod 600 $(DESTDIR)${CONFDIR}/mimedefang-ip-key > /dev/null 2>&1 ; \
+ -if test "$(IP_HEADER)" = "yes" -a ! -f "$(DESTDIR)${CONFDIR}/mimedefang-ip-key.example" ; then \
+ $(PERL) ./gen-ip-validator.pl > $(DESTDIR)${CONFDIR}/mimedefang-ip-key.example ;\
-+ chmod 600 $(DESTDIR)${CONFDIR}/mimedefang-ip-key.example > /dev/null 2>&1 ; \
++ -chmod 600 $(DESTDIR)${CONFDIR}/mimedefang-ip-key.example > /dev/null 2>&1 ; \
fi
if test "$(DEFANGUSER)" != "" ; then \
if id "$(DEFANGUSER)" > /dev/null 2>&1 ; then \
- chown "$(DEFANGUSER)" $(DESTDIR)${CONFDIR}/mimedefang-ip-key > /dev/null 2>&1 || true; \
+ chown "$(DEFANGUSER)" $(DESTDIR)${CONFDIR}/mimedefang-ip-key.example > /dev/null 2>&1 || true; \
- $(INSTALL) -m 700 -o $(DEFANGUSER) -d $(DESTDIR)$(SPOOLDIR) > /dev/null 2>&1 || true; \
- $(INSTALL) -m 700 -o $(DEFANGUSER) -d $(DESTDIR)$(QDIR) > /dev/null 2>&1 || true; \
+ test ! -d $(DESTDIR)$(SPOOLDIR) && $(INSTALL) -m 750 -o $(DEFANGUSER) -d $(DESTDIR)$(SPOOLDIR) > /dev/null 2>&1 || true; \
+ test ! -d $(DESTDIR)$(QDIR) && $(INSTALL) -m 750 -o $(DEFANGUSER) -d $(DESTDIR)$(QDIR) > /dev/null 2>&1 || true; \
fi \
@@ -185,11 +185,7 @@
- -test ! -d $(DESTDIR)$(SPOOLDIR) && mkdir -p $(DESTDIR)$(SPOOLDIR) && chmod 700 $(DESTDIR)$(SPOOLDIR) || true
- -test ! -d $(DESTDIR)$(QDIR) && mkdir -p $(DESTDIR)$(QDIR) && chmod 700 $(DESTDIR)$(QDIR) || true
+ -test ! -d $(DESTDIR)$(SPOOLDIR) && mkdir -p $(DESTDIR)$(SPOOLDIR) && chmod 750 $(DESTDIR)$(SPOOLDIR) || true
+ -test ! -d $(DESTDIR)$(QDIR) && mkdir -p $(DESTDIR)$(QDIR) && chmod 750 $(DESTDIR)$(QDIR) || true
- if test -f $(DESTDIR)${CONFDIR}/mimedefang-filter ; then \
- $(INSTALL) -m 644 examples/suggested-minimum-filter-for-windows-clients $(DESTDIR)${CONFDIR}/mimedefang-filter.example || exit 1; \