1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Update to 2.44

PR:		ports/69178
Submitted by:	Andrey V. Pevnev <andrey@msfu.ru> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-07-17 13:50:06 +00:00
parent b2d845f429
commit ffff6cde3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=113822
5 changed files with 18 additions and 39 deletions

View File

@ -6,8 +6,7 @@
#
PORTNAME= mimedefang
PORTVERSION= 2.43
PORTREVISION= 2
PORTVERSION= 2.44
CATEGORIES= mail
MASTER_SITES= http://www.mimedefang.org/static/
@ -40,7 +39,7 @@ CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/mimedefang \
--prefix=${PREFIX}
MAN5= mimedefang-filter.5
MAN7= mimedefang-protocol.7
MAN7= mimedefang-notify.7 mimedefang-protocol.7
MAN8= mimedefang.8 mimedefang.pl.8 mimedefang-multiplexor.8 \
md-mx-ctrl.8 watch-mimedefang.8

View File

@ -1,2 +1,2 @@
MD5 (mimedefang-2.43.tar.gz) = 08573cd3403443d1bd1bed8778cf645e
SIZE (mimedefang-2.43.tar.gz) = 275595
MD5 (mimedefang-2.44.tar.gz) = c818e9f92d7aaf5360b5b7464b9e81c4
SIZE (mimedefang-2.44.tar.gz) = 277642

View File

@ -1,26 +1,26 @@
--- Makefile.in.orig Thu Jun 26 22:13:09 2003
+++ Makefile.in Thu Jun 26 22:18:40 2003
@@ -173,9 +173,8 @@
--- Makefile.in.orig Sat Jul 17 15:00:15 2004
+++ Makefile.in Sat Jul 17 15:43:49 2004
@@ -196,9 +196,8 @@
-test ! -d $(DESTDIR)$(RPM_INSTALL_ROOT)@SPOOLDIR@ && mkdir -p $(DESTDIR)$(RPM_INSTALL_ROOT)@SPOOLDIR@ && chmod 700 $(DESTDIR)$(RPM_INSTALL_ROOT)@SPOOLDIR@ || true
-test ! -d $(DESTDIR)$(RPM_INSTALL_ROOT)@QDIR@ && mkdir -p $(DESTDIR)$(RPM_INSTALL_ROOT)@QDIR@ && chmod 700 $(DESTDIR)$(RPM_INSTALL_ROOT)@QDIR@ || true
- if test -f $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter ; then \
- @INSTALL@ -m 644 examples/suggested-minimum-filter-for-windows-clients $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter.example || exit 1; \
- else \
+ @INSTALL@ -m 644 examples/suggested-minimum-filter-for-windows-clients $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter.example || exit 1; \
+ @INSTALL@ -m 644 examples/suggested-minimum-filter-for-windows-clients $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter.example || exit 1;
+ if !(test -f $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter) ; then \
@INSTALL@ -m 644 examples/suggested-minimum-filter-for-windows-clients $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/mimedefang-filter || exit 1; \
fi
@@ -194,9 +193,8 @@
@@ -218,9 +217,8 @@
if test "$(HAVE_SPAM_ASSASSIN)" = "yes" ; then \
mkdir -p $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/spamassassin > /dev/null 2>&1 ; \
chmod 755 $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/spamassassin ;\
- if test -f $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/spamassassin/sa-mimedefang.cf ; then \
- @INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/spamassassin/sa-mimedefang.cf.example || exit 1; \
mkdir -p $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR} > /dev/null 2>&1 ; \
chmod 755 $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR} ;\
- if test -f $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}sa-mimedefang.cf ; then \
- @INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/sa-mimedefang.cf.example || exit 1; \
- else \
+ @INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/spamassassin/sa-mimedefang.cf.example || exit 1; \
+ if !(test -f $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/spamassassin/sa-mimedefang.cf) ; then \
@INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/spamassassin/sa-mimedefang.cf || exit 1; \
+ @INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/sa-mimedefang.cf.example || exit 1; \
+ if !(test -f $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}sa-mimedefang.cf) ; then \
@INSTALL@ -m 644 SpamAssassin/spamassassin.cf $(DESTDIR)$(RPM_INSTALL_ROOT)${CONFDIR}/sa-mimedefang.cf || exit 1; \
fi \
fi

View File

@ -1,20 +0,0 @@
--- embperl.c.orig Wed Jun 30 00:57:57 2004
+++ embperl.c Wed Jun 30 01:01:55 2004
@@ -26,6 +26,9 @@
char *argv[6];
int argc;
+#ifdef SAFE_EMBED_PERL
+ PL_perl_destruct_level = 1;
+#endif
if (my_perl != NULL) {
#ifdef SAFE_EMBED_PERL
perl_destruct(my_perl);
@@ -46,7 +49,6 @@
#ifdef PERL_SET_CONTEXT
PERL_SET_CONTEXT(my_perl);
#endif
- PL_perl_destruct_level = 1;
perl_construct(my_perl);
if (subFilter) {
argv[0] = "";

View File

@ -6,8 +6,8 @@ bin/watch-mimedefang
etc/rc.d/mimedefang.sh-dist
@unexec if cmp -s %D/etc/mimedefang/mimedefang-filter %D/etc/mimedefang/mimedefang-filter.example; then rm -f %D/etc/mimedefang/mimedefang-filter; fi
etc/mimedefang/mimedefang-filter.example
@unexec if cmp -s %D/etc/mimedefang/spamassassin/sa-mimedefang.cf %D/etc/mimedefang/spamassassin/sa-mimedefang.cf.example; then rm -f %D/etc/mimedefang/spamassassin/sa-mimedefang.cf; fi
etc/mimedefang/spamassassin/sa-mimedefang.cf.example
@unexec if cmp -s %D/etc/mimedefang/sa-mimedefang.cf %D/etc/mimedefang/sa-mimedefang.cf.example; then rm -f %D/etc/mimedefang/sa-mimedefang.cf; fi
etc/mimedefang/sa-mimedefang.cf.example
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.ANOMY
%%PORTDOCS%%%%DOCSDIR%%/README.SPAMASSASSIN