DIST reiser4progs-1.0.7.tar.gz 844126 SHA256 1211996ad3efebc0ca543aea2f67527d33e50fce1b827ad341e207f171d94d96 SHA512 afc88dc2cb7a2e9c8e8c4bc93012b41a19cecaf96a0dc7d75f20c535ebfbb8eac79688529d42ba5cbe067395a1a13cd997246e5bc57181c6dfaced6e6fec4a05 WHIRLPOOL 6c17458cd68dc3ea02fcfc221b03f860206fcd205d7887cffb84b1f712e305b6097be29ae44a4a098d188ffdaf8cf44f06cadbf24dc25bcaabe059e12f21ae0a
DIST reiser4progs-1.0.8.tar.gz 866466 SHA256 186e2f8619cf66a79654789be044781dd656cbd4a3c4f514da3516301226b086 SHA512 d49de6d191fc842d5f7dad447b1e8ac2bec4c18e40096ad4911766153688fe558374fbb34eb510ec5c9a929e64edb2c14e11f6d0ac2c247e1978fd766bd24116 WHIRLPOOL 83a0422f77ce4035410a10c727b8f0193c071e046b74b2359db566d83fc8a22906454401f0a15e53dee26cbf7b723b4993e71bb207792d56f39dddcd13993c6d
DIST reiser4progs-1.0.9.tar.gz 913470 SHA256 ffb027c83b0080e86f7cbe238c1e185ab09225f962a171245e7f4b7e9a97cd34 SHA512 1aa3cc1a59081d4987c94fc0dda42b9b64329e8187483809968438d2c7b1152eed23d3d6682aabe2216e1aee50f9653120a0bc4fe798195d6a1cf9c43c9508b0 WHIRLPOOL 6cd385b506ac52fe44f7b8cca3a0c4815b59c22e200a25898eba5c5a5e6491b16d7e1fedd074ac58e748437df084e40a4e92059081a51a6a30b4e0e4a9945a17
+DIST reiser4progs-1.1.0.tar.gz 929047 SHA256 0f2f2aff22bd5fb06627eadcfc038781c60a1e99ba952e88190597d338d86fa1 SHA512 649645d702298ee7f3e5b8d2c39b2781fc1aae55cd03a4b774a2e66feef51e67f0a4367350db4defd62eaa2fc6710cb48a58d65991a63942d34e43783d29f94d WHIRLPOOL c67d6e4783dae52f79395f3902265705445897e7d57bfa63dd38d981a578329ab65ec7417ce4d5ef630f0a0ae2305eb41c80276727137a6fc7f0f610e9f6d539
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit multilib eutils toolchain-funcs
+
+DESCRIPTION="reiser4progs: mkfs, fsck, etc..."
+HOMEPAGE="https://sourceforge.net/projects/reiser4/"
+SRC_URI="mirror://sourceforge/reiser4/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 -sparc ~x86"
+IUSE="debug readline static static-libs"
+
+LIB_DEPEND="~sys-libs/libaal-1.0.6[static-libs(+)]
+ readline? ( sys-libs/readline[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ static-libs? ( ~sys-libs/libaal-1.0.6[static-libs(+)] )"
+DEPEND="${RDEPEND}
+ static? ( ${LIB_DEPEND} )"
+
+src_prepare() {
+ printf '#!/bin/sh\ntrue\n' > run-ldconfig
+ # Delete hardcoded link/compile flags.
+ sed -i -r \
+ -e '/CFLAGS=/s: -static":":' \
+ -e '/CFLAGS/s: (-O[123s]|-g)\>::g' \
+ configure || die
+ epatch "${FILESDIR}"/${PN}-1.0.7-readline-6.3.patch #504472
+}
+
+src_configure() {
+ econf \
+ $(use_enable static full-static) \
+ $(use_enable static-libs static) \
+ $(use_enable debug) \
+ $(use_with readline) \
+ --disable-Werror \
+ --enable-libminimal \
+ --sbindir=/sbin
+}
+
+src_install() {
+ default
+ gen_usr_ldscript -a reiser4{,-minimal} repair
+}