public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/librsync/files/, net-libs/librsync/
Date: Wed, 15 Nov 2017 20:52:23 +0000 (UTC)	[thread overview]
Message-ID: <1510779136.062d4fa546fea8d8b2812c8d19d3343784184d3c.slyfox@gentoo> (raw)

commit:     062d4fa546fea8d8b2812c8d19d3343784184d3c
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 15 20:51:44 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Nov 15 20:52:16 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=062d4fa5

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

 net-libs/librsync/Manifest                         |  1 +
 .../librsync/files/librsync-2.0.1-libdir.patch     | 15 ++++++++++++
 net-libs/librsync/librsync-2.0.1.ebuild            | 27 ++++++++++++++++++++++
 3 files changed, 43 insertions(+)

diff --git a/net-libs/librsync/Manifest b/net-libs/librsync/Manifest
index 224f662d0ab..29c6ce2775f 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 00000000000..50460dfdbf1
--- /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 00000000000..931a6a6f450
--- /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
+}


             reply	other threads:[~2017-11-15 20:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-15 20:52 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-07 16:02 [gentoo-commits] repo/gentoo:master commit in: net-libs/librsync/files/, net-libs/librsync/ Bernard Cafarelli
2020-04-07 15:17 Bernard Cafarelli
2016-02-24 21:14 Patrice Clement
2016-02-23 10:19 Ian Delaney
2016-02-01  1:53 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1510779136.062d4fa546fea8d8b2812c8d19d3343784184d3c.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox