dsniff: 2.4b1+debian-34 -> 2.4b1+debian-35 (#452911)
This commit is contained in:
@@ -34,11 +34,23 @@ let
|
||||
};
|
||||
pcap = symlinkJoin {
|
||||
inherit (libpcap) name;
|
||||
paths = [ (libpcap.overrideAttrs { dontDisableStatic = true; }) ];
|
||||
paths =
|
||||
let
|
||||
staticlibpcap = libpcap.overrideAttrs { dontDisableStatic = true; };
|
||||
in
|
||||
[
|
||||
(lib.getInclude staticlibpcap)
|
||||
(lib.getLib staticlibpcap)
|
||||
];
|
||||
postBuild = ''
|
||||
cp -rs $out/include/pcap $out/include/net
|
||||
# prevent references to libpcap
|
||||
rm $out/lib/*.so*
|
||||
# check the presence of the files that ./configure expects
|
||||
for i in $out/lib/libpcap.a $out/include/pcap.h $out/include/net/bpf.h; do
|
||||
if ! test -f $i; then
|
||||
echo $i is missing from output
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
'';
|
||||
};
|
||||
net = symlinkJoin {
|
||||
@@ -71,8 +83,8 @@ stdenv.mkDerivation rec {
|
||||
domain = "salsa.debian.org";
|
||||
owner = "pkg-security-team";
|
||||
repo = "dsniff";
|
||||
rev = "debian/${version}+debian-34";
|
||||
sha256 = "sha256-CY0+G09KZXtAwKuaYh5/qcmZjuNhdGis3zCG14hWtqw=";
|
||||
tag = "debian/${version}+debian-35";
|
||||
hash = "sha256-RVv9USAHTVYnGgKygIPgfXpfjCYigJvScuzc2+1Uzfw=";
|
||||
name = "dsniff.tar.gz";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user