Skip to content

Commit

Permalink
isync: 1.4.4 -> 1.5.0
Browse files Browse the repository at this point in the history
Buffer too small can now be fixed by defining QPRINTF_BUFF.
Patch on unexpected EOF is part of new version.

`QPRINT_BUFF` fix discussed at
https://sourceforge.net/p/isync/mailman/isync-devel/thread/87fsevvebj.fsf%40steelpick.2x.cz/#msg37731590.

Release notes: https://sourceforge.net/projects/isync/files/isync/1.5.0/
  • Loading branch information
felipeqq2 authored and peterhoeg committed Sep 19, 2024
1 parent cdce953 commit c60cc72
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 119 deletions.

This file was deleted.

14 changes: 5 additions & 9 deletions pkgs/tools/networking/isync/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,16 @@

stdenv.mkDerivation rec {
pname = "isync";
version = "1.4.4";
version = "1.5.0";

src = fetchurl {
url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz";
sha256 = "1zq0wwvmqsl9y71546dr0aygzn9gjjfiw19hlcq87s929y4p6ckw";
sha256 = "oMgeEJOHvyedoWFFMQM5nneUav7PXFH5QTxedzVX940=";
};

patches = [
# Fixes "Fatal: buffer too small" error
./0001-Increase-imap_vprintf-buffer-size.patch
# Fix #202595: SSL error "Socket error: ... unexpected eof while reading"
# Source: https://sourceforge.net/p/isync/isync/ci/b6c36624f04cd388873785c0631df3f2f9ac4bf0/
./work-around-unexpected-EOF-error-messages-at-end-of-SSL-connections.patch
];

# Fixes "Fatal: buffer too small" error
env.NIX_CFLAGS_COMPILE = "-DQPRINTF_BUFF=4000";

nativeBuildInputs = [ pkg-config perl ]
++ lib.optionals withCyrusSaslXoauth2 [ makeWrapper ];
Expand Down

This file was deleted.

0 comments on commit c60cc72

Please sign in to comment.