summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2017-11-28 00:02:25 +0100
committerThomas Deutschmann <whissi@gentoo.org>2017-11-28 00:07:40 +0100
commit3a115f731d891cf382aad4a6706bb05092e1a064 (patch)
tree7e16e0e52546845fe7e9aecba7a6426869158111 /sys-fs/reiser4progs
parentapp-emulation/virtualbox-modules: support linux 4.14.x, fix bug #636484 (diff)
downloadgentoo-3a115f731d891cf382aad4a6706bb05092e1a064.tar.gz
gentoo-3a115f731d891cf382aad4a6706bb05092e1a064.tar.bz2
gentoo-3a115f731d891cf382aad4a6706bb05092e1a064.zip
sys-fs/reiser4progs: Bump to v1.2.0
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-fs/reiser4progs')
-rw-r--r--sys-fs/reiser4progs/Manifest3
-rw-r--r--sys-fs/reiser4progs/reiser4progs-1.2.0.ebuild51
2 files changed, 53 insertions, 1 deletions
diff --git a/sys-fs/reiser4progs/Manifest b/sys-fs/reiser4progs/Manifest
index a6457abab39f..f9e024ef1632 100644
--- a/sys-fs/reiser4progs/Manifest
+++ b/sys-fs/reiser4progs/Manifest
@@ -1 +1,2 @@
-DIST reiser4progs-1.1.0.tar.gz 929047 SHA256 0f2f2aff22bd5fb06627eadcfc038781c60a1e99ba952e88190597d338d86fa1 SHA512 649645d702298ee7f3e5b8d2c39b2781fc1aae55cd03a4b774a2e66feef51e67f0a4367350db4defd62eaa2fc6710cb48a58d65991a63942d34e43783d29f94d WHIRLPOOL c67d6e4783dae52f79395f3902265705445897e7d57bfa63dd38d981a578329ab65ec7417ce4d5ef630f0a0ae2305eb41c80276727137a6fc7f0f610e9f6d539
+DIST reiser4progs-1.1.0.tar.gz 929047 BLAKE2B 82193eb4b465db365062785abfda8df1c2c42252adf4518f85abd785954b3305f2eed42ebf6e1c3c032f9c23e34744f4c9f05d25e259f8c0011f83283c51b963 SHA512 649645d702298ee7f3e5b8d2c39b2781fc1aae55cd03a4b774a2e66feef51e67f0a4367350db4defd62eaa2fc6710cb48a58d65991a63942d34e43783d29f94d
+DIST reiser4progs-1.2.0.tar.gz 962611 BLAKE2B 0ee17f51ea7ae21d82b682c5594c8022be41af602390ccdb6ebf88d9e4c1ce12ef3ea190bc4f0b109cbc3657d1c404bbbaa30cbd7c0febf619f99d528de97ea3 SHA512 c517c3ea2121689ef94241a63daf7a0d85322b8cfa2343b08d0aef7640642499f261c806c83a2d46cfcdf28feba3518ff48a76b898b89c811f53493a918db843
diff --git a/sys-fs/reiser4progs/reiser4progs-1.2.0.ebuild b/sys-fs/reiser4progs/reiser4progs-1.2.0.ebuild
new file mode 100644
index 000000000000..2eea9f465d4e
--- /dev/null
+++ b/sys-fs/reiser4progs/reiser4progs-1.2.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+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:0=[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ static-libs? ( >=sys-libs/libaal-1.0.6:=[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() {
+ 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
+}