summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-11-15 20:51:44 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-11-15 20:52:16 +0000
commit062d4fa546fea8d8b2812c8d19d3343784184d3c (patch)
tree33d7016ca0fd8863efaa5c719210fc6e3f6175c1 /net-libs/librsync
parentsys-apps/s6-linux-utils: Bump to 2.4.0.2 (diff)
downloadgentoo-062d4fa546fea8d8b2812c8d19d3343784184d3c.tar.gz
gentoo-062d4fa546fea8d8b2812c8d19d3343784184d3c.tar.bz2
gentoo-062d4fa546fea8d8b2812c8d19d3343784184d3c.zip
net-libs/librsync: bump up to 2.0.1, bug #635834
Fixes md4 support on big-endian platforms. Bug: https://github.com/librsync/librsync/issues/132 Closes: https://bugs.gentoo.org/635834 Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'net-libs/librsync')
-rw-r--r--net-libs/librsync/Manifest1
-rw-r--r--net-libs/librsync/files/librsync-2.0.1-libdir.patch15
-rw-r--r--net-libs/librsync/librsync-2.0.1.ebuild27
3 files changed, 43 insertions, 0 deletions
diff --git a/net-libs/librsync/Manifest b/net-libs/librsync/Manifest
index 224f662d0abf..29c6ce2775f7 100644
--- a/net-libs/librsync/Manifest
+++ b/net-libs/librsync/Manifest
@@ -1,2 +1,3 @@
DIST librsync-0.9.7.tar.gz 453802 SHA256 6633e4605662763a03bb6388529cbdfd3b11a9ec55b8845351c1bd9a92bc41d6 SHA512 339362fd01c94411849d3e4a6e95db1bef6cffa0475b1af49d73f11be0421a12d4c73ecbf1a272af01b2a21cec81b4a801c1f7d735e107d0242707fb4c45f9ef WHIRLPOOL 7cf5cc675c4bf4e041d9132f0a8311f83e827bfa7dd75180f3153cabeab41a94011e1a9b56e63a61dbe119444e2c24a39054986d97b686db99293ad9177b2bf7
DIST librsync-2.0.0.tar.gz 155049 SHA256 b5c4dd114289832039397789e42d4ff0d1108ada89ce74f1999398593fae2169 SHA512 1a88dcc3aa60949e058c57eb0df3e0086823c493de40fed927246f5aada6274db57202074456a0ce5d9aa8b81b41836b0d6221ded6a75d43829572584177e8c0 WHIRLPOOL a09e76a712ca21a37bc3d06cf2f97a0e7201cfcf82c18cbebf3f07bfd453ac3503d18c900b7c1136e0319ec7f3b7c4a6c43611648c78b31fe13c7298ccf016e0
+DIST librsync-2.0.1.tar.gz 169765 SHA256 6fce69041aa4fc72a21f1ab280a7299b82df2b1fa0a25d8695fd527e6752625e SHA512 70c1ed0f3a8ad8c1201ce67b5411c4aabb4c78ba9d60e4ee658d9a8818c6511322abd53b583869b8927a29b0f105e1a5c9b05efa748eb435e8fc3b7be3344e04 WHIRLPOOL cc1a9fbd5fd2b83fadc6cb8426d6b58b09f0c8d71462efa883ee2fda0778c65f8ab2a04b5047e6d7401f78a5d3f223b0848ec4d0accf8d05e6237a70d2f42b5d
diff --git a/net-libs/librsync/files/librsync-2.0.1-libdir.patch b/net-libs/librsync/files/librsync-2.0.1-libdir.patch
new file mode 100644
index 000000000000..50460dfdbf12
--- /dev/null
+++ b/net-libs/librsync/files/librsync-2.0.1-libdir.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f40bf1d..b123d09 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -333,5 +333,9 @@ endif (ENABLE_COMPRESSION)
+ set_target_properties(rsync PROPERTIES VERSION ${LIBRSYNC_VERSION}
+ SOVERSION ${LIBRSYNC_MAJOR_VERSION})
+-install(TARGETS rsync ${INSTALL_TARGETS_DEFAULT_ARGS} DESTINATION lib)
++
++if (NOT TARGET_LIBDIR)
++ set(TARGET_LIBDIR lib)
++endif()
++install(TARGETS rsync ${INSTALL_TARGETS_DEFAULT_ARGS} DESTINATION ${TARGET_LIBDIR})
+
+
diff --git a/net-libs/librsync/librsync-2.0.1.ebuild b/net-libs/librsync/librsync-2.0.1.ebuild
new file mode 100644
index 000000000000..931a6a6f4507
--- /dev/null
+++ b/net-libs/librsync/librsync-2.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Remote delta-compression library"
+HOMEPAGE="http://librsync.sourcefrog.net/"
+SRC_URI="https://github.com/librsync/librsync/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+
+RDEPEND="dev-libs/popt"
+DEPEND="${RDEPEND}"
+
+PATCHES=("${FILESDIR}"/${PN}-2.0.1-libdir.patch)
+
+src_configure() {
+ local mycmakeargs=(
+ -DTARGET_LIBDIR=$(get_libdir)
+ )
+
+ cmake-utils_src_configure
+}