* ifplugd: program for monitoring the link status of

ethernet interfaces.
* libdaemon: dependency of ifplugd.

svn path=/nixpkgs/trunk/; revision=9061
This commit is contained in:
Eelco Dolstra 2007-08-06 18:45:53 +00:00
parent 4f12e0c849
commit b2bff981f3
3 changed files with 42 additions and 6 deletions

View File

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "libdaemon-0.12";
src = fetchurl {
url = http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.12.tar.gz;
sha256 = "1l1nhgc3m67bhpyyvrr48wz06h40ck6abhbns08g66jdckwckrrr";
};
configureFlags = "--disable-lynx";
}

View File

@ -0,0 +1,18 @@
{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";
}

View File

@ -483,12 +483,6 @@ rec {
inherit fetchurl stdenv libcap;
};
nvidiaDrivers = import ../os-specific/linux/nvidia {
inherit stdenv fetchurl kernel coreutils;
xorg_server = xorg.xorgserver;
inherit (xlibs) libX11 libXext;
};
openssh = import ../tools/networking/openssh {
inherit fetchurl stdenv zlib openssl pam perl;
pamSupport = true;
@ -1516,6 +1510,10 @@ rec {
inherit (gtkLibs) glib;
};
libdaemon = import ../development/libraries/libdaemon {
inherit fetchurl stdenv;
};
libdrm = import ../development/libraries/libdrm {
inherit fetchurl stdenv;
};
@ -2354,6 +2352,10 @@ rec {
inherit fetchurl stdenv;
};
ifplugd = import ../os-specific/linux/ifplugd {
inherit fetchurl stdenv pkgconfig libdaemon;
};
initscripts = import ../os-specific/linux/initscripts {
inherit fetchurl stdenv popt pkgconfig;
inherit (gtkLibs) glib;
@ -2590,6 +2592,12 @@ rec {
inherit fetchurl stdenv;
};
nvidiaDrivers = import ../os-specific/linux/nvidia {
inherit stdenv fetchurl kernel coreutils;
xorg_server = xorg.xorgserver;
inherit (xlibs) libX11 libXext;
};
gw6c = import ../os-specific/linux/gw6c {
inherit fetchurl stdenv nettools openssl procps;
};