From b0aec8ab8b3523447ab48d00ae557b3b3b11f8f3 Mon Sep 17 00:00:00 2001 From: obache Date: Thu, 27 Jan 2011 11:16:39 +0000 Subject: [PATCH] Update milter-manager to 1.6.4. == [release-1-6-4] 1.6.4: 2011-01-21 A bug fix release of 1.6.3. === milter-client ==== Fixes * Used event loop usage as before when event loop backend is GLib. == [release-1-6-3] 1.6.3: 2011-01-20 A performance improvement release. This release includes a few performance improvement features but they are marked 'experimental'. They will be 'stable' feature in 1.8.0. === milter manager ==== Improvements * Upgraded bundled Ruby/GLib2 to 0.90.5 from 0.19.4. * Supported Ruby 1.9.2. * Added (()) that specifies a status returned to SMTP server on internal error. * Added (()) that specifies a status returned to SMTP server when disconnection is detected. [Suggested by Kenji Shiono] * Added DATA event emuration that is enabled when SMTP server uses milter protocol version 3 or smaller. * Added (()) that specifies event loop backend. (experimiental) * Added (()) that specifies number of worker processes. (experimental) * Added (()) that specifies buffer size for send packets. (experimental) ==== Fixes * Fixed a bug that (()) doesn't work with Postfix 2.3. [Reported by Kenji Shiono] * Fixed a DATA event timing when some child milters exist. [Reported by Kenji Shiono] === Document ==== Improvements * Described about Postfix's {client_addr}. [Reported by Kenji Shiono] === milter-client ==== Improvements * Supported multi process. (experimental) * Supported libev as event loop backend. (experimental) * Bundled libev 4.03. * Made write asyncronize. * Supported send packets buffering. (experimental) === milter-server ==== Improvements * Added more condition checks on evnets. ==== Fixes * Fixed a bug that timeout detection doesn't work. [Reported by Kenji Shiono] === Ruby milter ==== Improements * Added ruby-milter.pc. * Added --packet-buffer-size option that specifies send packet buffer size. (experimental) * Added --n-workers option thst specifies number of worker processes. (epxerimental) * Added --event-loop-backend option that specifies event loop backend. (experimental) === milter-test-client ==== Improvements * Added ((<--n-workers|milter-test-client#--n-workers>)) option that specifies number of worker processes. (experimental) * Added ((<--event-loop-backend|milter-test-client#--event-loop-backend>)) option that specifies event loop backend. (experimental) * Added ((<--packet-buffer-size|milter-test-client#--packet-buffer-size>)) option that specifies send packets buffer size. (experimental) === milter-performance-check ==== Improvements * Added ((<--n-additional-lines|milter-performance-check#--n-additional-lines>)) option that grows body size. * Added ((<--report-failure-responses|milter-performance-check#--report-failure-responses>)) option that enables failure SMTP sesseion response report on the last. * Added ((<--report-periodically|milter-performance-check#--report-periodically>)) option that enables periodical statistics report. * Added ((<--flood|milter-performance-check#--flood>)) option that enables flood mood that sends flood of mails in specified period. === milter-report-statistics ==== Improvements * Added: (()) === Packet * Updated package repository RPM for CentOS: 1.0.0-0 -> 1.0.0-1. === Thanks * Kenji Shiono --- mail/milter-manager/Makefile | 12 ++++++++++-- mail/milter-manager/PLIST | 15 ++++++++++++++- mail/milter-manager/distinfo | 8 ++++---- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/mail/milter-manager/Makefile b/mail/milter-manager/Makefile index 642bc9280b15..b9eeeec46369 100644 --- a/mail/milter-manager/Makefile +++ b/mail/milter-manager/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.6 2010/11/23 04:44:41 obache Exp $ +# $NetBSD: Makefile,v 1.7 2011/01/27 11:16:39 obache Exp $ # -DISTNAME= milter-manager-1.6.2 +DISTNAME= milter-manager-1.6.4 CATEGORIES= mail MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=milter-manager/} @@ -23,6 +23,10 @@ CONFIGURE_ARGS+= --with-default-effective-user=${MILTER_MANAGER_USER} CONFIGURE_ARGS+= --with-default-effective-group=${MILTER_MANAGER_GROUP} CONFIGURE_ARGS+= --with-default-socket-group=${MILTER_MANAGER_SOCKET_GROUP} CONFIGURE_ARGS+= --with-default-pid-file=${VARBASE}/run/milter-manager/milter-manager.pid +CONFIGURE_ARGS+= --with-libev=${BUILDLINK_PREFIX.libev} +CONFIGURE_ARGS+= --with-ruby=${RUBY} +CONFIGURE_ARGS+= --enable-ruby-milter=${PREFIX}/${RUBY_VENDORLIB} + PKG_SYSCONFSUBDIR= ${PKGBASE} EGDIR= ${PREFIX}/share/examples/${PKGBASE} @@ -33,6 +37,7 @@ PKGCONFIG_OVERRIDE+= milter-client.pc.in PKGCONFIG_OVERRIDE+= milter-core.pc.in PKGCONFIG_OVERRIDE+= milter-manager.pc.in PKGCONFIG_OVERRIDE+= milter-server.pc.in +PKGCONFIG_OVERRIDE+= ruby-milter.pc.in MILTER_MANAGER_USER?= _milter MILTER_MANAGER_GROUP?= _milter @@ -74,7 +79,10 @@ REPLACE_RUBY= admin/public/dispatch.* .include "../../lang/ruby/replace.mk" .include "../../lang/ruby/buildlink3.mk" +BUILDLINK_API_DEPENDS.ruby-gnome2-glib+= ruby-gnome2-glib>=0.90.5 .include "../../devel/ruby-gnome2-glib/buildlink3.mk" BUILDLINK_API_DEPENDS.glib2+= glib2>=2.12.3 .include "../../devel/glib2/buildlink3.mk" +BUILDLINK_API_DEPENDS.libev+= libev>=4.01 +.include "../../devel/libev/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/mail/milter-manager/PLIST b/mail/milter-manager/PLIST index 41ec3d12970f..d942c4d9bd52 100644 --- a/mail/milter-manager/PLIST +++ b/mail/milter-manager/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.3 2010/11/23 04:44:41 obache Exp $ +@comment $NetBSD: PLIST,v 1.4 2011/01/27 11:16:40 obache Exp $ bin/milter-manager-log-analyzer bin/milter-performance-check +bin/milter-report-statistics bin/milter-test-client bin/milter-test-client-libmilter bin/milter-test-server @@ -11,6 +12,9 @@ include/milter-manager/milter/client/milter-client-context.h include/milter-manager/milter/client/milter-client-enum-types.h include/milter-manager/milter/client/milter-client-objects.h include/milter-manager/milter/client/milter-client-private.h +include/milter-manager/milter/client/milter-client-runner.h +include/milter-manager/milter/client/milter-client-single-thread-runner.h +include/milter-manager/milter/client/milter-client.h include/milter-manager/milter/core.h include/milter-manager/milter/core/milter-agent.h include/milter-manager/milter/core/milter-command-decoder.h @@ -21,8 +25,11 @@ include/milter-manager/milter/core/milter-encoder.h include/milter-manager/milter/core/milter-enum-types.h include/milter-manager/milter/core/milter-error-emittable.h include/milter-manager/milter/core/milter-esmtp.h +include/milter-manager/milter/core/milter-event-loop.h include/milter-manager/milter/core/milter-finished-emittable.h +include/milter-manager/milter/core/milter-glib-event-loop.h include/milter-manager/milter/core/milter-headers.h +include/milter-manager/milter/core/milter-libev-event-loop.h include/milter-manager/milter/core/milter-logger.h include/milter-manager/milter/core/milter-macros-requests.h include/milter-manager/milter/core/milter-memory-profile.h @@ -111,14 +118,18 @@ lib/pkgconfig/milter-client.pc lib/pkgconfig/milter-core.pc lib/pkgconfig/milter-manager.pc lib/pkgconfig/milter-server.pc +lib/pkgconfig/ruby-milter.pc +${RUBY_VENDORLIB}/milter.rb man/ja/man1/milter-manager-log-analyzer.1 man/ja/man1/milter-manager.1 man/ja/man1/milter-performance-check.1 +man/ja/man1/milter-report-statistics.1 man/ja/man1/milter-test-client.1 man/ja/man1/milter-test-server.1 man/man1/milter-manager-log-analyzer.1 man/man1/milter-manager.1 man/man1/milter-performance-check.1 +man/man1/milter-report-statistics.1 man/man1/milter-test-client.1 man/man1/milter-test-server.1 sbin/milter-manager @@ -220,6 +231,7 @@ share/doc/milter-manager/ja/milter-reader.xml share/doc/milter-manager/ja/milter-reply-decoder.xml share/doc/milter-manager/ja/milter-reply-encoder.xml share/doc/milter-manager/ja/milter-reply-signals.xml +share/doc/milter-manager/ja/milter-report-statistics.html share/doc/milter-manager/ja/milter-server-context.xml share/doc/milter-manager/ja/milter-server-enum-types.xml share/doc/milter-manager/ja/milter-syslog-logger.xml @@ -263,6 +275,7 @@ share/doc/milter-manager/milter-manager.devhelp share/doc/milter-manager/milter-manager.devhelp2 share/doc/milter-manager/milter-manager.html share/doc/milter-manager/milter-performance-check.html +share/doc/milter-manager/milter-report-statistics.html share/doc/milter-manager/milter-test-client.html share/doc/milter-manager/milter-test-server.html share/doc/milter-manager/mta-and-milter-manager-and-child-milter-ja.png diff --git a/mail/milter-manager/distinfo b/mail/milter-manager/distinfo index 2dee3c35b941..f48f44e2b13d 100644 --- a/mail/milter-manager/distinfo +++ b/mail/milter-manager/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2010/11/23 04:44:41 obache Exp $ +$NetBSD: distinfo,v 1.5 2011/01/27 11:16:40 obache Exp $ -SHA1 (milter-manager-1.6.2.tar.gz) = d5821334be4b6d7c08d49814c4184a3f5ec83911 -RMD160 (milter-manager-1.6.2.tar.gz) = 4303bd2b9a4743615719fbeb13e14aa518238274 -Size (milter-manager-1.6.2.tar.gz) = 6332325 bytes +SHA1 (milter-manager-1.6.4.tar.gz) = 9b930b688e0571493065961755cb2c056186b305 +RMD160 (milter-manager-1.6.4.tar.gz) = 119c09d6c5e0241d9edc56516e381e4ad5169981 +Size (milter-manager-1.6.4.tar.gz) = 6761647 bytes