VPNC: Clarify run-time dependencies.
svn path=/nixpkgs/trunk/; revision=10818
This commit is contained in:
parent
a21609b1ab
commit
96177fce34
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchurl, libgcrypt, perl}:
|
args: with args;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "vpnc-0.5.1";
|
name = "vpnc-0.5.1";
|
||||||
|
@ -9,11 +9,25 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
patches = [ ./makefile.patch ];
|
patches = [ ./makefile.patch ];
|
||||||
|
|
||||||
buildInputs = [libgcrypt perl];
|
# The `etc/vpnc/vpnc-script' script relies on `which' and on
|
||||||
|
# `ifconfig' as found in net-tools (not GNU Inetutils).
|
||||||
|
propagatedBuildInputs = [which nettools];
|
||||||
|
|
||||||
|
buildInputs = [libgcrypt perl makeWrapper];
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
for i in $out/{bin,sbin}/*
|
||||||
|
do
|
||||||
|
wrapProgram $i --prefix PATH : \
|
||||||
|
"${which}/bin:${nettools}/bin:${nettools}/sbin"
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "VPNC, a virtual private network (VPN) client for Cisco's VPN concentrators";
|
description = ''VPNC, a virtual private network (VPN) client
|
||||||
|
for Cisco's VPN concentrators.'';
|
||||||
homepage = http://www.unix-ag.uni-kl.de/~massar/vpnc/;
|
homepage = http://www.unix-ag.uni-kl.de/~massar/vpnc/;
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
};
|
};
|
||||||
|
|
|
@ -878,7 +878,7 @@ rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
vpnc = import ../tools/networking/vpnc {
|
vpnc = import ../tools/networking/vpnc {
|
||||||
inherit fetchurl stdenv libgcrypt perl;
|
inherit fetchurl stdenv libgcrypt perl which nettools makeWrapper;
|
||||||
};
|
};
|
||||||
|
|
||||||
testdisk = import ../tools/misc/testdisk {
|
testdisk = import ../tools/misc/testdisk {
|
||||||
|
|
Loading…
Reference in a new issue