Merge pull request #112994 from fabaff/bump-proxychains

proxychains: 4.2.0 -> 4.4.0
This commit is contained in:
Sandro 2021-02-14 09:19:05 +01:00 committed by GitHub
commit 7e991cc01b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,27 +1,33 @@
{ lib, stdenv, fetchFromGitHub } :
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "proxychains";
version = "4.2.0";
version = "4.4.0";
src = fetchFromGitHub {
owner = "haad";
repo = "proxychains";
repo = pname;
rev = "${pname}-${version}";
sha256 = "015skh3z1jmm8kxbm3nkqv1w56kcvabdmcbmpwzywxr4xnh3x3pc";
sha256 = "083xdg6fsn8c2ns93lvy794rixxq8va6jdf99w1z0xi4j7f1nyjw";
};
postPatch = ''
# Temporary work-around; most likely fixed by next upstream release
sed -i Makefile -e '/-lpthread/a LDFLAGS+=-ldl'
# Suppress compiler warning. Remove it when upstream fix arrives
substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
'';
postInstall = ''
cp src/proxychains.conf $out/etc
'';
meta = {
meta = with lib; {
description = "Proxifier for SOCKS proxies";
homepage = "http://proxychains.sourceforge.net";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;
};
}