forked from mirrors/nixpkgs
Adding imapproxy
svn path=/nixpkgs/trunk/; revision=30360
This commit is contained in:
parent
2be3b97cba
commit
c761760442
pkgs
21
pkgs/tools/networking/imapproxy/default.nix
Normal file
21
pkgs/tools/networking/imapproxy/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{stdenv, fetchurl, openssl, ncurses}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "imapproxy-1.2.7";
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/squirrelmail/squirrelmail-imap_proxy-1.2.7.tar.bz2;
|
||||||
|
sha256 = "0j5fq755sxiz338ia93jrkiy64crv30g37pir5pxfys57q7d92nx";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ openssl ncurses ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i -e 's/-o \(root\|bin\) -g \(sys\|bin\)//' Makefile.in
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://imapproxy.org/;
|
||||||
|
description = "It proxies IMAP transactions caching server connections";
|
||||||
|
license = "GPLv2+";
|
||||||
|
};
|
||||||
|
}
|
|
@ -847,6 +847,8 @@ let
|
||||||
|
|
||||||
iftop = callPackage ../tools/networking/iftop { };
|
iftop = callPackage ../tools/networking/iftop { };
|
||||||
|
|
||||||
|
imapproxy = callPackage ../tools/networking/imapproxy { };
|
||||||
|
|
||||||
imapsync = callPackage ../tools/networking/imapsync {
|
imapsync = callPackage ../tools/networking/imapsync {
|
||||||
inherit (perlPackages) MailIMAPClient;
|
inherit (perlPackages) MailIMAPClient;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue