From d287475aa1dbfce0681de999b43cadf0ef285657 Mon Sep 17 00:00:00 2001 From: jdarrow Date: Fri, 11 Jun 2004 23:11:48 +0000 Subject: Update mail/milter-regex to 1.5. Also fix seteuid/setuid usage on NetBSD. Changes from 1.2: 1.5: March 19, 2004 Fix logic errors in dealing with multi-message connections (SMTP RSET, HELO or MAIL FROM resetting SMTP state). Add cb_abort callback. 1.4: March 13, 2004 Some performance improvements, abort rule evaluation immediately when no further rules can possibly match. Compile without -Werror, as some ports generate warnings. 1.3: March 8, 2004 Two bugfixes related to RCPT TO: rule evaluation (DSN options and multiple receipients would match incorrectly), umask(0177) for pipe, fix for Solaris daemon() implementation. Improved logging (From:, To: and Subject: headers, when available). [update during freeze approved by agc] --- mail/milter-regex/Makefile | 4 ++-- mail/milter-regex/distinfo | 7 ++++--- mail/milter-regex/patches/patch-aa | 13 +++++++++++++ 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 mail/milter-regex/patches/patch-aa (limited to 'mail/milter-regex') diff --git a/mail/milter-regex/Makefile b/mail/milter-regex/Makefile index 309f509d278..9696869f43e 100644 --- a/mail/milter-regex/Makefile +++ b/mail/milter-regex/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2004/04/24 22:40:01 snj Exp $ +# $NetBSD: Makefile,v 1.7 2004/06/11 23:11:48 jdarrow Exp $ # -DISTNAME= milter-regex-1.2 +DISTNAME= milter-regex-1.5 CATEGORIES= mail MASTER_SITES= http://www.benzedrine.cx/ diff --git a/mail/milter-regex/distinfo b/mail/milter-regex/distinfo index 901e7904568..a0396cb31c3 100644 --- a/mail/milter-regex/distinfo +++ b/mail/milter-regex/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.2 2004/03/03 21:09:52 manu Exp $ +$NetBSD: distinfo,v 1.3 2004/06/11 23:11:48 jdarrow Exp $ -SHA1 (milter-regex-1.2.tar.gz) = 7420da795ad89a7cf34b4316c1655a792a54a83a -Size (milter-regex-1.2.tar.gz) = 15371 bytes +SHA1 (milter-regex-1.5.tar.gz) = 2dcd022d40ec4032c0b8611614e579daf66b2477 +Size (milter-regex-1.5.tar.gz) = 15784 bytes +SHA1 (patch-aa) = 86f23d34f994e0039a46861470af0aaca3396248 diff --git a/mail/milter-regex/patches/patch-aa b/mail/milter-regex/patches/patch-aa new file mode 100644 index 00000000000..e880b224cae --- /dev/null +++ b/mail/milter-regex/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1 2004/06/11 23:11:48 jdarrow Exp $ + +--- milter-regex.c.orig Fri Mar 19 13:21:40 2004 ++++ milter-regex.c Mon Jun 7 16:35:18 2004 +@@ -596,7 +596,7 @@ + return (1); + } + if ( +-#if ! ( __linux__ || __sun__ ) ++#if ! ( __linux__ || __sun__ || __NetBSD__ ) + seteuid(pw->pw_uid) || + #endif + setuid(pw->pw_uid)) { -- cgit v1.2.3