Author: eelco
Date: Thu Mar 31 12:20:22 2011
New Revision: 26626
URL: https://svn.nixos.org/websvn/nix/?rev=26626&sc=1

Log:
* Added ebtables.

Added:
   nixpkgs/branches/modular-python/pkgs/os-specific/linux/ebtables/
   nixpkgs/branches/modular-python/pkgs/os-specific/linux/ebtables/default.nix
Modified:
   nixpkgs/branches/modular-python/pkgs/top-level/all-packages.nix

Added: 
nixpkgs/branches/modular-python/pkgs/os-specific/linux/ebtables/default.nix
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ nixpkgs/branches/modular-python/pkgs/os-specific/linux/ebtables/default.nix 
Thu Mar 31 12:20:22 2011        (r26626)
@@ -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;
+  };
+}

Modified: nixpkgs/branches/modular-python/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/branches/modular-python/pkgs/top-level/all-packages.nix     Thu Mar 
31 11:57:02 2011        (r26625)
+++ nixpkgs/branches/modular-python/pkgs/top-level/all-packages.nix     Thu Mar 
31 12:20:22 2011        (r26626)
@@ -4648,6 +4648,8 @@
 
   e3cfsprogs = callPackage ../os-specific/linux/e3cfsprogs { };
 
+  ebtables = callPackage ../os-specific/linux/ebtables { };
+
   eject = callPackage ../os-specific/linux/eject { };
 
   fbterm = builderDefsPackage (import ../os-specific/linux/fbterm) {
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to