From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
Date: Thu, 17 Aug 2017 21:12:20 +0000 (UTC) [thread overview]
Message-ID: <1503004333.a1adcb8b57981d655468a651d7a51aa641f4c3c3.chewi@gentoo> (raw)
commit: a1adcb8b57981d655468a651d7a51aa641f4c3c3
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 21:11:34 2017 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 21:12:13 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1adcb8b
app-crypt/rhash: Version bump to 1.3.5, fixes bug #617548
My BSD build fixes were merged upstream.
Package-Manager: Portage-2.3.8, Repoman-2.3.2
app-crypt/rhash/Manifest | 1 +
app-crypt/rhash/rhash-1.3.5.ebuild | 89 ++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest
index 13d53c90d2b..9146021ff95 100644
--- a/app-crypt/rhash/Manifest
+++ b/app-crypt/rhash/Manifest
@@ -1 +1,2 @@
DIST rhash-1.3.4-src.tar.gz 249357 SHA256 406662c4703bd4cb1caae26f32700951a5e12adf39f141d3f40e0b461b1e9e49 SHA512 a78be309011798d5e55023eb93f898c10254a42270288fa5ec68ad446b5f3d001e8c6f893683e5171e3858c86d45ce2ce16eefde1173209e1925420c27a7ff7a WHIRLPOOL 5883dcbf0c2bf51036434d1906b85b615eae65ef2729a68d7ac637e2bea3c494cd3ee7fa9a60d3c4f3241bc4fd5c62c8f7e058c0e53649d50dade241e06dda2e
+DIST rhash-1.3.5-src.tar.gz 316867 SHA256 98e0688acae29e68c298ffbcdbb0f838864105f9b2bd8857980664435b1f1f2e SHA512 e8450aab0c16bfb975bf4aeee218740fb4d86d5514e426b70c3edb84e4d63865cd4051939aa95c24a87a78baaedc49e40bb509b2610e89ca3745930808b3ef6c WHIRLPOOL 80540e96b554fad8c18da431677a0bdc361f7c406b746050bd25ad0b2eeb9d318f1ef0d87ef002d8b8c6fa7db6d789391115358a1676358afd478564d193b229
diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild
new file mode 100644
index 00000000000..e1ea23cd4fc
--- /dev/null
+++ b/app-crypt/rhash/rhash-1.3.5.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs multilib-minimal
+
+DESCRIPTION="Console utility and library for computing and verifying file hash sums"
+HOMEPAGE="http://rhash.anz.ru/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
+IUSE="debug nls openssl static-libs"
+
+RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
+
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/RHash-${PV}"
+
+src_prepare() {
+ default
+
+ # Install /etc stuff inside the Prefix
+ sed -i -e 's:\$(DESTDIR)/etc:\$(DESTDIR)/$(SYSCONFDIR):g' Makefile || die
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ local ver_script='-Wl,--version-script,exports.sym,-soname,$(SONAME)'
+ local install_name='-install_name $(LIBDIR)/$(SONAME)'
+ sed -i -e '/^\(SONAME\|SHAREDLIB\)/s/\.so\.\([0-9]\+\)/.\1.dylib/' \
+ -e '/^SOLINK/s/\.so/.dylib/' \
+ -e "s:${ver_script}:${install_name}:" \
+ librhash/Makefile \
+ Makefile || die
+ fi
+
+ if [[ ${CHOST} == *-solaris* ]] ; then
+ # https://sourceware.org/bugzilla/show_bug.cgi?id=12548
+ # skip the export.sym for now
+ sed -i -e 's/,--version-script,exports.sym//' librhash/Makefile || die
+ fi
+
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ local ADDCFLAGS=(
+ $(use debug || echo -DNDEBUG)
+ $(use nls && echo -DUSE_GETTEXT)
+ $(use openssl && echo -DOPENSSL_RUNTIME -rdynamic)
+ )
+
+ local ADDLDFLAGS=(
+ $(use openssl && echo -ldl)
+ )
+
+ [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] \
+ && ADDLDFLAGS+=( $(use nls && echo -lintl) )
+
+ emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \
+ ADDCFLAGS="${ADDCFLAGS[*]}" ADDLDFLAGS="${ADDLDFLAGS[*]}" \
+ PREFIX="${EPREFIX}"/usr LIBDIR='$(PREFIX)'/$(get_libdir) \
+ build-shared $(use static-libs && echo lib-static)
+}
+
+myemake() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr \
+ LIBDIR='$(PREFIX)'/$(get_libdir) SYSCONFDIR="${EPREFIX}"/etc "${@}"
+}
+
+multilib_src_install() {
+ myemake -C librhash install-lib-shared install-so-link
+ multilib_is_native_abi && myemake install-shared
+ use static-libs && myemake install-lib-static
+}
+
+multilib_src_install_all() {
+ myemake -C librhash install-headers
+ use nls && myemake install-gmo
+ einstalldocs
+}
+
+multilib_src_test() {
+ cd tests || die
+ LD_LIBRARY_PATH=$(pwd)/../librhash ./test_rhash.sh --full ../rhash_shared || die "tests failed"
+}
next reply other threads:[~2017-08-17 21:12 UTC|newest]
Thread overview: 107+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-17 21:12 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-30 18:47 [gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/ Jakov Smolić
2025-01-30 18:47 Jakov Smolić
2025-01-30 10:09 Arthur Zamarin
2025-01-30 10:09 Arthur Zamarin
2025-01-30 10:09 Arthur Zamarin
2025-01-30 10:09 Arthur Zamarin
2024-10-19 21:45 James Le Cuirot
2024-10-08 14:06 James Le Cuirot
2024-10-08 12:50 Sam James
2024-09-24 15:22 Sam James
2024-09-23 7:13 Arthur Zamarin
2024-09-23 6:02 Arthur Zamarin
2024-09-23 6:02 Arthur Zamarin
2024-09-23 6:02 Arthur Zamarin
2024-09-23 0:32 Sam James
2024-09-23 0:32 Sam James
2024-01-03 10:40 Sam James
2023-10-30 11:29 Sam James
2023-09-10 11:38 Fabian Groffen
2023-08-04 8:21 James Le Cuirot
2023-08-03 20:47 James Le Cuirot
2023-06-25 19:17 Sam James
2023-05-30 13:55 Fabian Groffen
2023-02-07 2:53 Sam James
2023-02-04 10:58 Sam James
2023-02-04 10:58 Sam James
2023-02-04 10:58 Sam James
2023-02-04 6:47 Arthur Zamarin
2023-02-04 6:47 Arthur Zamarin
2023-02-04 6:47 Arthur Zamarin
2023-02-04 6:47 Arthur Zamarin
2023-01-14 19:17 Sam James
2022-06-18 8:43 James Le Cuirot
2022-04-29 7:59 WANG Xuerui
2022-03-16 15:18 Sam James
2022-03-06 7:58 Sam James
2022-03-06 7:35 Sam James
2022-02-27 12:29 Jakov Smolić
2022-02-27 12:23 Jakov Smolić
2021-11-19 8:34 Sam James
2021-10-16 23:10 James Le Cuirot
2021-09-20 14:09 James Le Cuirot
2021-07-17 7:02 James Le Cuirot
2021-07-17 7:02 James Le Cuirot
2021-05-02 17:22 Mikle Kolyada
2021-01-28 19:31 Fabian Groffen
2021-01-07 21:48 James Le Cuirot
2021-01-06 12:55 Fabian Groffen
2020-12-18 14:49 Fabian Groffen
2020-08-17 22:21 James Le Cuirot
2019-08-05 23:55 Göktürk Yüksek
2019-08-04 18:42 James Le Cuirot
2019-08-04 18:42 James Le Cuirot
2019-06-13 13:07 Michael Haubenwallner
2019-06-13 13:07 Michael Haubenwallner
2019-03-03 10:43 James Le Cuirot
2019-01-14 18:32 Fabian Groffen
2019-01-13 20:01 James Le Cuirot
2019-01-13 16:35 James Le Cuirot
2019-01-09 15:12 Michael Haubenwallner
2018-12-01 15:05 Sergei Trofimovich
2018-11-13 20:23 Sergei Trofimovich
2018-09-13 21:35 James Le Cuirot
2018-09-13 19:23 Tobias Klausmann
2018-08-21 10:06 Mart Raudsepp
2018-08-17 0:33 Mikle Kolyada
2018-08-17 0:33 Mikle Kolyada
2018-08-16 0:39 Thomas Deutschmann
2018-08-11 18:55 Sergei Trofimovich
2018-08-08 22:04 Mikle Kolyada
2018-06-03 18:01 Mikle Kolyada
2018-04-28 22:27 Aaron Bauman
2018-03-25 18:53 James Le Cuirot
2018-03-24 8:28 Michał Górny
2018-03-22 21:07 James Le Cuirot
2018-03-02 16:09 Mart Raudsepp
2018-01-09 7:56 Fabian Groffen
2017-12-05 5:44 Markus Meier
2017-11-26 17:06 James Le Cuirot
2017-11-08 21:33 James Le Cuirot
2017-10-23 12:30 Michael Palimaka
2017-10-21 13:25 Tobias Klausmann
2017-10-15 22:27 Manuel Rüger
2017-10-14 17:20 Sergei Trofimovich
2017-10-13 12:03 Sergei Trofimovich
2017-10-13 11:31 Sergei Trofimovich
2017-09-12 7:26 Sergei Trofimovich
2017-09-12 7:26 Sergei Trofimovich
2017-09-02 12:58 James Le Cuirot
2017-09-02 12:38 James Le Cuirot
2017-09-02 12:38 James Le Cuirot
2017-08-10 20:34 Sergei Trofimovich
2017-06-30 7:08 Sergei Trofimovich
2017-06-20 12:48 Fabian Groffen
2017-06-15 14:23 Anthony G. Basile
2017-06-15 11:26 Alexis Ballier
2017-04-13 18:34 Fabian Groffen
2017-04-13 12:46 Fabian Groffen
2017-02-14 13:28 Jeroen Roovers
2017-02-14 13:28 Jeroen Roovers
2017-02-14 10:42 Tobias Klausmann
2017-02-10 21:11 James Le Cuirot
2017-02-10 21:11 James Le Cuirot
2016-09-16 21:27 James Le Cuirot
2016-09-16 21:27 James Le Cuirot
2016-07-21 16:19 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=1503004333.a1adcb8b57981d655468a651d7a51aa641f4c3c3.chewi@gentoo \
--to=chewi@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