svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32350
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dnsmasq-2.57";
|
||||
name = "dnsmasq-2.59";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.thekelleys.org.uk/dnsmasq/${name}.tar.gz";
|
||||
sha256 = "1bpq1wsc7cs1nqs7abhn96nxmdncdf7c58987f9kdmi246wcgq62";
|
||||
sha256 = "02s1y5320aiqhcrgzc7c2zs292vidijc156k5w7apzzsk5hfdhdx";
|
||||
};
|
||||
|
||||
makeFlags = "DESTDIR= BINDIR=$(out)/bin MANDIR=$(out)/man LOCALEDIR=$(out)/share/locale";
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openresolv-3.4.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://roy.marples.name/downloads/openresolv/${name}.tar.bz2";
|
||||
sha256 = "026z4973b0vqp5acr6mn5fyxyc84y4ahg1f8fddh8dph86jcnhba";
|
||||
};
|
||||
|
||||
configurePhase =
|
||||
''
|
||||
cat > config.mk <<EOF
|
||||
PREFIX=$out
|
||||
SYSCONFDIR=/etc
|
||||
SBINDIR=$out/sbin
|
||||
LIBEXECDIR=$out/libexec/resolvconf
|
||||
VARDIR=/var/run/resolvconf
|
||||
MANDIR=$out/share/man
|
||||
RESTARTCMD="initctl restart \1"
|
||||
EOF
|
||||
'';
|
||||
|
||||
installFlags = "SYSCONFDIR=$(out)/etc";
|
||||
|
||||
meta = {
|
||||
description = "A program to manage /etc/resolv.conf";
|
||||
homepage = http://roy.marples.name/projects/openresolv;
|
||||
license = "bsd";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user