summaryrefslogtreecommitdiff
path: root/app-crypt/rhash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-09 04:26:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-09 04:26:33 +0100
commit6ee17dd82a3bcd0e90af4ebfbb3e411d342761be (patch)
tree5ade54018efa76614b79d832bbe15a22021b6d8c /app-crypt/rhash
parent325837835fc86686829aaa6acace3d3c06c74cea (diff)
gentoo auto-resync : 09:10:2024 - 04:26:32
Diffstat (limited to 'app-crypt/rhash')
-rw-r--r--app-crypt/rhash/Manifest5
-rw-r--r--app-crypt/rhash/rhash-1.4.3.ebuild89
-rw-r--r--app-crypt/rhash/rhash-1.4.4-r1.ebuild2
-rw-r--r--app-crypt/rhash/rhash-1.4.4.ebuild101
4 files changed, 2 insertions, 195 deletions
diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest
index bfa349f6be5f..41e3112af7d7 100644
--- a/app-crypt/rhash/Manifest
+++ b/app-crypt/rhash/Manifest
@@ -1,7 +1,4 @@
AUX rhash-1.4.4-prefix.patch 836 BLAKE2B 9c3b953e5249c4ee0be5d23cb595ed1c84611ce6299b29b2b3fd38b7de1f891fb5a8f6a4a5fed3e3b8862fff9f8623f310a0d436ab4eab44e42ff79e0b1f99f5 SHA512 3740a2ea78d28fa916533af27740011c2dd520eb2bc18a6a19fc530a0414a8eb7bd911a7a39ddd0a1a2fec5def20b61ed1731349880346c413d7d6000569bf32
-DIST rhash-1.4.3-src.tar.gz 429290 BLAKE2B d225aeae0b3a8fb2e093a9aef50cd07a790c7e9734e91114deef2ca8492c85261b8ed5dea45958e35e049ea888885175608962ea72297bdef48b00c52f51eaca SHA512 d87ffcde28d8f25cf775c279fed457e52d24523ed9b695629dae694b3c22372247d18f6032f8ce13a0b70fa2953be408982e46659daaa7c4ab227ae89eaed9c7
DIST rhash-1.4.4-src.tar.gz 435691 BLAKE2B f3d42f333ad9a82fe4a8ef5af5d8008abf526c05c06a00c7033881d5a27ba663c3cc5cefb73ea8157ac24cb10a50a4e500706d489e61a03dbaee74a4735d1722 SHA512 00a7e5e058b53ce20ae79509815452ed9cb699d1322b678220b72c61dea3ea2f8fa131acfade8bb6d9f6af913f0c3c472330841181b22314b8755166310c946f
-EBUILD rhash-1.4.3.ebuild 2122 BLAKE2B c18f3d6a397a6e14b05daa86738c5608b6b44bc3797485666f4c74684c5d6dd04d827b265412e352930c3a012514177853c88ae8465e5bc8f08e033f64cb3256 SHA512 38131c1b8a114a69418adb4e53725293f2ebe65444badc4fb4856cfe2bde17a44fd288cd262be9d4bfcdcd0594788eb24e443fd3e27fce53f136cde02734abe1
-EBUILD rhash-1.4.4-r1.ebuild 2311 BLAKE2B 5d80cdf5dfb7f42a1d91f0873f7df4d5a9fc95e4c0e9cf071975391067d85a4e7a34874d9cc444c67d836f5e1b8334a9270a0e0ac907ddc04c60bb17f3eb611d SHA512 b6f677c3b14940c9f95ba1f15d7428f9a64b287268de863d8bc2efa2263262dcfb5cbce11d36f7f9e5d5140795ed59eaf4cccaf55b3756a274e1e11d08062802
-EBUILD rhash-1.4.4.ebuild 2519 BLAKE2B d4aed6d855dac6c499df19765b456e95825538780f8a0326d0c69e57218d1d0c425bb855752ea502daf95e5301ad645bc6572072af9c7de9777c13f2d92bc93b SHA512 b6f6b1c2b4f06c85cad3eccfe54c469dd66776c071060d58b22551c7d22702c344639d597d4950ccd64b9b205e13b514b49e4fba1bb3b2c8669c32831d3b9bf5
+EBUILD rhash-1.4.4-r1.ebuild 2310 BLAKE2B e5f2d4dd82a1ef6d327457b0ab84360852caa4f640e828a2d2cc0b1a488386c6602ae3e0cd4b188401ef3092e6ffba095f2fada1c5416e08d8227b27ab37dda1 SHA512 3cb22c2991b48dd0df2a64c1d10781950bd32b6847e2e45508df8ebe2bcd8efb643e86dba2290b382c8aa03bb45e773480c1d344210d0aa9af159dedb9d8f768
MISC metadata.xml 817 BLAKE2B eeb15cde9e06507f73330759d44dca59dea3bbcb972cb25af71d91f065eb64dbd1ddc61e43f8fad50c264c269542f92efdace36d3397647c3c53972e695da22f SHA512 3e2f688b57c74e051fcfb90d34685346c459c5e9f425266fd3d8e099f586037b14c2bfdac76f135a046c77cc850bb49954c0e7d8dc9ded1db47bf0919ab3ea93
diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild
deleted file mode 100644
index 5ec40aeb2f88..000000000000
--- a/app-crypt/rhash/rhash-1.4.3.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# 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="https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz"
-
-LICENSE="0BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~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
-}
diff --git a/app-crypt/rhash/rhash-1.4.4-r1.ebuild b/app-crypt/rhash/rhash-1.4.4-r1.ebuild
index 8972252ec97a..0c1b26eeb3f8 100644
--- a/app-crypt/rhash/rhash-1.4.4-r1.ebuild
+++ b/app-crypt/rhash/rhash-1.4.4-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz"
LICENSE="0BSD"
SLOT="0/1"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~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="
diff --git a/app-crypt/rhash/rhash-1.4.4.ebuild b/app-crypt/rhash/rhash-1.4.4.ebuild
deleted file mode 100644
index 364c986148de..000000000000
--- a/app-crypt/rhash/rhash-1.4.4.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# 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="https://downloads.sourceforge.net/${PN}/${P}-src.tar.gz"
-
-LICENSE="0BSD"
-SLOT="0/1"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~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() {
- # 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
-}