summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-02-27 08:42:16 +0100
committerJeroen Roovers <jer@gentoo.org>2016-02-27 08:42:16 +0100
commite49aa71844018901ffc7a641855693742ac5fa96 (patch)
treed95fb9cc4827f6f3501f3590aac6c81968ccef35 /net-libs/libssh
parentnet-analyzer/wireshark: Version bump (bug #575780). (diff)
downloadgentoo-e49aa71844018901ffc7a641855693742ac5fa96.tar.gz
gentoo-e49aa71844018901ffc7a641855693742ac5fa96.tar.bz2
gentoo-e49aa71844018901ffc7a641855693742ac5fa96.zip
net-libs/libssh: Store patch locally instead of hot-linking.
Package-Manager: portage-2.2.27
Diffstat (limited to 'net-libs/libssh')
-rw-r--r--net-libs/libssh/Manifest1
-rw-r--r--net-libs/libssh/files/libssh-0.6.5-compilefix.patch29
-rw-r--r--net-libs/libssh/libssh-0.6.5.ebuild5
3 files changed, 31 insertions, 4 deletions
diff --git a/net-libs/libssh/Manifest b/net-libs/libssh/Manifest
index a35a89f4ce95..c94a38d0941e 100644
--- a/net-libs/libssh/Manifest
+++ b/net-libs/libssh/Manifest
@@ -1,4 +1,3 @@
-DIST libssh-0.6.5-compilefix.patch 737 SHA256 952c6a617791c35fe8d44a47d1252aebd2d844f40480170b14391c80f2092fff SHA512 fa9d8322778ca93b6ae62e0012722a2df94179891f5bafefc67a7502f4bc96ec86768e07f374f37486641614298472227eb48aa5747dabf840636e9f1ce9cbde WHIRLPOOL 575bca37a3dbe892e44b362c02f370cc13f94ef2706c435a9d3e2604941cece285637dd6831c27337ab5fc76c4e8588092f106e2ea963dc15d46129cecd1f2cb
DIST libssh-0.6.5.tar.xz 281564 SHA256 0fd52763e033d5e9b1cd55f60a74e619731c5ba630938eec95682dbe4cf7dc2c SHA512 55d614ff311a29a20b93094ac1dd16a2ad1345368b874a0e385f0c235e8defde8816948ab04eab68ade477a0a6901b317c7884df1ba3078cf12db89dfc4169cc WHIRLPOOL 9801eee45a178306b0645d75c268df381d206a8c566695d8b6c228ea7f5638a313bdbdf990ad7bd299c24d280595007b44fd16449ee3a0643b6e2084bb148d09
DIST libssh-0.7.2.tar.xz 350540 SHA256 a32c45b9674141cab4bde84ded7d53e931076c6b0f10b8fd627f3584faebae62 SHA512 9cb15254478e2522e736688052e0862c856e2c1321d090c9b9d9562504fcb59cee344c07576eeee9c6d0ac5ead137d9ff05216d973c457c6a17ffa9fba475f5a WHIRLPOOL bf878264b900bfbbfe76f08d1c22e5ca2f1300024fc561841ed3fbef374ceab7a08ba0211c093d90d7e4047a896cce9f73e78268300362beaec194025eda1ed8
DIST libssh-0.7.3.tar.xz 350464 SHA256 26ef46be555da21112c01e4b9f5e3abba9194485c8822ab55ba3d6496222af98 SHA512 6797ea9492c9d07e0169163e6559a7880dd368ee763eff297b3cbddda5e892703cf32506f9513e7d9b5135984e1e888c4893b342df07da1b7ee30968c9185869 WHIRLPOOL f22c3f4ef8c3cbf4e93c5603224ae4d0f598639a471bc002c0917243c487e1de61a79db09308bcb570791cd1ab3b95f43d44f92652a7f0ec596d552cab0031c5
diff --git a/net-libs/libssh/files/libssh-0.6.5-compilefix.patch b/net-libs/libssh/files/libssh-0.6.5-compilefix.patch
new file mode 100644
index 000000000000..658c1592b875
--- /dev/null
+++ b/net-libs/libssh/files/libssh-0.6.5-compilefix.patch
@@ -0,0 +1,29 @@
+From 6e0dee7845cea22f59bd353ef42b31cb67170030 Mon Sep 17 00:00:00 2001
+From: Andreas Schneider <asn@cryptomilk.org>
+Date: Thu, 2 Apr 2015 15:02:29 +0200
+Subject: poll: Fix compilation with struct ssh_timestamp
+
+Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
+(cherry picked from commit e0a73d3dbe909f8e2cb486ed344e5beb8148032e)
+---
+ src/poll.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/poll.c b/src/poll.c
+index dfa687a..05faba7 100644
+--- a/src/poll.c
++++ b/src/poll.c
+@@ -35,9 +35,9 @@
+ #include "libssh/poll.h"
+ #include "libssh/socket.h"
+ #include "libssh/session.h"
++#include "libssh/misc.h"
+ #ifdef WITH_SERVER
+ #include "libssh/server.h"
+-#include "libssh/misc.h"
+ #endif
+
+
+--
+cgit v0.12
+
diff --git a/net-libs/libssh/libssh-0.6.5.ebuild b/net-libs/libssh/libssh-0.6.5.ebuild
index 46cce2ba0676..30b9ff43e676 100644
--- a/net-libs/libssh/libssh-0.6.5.ebuild
+++ b/net-libs/libssh/libssh-0.6.5.ebuild
@@ -9,8 +9,7 @@ inherit eutils cmake-multilib multilib
DESCRIPTION="Access a working SSH implementation by means of a library"
HOMEPAGE="http://www.libssh.org/"
-SRC_URI="https://red.libssh.org/attachments/download/121/${MY_P}.tar.xz -> ${P}.tar.xz
- https://git.libssh.org/projects/libssh.git/patch/?id=6e0dee7845cea22f59bd353ef42b31cb67170030 -> ${PN}-0.6.5-compilefix.patch"
+SRC_URI="https://red.libssh.org/attachments/download/121/${MY_P}.tar.xz -> ${P}.tar.xz"
LICENSE="LGPL-2.1"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
@@ -35,7 +34,7 @@ S=${WORKDIR}/${MY_P}
PATCHES=(
"${FILESDIR}"/${PN}-0.5.0-tests.patch
- "${DISTDIR}"/${P}-compilefix.patch
+ "${FILESDIR}"/${P}-compilefix.patch
)
src_prepare() {