Received: by mail.netbsd.org (Postfix, from userid 605) id F33F184F81; Wed, 10 Jan 2024 16:45:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2DC3484D1B for ; Wed, 10 Jan 2024 16:45:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id zUh3i5IPW5jh for ; Wed, 10 Jan 2024 16:45:17 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 529E384D08 for ; Wed, 10 Jan 2024 16:45:17 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 49F4CFA42; Wed, 10 Jan 2024 16:45:17 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1704905117162690" MIME-Version: 1.0 Date: Wed, 10 Jan 2024 16:45:17 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/mail/p5-Mail-Qmail-Queue To: pkgsrc-changes@NetBSD.org Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20240110164517.49F4CFA42@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1704905117162690 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Wed Jan 10 16:45:17 UTC 2024 Added Files: pkgsrc/mail/p5-Mail-Qmail-Queue: DESCR Makefile distinfo pkgsrc/mail/p5-Mail-Qmail-Queue/patches: patch-t_30Send.t patch-t_40Message.t Log Message: Add p5-Mail-Qmail-Queue: Modules to talk to and/or help replace qmail-queue Mail::Qmail::Queue is a small collection of modules to help with talking to qmail-queue and/or writing replacements for it. It also contains some handy command-line tools for testing qmail-queue or its replacements. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/mail/p5-Mail-Qmail-Queue/DESCR \ pkgsrc/mail/p5-Mail-Qmail-Queue/Makefile \ pkgsrc/mail/p5-Mail-Qmail-Queue/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/mail/p5-Mail-Qmail-Queue/patches/patch-t_30Send.t \ pkgsrc/mail/p5-Mail-Qmail-Queue/patches/patch-t_40Message.t Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1704905117162690 Content-Disposition: inline Content-Length: 3925 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/mail/p5-Mail-Qmail-Queue/DESCR diff -u /dev/null pkgsrc/mail/p5-Mail-Qmail-Queue/DESCR:1.1 --- /dev/null Wed Jan 10 16:45:17 2024 +++ pkgsrc/mail/p5-Mail-Qmail-Queue/DESCR Wed Jan 10 16:45:16 2024 @@ -0,0 +1,3 @@ +Mail::Qmail::Queue is a small collection of modules to help with talking +to qmail-queue and/or writing replacements for it. It also contains some +handy command-line tools for testing qmail-queue or its replacements. Index: pkgsrc/mail/p5-Mail-Qmail-Queue/Makefile diff -u /dev/null pkgsrc/mail/p5-Mail-Qmail-Queue/Makefile:1.1 --- /dev/null Wed Jan 10 16:45:17 2024 +++ pkgsrc/mail/p5-Mail-Qmail-Queue/Makefile Wed Jan 10 16:45:16 2024 @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2024/01/10 16:45:16 schmonz Exp $ + +DISTNAME= Mail-Qmail-Queue-0.02 +PKGNAME= p5-${DISTNAME} +CATEGORIES= mail perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/G/GI/GIFF/} + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= https://metacpan.org/dist/Mail-Qmail-Queue +COMMENT= Modules to talk to and/or help replace qmail-queue +LICENSE= ${PERL5_LICENSE} + +PERL5_PACKLIST= auto/Mail/Qmail/Queue/.packlist +USE_LANGUAGES= # none + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/mail/p5-Mail-Qmail-Queue/distinfo diff -u /dev/null pkgsrc/mail/p5-Mail-Qmail-Queue/distinfo:1.1 --- /dev/null Wed Jan 10 16:45:17 2024 +++ pkgsrc/mail/p5-Mail-Qmail-Queue/distinfo Wed Jan 10 16:45:16 2024 @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2024/01/10 16:45:16 schmonz Exp $ + +BLAKE2s (Mail-Qmail-Queue-0.02.tar.gz) = 90ee39daa3d7321f72aea1999db41e5428ed7fca4d2906c698d34748d3788753 +SHA512 (Mail-Qmail-Queue-0.02.tar.gz) = 92905e1b92454f0f17b090ebcfc9081aa7dc02db18c8ca49e01e2b1fe0e1e7c80842d50aff45acdcd8ddf868d31a8019c5e818b2426734ba362b58423bec3cf9 +Size (Mail-Qmail-Queue-0.02.tar.gz) = 18851 bytes +SHA1 (patch-t_30Send.t) = 203f69513e790a4aa37de9f4f8dbc488a688a81b +SHA1 (patch-t_40Message.t) = 0d5fa7a1a1969742fb019941c4a17fd593de7e11 Index: pkgsrc/mail/p5-Mail-Qmail-Queue/patches/patch-t_30Send.t diff -u /dev/null pkgsrc/mail/p5-Mail-Qmail-Queue/patches/patch-t_30Send.t:1.1 --- /dev/null Wed Jan 10 16:45:17 2024 +++ pkgsrc/mail/p5-Mail-Qmail-Queue/patches/patch-t_30Send.t Wed Jan 10 16:45:17 2024 @@ -0,0 +1,15 @@ +$NetBSD: patch-t_30Send.t,v 1.1 2024/01/10 16:45:17 schmonz Exp $ + +In tests, call the perl we're already using. + +--- t/30Send.t.orig 2024-01-10 16:43:08.307574424 +0000 ++++ t/30Send.t +@@ -13,7 +13,7 @@ use constant ENV_FN => 't/30Send.env'; + + unlink(BODY_FN,ENV_FN); + +-my $qq_send = Mail::Qmail::Queue::Send->new(QmailQueue => "perl -Iblib/lib t/30Send.qq @{[BODY_FN]} @{[ENV_FN]}") ++my $qq_send = Mail::Qmail::Queue::Send->new(QmailQueue => "$^X -Iblib/lib t/30Send.qq @{[BODY_FN]} @{[ENV_FN]}") + or die "Couldn't create qmail-queue sender: $!\n"; + $qq_send->body("Test message\n") + or die "Couldn't write body: $!\n"; Index: pkgsrc/mail/p5-Mail-Qmail-Queue/patches/patch-t_40Message.t diff -u /dev/null pkgsrc/mail/p5-Mail-Qmail-Queue/patches/patch-t_40Message.t:1.1 --- /dev/null Wed Jan 10 16:45:17 2024 +++ pkgsrc/mail/p5-Mail-Qmail-Queue/patches/patch-t_40Message.t Wed Jan 10 16:45:17 2024 @@ -0,0 +1,15 @@ +$NetBSD: patch-t_40Message.t,v 1.1 2024/01/10 16:45:17 schmonz Exp $ + +In tests, call the perl we're already using. + +--- t/40Message.t.orig 2024-01-10 16:43:08.312532208 +0000 ++++ t/40Message.t +@@ -32,7 +32,7 @@ is($msg->body,"That is a test message.\n + is($msg->from,'sgifford@suspectclass.com-@[]'); + ok(eq_array($msg->to_ref,[qw(sgifford@suspectclass.com gifford@umich.edu GIFF@cpan.org)])); + +-my $qq_res = $msg->send(QmailQueue => "perl -Iblib/lib t/30Send.qq @{[BODY_OUT]} @{[ENV_OUT]}"); ++my $qq_res = $msg->send(QmailQueue => "$^X -Iblib/lib t/30Send.qq @{[BODY_OUT]} @{[ENV_OUT]}"); + is($qq_res,0); + $qq_res == 0 + or die "qmail-queue send failed: status $qq_res"; --_----------=_1704905117162690--