[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 560acc8a7a2754e5baad60529af2c76f1fea8b13 Author: Sam James gentoo org> AuthorDate: Wed Jan 3 10:38:59 2024 + Commit: Sam James gentoo org> CommitDate: Wed Jan 3 10:39:56 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=560acc8a app-crypt/rhash: pass -Wl,--undefined-version for other linkers if supported Revbump as it's a library. Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.4-r1.ebuild | 96 +++ 1 file changed, 96 insertions(+) diff --git a/app-crypt/rhash/rhash-1.4.4-r1.ebuild b/app-crypt/rhash/rhash-1.4.4-r1.ebuild new file mode 100644 index ..02a4f11e44ac --- /dev/null +++ b/app-crypt/rhash/rhash-1.4.4-r1.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs multilib-minimal + +DESCRIPTION="Console utility and library for computing and verifying file hash sums" +HOMEPAGE="https://rhash.sourceforge.net/; +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="0BSD" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="debug nls ssl static-libs" + +RDEPEND=" + ssl? ( + dev-libs/openssl:0=[${MULTILIB_USEDEP}] +)" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/RHash-${PV}" + +PATCHES=( + "${FILESDIR}"/${P}-prefix.patch +) + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then + # we lack posix_memalign + sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ + librhash/util.h || die + fi + + # upstream fix for BSD and others, but was only applied for BSD + # we need support for Solaris, where we use a GNU toolchain, so use + # the original hack, hopefully next release has this fixed + # https://github.com/rhash/RHash/issues/238 + if [[ ${CHOST} == *-solaris* ]] ; then + sed -i -e 's/^elif linux; then/else/' configure || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +multilib_src_compile() { + emake all \ + $(multilib_is_native_abi && use nls && echo compile-gmo) +} + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(multilib_is_native_abi && use nls && echo install-gmo) \ + install-lib-so-link +} + +multilib_src_test() { + emake test +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 9cd1346f799030f4d2a52eb597ca0c5d8e998f1a Author: Sam James gentoo org> AuthorDate: Mon Oct 30 11:08:14 2023 + Commit: Sam James gentoo org> CommitDate: Mon Oct 30 11:28:40 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cd1346f app-crypt/rhash: HTTPSify HOMEPAGE Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- app-crypt/rhash/rhash-1.4.4.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index a4f72204edb2..18d58ce2d825 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit flag-o-matic toolchain-funcs multilib-minimal DESCRIPTION="Console utility and library for computing and verifying file hash sums" -HOMEPAGE="http://rhash.sourceforge.net/; +HOMEPAGE="https://rhash.sourceforge.net/; SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="0BSD" diff --git a/app-crypt/rhash/rhash-1.4.4.ebuild b/app-crypt/rhash/rhash-1.4.4.ebuild index 15d4f0bd4ee6..1477056806af 100644 --- a/app-crypt/rhash/rhash-1.4.4.ebuild +++ b/app-crypt/rhash/rhash-1.4.4.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit flag-o-matic toolchain-funcs multilib-minimal DESCRIPTION="Console utility and library for computing and verifying file hash sums" -HOMEPAGE="http://rhash.sourceforge.net/; +HOMEPAGE="https://rhash.sourceforge.net/; SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="0BSD"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 19f9f9e07885986dbfaf3701b4aa0041b30873da Author: Fabian Groffen gentoo org> AuthorDate: Sun Sep 10 11:37:47 2023 + Commit: Fabian Groffen gentoo org> CommitDate: Sun Sep 10 11:37:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f9f9e0 app-crypt/rhash-1.4.4: fix build on Solaris Signed-off-by: Fabian Groffen gentoo.org> app-crypt/rhash/rhash-1.4.4.ebuild | 8 1 file changed, 8 insertions(+) diff --git a/app-crypt/rhash/rhash-1.4.4.ebuild b/app-crypt/rhash/rhash-1.4.4.ebuild index 165ca9e3ba4a..15d4f0bd4ee6 100644 --- a/app-crypt/rhash/rhash-1.4.4.ebuild +++ b/app-crypt/rhash/rhash-1.4.4.ebuild @@ -42,6 +42,14 @@ src_prepare() { librhash/util.h || die fi + # upstream fix for BSD and others, but was only applied for BSD + # we need support for Solaris, where we use a GNU toolchain, so use + # the original hack, hopefully next release has this fixed + # https://github.com/rhash/RHash/issues/238 + if [[ ${CHOST} == *-solaris* ]] ; then + sed -i -e 's/^elif linux; then/else/' configure || die + fi + multilib_copy_sources }
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/files/, app-crypt/rhash/
commit: 74c411795d3f134255c42bfcd3f6863eda2a0517 Author: James Le Cuirot gentoo org> AuthorDate: Wed Aug 16 06:51:09 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Aug 16 06:51:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74c41179 app-crypt/rhash: Apply upstream patch to fix prefix re libintl Closes: https://bugs.gentoo.org/912049 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/files/rhash-1.4.4-prefix.patch | 22 ++ app-crypt/rhash/rhash-1.4.4.ebuild | 4 2 files changed, 26 insertions(+) diff --git a/app-crypt/rhash/files/rhash-1.4.4-prefix.patch b/app-crypt/rhash/files/rhash-1.4.4-prefix.patch new file mode 100644 index ..ce2e72bf149e --- /dev/null +++ b/app-crypt/rhash/files/rhash-1.4.4-prefix.patch @@ -0,0 +1,22 @@ +From c804982d1b24c6533118b3068d2cfdca685076f3 Mon Sep 17 00:00:00 2001 +From: Aleksey Kravchenko +Date: Mon, 7 Aug 2023 01:00:37 +0300 +Subject: [PATCH] Fix #243: Incorrect assigment in the configure script + +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index 39ef8c1b..63cbd8d0 100755 +--- a/configure b/configure +@@ -877,7 +877,7 @@ if test "$OPT_STATIC" = "no"; then + RHASH_TEST_OPTIONS=--shared + test "$INSTALL_LIB_SHARED" = "auto" && INSTALL_LIB_SHARED=yes + test "$INSTALL_LIB_STATIC" = "yes" && RHASH_BUILD_TARGETS="$RHASH_BUILD_TARGETS \$(LIBRHASH_STATIC)" +- RHASH_LDFLAGS=$RHASH_LDFLAGS $GETTEXT_LDFLAGS ++ RHASH_LDFLAGS=$(join_params $RHASH_LDFLAGS $GETTEXT_LDFLAGS) + else + LIBRHASH_TYPE=static + LIBRHASH_PATH="\$(LIBRHASH_STATIC)" diff --git a/app-crypt/rhash/rhash-1.4.4.ebuild b/app-crypt/rhash/rhash-1.4.4.ebuild index b56bd78dac70..165ca9e3ba4a 100644 --- a/app-crypt/rhash/rhash-1.4.4.ebuild +++ b/app-crypt/rhash/rhash-1.4.4.ebuild @@ -29,6 +29,10 @@ BDEPEND=" S="${WORKDIR}/RHash-${PV}" +PATCHES=( + "${FILESDIR}"/${P}-prefix.patch +) + src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: ec6e9c132d4399a5a33049f123a113b290f3378f Author: James Le Cuirot gentoo org> AuthorDate: Fri Aug 4 08:20:35 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Aug 4 08:20:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec6e9c13 app-crypt/rhash: Update license to 0BSD Closes: https://bugs.gentoo.org/911648 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- app-crypt/rhash/rhash-1.4.4.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index b7b11fc50fbd..a4f72204edb2 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="Console utility and library for computing and verifying file hash s HOMEPAGE="http://rhash.sourceforge.net/; SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" -LICENSE="MIT" +LICENSE="0BSD" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug nls ssl static-libs" diff --git a/app-crypt/rhash/rhash-1.4.4.ebuild b/app-crypt/rhash/rhash-1.4.4.ebuild index 7992769880b4..b56bd78dac70 100644 --- a/app-crypt/rhash/rhash-1.4.4.ebuild +++ b/app-crypt/rhash/rhash-1.4.4.ebuild @@ -9,7 +9,7 @@ DESCRIPTION="Console utility and library for computing and verifying file hash s HOMEPAGE="http://rhash.sourceforge.net/; SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" -LICENSE="MIT" +LICENSE="0BSD" SLOT="0/1" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug nls ssl static-libs"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 425cc50bf798922a55a547f42aaad53ed8e632b6 Author: James Le Cuirot gentoo org> AuthorDate: Thu Aug 3 20:45:49 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Aug 3 20:46:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=425cc50b app-crypt/rhash: Bump to 1.4.4, includes soname change Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 + app-crypt/rhash/rhash-1.4.4.ebuild | 89 ++ 2 files changed, 90 insertions(+) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index e243bbfc4bbc..15fbc4e5e11a 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1 +1,2 @@ DIST rhash-1.4.3-src.tar.gz 429290 BLAKE2B d225aeae0b3a8fb2e093a9aef50cd07a790c7e9734e91114deef2ca8492c85261b8ed5dea45958e35e049ea85175608962ea72297bdef48b00c52f51eaca SHA512 d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7 +DIST rhash-1.4.4-src.tar.gz 435691 BLAKE2B f3d42f333ad9a82fe4a8ef5af5d8008abf526c05c06a00c7033881d5a27ba663c3cc5cefb73ea8157ac24cb10a50a4e500706d489e61a03dbaee74a4735d1722 SHA512 00a7e5e058b53ce20ae79509815452ed9cb699d1322b678220b72c61dea3ea2f8fa131acfade8bb6d9f6af913f0c3c472330841181b22314b8755166310c946f diff --git a/app-crypt/rhash/rhash-1.4.4.ebuild b/app-crypt/rhash/rhash-1.4.4.ebuild new file mode 100644 index ..7992769880b4 --- /dev/null +++ b/app-crypt/rhash/rhash-1.4.4.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs multilib-minimal + +DESCRIPTION="Console utility and library for computing and verifying file hash sums" +HOMEPAGE="http://rhash.sourceforge.net/; +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="debug nls ssl static-libs" + +RDEPEND=" + ssl? ( + dev-libs/openssl:0=[${MULTILIB_USEDEP}] +)" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/RHash-${PV}" + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then + # we lack posix_memalign + sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ + librhash/util.h || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +multilib_src_compile() { + emake all \ + $(multilib_is_native_abi && use nls && echo compile-gmo) +} + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(multilib_is_native_abi && use nls && echo install-gmo) \ + install-lib-so-link +} + +multilib_src_test() { + emake test +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 43348efe8ab4717f8de578efba367fa040c5f8db Author: Sam James gentoo org> AuthorDate: Sun Jun 25 19:12:37 2023 + Commit: Sam James gentoo org> CommitDate: Sun Jun 25 19:16:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43348efe app-crypt/rhash: drop kernel_Winnt cruft Support is already gone. Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index f466b436e267..b7b11fc50fbd 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -81,7 +81,7 @@ multilib_src_install() { emake DESTDIR="${D}" -j1 \ install{,-lib-headers,-pkg-config} \ $(multilib_is_native_abi && use nls && echo install-gmo) \ - $(use kernel_Winnt || echo install-lib-so-link) + install-lib-so-link } multilib_src_test() {
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 842148a7a5fd7a557839ff6f2e7536e9572fe540 Author: Fabian Groffen gentoo org> AuthorDate: Tue May 30 13:53:57 2023 + Commit: Fabian Groffen gentoo org> CommitDate: Tue May 30 13:55:53 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842148a7 app-crypt/rhash-1.4.3: keyword ~arm64-macos Signed-off-by: Fabian Groffen gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 1958b85729bc..f466b436e267 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/files/, app-crypt/rhash/
commit: e122a052af9717ce76e8e2bd0de17d9ca19bc9a3 Author: James Le Cuirot gentoo org> AuthorDate: Thu Feb 9 21:51:44 2023 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Feb 9 21:51:44 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e122a052 app-crypt/rhash: Drop old 1.4.2 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 - app-crypt/rhash/files/rhash-1.4.2-clang.patch | 80 --- app-crypt/rhash/rhash-1.4.2.ebuild| 93 --- 3 files changed, 174 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 9211a10f3293..e243bbfc4bbc 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,2 +1 @@ -DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25 DIST rhash-1.4.3-src.tar.gz 429290 BLAKE2B d225aeae0b3a8fb2e093a9aef50cd07a790c7e9734e91114deef2ca8492c85261b8ed5dea45958e35e049ea85175608962ea72297bdef48b00c52f51eaca SHA512 d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7 diff --git a/app-crypt/rhash/files/rhash-1.4.2-clang.patch b/app-crypt/rhash/files/rhash-1.4.2-clang.patch deleted file mode 100644 index 460e73a6ace7.. --- a/app-crypt/rhash/files/rhash-1.4.2-clang.patch +++ /dev/null @@ -1,80 +0,0 @@ -From 4dc506066cf1727b021e6352535a8bb315c3f8dc Mon Sep 17 00:00:00 2001 -From: Aleksey -Date: Sat, 17 Jul 2021 18:39:41 +0300 -Subject: [PATCH] configure: fix clang detection on macOS - - configure | 58 +++ - 1 file changed, 28 insertions(+), 30 deletions(-) - -diff --git a/configure b/configure -index 59d432b..111270a 100755 a/configure -+++ b/configure -@@ -519,38 +519,36 @@ else - elif run_cmd "$CC --version"; then - cc_name_tmp=$($CC --version 2>&1 | head -n 1 | cut -d ' ' -f 1) - fi --if test -n "${cc_name_tmp}"; then -- if echo "$cc_name_tmp" | grep -q "gcc"; then --cc_name=$cc_name_tmp --start_check "$CC version" --cc_vendor=gnu --cc_version=$($CC -dumpversion 2>&1) --if ! echo $cc_version | grep -q '^[0-9][0-9]*\.[0-9]'; then -- cc_v2=$($CC -dumpfullversion -dumpversion 2>/dev/null) -- if echo $cc_v2 | grep -q '^[0-9][0-9]*\.[0-9]'; then --cc_version=$cc_v2 -- fi -+if echo "$cc_name_tmp" | grep -q "gcc"; then -+ cc_name=$cc_name_tmp -+ start_check "$CC version" -+ cc_vendor=gnu -+ cc_version=$($CC -dumpversion 2>&1) -+ if ! echo $cc_version | grep -q '^[0-9][0-9]*\.[0-9]'; then -+cc_v2=$($CC -dumpfullversion -dumpversion 2>/dev/null) -+if echo $cc_v2 | grep -q '^[0-9][0-9]*\.[0-9]'; then -+ cc_version=$cc_v2 - fi --case $cc_version in -- 2.96*) --cc_fail=yes --;; -- *) --_cc_major=$(echo $cc_version | cut -d '.' -f 1) --_cc_minor=$(echo $cc_version | cut -d '.' -f 2) --_cc_mini=$(echo $cc_version | cut -d '.' -f 3) --;; --esac --finish_check "$cc_name $cc_version" --break -- fi -- if echo "$cc_name_tmp" | grep -q "clang"; then --start_check "$CC version" --cc_vendor=clang --cc_version=$($CC -dumpversion 2>&1) --finish_check "clang $cc_version" --break - fi -+ case $cc_version in -+2.96*) -+ cc_fail=yes -+ ;; -+*) -+ _cc_major=$(echo $cc_version | cut -d '.' -f 1) -+ _cc_minor=$(echo $cc_version | cut -d '.' -f 2) -+ _cc_mini=$(echo $cc_version | cut -d '.' -f 3) -+ ;; -+ esac -+ finish_check "$cc_name $cc_version" -+ break -+elif $CC --version 2>&1 | grep -q "clang"; then -+ start_check "$CC version" -+ cc_vendor=clang -+ cc_version=$($CC -dumpversion 2>&1) -+ finish_check "clang $cc_version" -+ break -+else - cc_name_tmp=$($CC -V 2>&1 | head -n 1 | cut -d ' ' -f 2,3) - if test "$cc_name_tmp" = "Sun C"; then - start_check "$CC version" diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild deleted file mode 100644 index 85a78659e4d4.. --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic toolchain-funcs multilib-minimal - -DESCRIPTION="Console utility and library for computing and verifying file hash sums"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 66aa862b3a4beaf0fa746e07ffccf937ad7724f9 Author: Sam James gentoo org> AuthorDate: Tue Feb 7 02:52:39 2023 + Commit: Sam James gentoo org> CommitDate: Tue Feb 7 02:52:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66aa862b app-crypt/rhash: Stabilize 1.4.3 x86, #892844 Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 02fb214a652e..5a7b0fee28df 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 6a70bd5e2cd499fb3da73e81a7a582edc1fba63f Author: Sam James gentoo org> AuthorDate: Sat Feb 4 10:58:15 2023 + Commit: Sam James gentoo org> CommitDate: Sat Feb 4 10:58:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a70bd5e app-crypt/rhash: Stabilize 1.4.3 arm64, #892844 Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 664e221c87dd..c9af405d7fd9 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 508b388997dd8e31e67508aa914a82452467cf39 Author: Sam James gentoo org> AuthorDate: Sat Feb 4 10:58:16 2023 + Commit: Sam James gentoo org> CommitDate: Sat Feb 4 10:58:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=508b3889 app-crypt/rhash: Stabilize 1.4.3 amd64, #892844 Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index c9af405d7fd9..59c95d68a7af 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 6089f51c3cba0ed9b57376ab79af2fe54179cb88 Author: Sam James gentoo org> AuthorDate: Sat Feb 4 10:58:18 2023 + Commit: Sam James gentoo org> CommitDate: Sat Feb 4 10:58:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6089f51c app-crypt/rhash: Stabilize 1.4.3 sparc, #892844 Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 59c95d68a7af..02fb214a652e 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 28adec3645f661a78e2d61cde698b63727e399b6 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 4 06:47:26 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 4 06:47:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28adec36 app-crypt/rhash: Stabilize 1.4.3 ppc, #892844 Signed-off-by: Arthur Zamarin gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 399f9ab7ad56..f08e16c2f104 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 1c4cc55ad0ef151b4713a0916c8bd95d1138f695 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 4 06:47:27 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 4 06:47:27 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4cc55a app-crypt/rhash: Stabilize 1.4.3 arm, #892844 Signed-off-by: Arthur Zamarin gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index f08e16c2f104..664e221c87dd 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 9050e81071ded140bf982b83660ca4e5464ffe04 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 4 06:47:24 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 4 06:47:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9050e810 app-crypt/rhash: Stabilize 1.4.3 hppa, #892844 Signed-off-by: Arthur Zamarin gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 1cfc029f4978..b33bf8d40ffd 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: e39d08ea8ca5314ca689506aff14030d0651d9eb Author: Arthur Zamarin gentoo org> AuthorDate: Sat Feb 4 06:47:25 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Feb 4 06:47:25 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e39d08ea app-crypt/rhash: Stabilize 1.4.3 ppc64, #892844 Signed-off-by: Arthur Zamarin gentoo.org> app-crypt/rhash/rhash-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index b33bf8d40ffd..399f9ab7ad56 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: bb2f8fa8fa7541defbcdb9b66049833f15c66686 Author: WANG Xuerui gentoo org> AuthorDate: Sat Jan 14 06:35:31 2023 + Commit: Sam James gentoo org> CommitDate: Sat Jan 14 19:14:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb2f8fa8 app-crypt/rhash: fix build with lld-16 Signed-off-by: WANG Xuerui gentoo.org> Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 11 +-- app-crypt/rhash/rhash-1.4.3.ebuild | 11 +-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index 28eb73baa382..85a78659e4d4 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs multilib-minimal +inherit flag-o-matic toolchain-funcs multilib-minimal DESCRIPTION="Console utility and library for computing and verifying file hash sums" HOMEPAGE="http://rhash.sourceforge.net/; @@ -46,6 +46,13 @@ src_prepare() { } multilib_src_configure() { + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + set -- \ ./configure \ --target="${CHOST}" \ diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 3836fca5035c..1cfc029f4978 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs multilib-minimal +inherit flag-o-matic toolchain-funcs multilib-minimal DESCRIPTION="Console utility and library for computing and verifying file hash sums" HOMEPAGE="http://rhash.sourceforge.net/; @@ -42,6 +42,13 @@ src_prepare() { } multilib_src_configure() { + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + set -- \ ./configure \ --target="${CHOST}" \
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 1bc61e8bb470c5ef32fda4f09fb5bcabf4c41ef9 Author: James Le Cuirot gentoo org> AuthorDate: Sat Jun 18 08:42:48 2022 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Jun 18 08:42:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bc61e8b app-crypt/rhash: Version bump to 1.4.3, EAPI 8 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 + app-crypt/rhash/rhash-1.4.3.ebuild | 82 ++ 2 files changed, 83 insertions(+) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index c7f090cb2139..9211a10f3293 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1 +1,2 @@ DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25 +DIST rhash-1.4.3-src.tar.gz 429290 BLAKE2B d225aeae0b3a8fb2e093a9aef50cd07a790c7e9734e91114deef2ca8492c85261b8ed5dea45958e35e049ea85175608962ea72297bdef48b00c52f51eaca SHA512 d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7 diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild new file mode 100644 index ..3836fca5035c --- /dev/null +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="Console utility and library for computing and verifying file hash sums" +HOMEPAGE="http://rhash.sourceforge.net/; +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug nls ssl static-libs" + +RDEPEND=" + ssl? ( + dev-libs/openssl:0=[${MULTILIB_USEDEP}] +)" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/RHash-${PV}" + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then + # we lack posix_memalign + sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ + librhash/util.h || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +multilib_src_compile() { + emake all \ + $(multilib_is_native_abi && use nls && echo compile-gmo) +} + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(multilib_is_native_abi && use nls && echo install-gmo) \ + $(use kernel_Winnt || echo install-lib-so-link) +} + +multilib_src_test() { + emake test +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 5aa9be5919cc29b8319d22dd3e0ab31ca3f9c2b9 Author: WANG Xuerui gentoo org> AuthorDate: Fri Apr 29 07:33:42 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Fri Apr 29 07:58:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5aa9be59 app-crypt/rhash: keyword 1.4.2 for ~loong Signed-off-by: WANG Xuerui gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index d57cf5e83c4d..28eb73baa382 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/files/, app-crypt/rhash/
commit: 4da4d9e965b8d1c2956f965a55254156d836353a Author: James Le Cuirot gentoo org> AuthorDate: Thu Mar 17 09:09:04 2022 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Mar 17 09:09:04 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da4d9e9 app-crypt/rhash: Drop old 1.3.6-r1 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 - app-crypt/rhash/files/darwin-triplet.patch | 23 --- app-crypt/rhash/files/freebsd-triplet.patch | 23 --- app-crypt/rhash/files/rhash-1.3.6-no_echon.patch | 54 - app-crypt/rhash/files/unquote-cc.patch | 26 app-crypt/rhash/rhash-1.3.6-r1.ebuild| 77 6 files changed, 204 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 29794e046d24..c7f090cb2139 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,2 +1 @@ -DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25 diff --git a/app-crypt/rhash/files/darwin-triplet.patch b/app-crypt/rhash/files/darwin-triplet.patch deleted file mode 100644 index 49b7e121d818.. --- a/app-crypt/rhash/files/darwin-triplet.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 35a830d1968465e4ecb079273f032b754bac6c66 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Sun, 25 Mar 2018 17:40:49 +0100 -Subject: [PATCH] configure: Add target OS clause for Darwin - -These triplets can also have a version number suffix, for example, -x86_64-apple-darwin16. - configure | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/configure b/configure -index 5b6b710..2d8ac42 100755 a/configure -+++ b/configure -@@ -410,6 +410,7 @@ else - amigaos) TARGET_OS=AmigaOS ;; - mingw32*) TARGET_OS=MINGW32 ;; - wine) TARGET_OS=Wine ;; -+ darwin*) TARGET_OS=Darwin ;; - esac - } - TARGET_OS="UNKNOWN" diff --git a/app-crypt/rhash/files/freebsd-triplet.patch b/app-crypt/rhash/files/freebsd-triplet.patch deleted file mode 100644 index 94b615824be7.. --- a/app-crypt/rhash/files/freebsd-triplet.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 14db7f9ee87e05450853ba0e1d8e83cc34aef3e4 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot -Date: Sat, 24 Mar 2018 13:51:56 + -Subject: [PATCH] configure: Match FreeBSD triplets with versions - -Triplets such as x86_64-unknown-freebsd11.1 are common. - configure | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure b/configure -index 8ebb929..5b6b710 100755 a/configure -+++ b/configure -@@ -398,7 +398,7 @@ else - part=$(echo $BUILD_TARGET | cut -d '-' -f $component) - case "$(echo $part | tr '[A-Z]' '[a-z]')" in - linux) TARGET_OS=Linux ;; -- freebsd) TARGET_OS=FreeBSD ;; -+ freebsd*) TARGET_OS=FreeBSD ;; - gnu/kfreebsd) TARGET_OS=FreeBSD ;; - netbsd) TARGET_OS=NetBSD ;; - bsd/os) TARGET_OS=BSD/OS ;; diff --git a/app-crypt/rhash/files/rhash-1.3.6-no_echon.patch b/app-crypt/rhash/files/rhash-1.3.6-no_echon.patch deleted file mode 100644 index 9b25b29a89f3.. --- a/app-crypt/rhash/files/rhash-1.3.6-no_echon.patch +++ /dev/null @@ -1,54 +0,0 @@ -From c1776248a0b34a690e99ab9a7a814c34f78088ec Mon Sep 17 00:00:00 2001 -From: Lars Wendler -Date: Mon, 19 Mar 2018 10:47:13 +0100 -Subject: [PATCH] "echo -n" cannot be expected to work with every POSIX shell - -See "man 1p echo" section APPLICATION USAGE. This patch replaces "echo -n" -with "printf '%s'". - configure | 15 ++- - 1 file changed, 2 insertions(+), 13 deletions(-) - -diff --git a/configure b/configure -index f480f7b..2a7d485 100755 a/configure -+++ b/configure -@@ -22,17 +22,6 @@ INSTALL_LIB_STATIC=auto - INSTALL_LIB_SHARED=auto - INSTALL_PKGCONFIGDIR="$PKG_INSTALLDIR" - --case $(echo -n) in -- -n) # SysV style --ECHO_N= --ECHO_C='\c' --;; -- *) # BSD style --ECHO_N='-n ' --ECHO_C= --;; --esac -- - # display error message and exit - die () { - echo -@@ -235,7 +224,7 @@ trap remove_tmpdir EXIT - - str_concat() - { -- echo ${ECHO_N} $@ ${ECHO_C} -+ printf '%s ' $@ - } - - yn_nonempty() -@@ -246,7 +235,7 @@ yn_nonempty() - # Use this before starting a check - start_check() { - echo " Checking for $1 " >> "$TMPLOG" -- echo ${ECHO_N} "Checking for $1 ... ${ECHO_C}"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: c456356d80bc166938c0cd8433fae4fd15a70aae Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Mar 16 15:10:45 2022 + Commit: Sam James gentoo org> CommitDate: Wed Mar 16 15:17:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c456356d app-crypt/rhash: stable 1.4.2 for hppa, bug #833978 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index 5b6d3c9e137a..d57cf5e83c4d 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: e094949d0403d6f59795bd1152e1f9038b604824 Author: Sam James gentoo org> AuthorDate: Sun Mar 6 07:58:23 2022 + Commit: Sam James gentoo org> CommitDate: Sun Mar 6 07:58:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e094949d app-crypt/rhash: Stabilize 1.4.2 arm, #833978 Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index dcb1536682d2..5b6d3c9e137a 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 2d0af8ea017134ba7662a92f0f708e7f50331411 Author: Sam James gentoo org> AuthorDate: Sun Mar 6 07:35:15 2022 + Commit: Sam James gentoo org> CommitDate: Sun Mar 6 07:35:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d0af8ea app-crypt/rhash: Stabilize 1.4.2 arm64, #833978 Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index efcfab85db79..dcb1536682d2 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 895b9fd9bd48685af4100ff52c176cc4ef57083a Author: Jakov Smolić gentoo org> AuthorDate: Sun Feb 27 12:28:23 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Feb 27 12:28:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=895b9fd9 app-crypt/rhash: Stabilize 1.4.2 x86, #833978 Signed-off-by: Jakov Smolić gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index 7ebd82aa101f..e5e6f7414acc 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: ef04eb3367cfa9a7746975b6fef22658558df163 Author: Jakov Smolić gentoo org> AuthorDate: Sun Feb 27 12:16:52 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Feb 27 12:22:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef04eb33 app-crypt/rhash: Stabilize 1.4.2 amd64, #833978 Signed-off-by: Jakov Smolić gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index 95bea74843c5..7ebd82aa101f 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 5b6132a78409d42b35172669969c9d699b87f789 Author: Sam James gentoo org> AuthorDate: Fri Nov 19 08:17:37 2021 + Commit: Sam James gentoo org> CommitDate: Fri Nov 19 08:34:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b6132a7 app-crypt/rhash: add note re compile-gmo Signed-off-by: Sam James gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index 0aea0acab044..95bea74843c5 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -70,6 +70,8 @@ multilib_src_configure() { # We would add compile-gmo to the build targets but install-gmo always # recompiles unconditionally. :( +# (note from sam: this might be fixed in >1.4.2? +# https://github.com/rhash/RHash/commit/9e4eeb1268149b24b7fbe0fc0fe91e3a266e6261) multilib_src_install() { # -j1 needed due to race condition.
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/, app-crypt/rhash/files/
commit: 0e967160ad4b02b3c8e58c49c5b4004fbeb4e715 Author: James Le Cuirot gentoo org> AuthorDate: Sat Oct 16 23:06:53 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Oct 16 23:07:07 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e967160 app-crypt/rhash: Fix building 1.4.2 with Clang Closes: https://bugs.gentoo.org/818379 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/files/rhash-1.4.2-clang.patch | 80 +++ app-crypt/rhash/rhash-1.4.2.ebuild| 4 ++ 2 files changed, 84 insertions(+) diff --git a/app-crypt/rhash/files/rhash-1.4.2-clang.patch b/app-crypt/rhash/files/rhash-1.4.2-clang.patch new file mode 100644 index 000..460e73a6ace --- /dev/null +++ b/app-crypt/rhash/files/rhash-1.4.2-clang.patch @@ -0,0 +1,80 @@ +From 4dc506066cf1727b021e6352535a8bb315c3f8dc Mon Sep 17 00:00:00 2001 +From: Aleksey +Date: Sat, 17 Jul 2021 18:39:41 +0300 +Subject: [PATCH] configure: fix clang detection on macOS + +--- + configure | 58 +++ + 1 file changed, 28 insertions(+), 30 deletions(-) + +diff --git a/configure b/configure +index 59d432b..111270a 100755 +--- a/configure b/configure +@@ -519,38 +519,36 @@ else + elif run_cmd "$CC --version"; then + cc_name_tmp=$($CC --version 2>&1 | head -n 1 | cut -d ' ' -f 1) + fi +-if test -n "${cc_name_tmp}"; then +- if echo "$cc_name_tmp" | grep -q "gcc"; then +-cc_name=$cc_name_tmp +-start_check "$CC version" +-cc_vendor=gnu +-cc_version=$($CC -dumpversion 2>&1) +-if ! echo $cc_version | grep -q '^[0-9][0-9]*\.[0-9]'; then +- cc_v2=$($CC -dumpfullversion -dumpversion 2>/dev/null) +- if echo $cc_v2 | grep -q '^[0-9][0-9]*\.[0-9]'; then +-cc_version=$cc_v2 +- fi ++if echo "$cc_name_tmp" | grep -q "gcc"; then ++ cc_name=$cc_name_tmp ++ start_check "$CC version" ++ cc_vendor=gnu ++ cc_version=$($CC -dumpversion 2>&1) ++ if ! echo $cc_version | grep -q '^[0-9][0-9]*\.[0-9]'; then ++cc_v2=$($CC -dumpfullversion -dumpversion 2>/dev/null) ++if echo $cc_v2 | grep -q '^[0-9][0-9]*\.[0-9]'; then ++ cc_version=$cc_v2 + fi +-case $cc_version in +- 2.96*) +-cc_fail=yes +-;; +- *) +-_cc_major=$(echo $cc_version | cut -d '.' -f 1) +-_cc_minor=$(echo $cc_version | cut -d '.' -f 2) +-_cc_mini=$(echo $cc_version | cut -d '.' -f 3) +-;; +-esac +-finish_check "$cc_name $cc_version" +-break +- fi +- if echo "$cc_name_tmp" | grep -q "clang"; then +-start_check "$CC version" +-cc_vendor=clang +-cc_version=$($CC -dumpversion 2>&1) +-finish_check "clang $cc_version" +-break + fi ++ case $cc_version in ++2.96*) ++ cc_fail=yes ++ ;; ++*) ++ _cc_major=$(echo $cc_version | cut -d '.' -f 1) ++ _cc_minor=$(echo $cc_version | cut -d '.' -f 2) ++ _cc_mini=$(echo $cc_version | cut -d '.' -f 3) ++ ;; ++ esac ++ finish_check "$cc_name $cc_version" ++ break ++elif $CC --version 2>&1 | grep -q "clang"; then ++ start_check "$CC version" ++ cc_vendor=clang ++ cc_version=$($CC -dumpversion 2>&1) ++ finish_check "clang $cc_version" ++ break ++else + cc_name_tmp=$($CC -V 2>&1 | head -n 1 | cut -d ' ' -f 2,3) + if test "$cc_name_tmp" = "Sun C"; then + start_check "$CC version" diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index fd42272e981..0aea0acab04 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -29,6 +29,10 @@ BDEPEND=" S="${WORKDIR}/RHash-${PV}" +PATCHES=( + "${FILESDIR}"/${P}-clang.patch +) + src_prepare() { default
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 6d9f336d4a0b9e4fb35f8464d7a243e22e59d33d Author: James Le Cuirot gentoo org> AuthorDate: Sat Oct 16 23:07:46 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Oct 16 23:07:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9f336d app-crypt/rhash: Drop old 1.4.1 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 - app-crypt/rhash/rhash-1.4.1.ebuild | 80 -- 2 files changed, 81 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 33bc436cafe..29794e046d2 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,3 +1,2 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 -DIST rhash-1.4.1-src.tar.gz 413274 BLAKE2B 2027bccc677e8a1766f0624e67f475713653ddb4be457f9c8434c45019bc730934ca860e69f8b8e1fec349e724b1a366df0f5fb98501c825b44f9b8105068ff7 SHA512 30bbef7ce7815ee4ac062c537206a0b895845f61de4b1fdc0c0494f66284d9f3c1b06f812ea913fa35a3342d230d25d0986a1db644c7b4464bc1185997beb638 DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25 diff --git a/app-crypt/rhash/rhash-1.4.1.ebuild b/app-crypt/rhash/rhash-1.4.1.ebuild deleted file mode 100644 index 4aa5c894ec9..000 --- a/app-crypt/rhash/rhash-1.4.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs multilib-minimal - -DESCRIPTION="Console utility and library for computing and verifying file hash sums" -HOMEPAGE="http://rhash.sourceforge.net/; -SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug nls ssl static-libs" - -RDEPEND=" - ssl? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] -)" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - nls? ( sys-devel/gettext ) -" - -S="${WORKDIR}/RHash-${PV}" - -src_prepare() { - default - - if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then - # we lack posix_memalign - sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ - librhash/util.h || die - fi - - multilib_copy_sources -} - -multilib_src_configure() { - set -- \ - ./configure \ - --target="${CHOST}" \ - --cc="$(tc-getCC)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --prefix="${EPREFIX}"/usr \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --sysconfdir="${EPREFIX}"/etc \ - --disable-openssl-runtime \ - --disable-static \ - --enable-lib-shared \ - $(use_enable debug) \ - $(use_enable nls gettext) \ - $(use_enable ssl openssl) \ - $(use_enable static-libs lib-static) - - echo "${@}" - "${@}" || die "configure failed" -} - -# We would add compile-gmo to the build targets but install-gmo always -# recompiles unconditionally. :( - -multilib_src_install() { - # -j1 needed due to race condition. - emake DESTDIR="${D}" -j1 \ - install{,-lib-headers,-pkg-config} \ - $(use nls && echo install-gmo) \ - $(use kernel_Winnt || echo install-lib-so-link) -} - -multilib_src_test() { - emake test -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: bf93e1edb95dd7aa91cca94029ab20301bc21319 Author: James Le Cuirot gentoo org> AuthorDate: Mon Sep 20 13:50:07 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Sep 20 14:08:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf93e1ed app-crypt/rhash: Keyword 1.4.2 for ~m68k The tests pass. Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index 4aa5c894ec9..fd42272e981 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 095d1e028b4971c7fc874f6634f30029e2e37a2c Author: James Le Cuirot gentoo org> AuthorDate: Sat Jul 17 07:01:10 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Jul 17 07:01:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=095d1e02 app-crypt/rhash: Version bump to 1.4.2 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 + app-crypt/rhash/rhash-1.4.2.ebuild | 80 ++ 2 files changed, 81 insertions(+) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index ec67cda284e..a9578b7a2f1 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,3 +1,4 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 DIST rhash-1.4.0-src.tar.gz 406433 BLAKE2B 2af437cd3a049bb9473825026f8a6476c81b4400a47638c62ee3ecb3d3984f7f9fe97def91488094a2919e5baad967d3f49ec7d95363896e270251ad085bacac SHA512 2f02487fffe8d1bc70c4454829bbd250a15fbd09db5ef85c54d3e8ad1008e84616ea54483292deae45047a27964e27b26d9b3da8447e7c37dac1e2ce18a63a07 DIST rhash-1.4.1-src.tar.gz 413274 BLAKE2B 2027bccc677e8a1766f0624e67f475713653ddb4be457f9c8434c45019bc730934ca860e69f8b8e1fec349e724b1a366df0f5fb98501c825b44f9b8105068ff7 SHA512 30bbef7ce7815ee4ac062c537206a0b895845f61de4b1fdc0c0494f66284d9f3c1b06f812ea913fa35a3342d230d25d0986a1db644c7b4464bc1185997beb638 +DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25 diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild new file mode 100644 index 000..4aa5c894ec9 --- /dev/null +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="Console utility and library for computing and verifying file hash sums" +HOMEPAGE="http://rhash.sourceforge.net/; +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug nls ssl static-libs" + +RDEPEND=" + ssl? ( + dev-libs/openssl:0=[${MULTILIB_USEDEP}] +)" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/RHash-${PV}" + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then + # we lack posix_memalign + sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ + librhash/util.h || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +# We would add compile-gmo to the build targets but install-gmo always +# recompiles unconditionally. :( + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(use nls && echo install-gmo) \ + $(use kernel_Winnt || echo install-lib-so-link) +} + +multilib_src_test() { + emake test +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 7aa1bc169c75f57cb5eb25ce76ac56e9e3303d8a Author: James Le Cuirot gentoo org> AuthorDate: Sat Jul 17 07:02:00 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Jul 17 07:02:00 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aa1bc16 app-crypt/rhash: Drop old 1.4.0 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 - app-crypt/rhash/rhash-1.4.0.ebuild | 80 -- 2 files changed, 81 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index a9578b7a2f1..33bc436cafe 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,4 +1,3 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 -DIST rhash-1.4.0-src.tar.gz 406433 BLAKE2B 2af437cd3a049bb9473825026f8a6476c81b4400a47638c62ee3ecb3d3984f7f9fe97def91488094a2919e5baad967d3f49ec7d95363896e270251ad085bacac SHA512 2f02487fffe8d1bc70c4454829bbd250a15fbd09db5ef85c54d3e8ad1008e84616ea54483292deae45047a27964e27b26d9b3da8447e7c37dac1e2ce18a63a07 DIST rhash-1.4.1-src.tar.gz 413274 BLAKE2B 2027bccc677e8a1766f0624e67f475713653ddb4be457f9c8434c45019bc730934ca860e69f8b8e1fec349e724b1a366df0f5fb98501c825b44f9b8105068ff7 SHA512 30bbef7ce7815ee4ac062c537206a0b895845f61de4b1fdc0c0494f66284d9f3c1b06f812ea913fa35a3342d230d25d0986a1db644c7b4464bc1185997beb638 DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25 diff --git a/app-crypt/rhash/rhash-1.4.0.ebuild b/app-crypt/rhash/rhash-1.4.0.ebuild deleted file mode 100644 index 4efaf57147b..000 --- a/app-crypt/rhash/rhash-1.4.0.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs multilib-minimal - -DESCRIPTION="Console utility and library for computing and verifying file hash sums" -HOMEPAGE="http://rhash.sourceforge.net/; -SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="debug nls ssl static-libs" - -RDEPEND=" - ssl? ( - dev-libs/openssl:0=[${MULTILIB_USEDEP}] -)" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - nls? ( sys-devel/gettext ) -" - -S="${WORKDIR}/RHash-${PV}" - -src_prepare() { - default - - if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then - # we lack posix_memalign - sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ - librhash/util.h || die - fi - - multilib_copy_sources -} - -multilib_src_configure() { - set -- \ - ./configure \ - --target="${CHOST}" \ - --cc="$(tc-getCC)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --prefix="${EPREFIX}"/usr \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --sysconfdir="${EPREFIX}"/etc \ - --disable-openssl-runtime \ - --disable-static \ - --enable-lib-shared \ - $(use_enable debug) \ - $(use_enable nls gettext) \ - $(use_enable ssl openssl) \ - $(use_enable static-libs lib-static) - - echo "${@}" - "${@}" || die "configure failed" -} - -# We would add compile-gmo to the build targets but install-gmo always -# recompiles unconditionally. :( - -multilib_src_install() { - # -j1 needed due to race condition. - emake DESTDIR="${D}" -j1 \ - install{,-lib-headers,-pkg-config} \ - $(use nls && echo install-gmo) \ - $(use kernel_Winnt || echo install-lib-so-link) -} - -multilib_src_test() { - emake test -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 79b693e64249ebf35b5996a5000234e8a3317bcb Author: Mikle Kolyada gentoo org> AuthorDate: Sun May 2 17:18:36 2021 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun May 2 17:22:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79b693e6 app-crypt/rhash: remove libressl support Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Mikle Kolyada gentoo.org> app-crypt/rhash/rhash-1.3.6-r1.ebuild | 5 ++--- app-crypt/rhash/rhash-1.4.0.ebuild| 5 ++--- app-crypt/rhash/rhash-1.4.1.ebuild| 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 4afea509f75..9dfdd81943a 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -12,12 +12,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="debug nls libressl ssl static-libs" +IUSE="debug nls ssl static-libs" RDEPEND=" ssl? ( - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) + dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND} diff --git a/app-crypt/rhash/rhash-1.4.0.ebuild b/app-crypt/rhash/rhash-1.4.0.ebuild index 84b05ebc648..4efaf57147b 100644 --- a/app-crypt/rhash/rhash-1.4.0.ebuild +++ b/app-crypt/rhash/rhash-1.4.0.ebuild @@ -12,12 +12,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" -IUSE="debug nls libressl ssl static-libs" +IUSE="debug nls ssl static-libs" RDEPEND=" ssl? ( - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) + dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" DEPEND=" diff --git a/app-crypt/rhash/rhash-1.4.1.ebuild b/app-crypt/rhash/rhash-1.4.1.ebuild index b69637e86bf..4aa5c894ec9 100644 --- a/app-crypt/rhash/rhash-1.4.1.ebuild +++ b/app-crypt/rhash/rhash-1.4.1.ebuild @@ -12,12 +12,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug nls libressl ssl static-libs" +IUSE="debug nls ssl static-libs" RDEPEND=" ssl? ( - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) + dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 4e2b4a06c38baf8e1b407b762189f58d5bc99b4e Author: Fabian Groffen gentoo org> AuthorDate: Thu Jan 28 19:29:04 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Thu Jan 28 19:31:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2b4a06 app-crypt/rhash-1.4.1: marked *-solaris Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> app-crypt/rhash/rhash-1.4.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.1.ebuild b/app-crypt/rhash/rhash-1.4.1.ebuild index 84b05ebc648..b69637e86bf 100644 --- a/app-crypt/rhash/rhash-1.4.1.ebuild +++ b/app-crypt/rhash/rhash-1.4.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 5fc0074061e16398913db7f0a62749208aad4fbc Author: James Le Cuirot gentoo org> AuthorDate: Thu Jan 7 21:48:10 2021 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 7 21:48:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc00740 app-crypt/rhash: Version bump to 1.4.1 Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 + app-crypt/rhash/rhash-1.4.1.ebuild | 81 ++ 2 files changed, 82 insertions(+) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 4836b91f03c..ec67cda284e 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,2 +1,3 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 DIST rhash-1.4.0-src.tar.gz 406433 BLAKE2B 2af437cd3a049bb9473825026f8a6476c81b4400a47638c62ee3ecb3d3984f7f9fe97def91488094a2919e5baad967d3f49ec7d95363896e270251ad085bacac SHA512 2f02487fffe8d1bc70c4454829bbd250a15fbd09db5ef85c54d3e8ad1008e84616ea54483292deae45047a27964e27b26d9b3da8447e7c37dac1e2ce18a63a07 +DIST rhash-1.4.1-src.tar.gz 413274 BLAKE2B 2027bccc677e8a1766f0624e67f475713653ddb4be457f9c8434c45019bc730934ca860e69f8b8e1fec349e724b1a366df0f5fb98501c825b44f9b8105068ff7 SHA512 30bbef7ce7815ee4ac062c537206a0b895845f61de4b1fdc0c0494f66284d9f3c1b06f812ea913fa35a3342d230d25d0986a1db644c7b4464bc1185997beb638 diff --git a/app-crypt/rhash/rhash-1.4.1.ebuild b/app-crypt/rhash/rhash-1.4.1.ebuild new file mode 100644 index 000..84b05ebc648 --- /dev/null +++ b/app-crypt/rhash/rhash-1.4.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="Console utility and library for computing and verifying file hash sums" +HOMEPAGE="http://rhash.sourceforge.net/; +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="debug nls libressl ssl static-libs" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) +)" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/RHash-${PV}" + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then + # we lack posix_memalign + sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ + librhash/util.h || die + fi + + multilib_copy_sources +} + +multilib_src_configure() { + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +# We would add compile-gmo to the build targets but install-gmo always +# recompiles unconditionally. :( + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(use nls && echo install-gmo) \ + $(use kernel_Winnt || echo install-lib-so-link) +} + +multilib_src_test() { + emake test +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 7b7170462815bd6347e7e06fd9423788fa16db07 Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 6 12:55:45 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 6 12:55:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b717046 app-crypt/rhash: drop x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> app-crypt/rhash/rhash-1.3.6-r1.ebuild | 4 ++-- app-crypt/rhash/rhash-1.4.0.ebuild| 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 44d58721611..1aae5aeadcb 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND=" diff --git a/app-crypt/rhash/rhash-1.4.0.ebuild b/app-crypt/rhash/rhash-1.4.0.ebuild index 88a8e3ebfe3..84b05ebc648 100644 --- a/app-crypt/rhash/rhash-1.4.0.ebuild +++ b/app-crypt/rhash/rhash-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 2c048b24de295c4767ab8b7f0edb6532f63932f3 Author: Fabian Groffen gentoo org> AuthorDate: Fri Dec 18 14:49:46 2020 + Commit: Fabian Groffen gentoo org> CommitDate: Fri Dec 18 14:49:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c048b24 app-crypt/rhash-1.4.0: fix compilation on ppc-macos Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> app-crypt/rhash/rhash-1.4.0.ebuild | 7 +++ 1 file changed, 7 insertions(+) diff --git a/app-crypt/rhash/rhash-1.4.0.ebuild b/app-crypt/rhash/rhash-1.4.0.ebuild index e777c4b21ff..88a8e3ebfe3 100644 --- a/app-crypt/rhash/rhash-1.4.0.ebuild +++ b/app-crypt/rhash/rhash-1.4.0.ebuild @@ -32,6 +32,13 @@ S="${WORKDIR}/RHash-${PV}" src_prepare() { default + + if [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] ; then + # we lack posix_memalign + sed -i -e '/if _POSIX_VERSION/s/if .*$/if 0/' \ + librhash/util.h || die + fi + multilib_copy_sources }
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: e75248b8cffc38f4529ab45acb30b2f916b836f0 Author: James Le Cuirot gentoo org> AuthorDate: Mon Aug 17 22:19:14 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Aug 17 22:19:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e75248b8 app-crypt/rhash: Version bump to 1.4.0 Package-Manager: Portage-3.0.3, Repoman-2.3.23 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 + app-crypt/rhash/rhash-1.4.0.ebuild | 74 ++ 2 files changed, 75 insertions(+) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 2e8665c315b..7d4e592d996 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,3 +1,4 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 DIST rhash-1.3.8-src.tar.gz 393544 BLAKE2B c326b3fa6dbc5ea2cce40105dc319456fdcc58140a05e8002bf1d92be921d8bbd27bf670370ba7cf2ff2001ff70ddbeb8efc9712869a7b215c5f51a5e493b5c9 SHA512 9dba4fa4dd49d323f2e440c5b93eac1ef62eb4046ec4ef611f0978c12c1739002f1ac1f1ec5e61bd359dc89e9ed612db71be91a795184ac5d5433280d27fa4c1 DIST rhash-1.3.9-src.tar.gz 403415 BLAKE2B 49f3b9348485b83521f58fa1de30517b05a8265547cbec3276d89c42b46baccc4ea22d41638764600c76669308a5f7d9d3995b7cec51676c9f8492ba740e473c SHA512 6fae0587cdeb42df59d542c58bad734259d1ff39fba92531c10a469b51310644669ffbe0453e72d85c2cf38b176962f6dca9062a121ac019f1b30f207a176e60 +DIST rhash-1.4.0-src.tar.gz 406433 BLAKE2B 2af437cd3a049bb9473825026f8a6476c81b4400a47638c62ee3ecb3d3984f7f9fe97def91488094a2919e5baad967d3f49ec7d95363896e270251ad085bacac SHA512 2f02487fffe8d1bc70c4454829bbd250a15fbd09db5ef85c54d3e8ad1008e84616ea54483292deae45047a27964e27b26d9b3da8447e7c37dac1e2ce18a63a07 diff --git a/app-crypt/rhash/rhash-1.4.0.ebuild b/app-crypt/rhash/rhash-1.4.0.ebuild new file mode 100644 index 000..e777c4b21ff --- /dev/null +++ b/app-crypt/rhash/rhash-1.4.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="Console utility and library for computing and verifying file hash sums" +HOMEPAGE="http://rhash.sourceforge.net/; +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="debug nls libressl ssl static-libs" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) +)" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/RHash-${PV}" + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +# We would add compile-gmo to the build targets but install-gmo always +# recompiles unconditionally. :( + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(use nls && echo install-gmo) \ + $(use kernel_Winnt || echo install-lib-so-link) +} + +multilib_src_test() { + emake test +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/, app-crypt/rhash/files/
commit: ce2c13885bd540214bc562479c11457f2d0b318f Author: James Le Cuirot gentoo org> AuthorDate: Mon Aug 17 22:20:53 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Aug 17 22:20:53 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce2c1388 app-crypt/rhash: Drop old 1.3.8 and 1.3.9-r2 Package-Manager: Portage-3.0.3, Repoman-2.3.23 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 2 - app-crypt/rhash/files/rhash-1.3.9-nls.patch| 22 -- .../rhash/files/rhash-1.3.9-rc-segfault.patch | 230 - app-crypt/rhash/rhash-1.3.8.ebuild | 80 --- app-crypt/rhash/rhash-1.3.9-r2.ebuild | 81 5 files changed, 415 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 7d4e592d996..4836b91f03c 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,4 +1,2 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 -DIST rhash-1.3.8-src.tar.gz 393544 BLAKE2B c326b3fa6dbc5ea2cce40105dc319456fdcc58140a05e8002bf1d92be921d8bbd27bf670370ba7cf2ff2001ff70ddbeb8efc9712869a7b215c5f51a5e493b5c9 SHA512 9dba4fa4dd49d323f2e440c5b93eac1ef62eb4046ec4ef611f0978c12c1739002f1ac1f1ec5e61bd359dc89e9ed612db71be91a795184ac5d5433280d27fa4c1 -DIST rhash-1.3.9-src.tar.gz 403415 BLAKE2B 49f3b9348485b83521f58fa1de30517b05a8265547cbec3276d89c42b46baccc4ea22d41638764600c76669308a5f7d9d3995b7cec51676c9f8492ba740e473c SHA512 6fae0587cdeb42df59d542c58bad734259d1ff39fba92531c10a469b51310644669ffbe0453e72d85c2cf38b176962f6dca9062a121ac019f1b30f207a176e60 DIST rhash-1.4.0-src.tar.gz 406433 BLAKE2B 2af437cd3a049bb9473825026f8a6476c81b4400a47638c62ee3ecb3d3984f7f9fe97def91488094a2919e5baad967d3f49ec7d95363896e270251ad085bacac SHA512 2f02487fffe8d1bc70c4454829bbd250a15fbd09db5ef85c54d3e8ad1008e84616ea54483292deae45047a27964e27b26d9b3da8447e7c37dac1e2ce18a63a07 diff --git a/app-crypt/rhash/files/rhash-1.3.9-nls.patch b/app-crypt/rhash/files/rhash-1.3.9-nls.patch deleted file mode 100644 index a6fb902676f..000 --- a/app-crypt/rhash/files/rhash-1.3.9-nls.patch +++ /dev/null @@ -1,22 +0,0 @@ -From a165520d3f63e976dd3b842c2fbb05f05f1029a8 Mon Sep 17 00:00:00 2001 -From: Aleksey -Date: Sun, 15 Dec 2019 03:35:09 +0300 -Subject: [PATCH] i18n: fix a string in uk.po by adding newline - - po/uk.po | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/po/uk.po b/po/uk.po -index 959e47a..d6c0b1d 100644 a/po/uk.po -+++ b/po/uk.po -@@ -234,7 +234,7 @@ msgstr "Перевірити хеш-файли, вказані у командн - - #: parse_cmdline.c:91 - msgid "Update the specified hash file.\n" --msgstr "Оновити вказаний хеш-файл" -+msgstr "Оновити вказаний хеш-файл.\n" - - #: parse_cmdline.c:92 - msgid "Rename files by inserting crc32 sum into name.\n" diff --git a/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch b/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch deleted file mode 100644 index a2052c67bbf..000 --- a/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch +++ /dev/null @@ -1,230 +0,0 @@ -diff --git a/ChangeLog b/ChangeLog -index 8537968..9724c9d 100644 a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,7 @@ -+Tue 07 Jan 2020 Aleksey -+ * Bugfix: restore behavior of 'rhash -rc' to be the same as in v1.3.8 -+ * Bugfix: fix a segfault and memory errors -+ - Sat 14 Dec 2019 Aleksey - * === Version 1.3.9 === - -diff --git a/calc_sums.c b/calc_sums.c -index a76c8c9..0f25224 100644 a/calc_sums.c -+++ b/calc_sums.c -@@ -535,6 +535,7 @@ int check_hash_file(file_t* file, int chdir) - log_error_msg_file_t(_("file is binary: %s\n"), file); - if (fd != stdin) - fclose(fd); -+ file_cleanup(_dir); - return -1; - } - -@@ -586,6 +587,7 @@ int check_hash_file(file_t* file, int chdir) - rhash_data.miss++; - rhash_data.processed++; - } -+ file_cleanup(_dir); - time = rsh_timer_stop(); - - if (res >= -1 && (rsh_fprintf(rhash_data.out, "%s\n", str_set(buf, '-', 80)) < 0 || -diff --git a/file.c b/file.c -index 6f593f9..2f0eb2a 100644 a/file.c -+++ b/file.c -@@ -266,7 +266,7 @@ static int detect_path_encoding(file_t* file, wchar_t* dir_path, const char* pri - int i; - assert(file && !file->real_path); - file->mode &= ~FileMaskStatBits; -- if (!dir_path && ascii) -+ if (ascii) - file->mode |= FileIsAsciiPrintPath; - /* detect encoding in two or four steps */ - for (i = 0; i < 4; i += step) { -@@ -333,45
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/files/, app-crypt/rhash/
commit: f2e931ec5a047e3b15981c02147a42449c101804 Author: Louis Sautier gentoo org> AuthorDate: Wed Jan 8 14:07:10 2020 + Commit: Louis Sautier gentoo org> CommitDate: Wed Jan 8 14:47:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2e931ec app-crypt/rhash: fix another problem with recursive checks Bug: https://github.com/rhash/RHash/issues/106 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Louis Sautier gentoo.org> .../rhash/files/rhash-1.3.9-rc-segfault.patch | 243 +++-- ...rhash-1.3.9-r1.ebuild => rhash-1.3.9-r2.ebuild} | 8 +- 2 files changed, 229 insertions(+), 22 deletions(-) diff --git a/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch b/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch index 90a1efecbb1..a2052c67bbf 100644 --- a/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch +++ b/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch @@ -1,25 +1,230 @@ -From 198e62063ed817357204284a15f95ffc7230044c Mon Sep 17 00:00:00 2001 -From: Aleksey -Date: Thu, 2 Jan 2020 21:16:51 +0300 -Subject: [PATCH] fix segfault on rhash -rc - - file.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - +diff --git a/ChangeLog b/ChangeLog +index 8537968..9724c9d 100644 +--- a/ChangeLog b/ChangeLog +@@ -1,3 +1,7 @@ ++Tue 07 Jan 2020 Aleksey ++ * Bugfix: restore behavior of 'rhash -rc' to be the same as in v1.3.8 ++ * Bugfix: fix a segfault and memory errors ++ + Sat 14 Dec 2019 Aleksey + * === Version 1.3.9 === + +diff --git a/calc_sums.c b/calc_sums.c +index a76c8c9..0f25224 100644 +--- a/calc_sums.c b/calc_sums.c +@@ -535,6 +535,7 @@ int check_hash_file(file_t* file, int chdir) + log_error_msg_file_t(_("file is binary: %s\n"), file); + if (fd != stdin) + fclose(fd); ++ file_cleanup(_dir); + return -1; + } + +@@ -586,6 +587,7 @@ int check_hash_file(file_t* file, int chdir) + rhash_data.miss++; + rhash_data.processed++; + } ++ file_cleanup(_dir); + time = rsh_timer_stop(); + + if (res >= -1 && (rsh_fprintf(rhash_data.out, "%s\n", str_set(buf, '-', 80)) < 0 || diff --git a/file.c b/file.c -index 6f593f9..0d18f45 100644 +index 6f593f9..2f0eb2a 100644 --- a/file.c +++ b/file.c -@@ -361,8 +361,9 @@ int file_init_by_print_path(file_t* file, file_t* prepend_dir, const char* print - const char* path = make_path(prepend_dir->real_path, print_path, 0); - file_init(file, path, init_flags & ~FileInitReusePath); +@@ -266,7 +266,7 @@ static int detect_path_encoding(file_t* file, wchar_t* dir_path, const char* pri + int i; + assert(file && !file->real_path); + file->mode &= ~FileMaskStatBits; +- if (!dir_path && ascii) ++ if (ascii) + file->mode |= FileIsAsciiPrintPath; + /* detect encoding in two or four steps */ + for (i = 0; i < 4; i += step) { +@@ -333,45 +333,39 @@ int file_init_by_print_path(file_t* file, file_t* prepend_dir, const char* print + #ifdef _WIN32 + { + const char** primary_path; +- const char* dir_primary_path; + wchar_t* dir_path = (prepend_dir && !IS_DOT_TSTR(prepend_dir->real_path) ? prepend_dir->real_path : NULL); + int encoding = detect_path_encoding(file, dir_path, print_path, init_flags); + if (encoding < 0) + return -1; + if (encoding == 0) { + primary_path = >print_path; +- dir_primary_path = (prepend_dir ? file_get_print_path(prepend_dir, FPathUtf8) : NULL); + } else { + primary_path = >native_path; +- dir_primary_path = (prepend_dir ? file_get_print_path(prepend_dir, FPathNative) : NULL); + } +- if ((!dir_primary_path || IS_DOT_TSTR(dir_primary_path)) && +- (init_flags & (FileInitReusePath | FileInitUpdatePrintPathLastSlash)) == FileInitReusePath) { ++ if ((init_flags & (FileInitReusePath | FileInitUpdatePrintPathLastSlash)) == FileInitReusePath) { + *primary_path = print_path; + file->mode |= (encoding == 0 ? FileDontFreePrintPath : FileDontFreeNativePath); + } else { +- *primary_path = make_path(dir_primary_path, print_path, 1); ++ *primary_path = rsh_strdup(print_path); + } +- return 0; + } + #else + if (!prepend_dir || IS_DOT_STR(prepend_dir->real_path)) { +- file_init(file, print_path, init_flags); ++ file_init(file, print_path, init_flags & (FileInitReusePath | FileMaskModeBits)); + } else { +- const char* path =
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/, app-crypt/rhash/files/
commit: b29a8eee6d90f689232342e632c2418421217649 Author: James Le Cuirot gentoo org> AuthorDate: Thu Jan 2 20:38:38 2020 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Jan 2 20:38:38 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b29a8eee app-crypt/rhash: Apply upstream patch to fix 1.3.9 -rc segfault Bug: https://github.com/rhash/RHash/issues/104 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: James Le Cuirot gentoo.org> .../rhash/files/rhash-1.3.9-rc-segfault.patch | 25 ++ .../{rhash-1.3.9.ebuild => rhash-1.3.9-r1.ebuild} | 3 ++- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch b/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch new file mode 100644 index 000..90a1efecbb1 --- /dev/null +++ b/app-crypt/rhash/files/rhash-1.3.9-rc-segfault.patch @@ -0,0 +1,25 @@ +From 198e62063ed817357204284a15f95ffc7230044c Mon Sep 17 00:00:00 2001 +From: Aleksey +Date: Thu, 2 Jan 2020 21:16:51 +0300 +Subject: [PATCH] fix segfault on rhash -rc + +--- + file.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/file.c b/file.c +index 6f593f9..0d18f45 100644 +--- a/file.c b/file.c +@@ -361,8 +361,9 @@ int file_init_by_print_path(file_t* file, file_t* prepend_dir, const char* print + const char* path = make_path(prepend_dir->real_path, print_path, 0); + file_init(file, path, init_flags & ~FileInitReusePath); + } +- if (!prepend_dir || IS_DOT_STR(prepend_dir->print_path) || +- (!prepend_dir->print_path && opt.path_separator != ALIEN_PATH_SEPARATOR)) { ++ if (!prepend_dir || (prepend_dir->print_path ? ++ IS_DOT_STR(prepend_dir->print_path) : ++ opt.path_separator != ALIEN_PATH_SEPARATOR)) { + if ((init_flags & FileInitReusePath) != 0) { + file->print_path = print_path; + file->mode |= FileDontFreePrintPath; diff --git a/app-crypt/rhash/rhash-1.3.9.ebuild b/app-crypt/rhash/rhash-1.3.9-r1.ebuild similarity index 95% rename from app-crypt/rhash/rhash-1.3.9.ebuild rename to app-crypt/rhash/rhash-1.3.9-r1.ebuild index 2d4c3303cd5..e203d68814e 100644 --- a/app-crypt/rhash/rhash-1.3.9.ebuild +++ b/app-crypt/rhash/rhash-1.3.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -32,6 +32,7 @@ S="${WORKDIR}/RHash-${PV}" PATCHES=( "${FILESDIR}"/${P}-nls.patch + "${FILESDIR}"/${P}-rc-segfault.patch ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/, app-crypt/rhash/files/
commit: eea541f489c6e763b3b68c127d7abea2d0ad26ee Author: James Le Cuirot gentoo org> AuthorDate: Fri Dec 27 22:11:15 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Dec 27 22:11:15 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea541f4 app-crypt/rhash: Version bump to 1.3.9 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest| 1 + app-crypt/rhash/files/rhash-1.3.9-nls.patch | 22 app-crypt/rhash/rhash-1.3.9.ebuild | 78 + 3 files changed, 101 insertions(+) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index cc4afd1859b..2e8665c315b 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,2 +1,3 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 DIST rhash-1.3.8-src.tar.gz 393544 BLAKE2B c326b3fa6dbc5ea2cce40105dc319456fdcc58140a05e8002bf1d92be921d8bbd27bf670370ba7cf2ff2001ff70ddbeb8efc9712869a7b215c5f51a5e493b5c9 SHA512 9dba4fa4dd49d323f2e440c5b93eac1ef62eb4046ec4ef611f0978c12c1739002f1ac1f1ec5e61bd359dc89e9ed612db71be91a795184ac5d5433280d27fa4c1 +DIST rhash-1.3.9-src.tar.gz 403415 BLAKE2B 49f3b9348485b83521f58fa1de30517b05a8265547cbec3276d89c42b46baccc4ea22d41638764600c76669308a5f7d9d3995b7cec51676c9f8492ba740e473c SHA512 6fae0587cdeb42df59d542c58bad734259d1ff39fba92531c10a469b51310644669ffbe0453e72d85c2cf38b176962f6dca9062a121ac019f1b30f207a176e60 diff --git a/app-crypt/rhash/files/rhash-1.3.9-nls.patch b/app-crypt/rhash/files/rhash-1.3.9-nls.patch new file mode 100644 index 000..a6fb902676f --- /dev/null +++ b/app-crypt/rhash/files/rhash-1.3.9-nls.patch @@ -0,0 +1,22 @@ +From a165520d3f63e976dd3b842c2fbb05f05f1029a8 Mon Sep 17 00:00:00 2001 +From: Aleksey +Date: Sun, 15 Dec 2019 03:35:09 +0300 +Subject: [PATCH] i18n: fix a string in uk.po by adding newline + +--- + po/uk.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/po/uk.po b/po/uk.po +index 959e47a..d6c0b1d 100644 +--- a/po/uk.po b/po/uk.po +@@ -234,7 +234,7 @@ msgstr "Перевірити хеш-файли, вказані у командн + + #: parse_cmdline.c:91 + msgid "Update the specified hash file.\n" +-msgstr "Оновити вказаний хеш-файл" ++msgstr "Оновити вказаний хеш-файл.\n" + + #: parse_cmdline.c:92 + msgid "Rename files by inserting crc32 sum into name.\n" diff --git a/app-crypt/rhash/rhash-1.3.9.ebuild b/app-crypt/rhash/rhash-1.3.9.ebuild new file mode 100644 index 000..2d4c3303cd5 --- /dev/null +++ b/app-crypt/rhash/rhash-1.3.9.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs multilib-minimal + +DESCRIPTION="Console utility and library for computing and verifying file hash sums" +HOMEPAGE="http://rhash.sourceforge.net/; +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="debug nls libressl ssl static-libs" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) +)" + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/RHash-${PV}" + +PATCHES=( + "${FILESDIR}"/${P}-nls.patch +) + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +# We would add compile-gmo to the build targets but install-gmo always +# recompiles unconditionally. :( + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(use nls
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 56c797771edc73357941619e4dbdd8d4d0132a21 Author: Göktürk Yüksek gentoo org> AuthorDate: Thu Jul 25 02:08:50 2019 + Commit: Göktürk Yüksek gentoo org> CommitDate: Mon Aug 5 23:54:13 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c79777 app-crypt/rhash: keyword for riscv Package-Manager: Portage-2.3.67, Repoman-2.3.12 RepoMan-Options: --include-arches="riscv" Signed-off-by: Göktürk Yüksek gentoo.org> app-crypt/rhash/rhash-1.3.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.8.ebuild b/app-crypt/rhash/rhash-1.3.8.ebuild index d90710484a0..37f7ea0d0dd 100644 --- a/app-crypt/rhash/rhash-1.3.8.ebuild +++ b/app-crypt/rhash/rhash-1.3.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: be3709408b3225184ac1b420a1fb993c0a0b04ce Author: James Le Cuirot gentoo org> AuthorDate: Sun Aug 4 18:40:37 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Aug 4 18:41:51 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be370940 app-crypt/rhash: Drop old 1.3.7 Package-Manager: Portage-2.3.70, Repoman-2.3.16 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 - app-crypt/rhash/rhash-1.3.7.ebuild | 77 -- 2 files changed, 78 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index d06bfdcfc68..cc4afd1859b 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,3 +1,2 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 -DIST rhash-1.3.7-src.tar.gz 362981 BLAKE2B bc248e0dcdf2337e46292f1bcdff0ce027705679ab937c8aa13139226bc09f3815ba23d8383f624dfba255c54378473f6b0b28a710611cdc83150055b8d649d0 SHA512 182f474b0f0a39f9e0adb7e34fcc5ddca6f00e75d7cf6b846da33af166257b2ed38be70aa71e6732c4e6cbdd156712790b8bc5340933b65f3ce57269835d1585 DIST rhash-1.3.8-src.tar.gz 393544 BLAKE2B c326b3fa6dbc5ea2cce40105dc319456fdcc58140a05e8002bf1d92be921d8bbd27bf670370ba7cf2ff2001ff70ddbeb8efc9712869a7b215c5f51a5e493b5c9 SHA512 9dba4fa4dd49d323f2e440c5b93eac1ef62eb4046ec4ef611f0978c12c1739002f1ac1f1ec5e61bd359dc89e9ed612db71be91a795184ac5d5433280d27fa4c1 diff --git a/app-crypt/rhash/rhash-1.3.7.ebuild b/app-crypt/rhash/rhash-1.3.7.ebuild deleted file mode 100644 index e179038547c..000 --- a/app-crypt/rhash/rhash-1.3.7.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" -IUSE="debug nls libressl ssl static-libs" - -RDEPEND=" - ssl? ( - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) -)" - -DEPEND=" - ${RDEPEND} -" - -BDEPEND=" - nls? ( sys-devel/gettext ) -" - -S="${WORKDIR}/RHash-${PV}" - -src_prepare() { - default - # fix Solaris detection, upstream: - # https://github.com/rhash/RHash/pull/81 - sed -i -e 's/sunos)/solaris2.*)/' configure || die - multilib_copy_sources -} - -multilib_src_configure() { - set -- \ - ./configure \ - --target="${CHOST}" \ - --cc="$(tc-getCC)" \ - --ar="$(tc-getAR)" \ - --extra-cflags="${CFLAGS}" \ - --extra-ldflags="${LDFLAGS}" \ - --prefix="${EPREFIX}"/usr \ - --libdir="${EPREFIX}"/usr/$(get_libdir) \ - --sysconfdir="${EPREFIX}"/etc \ - --disable-openssl-runtime \ - --disable-static \ - --enable-lib-shared \ - $(use_enable debug) \ - $(use_enable nls gettext) \ - $(use_enable ssl openssl) \ - $(use_enable static-libs lib-static) - - echo "${@}" - "${@}" || die "configure failed" -} - -# We would add compile-gmo to the build targets but install-gmo always -# recompiles unconditionally. :( - -multilib_src_install() { - # -j1 needed due to race condition. - emake DESTDIR="${D}" -j1 \ - install{,-lib-headers,-pkg-config} \ - $(use nls && echo install-gmo) \ - $(use kernel_Winnt || echo install-lib-so-link) -} - -multilib_src_test() { - emake test -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 08b98eae25ed4dc6d2c1af6749b172231cd3f5fd Author: Michael Haubenwallner gentoo org> AuthorDate: Wed Jun 12 07:15:38 2019 + Commit: Michael Haubenwallner gentoo org> CommitDate: Thu Jun 13 13:07:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b98eae app-crypt/rhash: fix configure for Cygwin Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner gentoo.org> app-crypt/rhash/rhash-1.3.8.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-crypt/rhash/rhash-1.3.8.ebuild b/app-crypt/rhash/rhash-1.3.8.ebuild index e179038547c..4f5348c2244 100644 --- a/app-crypt/rhash/rhash-1.3.8.ebuild +++ b/app-crypt/rhash/rhash-1.3.8.ebuild @@ -35,6 +35,9 @@ src_prepare() { # fix Solaris detection, upstream: # https://github.com/rhash/RHash/pull/81 sed -i -e 's/sunos)/solaris2.*)/' configure || die + # fix Cygwin detection, upstream: + # https://github.com/rhash/RHash/pull/89 + sed -i -e '/TARGET_OS=Darwin/acygwin*) TARGET_OS=CYGWIN ;;' configure || die multilib_copy_sources }
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 6834bcd3ed9ebec88e3bc658112f56436340a320 Author: Michael Haubenwallner gentoo org> AuthorDate: Wed Jun 12 17:05:45 2019 + Commit: Michael Haubenwallner gentoo org> CommitDate: Thu Jun 13 13:07:29 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6834bcd3 app-crypt/rhash: add ~x64-cygwin keyword Package-Manager: Portage-2.3.66, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner gentoo.org> app-crypt/rhash/rhash-1.3.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.8.ebuild b/app-crypt/rhash/rhash-1.3.8.ebuild index 4f5348c2244..39687089db1 100644 --- a/app-crypt/rhash/rhash-1.3.8.ebuild +++ b/app-crypt/rhash/rhash-1.3.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: d313c0b00f13e307b6e24eb202a63c300c7a8f80 Author: Fabian Groffen gentoo org> AuthorDate: Mon Jan 14 18:30:55 2019 + Commit: Fabian Groffen gentoo org> CommitDate: Mon Jan 14 18:32:19 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d313c0b0 app-crypt/rhash: fix configure for Solaris Signed-off-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 app-crypt/rhash/rhash-1.3.7.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-crypt/rhash/rhash-1.3.7.ebuild b/app-crypt/rhash/rhash-1.3.7.ebuild index 52b9332ac35..e179038547c 100644 --- a/app-crypt/rhash/rhash-1.3.7.ebuild +++ b/app-crypt/rhash/rhash-1.3.7.ebuild @@ -32,6 +32,9 @@ S="${WORKDIR}/RHash-${PV}" src_prepare() { default + # fix Solaris detection, upstream: + # https://github.com/rhash/RHash/pull/81 + sed -i -e 's/sunos)/solaris2.*)/' configure || die multilib_copy_sources }
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 2c865c6822abba29cedeeb4b6838b362150c548f Author: James Le Cuirot gentoo org> AuthorDate: Sun Jan 13 20:01:45 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Jan 13 20:01:45 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c865c68 app-crypt/rhash: Fix 1.3.7 dependencies for EAPI 7 Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/rhash-1.3.7.ebuild | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.7.ebuild b/app-crypt/rhash/rhash-1.3.7.ebuild index b23f1bd9ec7..52b9332ac35 100644 --- a/app-crypt/rhash/rhash-1.3.7.ebuild +++ b/app-crypt/rhash/rhash-1.3.7.ebuild @@ -20,8 +20,13 @@ RDEPEND=" libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext )" +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + nls? ( sys-devel/gettext ) +" S="${WORKDIR}/RHash-${PV}"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: d8bfaf0dae25f46f7806211690b9d8f6dbc86ea9 Author: James Le Cuirot gentoo org> AuthorDate: Sun Jan 13 16:35:26 2019 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Jan 13 16:35:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8bfaf0d app-crypt/rhash: Version bump to 1.3.7 Package-Manager: Portage-2.3.55, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> app-crypt/rhash/Manifest | 1 + app-crypt/rhash/rhash-1.3.7.ebuild | 69 ++ 2 files changed, 70 insertions(+) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index fb9fb020df9..f83ea66c4fd 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1 +1,2 @@ DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 +DIST rhash-1.3.7-src.tar.gz 362981 BLAKE2B bc248e0dcdf2337e46292f1bcdff0ce027705679ab937c8aa13139226bc09f3815ba23d8383f624dfba255c54378473f6b0b28a710611cdc83150055b8d649d0 SHA512 182f474b0f0a39f9e0adb7e34fcc5ddca6f00e75d7cf6b846da33af166257b2ed38be70aa71e6732c4e6cbdd156712790b8bc5340933b65f3ce57269835d1585 diff --git a/app-crypt/rhash/rhash-1.3.7.ebuild b/app-crypt/rhash/rhash-1.3.7.ebuild new file mode 100644 index 000..b23f1bd9ec7 --- /dev/null +++ b/app-crypt/rhash/rhash-1.3.7.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="debug nls libressl ssl static-libs" + +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) +)" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +S="${WORKDIR}/RHash-${PV}" + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + set -- \ + ./configure \ + --target="${CHOST}" \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable ssl openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +# We would add compile-gmo to the build targets but install-gmo always +# recompiles unconditionally. :( + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-headers,-pkg-config} \ + $(use nls && echo install-gmo) \ + $(use kernel_Winnt || echo install-lib-so-link) +} + +multilib_src_test() { + emake test +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: d72751d2879609a8d64dd2eb13ecb16c8be091ca Author: Michael Haubenwallner gentoo org> AuthorDate: Wed Jan 9 15:11:26 2019 + Commit: Michael Haubenwallner gentoo org> CommitDate: Wed Jan 9 15:12:06 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d72751d2 app-crypt/rhash: mark ~x86-linux Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Michael Haubenwallner gentoo.org> app-crypt/rhash/rhash-1.3.6-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index bf08f69614a..bc4994b4b6e 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 41631c4440f4b30369c7028a0da09f3f8386217d Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Dec 1 15:03:25 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Dec 1 15:05:04 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41631c44 app-crypt/rhash: stable 1.3.6-r1 for hppa, bug #663198 Package-Manager: Portage-2.3.52, Repoman-2.3.12 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 72cd656e1cd..bf08f69614a 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: dab4a1002ed9513400fc6fbddd28ac9c36ff5b8a Author: Rolf Eike Beer sf-mail de> AuthorDate: Tue Nov 13 20:17:26 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 13 20:22:54 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dab4a100 app-crypt/rhash: stable 1.3.6-r1 for sparc, bug #663198 Signed-off-by: Rolf Eike Beer sf-mail.de> Package-Manager: Portage-2.3.51, Repoman-2.3.11 RepoMan-Options: --include-arches="sparc" Signed-off-by: Sergei Trofimovich gentoo.org> app-crypt/rhash/rhash-1.3.6-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 96a05fea252..72cd656e1cd 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: e044bff1bf18b64fad6e2eb7485d624712b82c8a Author: James Le Cuirot gentoo org> AuthorDate: Thu Sep 13 21:34:44 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Sep 13 21:34:44 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e044bff1 app-crypt/rhash: Drop old 1.3.5 hppa and sparc should stabilise 1.3.6 to prevent depgraph breakage. Package-Manager: Portage-2.3.49, Repoman-2.3.10 app-crypt/rhash/Manifest | 1 - app-crypt/rhash/rhash-1.3.5.ebuild | 94 -- 2 files changed, 95 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index f3404d7c099..fb9fb020df9 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,2 +1 @@ -DIST rhash-1.3.5-src.tar.gz 316867 BLAKE2B 3ffbf2ec5aef24ef63455e21c3efcae043a321a78be522a26bd25086111430071a496ab3775ff9b4956da7304df8d8e552a061f3306a7a683be5fc65ea3fd1c4 SHA512 e8450aab0c16bfb975bf4aeee218740fb4d86d5514e426b70c3edb84e4d63865cd4051939aa95c24a87a78baaedc49e40bb509b2610e89ca3745930808b3ef6c DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild deleted file mode 100644 index b086054c04a..000 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2018 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 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" -IUSE="debug nls libressl ssl static-libs" - -RDEPEND=" - ssl? ( - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) - libressl? ( dev-libs/libressl: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 use elibc_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 use elibc_SunOS ; 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 ssl && echo -DOPENSSL_RUNTIME -rdynamic) - ) - - local ADDLDFLAGS=( - $(use ssl && echo -ldl) - ) - - use elibc_Darwin || use elibc_DragonFly || use elibc_FreeBSD || - use elibc_NetBSD || use elibc_OpenBSD || use elibc_SunOS && - 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" -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 4000c8ce8fe3ccd907c5bd6ddbdd6d607c13cd93 Author: Tobias Klausmann gentoo org> AuthorDate: Thu Sep 13 19:22:23 2018 + Commit: Tobias Klausmann gentoo org> CommitDate: Thu Sep 13 19:23:12 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4000c8ce app-crypt/rhash-1.3.6-r1: alpha stable Gentoo-Bug: http://bugs.gentoo.org/663198 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index c3e0ea290eb..96a05fea252 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 8f8db0490ce1ab53f2f42330acd7d8224cf55a35 Author: Mart Raudsepp gentoo org> AuthorDate: Tue Aug 21 10:00:54 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Tue Aug 21 10:05:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f8db049 app-crypt/rhash-1.3.6-r1: arm64 stable (bug #663198) Package-Manager: Portage-2.3.48, Repoman-2.3.10 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 6c09111247b..c3e0ea290eb 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 862f70f670e60269a1d5ccd5ef4d2572cdd6c6f2 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Aug 17 00:33:19 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Aug 17 00:33:19 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=862f70f6 app-crypt/rhash: restore s390 stable keyword Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 745448db5b7..6c09111247b 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 s390 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: e83d12da56331d6f6bf331785332bc922a825f85 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Aug 17 00:32:17 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Aug 17 00:32:17 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83d12da app-crypt/rhash: arm stable wrt bug #663198 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 719c158b9e2..745448db5b7 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 2f2df6a3d38ed7dc09a93f8bab83642a5be45110 Author: Thomas Deutschmann gentoo org> AuthorDate: Thu Aug 16 00:13:43 2018 + Commit: Thomas Deutschmann gentoo org> CommitDate: Thu Aug 16 00:13:43 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f2df6a3 app-crypt/rhash: x86 stable (bug #663198) Package-Manager: Portage-2.3.46, Repoman-2.3.10 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index f8706452933..719c158b9e2 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: c0705c519d74cc59158edd5197653c754603ce8f Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Aug 11 18:43:07 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Aug 11 18:43:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0705c51 app-crypt/rhash: stable 1.3.6-r1 for ppc, bug #663198 Package-Manager: Portage-2.3.45, Repoman-2.3.10 RepoMan-Options: --include-arches="ppc" app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 9b82a8aeb19..f8706452933 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 73c6df058271b53568b1badef0f5179aeea491bc Author: Mikle Kolyada gentoo org> AuthorDate: Wed Aug 8 22:03:27 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Wed Aug 8 22:03:27 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73c6df05 app-crypt/rhash: amd64 stable wrt bug #663198 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 24efa670541..b2d4ec528a7 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/files/, app-crypt/rhash/
commit: 1cdc359aa073e986fe37a90047701e541612ca72 Author: James Le Cuirot gentoo org> AuthorDate: Wed Aug 8 23:10:13 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Aug 8 23:10:13 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cdc359a app-crypt/rhash: Fix triplet issues and restore fbsd/macos keywords I was waiting for upstream to release the fix but that is taking a while so I've patched it. Closes: https://bugs.gentoo.org/651334 Package-Manager: Portage-2.3.45, Repoman-2.3.10 app-crypt/rhash/files/darwin-triplet.patch | 23 +++ app-crypt/rhash/files/freebsd-triplet.patch | 23 +++ app-crypt/rhash/rhash-1.3.6-r1.ebuild | 3 ++- 3 files changed, 48 insertions(+), 1 deletion(-) diff --git a/app-crypt/rhash/files/darwin-triplet.patch b/app-crypt/rhash/files/darwin-triplet.patch new file mode 100644 index 000..49b7e121d81 --- /dev/null +++ b/app-crypt/rhash/files/darwin-triplet.patch @@ -0,0 +1,23 @@ +From 35a830d1968465e4ecb079273f032b754bac6c66 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Sun, 25 Mar 2018 17:40:49 +0100 +Subject: [PATCH] configure: Add target OS clause for Darwin + +These triplets can also have a version number suffix, for example, +x86_64-apple-darwin16. +--- + configure | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure b/configure +index 5b6b710..2d8ac42 100755 +--- a/configure b/configure +@@ -410,6 +410,7 @@ else + amigaos) TARGET_OS=AmigaOS ;; + mingw32*) TARGET_OS=MINGW32 ;; + wine) TARGET_OS=Wine ;; ++ darwin*) TARGET_OS=Darwin ;; + esac + } + TARGET_OS="UNKNOWN" diff --git a/app-crypt/rhash/files/freebsd-triplet.patch b/app-crypt/rhash/files/freebsd-triplet.patch new file mode 100644 index 000..94b615824be --- /dev/null +++ b/app-crypt/rhash/files/freebsd-triplet.patch @@ -0,0 +1,23 @@ +From 14db7f9ee87e05450853ba0e1d8e83cc34aef3e4 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot +Date: Sat, 24 Mar 2018 13:51:56 + +Subject: [PATCH] configure: Match FreeBSD triplets with versions + +Triplets such as x86_64-unknown-freebsd11.1 are common. +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index 8ebb929..5b6b710 100755 +--- a/configure b/configure +@@ -398,7 +398,7 @@ else + part=$(echo $BUILD_TARGET | cut -d '-' -f $component) + case "$(echo $part | tr '[A-Z]' '[a-z]')" in + linux) TARGET_OS=Linux ;; +- freebsd) TARGET_OS=FreeBSD ;; ++ freebsd*) TARGET_OS=FreeBSD ;; + gnu/kfreebsd) TARGET_OS=FreeBSD ;; + netbsd) TARGET_OS=NetBSD ;; + bsd/os) TARGET_OS=BSD/OS ;; diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index b2d4ec528a7..71e3618548a 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND=" @@ -28,6 +28,7 @@ S="${WORKDIR}/RHash-${PV}" PATCHES=( "${FILESDIR}"/unquote-cc.patch "${FILESDIR}"/${P}-no_echon.patch + "${FILESDIR}"/{freebsd,darwin}-triplet.patch ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: b3eacb432b0f61afa7bce250a21ee1c2a3f5 Author: Mikle Kolyada gentoo org> AuthorDate: Sun Jun 3 17:59:10 2018 + Commit: Mikle Kolyada gentoo org> CommitDate: Sun Jun 3 17:59:10 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3eacb43 app-crypt/rhash: mark s390 stable Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index dd34f36efb7..b086054c04a 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls libressl ssl static-libs" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 4582b31ed2cf4323040ccea113a59009ce46fb06 Author: Aaron Bauman gentoo org> AuthorDate: Sat Apr 28 22:26:22 2018 + Commit: Aaron Bauman gentoo org> CommitDate: Sat Apr 28 22:27:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4582b31e app-crypt/rhash: add LibreSSL support Package-Manager: Portage-2.3.31, Repoman-2.3.9 app-crypt/rhash/metadata.xml | 3 --- app-crypt/rhash/rhash-1.3.5.ebuild| 12 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 10 +++--- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/app-crypt/rhash/metadata.xml b/app-crypt/rhash/metadata.xml index 7852b7af67d..a6651d883c4 100644 --- a/app-crypt/rhash/metadata.xml +++ b/app-crypt/rhash/metadata.xml @@ -10,9 +10,6 @@ rhash/RHash https://github.com/rhash/RHash/issues - - Add support for hashes from dev-libs/openssl - RHash is a console utility for calculation and verification of magnet links and a wide range of hash sums like CRC32, MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R 34.11-94, RIPEMD-160, HAS-160, EDON-R, Whirlpool and Snefru. diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index e7fcbe0474f..dd34f36efb7 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -12,9 +12,13 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" -IUSE="debug nls openssl static-libs" +IUSE="debug nls libressl ssl static-libs" -RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) +)" DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" @@ -50,11 +54,11 @@ multilib_src_compile() { local ADDCFLAGS=( $(use debug || echo -DNDEBUG) $(use nls && echo -DUSE_GETTEXT) - $(use openssl && echo -DOPENSSL_RUNTIME -rdynamic) + $(use ssl && echo -DOPENSSL_RUNTIME -rdynamic) ) local ADDLDFLAGS=( - $(use openssl && echo -ldl) + $(use ssl && echo -ldl) ) use elibc_Darwin || use elibc_DragonFly || use elibc_FreeBSD || diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index f5d9f3796fa..24efa670541 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -12,9 +12,13 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x64-solaris ~x86-solaris" -IUSE="debug nls openssl static-libs" +IUSE="debug nls libressl ssl static-libs" -RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" +RDEPEND=" + ssl? ( + !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] ) + libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) +)" DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" @@ -47,7 +51,7 @@ multilib_src_configure() { --enable-lib-shared \ $(use_enable debug) \ $(use_enable nls gettext) \ - $(use_enable openssl) \ + $(use_enable ssl openssl) \ $(use_enable static-libs lib-static) echo "${@}"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 7fb66e11dc6fedc27a430c0f4cfe1fcce5669c0b Author: James Le Cuirot gentoo org> AuthorDate: Sun Mar 25 18:53:04 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Mar 25 18:53:04 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fb66e11 app-crypt/rhash: Drop macos prefix keywords from 1.3.6 It doesn't handle Darwin as an explicitly stated target. This will be fixed in the next release. Bug: https://bugs.gentoo.org/651334 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index b51d7d7fab8..f5d9f3796fa 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: d5e0b565a6a129b1d0645539f1a131f172e9ce14 Author: Michał Górny gentoo org> AuthorDate: Sat Mar 24 08:22:21 2018 + Commit: Michał Górny gentoo org> CommitDate: Sat Mar 24 08:28:34 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e0b565 app-crypt/rhash: Remove *-fbsd keywords from 1.3.6-r1 Bug: https://bugs.gentoo.org/651334 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index 69f97e6e47a..b51d7d7fab8 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 00de856ef8bed699cf27efa738c705d929e2786e Author: Marty E. Plummer startmail com> AuthorDate: Thu Mar 22 07:55:12 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Mar 22 21:06:05 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00de856e app-crypt/rhash: pass --target=${CHOST} to configure Without this change, app-crypt/rhash when built with a mingw-w64 crossdev toolchain ends up with the various rhash binaries being PE32 binaries without an '*.exe' extension and librhash having a '*.so' extension, also a PE32 library, and no import library ('*.dll.a'). Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7548 app-crypt/rhash/rhash-1.3.6-r1.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.6-r1.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild index affa8241147..69f97e6e47a 100644 --- a/app-crypt/rhash/rhash-1.3.6-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -34,6 +34,7 @@ src_prepare() { multilib_src_configure() { set -- \ ./configure \ + --target="${CHOST}" \ --cc="$(tc-getCC)" \ --ar="$(tc-getAR)" \ --extra-cflags="${CFLAGS}" \ @@ -59,8 +60,9 @@ multilib_src_configure() { multilib_src_install() { # -j1 needed due to race condition. emake DESTDIR="${D}" -j1 \ - install{,-lib-so-link,-pkg-config} \ - $(use nls && echo install-gmo) + install{,-pkg-config} \ + $(use nls && echo install-gmo) \ + $(use kernel_Winnt || echo install-lib-so-link) emake DESTDIR="${D}" -j1 \ -C lib${PN} install-headers
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/, app-crypt/rhash/files/
commit: 8659d46e313acd4bbc5515ab9e92a58a22064a69 Author: James Le Cuirot gentoo org> AuthorDate: Mon Mar 19 10:30:47 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Mon Mar 19 10:31:44 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8659d46e app-crypt/rhash: Fix missing headers and dash issue I swear it installed the headers without this line at least some of the time. Yay for custom build systems. Closes: https://bugs.gentoo.org/650840 Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-crypt/rhash/files/rhash-1.3.6-no_echon.patch | 54 ++ .../{rhash-1.3.6.ebuild => rhash-1.3.6-r1.ebuild} | 4 ++ 2 files changed, 58 insertions(+) diff --git a/app-crypt/rhash/files/rhash-1.3.6-no_echon.patch b/app-crypt/rhash/files/rhash-1.3.6-no_echon.patch new file mode 100644 index 000..9b25b29a89f --- /dev/null +++ b/app-crypt/rhash/files/rhash-1.3.6-no_echon.patch @@ -0,0 +1,54 @@ +From c1776248a0b34a690e99ab9a7a814c34f78088ec Mon Sep 17 00:00:00 2001 +From: Lars Wendler+Date: Mon, 19 Mar 2018 10:47:13 +0100 +Subject: [PATCH] "echo -n" cannot be expected to work with every POSIX shell + +See "man 1p echo" section APPLICATION USAGE. This patch replaces "echo -n" +with "printf '%s'". +--- + configure | 15 ++- + 1 file changed, 2 insertions(+), 13 deletions(-) + +diff --git a/configure b/configure +index f480f7b..2a7d485 100755 +--- a/configure b/configure +@@ -22,17 +22,6 @@ INSTALL_LIB_STATIC=auto + INSTALL_LIB_SHARED=auto + INSTALL_PKGCONFIGDIR="$PKG_INSTALLDIR" + +-case $(echo -n) in +- -n) # SysV style +-ECHO_N= +-ECHO_C='\c' +-;; +- *) # BSD style +-ECHO_N='-n ' +-ECHO_C= +-;; +-esac +- + # display error message and exit + die () { + echo +@@ -235,7 +224,7 @@ trap remove_tmpdir EXIT + + str_concat() + { +- echo ${ECHO_N} $@ ${ECHO_C} ++ printf '%s ' $@ + } + + yn_nonempty() +@@ -246,7 +235,7 @@ yn_nonempty() + # Use this before starting a check + start_check() { + echo " Checking for $1 " >> "$TMPLOG" +- echo ${ECHO_N} "Checking for $1 ... ${ECHO_C}" ++ printf '%s' "Checking for $1 ... " + res_comment="" + } + +-- +2.16.2 + diff --git a/app-crypt/rhash/rhash-1.3.6.ebuild b/app-crypt/rhash/rhash-1.3.6-r1.ebuild similarity index 94% rename from app-crypt/rhash/rhash-1.3.6.ebuild rename to app-crypt/rhash/rhash-1.3.6-r1.ebuild index 5680b2872ad..affa8241147 100644 --- a/app-crypt/rhash/rhash-1.3.6.ebuild +++ b/app-crypt/rhash/rhash-1.3.6-r1.ebuild @@ -23,6 +23,7 @@ S="${WORKDIR}/RHash-${PV}" PATCHES=( "${FILESDIR}"/unquote-cc.patch + "${FILESDIR}"/${P}-no_echon.patch ) src_prepare() { @@ -60,6 +61,9 @@ multilib_src_install() { emake DESTDIR="${D}" -j1 \ install{,-lib-so-link,-pkg-config} \ $(use nls && echo install-gmo) + + emake DESTDIR="${D}" -j1 \ + -C lib${PN} install-headers } multilib_src_test() {
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/files/, app-crypt/rhash/
commit: 2350d67513c290b62f755812407d3d4ffbab2ea2 Author: James Le Cuirot gentoo org> AuthorDate: Sun Mar 18 20:25:08 2018 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Mar 18 21:03:23 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2350d675 app-crypt/rhash: Version bump to 1.3.6, new build system The static Makefiles are now complemented with a hand-written configure script. :| On the plus side, it does at least deal with all the portability issues we had to hack around before. Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-crypt/rhash/Manifest | 1 + app-crypt/rhash/files/unquote-cc.patch | 26 + app-crypt/rhash/rhash-1.3.6.ebuild | 67 ++ 3 files changed, 94 insertions(+) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 8c56d4aa6cb..f3404d7c099 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1 +1,2 @@ DIST rhash-1.3.5-src.tar.gz 316867 BLAKE2B 3ffbf2ec5aef24ef63455e21c3efcae043a321a78be522a26bd25086111430071a496ab3775ff9b4956da7304df8d8e552a061f3306a7a683be5fc65ea3fd1c4 SHA512 e8450aab0c16bfb975bf4aeee218740fb4d86d5514e426b70c3edb84e4d63865cd4051939aa95c24a87a78baaedc49e40bb509b2610e89ca3745930808b3ef6c +DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6 diff --git a/app-crypt/rhash/files/unquote-cc.patch b/app-crypt/rhash/files/unquote-cc.patch new file mode 100644 index 000..77ccc9b2c5f --- /dev/null +++ b/app-crypt/rhash/files/unquote-cc.patch @@ -0,0 +1,26 @@ +From 4558d6753611ab1bf21765017e5b451aee8409f6 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot+Date: Sun, 18 Mar 2018 14:23:28 + +Subject: [PATCH] configure: Don't quote $CC when calling it + +It might have additional arguments. +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index f480f7b..8ebb929 100755 +--- a/configure b/configure +@@ -480,7 +480,7 @@ if test "$(basename $CC)" = "icc" || test "$(basename $CC)" = "ecc"; then + else + CC_TMP="$CC" + for CC in "$CC_TMP" gcc cc ; do +-if "$CC" -v >/dev/null 2>&1; then ++if $CC -v >/dev/null 2>&1; then + cc_name_tmp=$($CC -v 2>&1 | tail -n 1 | cut -d ' ' -f 1) + if test "$cc_name_tmp" = "gcc"; then + cc_name=$cc_name_tmp +-- +2.16.1 + diff --git a/app-crypt/rhash/rhash-1.3.6.ebuild b/app-crypt/rhash/rhash-1.3.6.ebuild new file mode 100644 index 000..5680b2872ad --- /dev/null +++ b/app-crypt/rhash/rhash-1.3.6.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 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 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~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}" + +PATCHES=( + "${FILESDIR}"/unquote-cc.patch +) + +src_prepare() { + default + multilib_copy_sources +} + +multilib_src_configure() { + set -- \ + ./configure \ + --cc="$(tc-getCC)" \ + --ar="$(tc-getAR)" \ + --extra-cflags="${CFLAGS}" \ + --extra-ldflags="${LDFLAGS}" \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --sysconfdir="${EPREFIX}"/etc \ + --disable-openssl-runtime \ + --disable-static \ + --enable-lib-shared \ + $(use_enable debug) \ + $(use_enable nls gettext) \ + $(use_enable openssl) \ + $(use_enable static-libs lib-static) + + echo "${@}" + "${@}" || die "configure failed" +} + +# We would add compile-gmo to the build targets but install-gmo always +# recompiles unconditionally. :( + +multilib_src_install() { + # -j1 needed due to race condition. + emake DESTDIR="${D}" -j1 \ + install{,-lib-so-link,-pkg-config} \ + $(use nls && echo install-gmo) +} + +multilib_src_test() { + emake test +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: d804f4a1333b1d2d183055203765d39a87691b90 Author: Mart Raudsepp gentoo org> AuthorDate: Fri Mar 2 16:07:36 2018 + Commit: Mart Raudsepp gentoo org> CommitDate: Fri Mar 2 16:08:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d804f4a1 app-crypt/rhash-1.3.5: arm64 stable (bug #642236) Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 78777033f09..e7fcbe0474f 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 98be570503f9f68c94ba03ca5b5c20b7f4c30019 Author: Fabian Groffen gentoo org> AuthorDate: Tue Jan 9 07:56:04 2018 + Commit: Fabian Groffen gentoo org> CommitDate: Tue Jan 9 07:56:26 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98be5705 app-crypt/rhash: marked ~ppc-macos Package-Manager: Portage-2.3.13, Repoman-2.3.3 app-crypt/rhash/rhash-1.3.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 20e99bca413..78777033f09 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 448f6f4f5bc925e2a8dc86db7d7e00c210623304 Author: Markus Meier gentoo org> AuthorDate: Tue Dec 5 05:43:38 2017 + Commit: Markus Meier gentoo org> CommitDate: Tue Dec 5 05:43:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=448f6f4f app-crypt/rhash: arm stable, bug #634088 Package-Manager: Portage-2.3.13, Repoman-2.3.3 RepoMan-Options: --include-arches="arm" app-crypt/rhash/Manifest | 2 +- app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index ab38da2d6f0..8c56d4aa6cb 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1 +1 @@ -DIST rhash-1.3.5-src.tar.gz 316867 SHA256 98e0688acae29e68c298ffbcdbb0f838864105f9b2bd8857980664435b1f1f2e SHA512 e8450aab0c16bfb975bf4aeee218740fb4d86d5514e426b70c3edb84e4d63865cd4051939aa95c24a87a78baaedc49e40bb509b2610e89ca3745930808b3ef6c WHIRLPOOL 80540e96b554fad8c18da431677a0bdc361f7c406b746050bd25ad0b2eeb9d318f1ef0d87ef002d8b8c6fa7db6d789391115358a1676358afd478564d193b229 +DIST rhash-1.3.5-src.tar.gz 316867 BLAKE2B 3ffbf2ec5aef24ef63455e21c3efcae043a321a78be522a26bd25086111430071a496ab3775ff9b4956da7304df8d8e552a061f3306a7a683be5fc65ea3fd1c4 SHA512 e8450aab0c16bfb975bf4aeee218740fb4d86d5514e426b70c3edb84e4d63865cd4051939aa95c24a87a78baaedc49e40bb509b2610e89ca3745930808b3ef6c diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 652f9018070..20e99bca413 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: dffa7c60651ce153e42a90b65a3046e46691ab69 Author: Yuta Satoh gmail com> AuthorDate: Sun Nov 26 16:05:41 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Sun Nov 26 17:05:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dffa7c60 app-crypt/rhash: add ~amd64-fbsd, ~x86-fbsd KEYWORDS Package-Manager: Portage-2.3.13, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/6307 app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index ae45a3261d4..652f9018070 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: be2e6ac351322f777a560dfc295d55ed6a2931f5 Author: James Le Cuirot gentoo org> AuthorDate: Wed Nov 8 21:33:16 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Nov 8 21:33:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be2e6ac3 app-crypt/rhash: Remove old 1.3.4 Package-Manager: Portage-2.3.13, Repoman-2.3.4 app-crypt/rhash/Manifest | 1 - app-crypt/rhash/rhash-1.3.4.ebuild | 90 -- 2 files changed, 91 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index 9146021ff95..ab38da2d6f0 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1,2 +1 @@ -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.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild deleted file mode 100644 index 4a7b49a21d5..000 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# 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 ~sparc ~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 )" - -src_prepare() { - default - - # Exit on test failure or src_test will always succeed. - sed -i "s/return 1/exit 1/g" tests/test_rhash.sh || die - - # 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" -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: f1001e74dfa6be6f06098f49f2ec48e6747a1f3c Author: Michael Palimaka gentoo org> AuthorDate: Mon Oct 23 12:29:13 2017 + Commit: Michael Palimaka gentoo org> CommitDate: Mon Oct 23 12:30:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1001e74 app-crypt/rhash: stabilise 1.3.5 for x86 Bug: https://bugs.gentoo.org/634088 Package-Manager: Portage-2.3.8, Repoman-2.3.3 app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 381e852a6f7..ae45a3261d4 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc 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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 7c53253bc0c1cc4b36ab96230b025f681146e7b0 Author: Tobias Klausmann gentoo org> AuthorDate: Sat Oct 21 12:56:59 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Sat Oct 21 13:25:06 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c53253b app-crypt/rhash-1.3.5-r0: alpha stable Gentoo-Bug: http://bugs.gentoo.org/634088 app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 73393cc589e..381e852a6f7 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: ac06cf1c03a859c03724b196255eda2ed7f083d0 Author: Manuel Rüger gentoo org> AuthorDate: Sun Oct 15 22:24:37 2017 + Commit: Manuel Rüger gentoo org> CommitDate: Sun Oct 15 22:24:37 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac06cf1c app-crypt/rhash: Stable on amd64 Package-Manager: Portage-2.3.11, Repoman-2.3.3 app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index fba37fd9835..73393cc589e 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: c4033af6ab8eb9ea1b2aa9303a8ba382c6459cc7 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Oct 14 17:19:23 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Oct 14 17:20:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4033af6 app-crypt/rhash: stable 1.3.5 for ppc/ppc64, bug #634088 Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc ppc64" app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 15cb69b26da..fba37fd9835 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 48b432a6551d196043379b20f35e5d5062ed347a Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Oct 13 12:03:49 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Oct 13 12:03:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48b432a6 app-crypt/rhash: stable 1.3.5 for hppa/sparc, bug #634088 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="hppa sparc" app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index f2bdec4f54f..15cb69b26da 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 sparc ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: e7e2241953ea558568dc93cc27b5e375bed7fd1a Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Oct 13 11:31:10 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Oct 13 11:31:19 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e22419 app-crypt/rhash: stable 1.3.5 for ia64, bug #634088 Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="ia64" app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 5e3f45f6028..f2bdec4f54f 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 39038bc2ea6889c25a515c09a7a97d338bc702f3 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Sep 12 07:26:04 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Sep 12 07:26:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39038bc2 app-crypt/rhash: keyworded 1.3.5 for sparc, bug #615428 (thanks to Dakon) Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="sparc" app-crypt/rhash/rhash-1.3.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 5d6b901c8e6..5e3f45f6028 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -11,7 +11,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 425a864ac21f2aaa79fb468f2f31a208a066628a Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Sep 12 07:26:00 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Sep 12 07:26:00 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=425a864a app-crypt/rhash: keyworded 1.3.4 for sparc, bug #615428 (thanks to Dakon) Package-Manager: Portage-2.3.8, Repoman-2.3.3 RepoMan-Options: --include-arches="sparc" app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index 6147fa7a5e0..4a7b49a21d5 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -11,7 +11,7 @@ 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" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: f3f90bea773bd3ce4a29f295a8f32cd7301e2b3d Author: James Le Cuirot gentoo org> AuthorDate: Sat Sep 2 12:58:07 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Sep 2 12:58:07 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3f90bea app-crypt/rhash: Drop Louis Sautier as maintainer He no longer wants to maintain this. Package-Manager: Portage-2.3.8, Repoman-2.3.2 app-crypt/rhash/metadata.xml | 8 1 file changed, 8 deletions(-) diff --git a/app-crypt/rhash/metadata.xml b/app-crypt/rhash/metadata.xml index 44a7a98b420..7852b7af67d 100644 --- a/app-crypt/rhash/metadata.xml +++ b/app-crypt/rhash/metadata.xml @@ -2,14 +2,6 @@ http://www.gentoo.org/dtd/metadata.dtd;> - sautier.lo...@gmail.com - Louis Sautier - - - proxy-ma...@gentoo.org - Proxy Maintainers - - ch...@gentoo.org James Le Cuirot
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 673e0702bc007ca40fd36ff2ad17b395ba710fc7 Author: James Le Cuirot gentoo org> AuthorDate: Sat Sep 2 12:37:41 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Sep 2 12:38:41 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=673e0702 app-crypt/rhash: Apply -lintl fix to BSD libcs (bug #629060) Package-Manager: Portage-2.3.8, Repoman-2.3.2 app-crypt/rhash/rhash-1.3.5.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index 77b468a64c5..5d6b901c8e6 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -57,7 +57,8 @@ multilib_src_compile() { $(use openssl && echo -ldl) ) - use elibc_Darwin || use elibc_SunOS && + use elibc_Darwin || use elibc_DragonFly || use elibc_FreeBSD || + use elibc_NetBSD || use elibc_OpenBSD || use elibc_SunOS && ADDLDFLAGS+=( $(use nls && echo -lintl) ) emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 2b37168745eee2cc9ec0defacab07bae17ea771a Author: James Le Cuirot gentoo org> AuthorDate: Sat Sep 2 12:36:39 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Sat Sep 2 12:38:40 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b371687 app-crypt/rhash: Use elibc USE flags instead of CHOST for fixes This is more accurate. Package-Manager: Portage-2.3.8, Repoman-2.3.2 app-crypt/rhash/rhash-1.3.5.ebuild | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild index e1ea23cd4fc..77b468a64c5 100644 --- a/app-crypt/rhash/rhash-1.3.5.ebuild +++ b/app-crypt/rhash/rhash-1.3.5.ebuild @@ -27,7 +27,7 @@ src_prepare() { # Install /etc stuff inside the Prefix sed -i -e 's:\$(DESTDIR)/etc:\$(DESTDIR)/$(SYSCONFDIR):g' Makefile || die - if [[ ${CHOST} == *-darwin* ]] ; then + if use elibc_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/' \ @@ -37,7 +37,7 @@ src_prepare() { Makefile || die fi - if [[ ${CHOST} == *-solaris* ]] ; then + if use elibc_SunOS ; 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 @@ -57,8 +57,8 @@ multilib_src_compile() { $(use openssl && echo -ldl) ) - [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] \ - && ADDLDFLAGS+=( $(use nls && echo -lintl) ) + use elibc_Darwin || use elibc_SunOS && + ADDLDFLAGS+=( $(use nls && echo -lintl) ) emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \ ADDCFLAGS="${ADDCFLAGS[*]}" ADDLDFLAGS="${ADDLDFLAGS[*]}" \
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: a1adcb8b57981d655468a651d7a51aa641f4c3c3 Author: James Le Cuirot gentoo org> AuthorDate: Thu Aug 17 21:11:34 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Thu Aug 17 21:12:13 2017 + 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 000..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" +}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 7a7d1cb158857e87a2839deb3017dfabf86a4ced Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Aug 10 20:33:30 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Aug 10 20:34:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a7d1cb1 app-crypt/rhash: keyworded 1.3.4 for ppc, bug #615428 Package-Manager: Portage-2.3.6, Repoman-2.3.3 RepoMan-Options: --include-arches="ppc" app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index f86c703ff07..6147fa7a5e0 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 1a503c3920964ad6ba2c27d2dc3b3c7c5fb6cc9b Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Jun 29 21:04:05 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Jun 30 07:08:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a503c39 app-crypt/rhash: ia64 keyworded, bug #615428 Package-Manager: Portage-2.3.6, Repoman-2.3.2 app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index 072ac90c17f..f86c703ff07 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 8c8bb80ec00166fd4930785f684bf08dc4239a62 Author: Fabian Groffen gentoo org> AuthorDate: Tue Jun 20 12:48:04 2017 + Commit: Fabian Groffen gentoo org> CommitDate: Tue Jun 20 12:48:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c8bb80e app-crypt/rhash: marked ~amd64-linux Package-Manager: Portage-2.3.6, Repoman-2.3.1 app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index 1b092d87d83..072ac90c17f 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~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}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 3aacc5c516a787d85adf7c0363a3e471dfa76208 Author: Anthony G. Basile gentoo org> AuthorDate: Thu Jun 15 14:15:43 2017 + Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jun 15 14:23:08 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aacc5c5 app-crypt/rhash: keyword ~mips Package-Manager: Portage-2.3.5, Repoman-2.3.1 app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index a4159841674..1b092d87d83 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: ed08c5464d50962af957c391b23541100dc2a3c0 Author: Alexis Ballier gentoo org> AuthorDate: Thu Jun 15 10:48:32 2017 + Commit: Alexis Ballier gentoo org> CommitDate: Thu Jun 15 10:48:32 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed08c546 app-crypt/rhash: keyword ~arm64 Package-Manager: Portage-2.3.6, Repoman-2.3.2 app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index 2be1edde5f3..a4159841674 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 75fd7d4a801fbfce3449e6987f0a58700f8dac98 Author: Fabian Groffen gentoo org> AuthorDate: Thu Apr 13 18:33:43 2017 + Commit: Fabian Groffen gentoo org> CommitDate: Thu Apr 13 18:33:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75fd7d4a app-crypt/rhash: fix and keyword for Solaris Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-crypt/rhash/rhash-1.3.4.ebuild | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index 3a58d6df434..2be1edde5f3 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~x64-macos ~x86-macos" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86 ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" @@ -29,8 +29,7 @@ src_prepare() { 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 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/' \ @@ -39,6 +38,12 @@ src_prepare() { 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 } @@ -53,7 +58,8 @@ multilib_src_compile() { $(use openssl && echo -ldl) ) - [[ ${CHOST} == *-darwin* ]] && ADDLDFLAGS+=( $(use nls && echo -lintl) ) + [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] \ + && ADDLDFLAGS+=( $(use nls && echo -lintl) ) emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \ ADDCFLAGS="${ADDCFLAGS[*]}" ADDLDFLAGS="${ADDLDFLAGS[*]}" \
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: d3e6b2c5df51c0cf54974c9bb9a0427fbaf02ec8 Author: Jeroen Roovers gentoo org> AuthorDate: Tue Feb 14 13:25:04 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Tue Feb 14 13:25:04 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3e6b2c5 app-crypt/rhash: Mark ~hppa too. Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --ignore-arches app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index 93ae43a330..e2fadef775 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~x86" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: cbd60fbe6a07b73c05ee37e46c22449d6fc3c28e Author: Jeroen Roovers gentoo org> AuthorDate: Tue Feb 14 13:27:52 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Tue Feb 14 13:27:52 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbd60fbe app-crypt/rhash: Mark ~ppc64 too. Package-Manager: Portage-2.3.3, Repoman-2.3.1 RepoMan-Options: --ignore-arches app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index e2fadef775..d5fd9c4016 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: c106c6be1f98766ef20c89867ea839f6cffc36c7 Author: Tobias Klausmann gentoo org> AuthorDate: Tue Feb 14 10:42:17 2017 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Feb 14 10:42:17 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c106c6be app-crypt/rhash: Add ~alpha keyword in anticipation of cmake-3.8.0 Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index 641773383a..93ae43a330 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~x86" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 7013ff6b38f1f3a00d6be5ebe7412687dc0cd633 Author: James Le Cuirot gentoo org> AuthorDate: Fri Feb 10 21:11:19 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Feb 10 21:11:19 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7013ff6b app-crypt/rhash: Add ~arm keyword The tests all pass. Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-crypt/rhash/rhash-1.3.4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index b10475a3a1..641773383a 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~x86" IUSE="debug nls openssl static-libs" RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )"
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: 7bf40172be33bdc065a2dfbd85838cf39f0eda51 Author: James Le Cuirot gentoo org> AuthorDate: Fri Feb 10 21:08:03 2017 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Feb 10 21:08:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf40172 app-crypt/rhash: Fix tests to use the newly built library It was using the installed copy and breaking for new installs. Package-Manager: Portage-2.3.3, Repoman-2.3.1 app-crypt/rhash/rhash-1.3.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app-crypt/rhash/rhash-1.3.4.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild index cd33ea8d75..b10475a3a1 100644 --- a/app-crypt/rhash/rhash-1.3.4.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -63,5 +63,5 @@ multilib_src_install_all() { multilib_src_test() { cd tests || die - ./test_rhash.sh --full ../rhash_shared || die "tests failed" + LD_LIBRARY_PATH=$(pwd)/../librhash ./test_rhash.sh --full ../rhash_shared || die "tests failed" }
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/files/, app-crypt/rhash/
commit: 253b1d93e3d85af187f126ab1e74b0c2dd90bf48 Author: James Le Cuirot gentoo org> AuthorDate: Wed Nov 16 22:41:18 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Nov 16 22:48:57 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=253b1d93 app-crypt/rhash: Version bump to 1.3.4 Upstream merged my patch. Always make build-shared as its cheap and needed for the tests. Package-Manager: portage-2.3.2 app-crypt/rhash/Manifest | 2 +- app-crypt/rhash/files/librhash-symlink.patch | 38 -- .../{rhash-1.3.3-r2.ebuild => rhash-1.3.4.ebuild} | 9 ++--- 3 files changed, 3 insertions(+), 46 deletions(-) diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest index a29fefa..13d53c9 100644 --- a/app-crypt/rhash/Manifest +++ b/app-crypt/rhash/Manifest @@ -1 +1 @@ -DIST rhash-1.3.3-src.tar.gz 248855 SHA256 5b520b597bd83f933d316fce1382bb90e0b0b87b559b8c9c9a197551c935315a SHA512 0ac1699a0e5718b750610cd6189d9d582186d7e17191e3723a994559c8f9c6ea7e0d34825da0c96fd0fc6be3e14b5f44ce7a21d17156cdfce3f0e3e4ff09389e WHIRLPOOL d2b17c8fd0a121e6d7e853c22bfce0545235e272c48893f13a28a5d424b26bc0cb18a5aa7eb51e07428b677116f4fdae89859a4d4e3e7cdefb4dea62337b558e +DIST rhash-1.3.4-src.tar.gz 249357 SHA256 406662c4703bd4cb1caae26f32700951a5e12adf39f141d3f40e0b461b1e9e49 SHA512 a78be309011798d5e55023eb93f898c10254a42270288fa5ec68ad446b5f3d001e8c6f893683e5171e3858c86d45ce2ce16eefde1173209e1925420c27a7ff7a WHIRLPOOL 5883dcbf0c2bf51036434d1906b85b615eae65ef2729a68d7ac637e2bea3c494cd3ee7fa9a60d3c4f3241bc4fd5c62c8f7e058c0e53649d50dade241e06dda2e diff --git a/app-crypt/rhash/files/librhash-symlink.patch b/app-crypt/rhash/files/librhash-symlink.patch deleted file mode 100644 index faba2fb.. --- a/app-crypt/rhash/files/librhash-symlink.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 30c5897a7533b746388f44f3999ad2e23c529364 Mon Sep 17 00:00:00 2001 -From: James Le Cuirot-Date: Fri, 16 Sep 2016 22:53:51 +0100 -Subject: [PATCH] Handle librhash.so symlink in shared Makefile rules, not - static - - librhash/Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/librhash/Makefile b/librhash/Makefile -index a38073f..fc5e5c3 100644 a/librhash/Makefile -+++ b/librhash/Makefile -@@ -46,18 +46,18 @@ dist-clean: clean - install-lib-static: $(LIBRARY) install-headers - $(INSTALL) -d $(DESTDIR)$(LIBDIR) - $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBDIR)/ -- ln -s $(SONAME) $(DESTDIR)$(LIBDIR)/$(SOLINK) - - install-lib-shared: $(SONAME) - $(INSTALL) -d $(DESTDIR)$(LIBDIR) - $(INSTALL_SHARED) $(SONAME) $(DESTDIR)$(LIBDIR)/ -+ ln -s $(SONAME) $(DESTDIR)$(LIBDIR)/$(SOLINK) - - uninstall-lib-static: uninstall-headers - rm -f $(DESTDIR)$(LIBDIR)/$(LIBRARY) -- rm -f $(DESTDIR)$(LIBDIR)/$(SOLINK) - - uninstall-lib-shared: - rm -f $(DESTDIR)$(LIBDIR)/$(SONAME) -+ rm -f $(DESTDIR)$(LIBDIR)/$(SOLINK) - - install-headers: - $(INSTALL) -d $(DESTDIR)$(INCDIR) --- -2.8.2 - diff --git a/app-crypt/rhash/rhash-1.3.3-r2.ebuild b/app-crypt/rhash/rhash-1.3.4.ebuild similarity index 88% rename from app-crypt/rhash/rhash-1.3.3-r2.ebuild rename to app-crypt/rhash/rhash-1.3.4.ebuild index 578f581..cd33ea8 100644 --- a/app-crypt/rhash/rhash-1.3.3-r2.ebuild +++ b/app-crypt/rhash/rhash-1.3.4.ebuild @@ -20,10 +20,6 @@ RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" -PATCHES=( - "${FILESDIR}"/librhash-symlink.patch -) - src_prepare() { default @@ -46,8 +42,7 @@ multilib_src_compile() { emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \ ADDCFLAGS="${ADDCFLAGS[*]}" ADDLDFLAGS="${ADDLDFLAGS[*]}" \ - $(multilib_is_native_abi && echo build-shared || echo lib-shared) \ - $(use static-libs && echo lib-static) + build-shared $(use static-libs && echo lib-static) } myemake() { @@ -55,7 +50,7 @@ myemake() { } multilib_src_install() { - myemake install-lib-shared + myemake -C librhash install-lib-shared install-so-link multilib_is_native_abi && myemake install-shared use static-libs && myemake install-lib-static }
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/files/, app-crypt/rhash/
commit: 742b2aea30f596c0606731ac0eea04428bda17d0 Author: James Le Cuirot gentoo org> AuthorDate: Fri Sep 16 22:03:52 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Sep 16 22:03:52 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=742b2aea app-crypt/rhash: Install headers, fix librhash.so symlink Sorry, should have spotted these before the earlier commit. Package-Manager: portage-2.3.0 app-crypt/rhash/files/librhash-symlink.patch | 38 ++ ...rhash-1.3.3-r1.ebuild => rhash-1.3.3-r2.ebuild} | 21 +--- 2 files changed, 55 insertions(+), 4 deletions(-) diff --git a/app-crypt/rhash/files/librhash-symlink.patch b/app-crypt/rhash/files/librhash-symlink.patch new file mode 100644 index ..faba2fb --- /dev/null +++ b/app-crypt/rhash/files/librhash-symlink.patch @@ -0,0 +1,38 @@ +From 30c5897a7533b746388f44f3999ad2e23c529364 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot+Date: Fri, 16 Sep 2016 22:53:51 +0100 +Subject: [PATCH] Handle librhash.so symlink in shared Makefile rules, not + static + +--- + librhash/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/librhash/Makefile b/librhash/Makefile +index a38073f..fc5e5c3 100644 +--- a/librhash/Makefile b/librhash/Makefile +@@ -46,18 +46,18 @@ dist-clean: clean + install-lib-static: $(LIBRARY) install-headers + $(INSTALL) -d $(DESTDIR)$(LIBDIR) + $(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBDIR)/ +- ln -s $(SONAME) $(DESTDIR)$(LIBDIR)/$(SOLINK) + + install-lib-shared: $(SONAME) + $(INSTALL) -d $(DESTDIR)$(LIBDIR) + $(INSTALL_SHARED) $(SONAME) $(DESTDIR)$(LIBDIR)/ ++ ln -s $(SONAME) $(DESTDIR)$(LIBDIR)/$(SOLINK) + + uninstall-lib-static: uninstall-headers + rm -f $(DESTDIR)$(LIBDIR)/$(LIBRARY) +- rm -f $(DESTDIR)$(LIBDIR)/$(SOLINK) + + uninstall-lib-shared: + rm -f $(DESTDIR)$(LIBDIR)/$(SONAME) ++ rm -f $(DESTDIR)$(LIBDIR)/$(SOLINK) + + install-headers: + $(INSTALL) -d $(DESTDIR)$(INCDIR) +-- +2.8.2 + diff --git a/app-crypt/rhash/rhash-1.3.3-r1.ebuild b/app-crypt/rhash/rhash-1.3.3-r2.ebuild similarity index 80% rename from app-crypt/rhash/rhash-1.3.3-r1.ebuild rename to app-crypt/rhash/rhash-1.3.3-r2.ebuild index 585a54a..578f581 100644 --- a/app-crypt/rhash/rhash-1.3.3-r1.ebuild +++ b/app-crypt/rhash/rhash-1.3.3-r2.ebuild @@ -20,6 +20,10 @@ RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" +PATCHES=( + "${FILESDIR}"/librhash-symlink.patch +) + src_prepare() { default @@ -46,11 +50,20 @@ multilib_src_compile() { $(use static-libs && echo lib-static) } +myemake() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR='$(PREFIX)'/$(get_libdir) "${@}" +} + multilib_src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR='$(PREFIX)'/$(get_libdir) \ - install-lib-shared $(multilib_is_native_abi && echo install-shared) \ - $(use static-libs && echo install-lib-static) \ - $(use nls && multilib_is_native_abi && echo install-gmo) + myemake install-lib-shared + 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() {
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: c7c3e65f4e8bf5529ba68964106ec22cdba3eb2a Author: James Le Cuirot gentoo org> AuthorDate: Fri Sep 16 21:24:33 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Sep 16 21:26:47 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7c3e65f app-crypt/rhash: Install libs, respect flags, nls, openssl, tests * Install the shared and (optionally) static libraries. * Multilib support for the libraries. * Respect CC, CFLAGS, LDFLAGS. * gettext support via nls flag. * Additional hash support via openssl. * Passing test suite. * Disable debug by default. These changes were made with sbraz's blessing. Thanks to Raimonds Cicans for the initial work behind this. Package-Manager: portage-2.3.0 app-crypt/rhash/metadata.xml | 3 ++ app-crypt/rhash/rhash-1.3.3-r1.ebuild | 59 +++ app-crypt/rhash/rhash-1.3.3.ebuild| 19 --- 3 files changed, 62 insertions(+), 19 deletions(-) diff --git a/app-crypt/rhash/metadata.xml b/app-crypt/rhash/metadata.xml index f9ec359..44a7a98 100644 --- a/app-crypt/rhash/metadata.xml +++ b/app-crypt/rhash/metadata.xml @@ -18,6 +18,9 @@ rhash/RHash https://github.com/rhash/RHash/issues + + Add support for hashes from dev-libs/openssl + RHash is a console utility for calculation and verification of magnet links and a wide range of hash sums like CRC32, MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R 34.11-94, RIPEMD-160, HAS-160, EDON-R, Whirlpool and Snefru. diff --git a/app-crypt/rhash/rhash-1.3.3-r1.ebuild b/app-crypt/rhash/rhash-1.3.3-r1.ebuild new file mode 100644 index ..585a54a --- /dev/null +++ b/app-crypt/rhash/rhash-1.3.3-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="~amd64 ~x86" +IUSE="debug nls openssl static-libs" + +RDEPEND="openssl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )" + +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + default + + # Exit on test failure or src_test will always succeed. + sed -i "s/return 1/exit 1/g" tests/test_rhash.sh || die + + 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) + ) + + emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \ + ADDCFLAGS="${ADDCFLAGS[*]}" ADDLDFLAGS="${ADDLDFLAGS[*]}" \ + $(multilib_is_native_abi && echo build-shared || echo lib-shared) \ + $(use static-libs && echo lib-static) +} + +multilib_src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR='$(PREFIX)'/$(get_libdir) \ + install-lib-shared $(multilib_is_native_abi && echo install-shared) \ + $(use static-libs && echo install-lib-static) \ + $(use nls && multilib_is_native_abi && echo install-gmo) +} + +multilib_src_test() { + cd tests || die + ./test_rhash.sh --full ../rhash_shared || die "tests failed" +} diff --git a/app-crypt/rhash/rhash-1.3.3.ebuild b/app-crypt/rhash/rhash-1.3.3.ebuild deleted file mode 100644 index b11f9cf.. --- a/app-crypt/rhash/rhash-1.3.3.ebuild +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -DESCRIPTION="Console utility for computing and verifying hash sums of files" -HOMEPAGE="http://rhash.anz.ru/; -SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -src_install() { - emake DESTDIR="${D}" PREFIX=/usr install - einstalldocs -}
[gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
commit: aafda8d6b422be60568f724409172897b205bf14 Author: James Le Cuirot gentoo org> AuthorDate: Fri Sep 16 21:18:37 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Fri Sep 16 21:26:45 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafda8d6 app-crypt/rhash: Add myself as co-maintainer Package-Manager: portage-2.3.0 app-crypt/rhash/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/app-crypt/rhash/metadata.xml b/app-crypt/rhash/metadata.xml index 1aa6473..f9ec359 100644 --- a/app-crypt/rhash/metadata.xml +++ b/app-crypt/rhash/metadata.xml @@ -9,6 +9,10 @@ proxy-ma...@gentoo.org Proxy Maintainers + + ch...@gentoo.org + James Le Cuirot + rhash rhash/RHash