From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1175243-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id DE6721382C5
	for <garchives@archives.gentoo.org>; Sat, 30 May 2020 08:54:12 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 118ECE0874;
	Sat, 30 May 2020 08:54:12 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E22A0E0874
	for <gentoo-commits@lists.gentoo.org>; Sat, 30 May 2020 08:54:11 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 87C8234F04E
	for <gentoo-commits@lists.gentoo.org>; Sat, 30 May 2020 08:54:10 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 245DA238
	for <gentoo-commits@lists.gentoo.org>; Sat, 30 May 2020 08:54:09 +0000 (UTC)
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org>
Message-ID: <1590828846.2fe30c7e87d05920fabfba18a3972e931a54fdeb.polynomial-c@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/reiser4progs/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-fs/reiser4progs/Manifest sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild
X-VCS-Directories: sys-fs/reiser4progs/
X-VCS-Committer: polynomial-c
X-VCS-Committer-Name: Lars Wendler
X-VCS-Revision: 2fe30c7e87d05920fabfba18a3972e931a54fdeb
X-VCS-Branch: master
Date: Sat, 30 May 2020 08:54:09 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 33094eb3-c781-459d-9528-9e41d658d4ae
X-Archives-Hash: 91ca04415102c2c3cc6e281a4a881df6

commit:     2fe30c7e87d05920fabfba18a3972e931a54fdeb
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Sat May 30 08:53:57 2020 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Sat May 30 08:54:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe30c7e

sys-fs/reiser4progs: Bump to version 2.0.1

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-fs/reiser4progs/Manifest                  |  1 +
 sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild | 54 +++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/sys-fs/reiser4progs/Manifest b/sys-fs/reiser4progs/Manifest
index 964f6df61ba..edb1ea07351 100644
--- a/sys-fs/reiser4progs/Manifest
+++ b/sys-fs/reiser4progs/Manifest
@@ -1,2 +1,3 @@
 DIST reiser4progs-1.2.1.tar.gz 980203 BLAKE2B 8c9cb77458c083c50f34c17bddf4747b755b52b911a63835152ad584494c2738a5317c28e5b3f1e6bfdc49416f3715ca4fbbd9c8a428b5b484b54f8f4a861a58 SHA512 2caac5a98d672d68910c6df3e694a42365fa6273ae367c26126778c1fbe956aa502dac236d36c3302a5bf109468ad3447e645a6eab89c83f122dd1afe2aeda21
 DIST reiser4progs-2.0.0.tar.gz 1019362 BLAKE2B 94d94697e427932b82634a756e7797ba7b061592c4ce946660f3c7750eb48ece7a5c0a265aa392a463c598212a87ec9fe769af88f680fa24adff36bd6db51128 SHA512 1993a38b2c4f339acb5d305b3b4c3360e57bf3df4684543f708bfd1062ecfb2435dd16e22f9555ab1317d77e95750cf9c2b2f81a91a109ad65aa30a5e7d815bd
+DIST reiser4progs-2.0.1.tar.gz 1019909 BLAKE2B d415a32c0d75e311ca0ece734a1f95273403341c4e38eee9e036c5c83a95d6e3aaebae8e5b89c713bbe7630c5dd902438b582e7ab1197202f7f5027702c89a67 SHA512 c1f5ab1ef36e959fb03bee81ddc4ad62152d43867d3021fa41aa07eca64a16e8bf56f6cf27378e0df9f77f223fd3d334f13c015620cd16f0aa1b9e7718274d14

diff --git a/sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild b/sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild
new file mode 100644
index 00000000000..fa83088da8f
--- /dev/null
+++ b/sys-fs/reiser4progs/reiser4progs-2.0.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib toolchain-funcs usr-ldscript
+
+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.7:=[static-libs(+)]
+	readline? ( sys-libs/readline:0=[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+	static-libs? ( >=sys-libs/libaal-1.0.7:=[static-libs(+)] )"
+DEPEND="${RDEPEND}
+	static? ( ${LIB_DEPEND} )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.0.7-readline-6.3.patch )
+
+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
+
+	default
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable static full-static)
+		$(use_enable static-libs static)
+		$(use_enable debug)
+		$(use_with readline)
+		--disable-Werror
+		--enable-libminimal
+		--sbindir=/sbin
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	gen_usr_ldscript -a reiser4{,-minimal} repair
+	find "${ED}" -type f -name "*.la" -delete || die
+}