add dhcp
svn path=/nixpkgs/trunk/; revision=3652
This commit is contained in:
parent
789a0ab393
commit
4b640be166
@ -165,7 +165,7 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
dhcp = (import ../tools/networking/dhcp) {
|
dhcp = (import ../tools/networking/dhcp) {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv groff;
|
||||||
};
|
};
|
||||||
|
|
||||||
graphviz = (import ../tools/graphics/graphviz) {
|
graphviz = (import ../tools/graphics/graphviz) {
|
||||||
|
12
pkgs/tools/networking/dhcp/builder.sh
Executable file
12
pkgs/tools/networking/dhcp/builder.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
export DESTDIR=$out
|
||||||
|
|
||||||
|
configurePhase() {
|
||||||
|
./configure
|
||||||
|
prefix=$out
|
||||||
|
}
|
||||||
|
|
||||||
|
configurePhase=configurePhase
|
||||||
|
|
||||||
|
genericBuild
|
12
pkgs/tools/networking/dhcp/default.nix
Normal file
12
pkgs/tools/networking/dhcp/default.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{stdenv, fetchurl, groff}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "dhcp-3.0.3";
|
||||||
|
builder=./builder.sh;
|
||||||
|
src = fetchurl {
|
||||||
|
url = ftp://ftp.isc.org/isc/dhcp/dhcp-3.0.3.tar.gz;
|
||||||
|
md5 = "f91416a0b8ed3fd0601688cf0b7df58f";
|
||||||
|
};
|
||||||
|
buildInputs = [groff];
|
||||||
|
# patches = [./dhcp-makefile.patch];
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user