mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* Added vlan, which provides the vconfig command.
svn path=/nixpkgs/branches/modular-python/; revision=26624
This commit is contained in:
parent
7359ed1671
commit
02b20395d5
29
pkgs/tools/networking/vlan/default.nix
Normal file
29
pkgs/tools/networking/vlan/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vlan-1.9";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gentoo/distfiles/vlan.1.9.tar.gz;
|
||||
sha256 = "1jjc5f26hj7bk8nkjxsa8znfxcf8pgry2ipnwmj2fr6ky0dhm3rv";
|
||||
};
|
||||
|
||||
preBuild =
|
||||
''
|
||||
# Ouch, the tarball contains pre-compiled binaries.
|
||||
make clean
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/sbin
|
||||
cp vconfig $out/sbin/
|
||||
|
||||
mkdir -p $out/share/man/man8
|
||||
cp vconfig.8 $out/share/man/man8/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "User mode programs to enable VLANs on Ethernet devices";
|
||||
};
|
||||
}
|
@ -1403,6 +1403,8 @@ let
|
||||
|
||||
uptimed = callPackage ../tools/system/uptimed { };
|
||||
|
||||
vlan = callPackage ../tools/networking/vlan { };
|
||||
|
||||
w3cCSSValidator = callPackage ../tools/misc/w3c-css-validator {
|
||||
tomcat = tomcat6;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user