uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
79
pkgs/os-specific/linux/net-tools/config.h
Normal file
79
pkgs/os-specific/linux/net-tools/config.h
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* config.h Automatically generated configuration includefile
|
||||
*
|
||||
* NET-TOOLS A collection of programs that form the base set of the
|
||||
* NET-3 Networking Distribution for the LINUX operating
|
||||
* system.
|
||||
*
|
||||
* DO NOT EDIT DIRECTLY
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
* Internationalization
|
||||
*
|
||||
* The net-tools package has currently been translated to French,
|
||||
* German and Brazilian Portugese. Other translations are, of
|
||||
* course, welcome. Answer `n' here if you have no support for
|
||||
* internationalization on your system.
|
||||
*
|
||||
*/
|
||||
#define I18N 0
|
||||
|
||||
/*
|
||||
*
|
||||
* Protocol Families.
|
||||
*
|
||||
*/
|
||||
#define HAVE_AFUNIX 1
|
||||
#define HAVE_AFINET 1
|
||||
#define HAVE_AFINET6 1
|
||||
#define HAVE_AFIPX 1
|
||||
#define HAVE_AFATALK 1
|
||||
#define HAVE_AFAX25 0
|
||||
#define HAVE_AFNETROM 1
|
||||
#define HAVE_AFROSE 0
|
||||
#define HAVE_AFX25 0
|
||||
#define HAVE_AFECONET 0
|
||||
#define HAVE_AFDECnet 0
|
||||
#define HAVE_AFASH 0
|
||||
#define HAVE_AFBLUETOOTH 0
|
||||
|
||||
/*
|
||||
*
|
||||
* Device Hardware types.
|
||||
*
|
||||
*/
|
||||
#define HAVE_HWETHER 1
|
||||
#define HAVE_HWARC 1
|
||||
#define HAVE_HWSLIP 1
|
||||
#define HAVE_HWPPP 1
|
||||
#define HAVE_HWTUNNEL 1
|
||||
#define HAVE_HWSTRIP 0
|
||||
#define HAVE_HWTR 0
|
||||
#define HAVE_HWAX25 0
|
||||
#define HAVE_HWROSE 0
|
||||
#define HAVE_HWNETROM 1
|
||||
#define HAVE_HWX25 0
|
||||
#define HAVE_HWFR 1
|
||||
#define HAVE_HWSIT 1
|
||||
#define HAVE_HWFDDI 0
|
||||
#define HAVE_HWHIPPI 0
|
||||
#define HAVE_HWASH 0
|
||||
#define HAVE_HWHDLCLAPB 0
|
||||
#define HAVE_HWIRDA 1
|
||||
#define HAVE_HWEC 0
|
||||
#define HAVE_HWEC 0
|
||||
#define HAVE_HWEUI64 1
|
||||
#define HAVE_HWIB 1
|
||||
|
||||
/*
|
||||
*
|
||||
* Other Features.
|
||||
*
|
||||
*/
|
||||
#define HAVE_FW_MASQUERADE 0
|
||||
#define HAVE_IP_TOOLS 0
|
||||
#define HAVE_MII 0
|
||||
#define HAVE_SELINUX 0
|
||||
36
pkgs/os-specific/linux/net-tools/default.nix
Normal file
36
pkgs/os-specific/linux/net-tools/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "net-tools";
|
||||
version = "2.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-smJDWlJB6Jv6UcPKvVEzdTlS96e3uT8y4Iy52W9YDWk=";
|
||||
};
|
||||
|
||||
preBuild =
|
||||
''
|
||||
cp ${./config.h} config.h
|
||||
'';
|
||||
|
||||
makeFlags = [
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"AR=${stdenv.cc.targetPrefix}ar"
|
||||
"BASEDIR=$(out)"
|
||||
"mandir=/share/man"
|
||||
"HAVE_ARP_TOOLS=1"
|
||||
"HAVE_PLIP_TOOLS=1"
|
||||
"HAVE_SERIAL_TOOLS=1"
|
||||
"HAVE_HOSTNAME_TOOLS=1"
|
||||
"HAVE_HOSTNAME_SYMLINKS=1"
|
||||
"HAVE_MII=1"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "http://net-tools.sourceforge.net/";
|
||||
description = "A set of tools for controlling the network subsystem in Linux";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
21
pkgs/os-specific/linux/net-tools/mptcp.nix
Normal file
21
pkgs/os-specific/linux/net-tools/mptcp.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, nettools, fetchFromGitHub }:
|
||||
|
||||
nettools.overrideAttrs(oa: rec {
|
||||
pname = "net-tools-mptcp";
|
||||
version = "0.95";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "multipath-tcp";
|
||||
repo = "net-tools";
|
||||
rev = "mptcp_v${version}";
|
||||
sha256 = "0i7gr1y699nc7j9qllsx8kicqkpkhw51x4chcmyl5xs06b2mdjri";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/multipath-tcp/net-tools";
|
||||
description = "A set of tools for controlling the network subsystem in Linux";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue