* Added ebtables.
svn path=/nixpkgs/branches/modular-python/; revision=26626
This commit is contained in:
parent
5b1ee7a0da
commit
bb2bd151af
27
pkgs/os-specific/linux/ebtables/default.nix
Normal file
27
pkgs/os-specific/linux/ebtables/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ebtables-2.0.9-2";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = mirror://sourceforge/ebtables/ebtables-v2.0.9-2.tar.gz;
|
||||||
|
sha256 = "18yni9zzhfi1ygkgifzj8qpn95cwwiw7j6b3wsl1bij39mj5z1cq";
|
||||||
|
};
|
||||||
|
|
||||||
|
makeFlags =
|
||||||
|
"LIBDIR=$(out)/lib BINDIR=$(out)/sbin MANDIR=$(out)/share/man " +
|
||||||
|
"ETCDIR=$(out)/etc INITDIR=$(TMPDIR) SYSCONFIGDIR=$(out)/etc/sysconfig";
|
||||||
|
|
||||||
|
preBuild =
|
||||||
|
''
|
||||||
|
substituteInPlace Makefile --replace '-o root -g root' ""
|
||||||
|
'';
|
||||||
|
|
||||||
|
preInstall = "mkdir -p $out/etc/sysconfig";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A filtering tool for Linux-based bridging firewalls";
|
||||||
|
homepage = http://ebtables.sourceforge.net/;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -4648,6 +4648,8 @@ let
|
|||||||
|
|
||||||
e3cfsprogs = callPackage ../os-specific/linux/e3cfsprogs { };
|
e3cfsprogs = callPackage ../os-specific/linux/e3cfsprogs { };
|
||||||
|
|
||||||
|
ebtables = callPackage ../os-specific/linux/ebtables { };
|
||||||
|
|
||||||
eject = callPackage ../os-specific/linux/eject { };
|
eject = callPackage ../os-specific/linux/eject { };
|
||||||
|
|
||||||
fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) {
|
fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user