iputils: 20151218 -> 20161105
most notable change is the removal of tracepath6 and ping6
This commit is contained in:
parent
9ddaa71b6d
commit
a674dea675
|
@ -1,17 +1,20 @@
|
|||
{ stdenv, fetchurl, libsysfs, gnutls, openssl, libcap, sp, docbook_sgml_dtd_31
|
||||
{ stdenv, fetchurl
|
||||
, libsysfs, gnutls, openssl
|
||||
, libcap, sp, docbook_sgml_dtd_31
|
||||
, libidn, nettle
|
||||
, SGMLSpm, libgcrypt }:
|
||||
|
||||
assert stdenv ? glibc;
|
||||
|
||||
let
|
||||
time = "20151218";
|
||||
time = "20161105";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iputils-${time}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.skbuff.net/iputils/iputils-s${time}.tar.bz2";
|
||||
sha256 = "189592jlkhxdgy8jc07m4bsl41ik9r6i6aaqb532prai37bmi7sl";
|
||||
url = "https://github.com/iputils/iputils/archive/s${time}.tar.gz";
|
||||
sha256 = "12mdmh4qbf5610csaw3rkzhpzf6djndi4jsl4gyr8wni0cphj4zq";
|
||||
};
|
||||
|
||||
prePatch = ''
|
||||
|
@ -21,27 +24,24 @@ stdenv.mkDerivation rec {
|
|||
makeFlags = "USE_GNUTLS=no";
|
||||
|
||||
buildInputs = [
|
||||
libsysfs openssl libcap sp docbook_sgml_dtd_31 SGMLSpm libgcrypt
|
||||
libsysfs openssl libcap sp docbook_sgml_dtd_31 SGMLSpm libgcrypt libidn nettle
|
||||
];
|
||||
|
||||
buildFlags = "man all ninfod";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/sbin $out/bin
|
||||
cp -p ping ping6 tracepath tracepath6 traceroute6 $out/bin/
|
||||
cp -p clockdiff arping rdisc ninfod/ninfod $out/sbin/
|
||||
mkdir -p $out/bin
|
||||
cp -p ping tracepath clockdiff arping rdisc ninfod/ninfod $out/bin/
|
||||
|
||||
mkdir -p $out/share/man/man8
|
||||
cp -p doc/clockdiff.8 doc/arping.8 doc/ping.8 doc/rdisc.8 \
|
||||
doc/tracepath.8 doc/ninfod.8 doc/traceroute6.8 \
|
||||
cp -p \
|
||||
doc/clockdiff.8 doc/arping.8 doc/ping.8 doc/rdisc.8 doc/tracepath.8 doc/ninfod.8 \
|
||||
$out/share/man/man8
|
||||
ln -s $out/share/man/man8/{ping,ping6}.8
|
||||
ln -s $out/share/man/man8/{tracepath,tracepath6}.8
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.skbuff.net/iputils/;
|
||||
homepage = https://github.com/iputils/iputils;
|
||||
description = "A set of small useful utilities for Linux networking";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue