[packages/imapsync] rel 2; raise hardcoded default quota limit to 99%

arekm arekm at pld-linux.org
Mon Sep 18 10:38:43 CEST 2023


commit 8f0cf933798e97b7b15c905a3a640d5667019f5c
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Sep 18 09:27:13 2023 +0200

    rel 2; raise hardcoded default quota limit to 99%

 defaults.patch | 12 ++++++++++++
 imapsync.spec  |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/imapsync.spec b/imapsync.spec
index f3b3e4b..f16e6ee 100644
--- a/imapsync.spec
+++ b/imapsync.spec
@@ -3,12 +3,13 @@ Summary:	Mailboxes synchronization tool
 Summary(pl.UTF-8):	Narzędzie do synchroniczacji skrzynek pocztowych
 Name:		imapsync
 Version:	2.229
-Release:	1
+Release:	2
 License:	NOLIMIT Public License
 Group:		Applications/Mail
 Source0:	https://github.com/imapsync/imapsync/archive/%{name}-%{version}.tar.gz
 # Source0-md5:	efae792ba984469ec106573a0141f56c
 Patch0:		no-prereq-install.patch
+Patch1:         defaults.patch
 URL:		http://imapsync.lamiral.info/
 BuildRequires:	cpanminus
 BuildRequires:	perl-Authen-NTLM
@@ -85,6 +86,7 @@ usunięte po udanym przesłaniu.
 %prep
 %setup -q -n %{name}-%{name}-%{version}
 %patch0 -p1
+%patch1 -p1
 
 sed -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
       imapsync
diff --git a/defaults.patch b/defaults.patch
new file mode 100644
index 0000000..19d08f0
--- /dev/null
+++ b/defaults.patch
@@ -0,0 +1,12 @@
+diff -ur imapsync-imapsync-2.229.org/imapsync imapsync-imapsync-2.229/imapsync
+--- imapsync-imapsync-2.229.org/imapsync	2022-10-25 04:21:25.000000000 +0200
++++ imapsync-imapsync-2.229/imapsync	2023-09-18 09:25:56.889907974 +0200
+@@ -1276,7 +1276,7 @@
+ 
+ Readonly my $NUMBER_20_000 => 20_000 ;
+ 
+-Readonly my $QUOTA_PERCENT_LIMIT => 90 ;
++Readonly my $QUOTA_PERCENT_LIMIT => 99 ;
+ 
+ Readonly my $NUMBER_104_857_600 => 104_857_600 ;
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/imapsync.git/commitdiff/8f0cf933798e97b7b15c905a3a640d5667019f5c



More information about the pld-cvs-commit mailing list