pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sieve-connect add sieve-connect 0.89, A client fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4bc5a2946f5
branches:  trunk
changeset: 328473:d4bc5a2946f5
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Tue Jan 22 06:14:32 2019 +0000

description:
add sieve-connect 0.89, A client for the ManageSieve protocol, as
specifed in RFC 5804.

diffstat:

 mail/sieve-connect/DESCR                          |  18 ++++++++++++
 mail/sieve-connect/Makefile                       |  34 +++++++++++++++++++++++
 mail/sieve-connect/PLIST                          |   3 ++
 mail/sieve-connect/distinfo                       |   7 ++++
 mail/sieve-connect/patches/patch-sieve-connect.pl |  33 ++++++++++++++++++++++
 5 files changed, 95 insertions(+), 0 deletions(-)

diffs (115 lines):

diff -r 1294f94cc3c0 -r d4bc5a2946f5 mail/sieve-connect/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sieve-connect/DESCR  Tue Jan 22 06:14:32 2019 +0000
@@ -0,0 +1,18 @@
+This is sieve-connect. A client for the ManageSieve protocol, as
+specifed in RFC 5804.
+
+This is not yet fully compatible with RFC 5804, but is moving
+towards that from the timsieved baseline; some issues to be
+worked on are documented in the "TODO" file.
+
+sieve-connect speaks ManageSieve and supports TLS for connection
+privacy and also authentication if using client certificates.
+sieve-connect will use SASL authentication; SASL integrity layers
+are not supported, use TLS instead. GSSAPI-based authentication
+should generally work, provided that client and server can use a
+common underlaying protocol. If it doesn't work for you, please
+report the issue.
+
+sieve-connect is designed to be both a tool which can be invoked
+from scripts and also a decent interactive client. It should also
+be a drop-in replacement for "sieveshell", as supplied with Cyrus IMAP.
diff -r 1294f94cc3c0 -r d4bc5a2946f5 mail/sieve-connect/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sieve-connect/Makefile       Tue Jan 22 06:14:32 2019 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2019/01/22 06:14:32 plunky Exp $
+#
+
+DISTNAME=              sieve-connect-0.89
+CATEGORIES=            mail
+MASTER_SITES=          https://people.spodhuis.org/phil.pennock/software/
+EXTRACT_SUFX=          .tar.bz2
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://github.com/philpennock/sieve-connect
+COMMENT=               Command line client for the ManageSieve protocol
+LICENSE=               modified-bsd
+
+USE_TOOLS+=            sed chmod rm perl
+
+BUILD_MAKE_FLAGS+=     PERL5BIN=${PERL5:Q}
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+INSTALL_MAKE_FLAGS+=   PREFIX=${DESTDIR}${PREFIX} MANDIR=${PKGMANDIR}
+
+DEPENDS+=              p5-Authen-SASL-[0-9]*:../../security/p5-Authen-SASL
+DEPENDS+=              p5-IO-Socket-INET6-[0-9]*:../../net/p5-IO-Socket-INET6
+DEPENDS+=              p5-IO-Socket-SSL>=1.14:../../security/p5-IO-Socket-SSL
+DEPENDS+=              p5-Net-DNS-[0-9]*:../../net/p5-Net-DNS
+DEPENDS+=              p5-Pod-Usage-[0-9]*:../../devel/p5-Pod-Usage
+
+# optional
+DEPENDS+=              p5-Term-ReadKey-[0-9]*:../../devel/p5-Term-ReadKey
+DEPENDS+=              p5-Term-ReadLine-[0-9]*:../../devel/p5-Term-ReadLine
+#DEPENDS+=             p5-Mozilla-PublicSuffix-[0-9]*:../../???/p5-Mozilla-PublicSuffix
+#DEPENDS+=             p5-Term-ReadLine-Gnu-[0-9]*:../../???/p5-Term-ReadLine-Gnu
+
+.include "../../lang/perl5/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1294f94cc3c0 -r d4bc5a2946f5 mail/sieve-connect/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sieve-connect/PLIST  Tue Jan 22 06:14:32 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/01/22 06:14:32 plunky Exp $
+bin/sieve-connect
+man/man1/sieve-connect.1
diff -r 1294f94cc3c0 -r d4bc5a2946f5 mail/sieve-connect/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sieve-connect/distinfo       Tue Jan 22 06:14:32 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/01/22 06:14:32 plunky Exp $
+
+SHA1 (sieve-connect-0.89.tar.bz2) = b8544a7603c2f7778a6590cd72d47325438160f8
+RMD160 (sieve-connect-0.89.tar.bz2) = a3756bf3818804586883d32c759266366d82132f
+SHA512 (sieve-connect-0.89.tar.bz2) = ddcc315f78c3dc127405ecbf9cd4f1bfa02eae018a5413f594e018d23043c856e2a1d09a7df0ed1712af821b207fd781085091afda1d18cf25e9b938563f67aa
+Size (sieve-connect-0.89.tar.bz2) = 45683 bytes
+SHA1 (patch-sieve-connect.pl) = 15742aedcdbdbe8d7484b2d1f30ccb0ae609c45b
diff -r 1294f94cc3c0 -r d4bc5a2946f5 mail/sieve-connect/patches/patch-sieve-connect.pl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/sieve-connect/patches/patch-sieve-connect.pl Tue Jan 22 06:14:32 2019 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-sieve-connect.pl,v 1.1 2019/01/22 06:14:32 plunky Exp $
+
+Fix RE errors (will be fatal in perl 5.30)
+
+--- sieve-connect.pl.orig      2017-02-15 00:13:15.000000000 +0000
++++ sieve-connect.pl
+@@ -927,7 +927,7 @@ if (defined $realm) {
+               if (/^"(.*)"\r?\n?$/) {
+                       $challenge = $1;
+               } else {
+-                      unless (/^{(\d+)\+?}\r?$/m) {
++                      unless (/^\{(\d+)\+?}\r?$/m) {
+                               sfinish $sock, "*";
+                               closedie($sock, "Failure to parse server SASL response.\n");
+                       }
+@@ -1510,7 +1510,7 @@ sub sieve_download
+               warn qq{Empty script "$remotefn"?  Not saved.\n};
+               return;
+       }
+-      unless (/^{(\d+)\+?}\r?$/m) {
++      unless (/^\{(\d+)\+?}\r?$/m) {
+               die "QUIT:Failed to parse server response to GETSCRIPT";
+       }
+       my $contentdata = $_;
+@@ -1526,7 +1526,7 @@ sub sieve_download
+                       or die "write-open($localfn) failed: $!\n";
+               $oldouthandle = select $fh;
+       }
+-      $contentdata =~ s/^{\d+\+?}\r?\n?//m;
++      $contentdata =~ s/^\{\d+\+?}\r?\n?//m;
+       print $contentdata;
+       select $oldouthandle if defined $oldouthandle;
+       if (defined $fh) {



Home | Main Index | Thread Index | Old Index