Merge remote-tracking branch 'upstream/staging-next' into down-integrate-staging
This commit is contained in:
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "clash";
|
||||
version = "1.4.2";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Dreamacro";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-ObnlcKTuO/yFNMXLwGvRTLnz18bNquq6dye2qpL7+VM=";
|
||||
sha256 = "sha256-I4qpcHsN8WGt7YLNXO08BJypilhMSVmZjqECDjlEqXU=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-6ZQMDXc2NFs6l/DWPPCFJ+c40764hXzFTdi1Pxk1fnU=";
|
||||
vendorSha256 = "sha256-Nfzk7p52msGxTPDbs4g9KuRPFxp4Npt0QXkdVOZvipc=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "dnsproxy";
|
||||
version = "0.36.0";
|
||||
version = "0.37.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AdguardTeam";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-VTmQ37kUWlc18p8Qdm2ZFID+t6OIp7y2qU12rXqE6Xo=";
|
||||
sha256 = "sha256-3zsEEq6pVo5yHY4v5TXhZo4jo6htjCYypzxMMv8zQGE=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "oapi-codegen";
|
||||
version = "1.5.6";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deepmap";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-edIm1O+LQdmKhH8/5WuSsxVtOcf3VlkObGjIY+30mms=";
|
||||
sha256 = "sha256-doJ1ceuJ/gL9vlGgV/hKIJeAErAseH0dtHKJX2z7pV0=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-lhWnPZavtBEa4A76rvr0xw3L5W6HYK1Uw+PW8z8gWuU=";
|
||||
vendorSha256 = "sha256-Y4WM+o+5jiwj8/99UyNHLpBNbtJkKteIGW2P1Jd9L6M=";
|
||||
|
||||
# Tests use network
|
||||
doCheck = false;
|
||||
|
||||
@@ -2,53 +2,46 @@
|
||||
, enableDaemon ? false # build amule daemon
|
||||
, httpServer ? false # build web interface for the daemon
|
||||
, client ? false # build amule remote gui
|
||||
, fetchFromGitHub, stdenv, lib, zlib, wxGTK, perl, cryptopp, libupnp, gettext, libpng
|
||||
, autoreconfHook, pkg-config, makeWrapper, libX11 }:
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, lib
|
||||
, cmake
|
||||
, zlib
|
||||
, wxGTK
|
||||
, perl
|
||||
, cryptopp
|
||||
, libupnp
|
||||
, gettext
|
||||
, libpng
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, makeWrapper
|
||||
, libX11
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "amule";
|
||||
version = "unstable-20201006";
|
||||
version = "2.3.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "amule-project";
|
||||
repo = "amule";
|
||||
rev = "6f8951527eda670c7266984ce476061bfe8867fc";
|
||||
sha256 = "12b44b6hz3mb7nsn6xhzvm726xs06xcim013i1appif4dr8njbx1";
|
||||
rev = version;
|
||||
sha256 = "1nm4vxgmisn1b6l3drmz0q04x067j2i8lw5rnf0acaapwlp8qwvi";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/libs/ec/file_generator.pl \
|
||||
--replace /usr/bin/perl ${perl}/bin/perl
|
||||
|
||||
# autotools expects these to be in the root
|
||||
cp docs/{AUTHORS,README} .
|
||||
cp docs/Changelog ./ChangeLog
|
||||
cp docs/Changelog ./NEWS
|
||||
'';
|
||||
|
||||
preAutoreconf = ''
|
||||
pushd src/pixmaps/flags_xpm >/dev/null
|
||||
./makeflags.sh
|
||||
popd >/dev/null
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook gettext makeWrapper pkg-config ];
|
||||
nativeBuildInputs = [ cmake gettext makeWrapper pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
zlib wxGTK perl cryptopp libupnp
|
||||
zlib wxGTK perl cryptopp.dev libupnp
|
||||
] ++ lib.optional httpServer libpng
|
||||
++ lib.optional client libX11;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [
|
||||
"--with-crypto-prefix=${cryptopp}"
|
||||
"--disable-debug"
|
||||
"--enable-optimize"
|
||||
(lib.enableFeature monolithic "monolithic")
|
||||
(lib.enableFeature enableDaemon "amule-daemon")
|
||||
(lib.enableFeature client "amule-gui")
|
||||
(lib.enableFeature httpServer "webserver")
|
||||
cmakeFlags = [
|
||||
"-DBUILD_MONOLITHIC=${if monolithic then "ON" else "OFF"}"
|
||||
"-DBUILD_DAEMON=${if enableDaemon then "ON" else "OFF"}"
|
||||
"-DBUILD_REMOTEGUI=${if client then "ON" else "OFF"}"
|
||||
"-DBUILD_WEBSERVER=${if httpServer then "ON" else "OFF"}"
|
||||
];
|
||||
|
||||
# aMule will try to `dlopen' libupnp and libixml, so help it
|
||||
@@ -75,7 +68,7 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ phreedom ];
|
||||
platforms = platforms.unix;
|
||||
# Could not find crypto++ installation or sources.
|
||||
broken = true;
|
||||
# cmake fails: Cannot specify link libraries for target "wxWidgets::ADV" which is not built by this project.
|
||||
broken = enableDaemon;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "shadowsocks-rust";
|
||||
version = "1.10.2";
|
||||
version = "1.10.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "shadowsocks";
|
||||
repo = pname;
|
||||
sha256 = "155v63v0wf0ky5nl2f1dvky8n9pdk40l1lqyz8l1i1kjcvvcmj26";
|
||||
sha256 = "0nagn7792qniczzv0912h89bn8rm8hyikdiw7cqwknx0hw8dwz1z";
|
||||
};
|
||||
|
||||
cargoSha256 = "1vb6kis54g4lfc9d0h1961dclaqhq019iw509ydcsa1n7bp25caq";
|
||||
cargoSha256 = "0arqc0wnvfkmk8xzsdc6fvd1adazrw950ld8xyh7r588pyphjmhn";
|
||||
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
|
||||
|
||||
@@ -1,22 +1,14 @@
|
||||
{ lib, stdenv, fetchurl, libpcap, perl, fetchpatch }:
|
||||
{ lib, stdenv, fetchurl, libpcap, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tcpdump";
|
||||
version = "4.9.3";
|
||||
version = "4.99.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.tcpdump.org/release/${pname}-${version}.tar.gz";
|
||||
sha256 = "0434vdcnbqaia672rggjzdn4bb8p8dchz559yiszzdk0sjrprm1c";
|
||||
sha256 = "0hmqh2fx8rgs9v1mk3vpywj61xvkifz260q685xllxr8jmxg3wlc";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Patch for CVE-2020-8037
|
||||
(fetchpatch {
|
||||
url = "https://github.com/the-tcpdump-group/tcpdump/commit/32027e199368dad9508965aae8cd8de5b6ab5231.patch";
|
||||
sha256 = "sha256-bO3aV032ru9+M/9isBRjmH8jTZLKj9Zf9ha2rmOaZwc=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs tests
|
||||
'';
|
||||
@@ -29,11 +21,11 @@ stdenv.mkDerivation rec {
|
||||
(stdenv.hostPlatform != stdenv.buildPlatform)
|
||||
"ac_cv_linux_vers=2";
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "Network sniffer";
|
||||
homepage = "http://www.tcpdump.org/";
|
||||
license = "BSD-style";
|
||||
maintainers = with lib.maintainers; [ globin ];
|
||||
platforms = lib.platforms.unix;
|
||||
homepage = "https://www.tcpdump.org/";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ globin ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user