3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/ifplugd/default.nix
Eelco Dolstra b2bff981f3 * ifplugd: program for monitoring the link status of
ethernet interfaces.
* libdaemon: dependency of ifplugd.

svn path=/nixpkgs/trunk/; revision=9061
2007-08-06 18:45:53 +00:00

19 lines
636 B
Nix

{stdenv, fetchurl, pkgconfig, libdaemon}:
stdenv.mkDerivation {
name = "ifplugd-0.28";
src = fetchurl {
url = http://0pointer.de/lennart/projects/ifplugd/ifplugd-0.28.tar.gz;
sha256 = "1w21cpyzkr7igp6vsf4a0jwp2b0axs3kwjiapy676bdk9an58is7";
};
buildInputs = [pkgconfig libdaemon];
configureFlags = "--with-initdir=$out/etc/init.d --disable-lynx";
patches = [
(fetchurl {
url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/sys-apps/ifplugd/files/ifplugd-0.28-interface.patch?rev=1.1";
sha256 = "0rxwy7l7vwxz9gy0prfb93x2ycxaz3r203rhbwmbwrzl4rzy3nqv";
})
];
patchFlags = "-p0";
}