diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2012-04-16 20:06:22 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2012-04-16 20:06:22 +0000 |
commit | 5bb45ac682e94e1270dee52172329a5c8a464d84 (patch) | |
tree | 5e082e929be763b3bc1d4685a0b90a95ff32c379 /mail/mimedefang | |
parent | 17a64815f4e1099de98a4594457aedc2fa5079ca (diff) | |
download | ports-5bb45ac682e94e1270dee52172329a5c8a464d84.tar.gz ports-5bb45ac682e94e1270dee52172329a5c8a464d84.zip |
Notes
Diffstat (limited to 'mail/mimedefang')
-rw-r--r-- | mail/mimedefang/Makefile | 7 | ||||
-rw-r--r-- | mail/mimedefang/distinfo | 4 | ||||
-rw-r--r-- | mail/mimedefang/files/patch-Makefile.in | 14 |
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; \ |