Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/
Date: Thu, 13 Sep 2018 21:35:21
Message-Id: 1536874484.e044bff1bf18b64fad6e2eb7485d624712b82c8a.chewi@gentoo
1 commit: e044bff1bf18b64fad6e2eb7485d624712b82c8a
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 13 21:34:44 2018 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 13 21:34:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e044bff1
7
8 app-crypt/rhash: Drop old 1.3.5
9
10 hppa and sparc should stabilise 1.3.6 to prevent depgraph breakage.
11
12 Package-Manager: Portage-2.3.49, Repoman-2.3.10
13
14 app-crypt/rhash/Manifest | 1 -
15 app-crypt/rhash/rhash-1.3.5.ebuild | 94 --------------------------------------
16 2 files changed, 95 deletions(-)
17
18 diff --git a/app-crypt/rhash/Manifest b/app-crypt/rhash/Manifest
19 index f3404d7c099..fb9fb020df9 100644
20 --- a/app-crypt/rhash/Manifest
21 +++ b/app-crypt/rhash/Manifest
22 @@ -1,2 +1 @@
23 -DIST rhash-1.3.5-src.tar.gz 316867 BLAKE2B 3ffbf2ec5aef24ef63455e21c3efcae043a321a78be522a26bd25086111430071a496ab3775ff9b4956da7304df8d8e552a061f3306a7a683be5fc65ea3fd1c4 SHA512 e8450aab0c16bfb975bf4aeee218740fb4d86d5514e426b70c3edb84e4d63865cd4051939aa95c24a87a78baaedc49e40bb509b2610e89ca3745930808b3ef6c
24 DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6
25
26 diff --git a/app-crypt/rhash/rhash-1.3.5.ebuild b/app-crypt/rhash/rhash-1.3.5.ebuild
27 deleted file mode 100644
28 index b086054c04a..00000000000
29 --- a/app-crypt/rhash/rhash-1.3.5.ebuild
30 +++ /dev/null
31 @@ -1,94 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit toolchain-funcs multilib-minimal
38 -
39 -DESCRIPTION="Console utility and library for computing and verifying file hash sums"
40 -HOMEPAGE="http://rhash.anz.ru/"
41 -SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
42 -
43 -LICENSE="MIT"
44 -SLOT="0"
45 -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"
46 -IUSE="debug nls libressl ssl static-libs"
47 -
48 -RDEPEND="
49 - ssl? (
50 - !libressl? ( dev-libs/openssl:0=[${MULTILIB_USEDEP}] )
51 - libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] )
52 -)"
53 -
54 -DEPEND="${RDEPEND}
55 - nls? ( sys-devel/gettext )"
56 -
57 -S="${WORKDIR}/RHash-${PV}"
58 -
59 -src_prepare() {
60 - default
61 -
62 - # Install /etc stuff inside the Prefix
63 - sed -i -e 's:\$(DESTDIR)/etc:\$(DESTDIR)/$(SYSCONFDIR):g' Makefile || die
64 -
65 - if use elibc_Darwin ; then
66 - local ver_script='-Wl,--version-script,exports.sym,-soname,$(SONAME)'
67 - local install_name='-install_name $(LIBDIR)/$(SONAME)'
68 - sed -i -e '/^\(SONAME\|SHAREDLIB\)/s/\.so\.\([0-9]\+\)/.\1.dylib/' \
69 - -e '/^SOLINK/s/\.so/.dylib/' \
70 - -e "s:${ver_script}:${install_name}:" \
71 - librhash/Makefile \
72 - Makefile || die
73 - fi
74 -
75 - if use elibc_SunOS ; then
76 - # https://sourceware.org/bugzilla/show_bug.cgi?id=12548
77 - # skip the export.sym for now
78 - sed -i -e 's/,--version-script,exports.sym//' librhash/Makefile || die
79 - fi
80 -
81 - multilib_copy_sources
82 -}
83 -
84 -multilib_src_compile() {
85 - local ADDCFLAGS=(
86 - $(use debug || echo -DNDEBUG)
87 - $(use nls && echo -DUSE_GETTEXT)
88 - $(use ssl && echo -DOPENSSL_RUNTIME -rdynamic)
89 - )
90 -
91 - local ADDLDFLAGS=(
92 - $(use ssl && echo -ldl)
93 - )
94 -
95 - use elibc_Darwin || use elibc_DragonFly || use elibc_FreeBSD ||
96 - use elibc_NetBSD || use elibc_OpenBSD || use elibc_SunOS &&
97 - ADDLDFLAGS+=( $(use nls && echo -lintl) )
98 -
99 - emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" \
100 - ADDCFLAGS="${ADDCFLAGS[*]}" ADDLDFLAGS="${ADDLDFLAGS[*]}" \
101 - PREFIX="${EPREFIX}"/usr LIBDIR='$(PREFIX)'/$(get_libdir) \
102 - build-shared $(use static-libs && echo lib-static)
103 -}
104 -
105 -myemake() {
106 - emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr \
107 - LIBDIR='$(PREFIX)'/$(get_libdir) SYSCONFDIR="${EPREFIX}"/etc "${@}"
108 -}
109 -
110 -multilib_src_install() {
111 - myemake -C librhash install-lib-shared install-so-link
112 - multilib_is_native_abi && myemake install-shared
113 - use static-libs && myemake install-lib-static
114 -}
115 -
116 -multilib_src_install_all() {
117 - myemake -C librhash install-headers
118 - use nls && myemake install-gmo
119 - einstalldocs
120 -}
121 -
122 -multilib_src_test() {
123 - cd tests || die
124 - LD_LIBRARY_PATH=$(pwd)/../librhash ./test_rhash.sh --full ../rhash_shared || die "tests failed"
125 -}