Subject: pkg/34765: Update mail/mailfront-1.01
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <isihara@leaf.sf21npo.gr.jp>
List: pkgsrc-bugs
Date: 10/09/2006 08:25:00
>Number: 34765
>Category: pkg
>Synopsis: Update mail/mailfront-1.01
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Oct 09 08:25:00 +0000 2006
>Originator: ISIHARA Takanori
>Release: NetBSD/i386 2.0.2
>Organization:
>Environment:
NetBSD leaf.sf21npo.gr.jp 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Wed Mar 23 08:53:42 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-0-2-RELEASE/i386/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
* Update mailfront-1.01
NEWS file:
Changes in version 1.01
- Fixed a bug in the counters plugin that triggered a problem in the
SMTP protocol when handling the SIZE=# parameter.
- Reversed the order of cvm-validate and qmail-validate in the wrapper
scripts (and documentation) due to the semantics of the two plugins.
- Added a list of built-in plugins. The list currently contains the
three accept* plugins, which are extremely trivial.
Changes in version 1.0
Mailfront has been rewritten to be totally modular. The core mailfront
program loads the protocol, backend, and all plugin behaviors at run
time from shared objects.
The previous commands, such as smtpfront-qmail, are now shell script
wrappers for the main "mailfront" command, and as such are depricated in
favor of using "mailfront" directly. The *front-qmail wrappers preload
all the plugins that were previously compiled into the corresponding
programs:
check-fqdn counters mailrules relayclient cvm-validate
qmail-validate add-received patterns accept-sender
NOTE: The *front-reject backends have been dropped in favor of a plugin.
In addition, the $REQUIRE_AUTH feature has been moved to another plugin.
If you used this backend or feature you will need to adjust your
configuration accordingly.
>How-To-Repeat:
>Fix:
diff -uNr mailfront/Makefile mailfront.new/Makefile
--- mailfront/Makefile 2006-08-03 00:12:18.000000000 +0900
+++ mailfront.new/Makefile 2006-10-09 05:36:17.000000000 +0900
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.8 2006/08/02 02:42:22 schmonz Exp $
#
-DISTNAME= mailfront-0.98.1
-PKGREVISION= 1
+DISTNAME= mailfront-1.01
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}
@@ -10,7 +9,7 @@
HOMEPAGE= http://untroubled.org/mailfront/
COMMENT= Mail server network protocol front-ends
-DEPENDS+= cvm-[0-9]*:../../security/cvm
+DEPENDS+= cvm>=0.81:../../security/cvm
DEPENDS+= daemontools-[0-9]*:../../sysutils/daemontools
DEPENDS_QMAIL= qmail>=1.03nb8:../../mail/qmail
DEPENDS+= ${DEPENDS_QMAIL}
diff -uNr mailfront/PLIST mailfront.new/PLIST
--- mailfront/PLIST 2005-07-20 12:30:19.000000000 +0900
+++ mailfront.new/PLIST 2006-10-09 05:55:40.000000000 +0900
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/07/20 03:30:19 schmonz Exp $
+@comment $NetBSD$
bin/imapfront-auth
+bin/mailfront
bin/pop3front-auth
bin/pop3front-maildir
bin/qmqpfront-echo
@@ -8,5 +9,4 @@
bin/qmtpfront-qmail
bin/smtpfront-echo
bin/smtpfront-qmail
-bin/smtpfront-reject
share/examples/rc.d/smtpfront
diff -uNr mailfront/distinfo mailfront.new/distinfo
--- mailfront/distinfo 2006-08-03 00:12:18.000000000 +0900
+++ mailfront.new/distinfo 2006-10-09 05:43:42.000000000 +0900
@@ -1,6 +1,5 @@
$NetBSD: distinfo,v 1.5 2006/08/02 02:42:22 schmonz Exp $
-SHA1 (mailfront-0.98.1.tar.gz) = 1d3e0e7ca4091226c9d154bfe4a08e879debae29
-RMD160 (mailfront-0.98.1.tar.gz) = 2cad77abb898c29db0768cbb2514d2a0e4905f68
-Size (mailfront-0.98.1.tar.gz) = 77812 bytes
-SHA1 (patch-aa) = 6b9b6c7d546cbadffc8dfee557ff2384ba8b1a45
+SHA1 (mailfront-1.01.tar.gz) = a5cc07a9b3ec634fe23578f71974e4f32f782003
+RMD160 (mailfront-1.01.tar.gz) = bb1e5544b9d733214e33f04cb3a8130c85ed08d0
+Size (mailfront-1.01.tar.gz) = 90699 bytes
diff -uNr mailfront/patches/patch-aa mailfront.new/patches/patch-aa
--- mailfront/patches/patch-aa 2006-08-02 11:42:22.000000000 +0900
+++ mailfront.new/patches/patch-aa 1970-01-01 09:00:00.000000000 +0900
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2006/08/02 02:42:22 schmonz Exp $
-
---- Makefile.orig 2006-07-18 17:52:22.000000000 -0400
-+++ Makefile
-@@ -59,7 +59,7 @@ load: conf-ld conf-bglibs
- ( bglibs=`head -n 1 conf-bglibs`; \
- echo '#!/bin/sh';\
- echo 'main="$$1"; shift';\
-- echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
-+ echo exec `head -n 1 conf-ld` -L. "-L'$${bglibs}'" "-Wl,-R'$${bglibs}'" '-o "$$main" "$$main.o" $${1+"$$@"}' -lbg-sysdeps; \
- ) >load
- chmod 755 load
-