tcp_wrappers: 7.6.q -> 7.6.q-26
I've accidentially taken old Debian patchset. Maybe this also helps with Darwin failures.
This commit is contained in:
parent
3c05174f07
commit
ede8adc441
@ -1,23 +1,25 @@
|
|||||||
{ fetchurl, stdenv }:
|
{ fetchurl, stdenv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
vanillaVersion = "7.6.q";
|
||||||
|
patchLevel = "26";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
name = "tcp-wrappers-${version}";
|
name = "tcp-wrappers-${version}";
|
||||||
version = "7.6.q";
|
version = "${vanillaVersion}-${patchLevel}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://debian/pool/main/t/tcp-wrappers/tcp-wrappers_${version}.orig.tar.gz";
|
url = "mirror://debian/pool/main/t/tcp-wrappers/tcp-wrappers_${vanillaVersion}.orig.tar.gz";
|
||||||
sha256 = "0p9ilj4v96q32klavx0phw9va21fjp8vpk11nbh6v2ppxnnxfhwm";
|
sha256 = "0p9ilj4v96q32klavx0phw9va21fjp8vpk11nbh6v2ppxnnxfhwm";
|
||||||
};
|
};
|
||||||
|
|
||||||
debian = fetchurl {
|
debian = fetchurl {
|
||||||
url = "mirror://debian/pool/main/t/tcp-wrappers/tcp-wrappers_${version}-24.debian.tar.xz";
|
url = "mirror://debian/pool/main/t/tcp-wrappers/tcp-wrappers_${version}.debian.tar.xz";
|
||||||
sha256 = "1kgax35rwaj5q8nf8fw60aczvxj99h2jjp7iv1f82y85yz9x0ak7";
|
sha256 = "1dcdhi9lwzv7g19ggwxms2msq9fy14rl09rjqb10hwv0jix7z8j8";
|
||||||
};
|
};
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
tar -xaf $debian
|
tar -xaf $debian
|
||||||
shopt -s extglob
|
patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches"
|
||||||
patches="$(echo debian/patches/!(series)) $patches"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
|
makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user