pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/sieve-connect



Module Name:    pkgsrc
Committed By:   plunky
Date:           Tue Jan 22 06:14:32 UTC 2019

Added Files:
        pkgsrc/mail/sieve-connect: DESCR Makefile PLIST distinfo
        pkgsrc/mail/sieve-connect/patches: patch-sieve-connect.pl

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/sieve-connect/DESCR \
    pkgsrc/mail/sieve-connect/Makefile pkgsrc/mail/sieve-connect/PLIST \
    pkgsrc/mail/sieve-connect/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/sieve-connect/patches/patch-sieve-connect.pl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/mail/sieve-connect/DESCR
diff -u /dev/null pkgsrc/mail/sieve-connect/DESCR:1.1
--- /dev/null   Tue Jan 22 06:14:32 2019
+++ pkgsrc/mail/sieve-connect/DESCR     Tue Jan 22 06:14:32 2019
@@ -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.
Index: pkgsrc/mail/sieve-connect/Makefile
diff -u /dev/null pkgsrc/mail/sieve-connect/Makefile:1.1
--- /dev/null   Tue Jan 22 06:14:32 2019
+++ pkgsrc/mail/sieve-connect/Makefile  Tue Jan 22 06:14:32 2019
@@ -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"
Index: pkgsrc/mail/sieve-connect/PLIST
diff -u /dev/null pkgsrc/mail/sieve-connect/PLIST:1.1
--- /dev/null   Tue Jan 22 06:14:32 2019
+++ pkgsrc/mail/sieve-connect/PLIST     Tue Jan 22 06:14:32 2019
@@ -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
Index: pkgsrc/mail/sieve-connect/distinfo
diff -u /dev/null pkgsrc/mail/sieve-connect/distinfo:1.1
--- /dev/null   Tue Jan 22 06:14:32 2019
+++ pkgsrc/mail/sieve-connect/distinfo  Tue Jan 22 06:14:32 2019
@@ -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

Index: pkgsrc/mail/sieve-connect/patches/patch-sieve-connect.pl
diff -u /dev/null pkgsrc/mail/sieve-connect/patches/patch-sieve-connect.pl:1.1
--- /dev/null   Tue Jan 22 06:14:32 2019
+++ pkgsrc/mail/sieve-connect/patches/patch-sieve-connect.pl    Tue Jan 22 06:14:32 2019
@@ -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