mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
169253be53
Fixes CVE-2021-20247: isync/mbsync data leak/destruction vulnerability https://sourceforge.net/p/isync/mailman/message/37225234/
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, perl
|
|
, openssl, db, cyrus_sasl, zlib
|
|
, Security
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "isync";
|
|
version = "1.4.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/isync/${pname}-${version}.tar.gz";
|
|
sha256 = "0l01880fcyqn6xq9n8236ha5n2a3wl5g8rmv22z8nv5hgfsxndhd";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config perl ];
|
|
buildInputs = [ openssl db cyrus_sasl zlib ]
|
|
++ lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://isync.sourceforge.net/";
|
|
# https://sourceforge.net/projects/isync/
|
|
changelog = "https://sourceforge.net/p/isync/isync/ci/v${version}/tree/NEWS";
|
|
description = "Free IMAP and MailDir mailbox synchronizer";
|
|
longDescription = ''
|
|
mbsync (formerly isync) is a command line application which synchronizes
|
|
mailboxes. Currently Maildir and IMAP4 mailboxes are supported. New
|
|
messages, message deletions and flag changes can be propagated both ways.
|
|
'';
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ primeos lheckemann ];
|
|
};
|
|
}
|