proxychains: install default config
This commit is contained in:
parent
4a6744b2b2
commit
42fd630fe7
|
@ -16,17 +16,27 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
# zsh completion
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch";
|
url = "https://github.com/rofl0r/proxychains-ng/commit/04023d3811d8ee34b498b429bac7a871045de59c.patch";
|
||||||
sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo=";
|
sha256 = "sha256-Xcg2kmAhj/OJn/RKJAxb9MOJNJQY7FXmxEIzQ5dvabo=";
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/rofl0r/proxychains-ng/commit/9b42da71f4df7b783cf07a58ffa095e293c43380.patch";
|
||||||
|
sha256 = "sha256-tYv9XP51WtsjaoklwQk3D/MQceoOvtdMwBraECt6AXQ=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"install-config"
|
"install-config"
|
||||||
"install-zsh-completion"
|
# TODO: check on next update if that works and remove postInstall
|
||||||
|
# "install-zsh-completion"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
./tools/install.sh -D -m 644 completions/_proxychains $out/share/zsh/site_functions/_proxychains4
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies";
|
description = "A preloader which hooks calls to sockets in dynamically linked programs and redirects it through one or more socks/http proxies";
|
||||||
homepage = "https://github.com/rofl0r/proxychains-ng";
|
homepage = "https://github.com/rofl0r/proxychains-ng";
|
||||||
|
|
|
@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
|
substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
installFlags = [
|
||||||
|
"install-config"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Proxifier for SOCKS proxies";
|
description = "Proxifier for SOCKS proxies";
|
||||||
homepage = "http://proxychains.sourceforge.net";
|
homepage = "http://proxychains.sourceforge.net";
|
||||||
|
|
Loading…
Reference in a new issue