Index: head/mail/sieve-connect/Makefile =================================================================== --- head/mail/sieve-connect/Makefile (revision 502316) +++ head/mail/sieve-connect/Makefile (revision 502317) @@ -1,43 +1,44 @@ # Created by: Alexey V. Degtyarev # $FreeBSD$ PORTNAME= sieve-connect DISTVERSION= 0.89 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://people.spodhuis.org/phil.pennock/software/ MAINTAINER= ports@FreeBSD.org COMMENT= Command-line client for the MANAGESIEVE protocol LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= p5-Authen-SASL>=0:security/p5-Authen-SASL \ p5-IO-Socket-INET6>=0:net/p5-IO-Socket-INET6 \ p5-IO-Socket-SSL>=1.14:security/p5-IO-Socket-SSL \ p5-Mozilla-PublicSuffix>=0:dns/p5-Mozilla-PublicSuffix \ p5-Net-DNS>=0:dns/p5-Net-DNS \ p5-Net-SSLeay>=1.37:security/p5-Net-SSLeay \ p5-Term-ReadLine-Gnu>=0:devel/p5-Term-ReadLine-Gnu \ p5-Term-ReadKey>=0:devel/p5-Term-ReadKey USES= perl5 tar:bzip2 shebangfix SHEBANG_FILES= sieve-connect.pl NO_ARCH= yes PLIST_FILES= bin/sieve-connect \ man/man1/sieve-connect.1.gz PORTDOCS= ChangeLog README.md TODO OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/sieve-connect \ ${STAGEDIR}${PREFIX}/bin/sieve-connect ${INSTALL_MAN} ${WRKSRC}/sieve-connect.1 \ ${STAGEDIR}${MANPREFIX}/man/man1/sieve-connect.1 ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ .include Index: head/mail/sieve-connect/files/patch-sieve-connect.pl =================================================================== --- head/mail/sieve-connect/files/patch-sieve-connect.pl (nonexistent) +++ head/mail/sieve-connect/files/patch-sieve-connect.pl (revision 502317) @@ -0,0 +1,29 @@ +--- sieve-connect.pl.orig 2019-05-23 07:31:11 UTC ++++ 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) { Property changes on: head/mail/sieve-connect/files/patch-sieve-connect.pl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property