partimage: apply openssl1.1 patch
The (new) patch also incorporates the now removed no-SSLv2 patch so it has been dropped.
This commit is contained in:
parent
d9e72321c7
commit
028fee98d3
@ -1,4 +1,13 @@
|
|||||||
{stdenv, fetchurl, fetchpatch, bzip2, zlib, newt, openssl, pkgconfig, slang
|
{stdenv
|
||||||
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
|
, bzip2
|
||||||
|
, zlib
|
||||||
|
, newt
|
||||||
|
, openssl
|
||||||
|
, pkgconfig
|
||||||
|
, slang
|
||||||
|
, autoreconfHook
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "partimage-0.6.9";
|
name = "partimage-0.6.9";
|
||||||
@ -8,20 +17,19 @@ stdenv.mkDerivation {
|
|||||||
url = mirror://sourceforge/partimage/partimage-0.6.9.tar.bz2;
|
url = mirror://sourceforge/partimage/partimage-0.6.9.tar.bz2;
|
||||||
sha256 = "0db6xiphk6xnlpbxraiy31c5xzj0ql6k4rfkmqzh665yyj0nqfkm";
|
sha256 = "0db6xiphk6xnlpbxraiy31c5xzj0ql6k4rfkmqzh665yyj0nqfkm";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = [ "--with-ssl-headers=${openssl.dev}/include/openssl" ];
|
configureFlags = [ "--with-ssl-headers=${openssl.dev}/include/openssl" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
buildInputs = [bzip2 zlib newt newt openssl slang
|
buildInputs = [ bzip2 zlib newt newt openssl slang ];
|
||||||
# automake autoconf libtool gettext
|
|
||||||
];
|
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./gentoos-zlib.patch
|
./gentoos-zlib.patch
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
name = "no-SSLv2.patch";
|
name = "openssl-1.1.patch";
|
||||||
url = "https://projects.archlinux.org/svntogit/community.git/plain/trunk"
|
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-block/partimage/files/"
|
||||||
+ "/use-SSLv3-by-default.patch?h=packages/partimage&id=7e95d1c6614e";
|
+ "partimage-0.6.9-openssl-1.1-compatibility.patch?id=3fe8e9910002b6523d995512a646b063565d0447";
|
||||||
sha256 = "17dfqwvwnkinz8vs0l3bjjbmfx3a7y8nv3wn67gjsqpmggcpdnd6";
|
sha256 = "1hs0krxrncxq1w36bhad02yk8yx71zcfs35cw87c82sl2sfwasjg";
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user