Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/reiser4progs/
Date: Sat, 30 May 2020 08:54:12
Message-Id: 1590828846.2fe30c7e87d05920fabfba18a3972e931a54fdeb.polynomial-c@gentoo
1 commit: 2fe30c7e87d05920fabfba18a3972e931a54fdeb
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 30 08:53:57 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat May 30 08:54:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe30c7e
7
8 sys-fs/reiser4progs: Bump to version 2.0.1
9
10 Package-Manager: Portage-2.3.100, Repoman-2.3.22
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 sys-fs/reiser4progs/Manifest | 1 +
14 sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild | 54 +++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/sys-fs/reiser4progs/Manifest b/sys-fs/reiser4progs/Manifest
18 index 964f6df61ba..edb1ea07351 100644
19 --- a/sys-fs/reiser4progs/Manifest
20 +++ b/sys-fs/reiser4progs/Manifest
21 @@ -1,2 +1,3 @@
22 DIST reiser4progs-1.2.1.tar.gz 980203 BLAKE2B 8c9cb77458c083c50f34c17bddf4747b755b52b911a63835152ad584494c2738a5317c28e5b3f1e6bfdc49416f3715ca4fbbd9c8a428b5b484b54f8f4a861a58 SHA512 2caac5a98d672d68910c6df3e694a42365fa6273ae367c26126778c1fbe956aa502dac236d36c3302a5bf109468ad3447e645a6eab89c83f122dd1afe2aeda21
23 DIST reiser4progs-2.0.0.tar.gz 1019362 BLAKE2B 94d94697e427932b82634a756e7797ba7b061592c4ce946660f3c7750eb48ece7a5c0a265aa392a463c598212a87ec9fe769af88f680fa24adff36bd6db51128 SHA512 1993a38b2c4f339acb5d305b3b4c3360e57bf3df4684543f708bfd1062ecfb2435dd16e22f9555ab1317d77e95750cf9c2b2f81a91a109ad65aa30a5e7d815bd
24 +DIST reiser4progs-2.0.1.tar.gz 1019909 BLAKE2B d415a32c0d75e311ca0ece734a1f95273403341c4e38eee9e036c5c83a95d6e3aaebae8e5b89c713bbe7630c5dd902438b582e7ab1197202f7f5027702c89a67 SHA512 c1f5ab1ef36e959fb03bee81ddc4ad62152d43867d3021fa41aa07eca64a16e8bf56f6cf27378e0df9f77f223fd3d334f13c015620cd16f0aa1b9e7718274d14
25
26 diff --git a/sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild b/sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild
27 new file mode 100644
28 index 00000000000..fa83088da8f
29 --- /dev/null
30 +++ b/sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild
31 @@ -0,0 +1,54 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit multilib toolchain-funcs usr-ldscript
38 +
39 +DESCRIPTION="reiser4progs: mkfs, fsck, etc..."
40 +HOMEPAGE="https://sourceforge.net/projects/reiser4/"
41 +SRC_URI="mirror://sourceforge/reiser4/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 -sparc ~x86"
46 +IUSE="debug readline static static-libs"
47 +
48 +LIB_DEPEND=">=sys-libs/libaal-1.0.7:=[static-libs(+)]
49 + readline? ( sys-libs/readline:0=[static-libs(+)] )"
50 +RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
51 + static-libs? ( >=sys-libs/libaal-1.0.7:=[static-libs(+)] )"
52 +DEPEND="${RDEPEND}
53 + static? ( ${LIB_DEPEND} )"
54 +
55 +PATCHES=( "${FILESDIR}"/${PN}-1.0.7-readline-6.3.patch )
56 +
57 +src_prepare() {
58 + printf '#!/bin/sh\ntrue\n' > run-ldconfig
59 + # Delete hardcoded link/compile flags.
60 + sed -i -r \
61 + -e '/CFLAGS=/s: -static":":' \
62 + -e '/CFLAGS/s: (-O[123s]|-g)\>::g' \
63 + configure || die
64 +
65 + default
66 +}
67 +
68 +src_configure() {
69 + local myeconfargs=(
70 + $(use_enable static full-static)
71 + $(use_enable static-libs static)
72 + $(use_enable debug)
73 + $(use_with readline)
74 + --disable-Werror
75 + --enable-libminimal
76 + --sbindir=/sbin
77 + )
78 + econf "${myeconfargs[@]}"
79 +}
80 +
81 +src_install() {
82 + default
83 + gen_usr_ldscript -a reiser4{,-minimal} repair
84 + find "${ED}" -type f -name "*.la" -delete || die
85 +}