diff options
Diffstat (limited to 'sys-fs/reiser4progs')
-rw-r--r-- | sys-fs/reiser4progs/Manifest | 6 | ||||
-rw-r--r-- | sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch | 16 | ||||
-rw-r--r-- | sys-fs/reiser4progs/metadata.xml | 14 | ||||
-rw-r--r-- | sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild | 48 |
4 files changed, 84 insertions, 0 deletions
diff --git a/sys-fs/reiser4progs/Manifest b/sys-fs/reiser4progs/Manifest new file mode 100644 index 000000000000..4265a58c8cf4 --- /dev/null +++ b/sys-fs/reiser4progs/Manifest @@ -0,0 +1,6 @@ +AUX reiser4progs-1.0.7-readline-6.3.patch 472 SHA256 764f820b7f933270ab00138610243ad11926a326c5d9668d8566e758dc220b49 SHA512 0162505148699f8e5270314be586d8db7d42f9ea5fc8517b5475aa59f54b47eb626349c36820cc34c0490e0c3df1597a230c27abf316226cc7d261e986963788 WHIRLPOOL fe6fda5bea8535ceac3a066896a2836419d04595d1f538d97bb29d5d2e01b60943a0acac0f34990cd333ebef3c7a5a8b3281c90584b5d7c86e9263d779030aa0 +DIST reiser4progs-1.1.0.tar.gz 929047 SHA256 0f2f2aff22bd5fb06627eadcfc038781c60a1e99ba952e88190597d338d86fa1 SHA512 649645d702298ee7f3e5b8d2c39b2781fc1aae55cd03a4b774a2e66feef51e67f0a4367350db4defd62eaa2fc6710cb48a58d65991a63942d34e43783d29f94d WHIRLPOOL c67d6e4783dae52f79395f3902265705445897e7d57bfa63dd38d981a578329ab65ec7417ce4d5ef630f0a0ae2305eb41c80276727137a6fc7f0f610e9f6d539 +EBUILD reiser4progs-1.1.0.ebuild 1239 SHA256 bbc8c36b1542e465f01e2e483f498a83751dbe36f668bbce714704c6ddac48a9 SHA512 169576343c45a5e33a60a8913ce8324128f62e46d207021fc4e87d908714fbce7513dc92cc1df7af53401ec7df7b07312ce4723f15e44f36d25792cc0afc619f WHIRLPOOL 2b51e492dbd7a9f4093fafe8b76a574bd6b28684f0c7aec469e9c5b09f8715293c238067fa017ecae0871e3e4f7be08b8086e6865ba0ec0b7269153e66999a25 +MISC ChangeLog 3716 SHA256 3bc9af6915abea9dafb4b3a720dd744acfbf228020eddf5fbf9e0a1693957031 SHA512 d5b0a62a9f9896665179fbd60c3ef225e03fdb0273f7b87a31ff853e6e39637abe135711cba0c55f76082e9b3fa7c84d7d446c8f63736ec9100dcc8e352d2775 WHIRLPOOL 896b47e00cae8eefa1c509001e6953ba20913b7f1c917cddf5c880c6bd5003ca20de768b3c35a8cfc030df18f1ded1b19778afbbff39b85594f613340e89742b +MISC ChangeLog-2015 6987 SHA256 96cdee5b4fc21ea2e34af79eee71e8bd9e52fd9b42e59e0e85f1d0021f23593b SHA512 2c2a02f6c7c948fe7505908913cdc89400e3b0d09c9fe90db8c893cfc291645a4a957b008cda84b96c4b1e1f7246b5229ce8b503a935052fe2d753375aaff066 WHIRLPOOL 9a93086379ad9d539c7215864d14506e416381c7deb908b72761c58032af2e013fc9f798a42ea393c1fbd9eed5b3c2dbc40072ad51d7cd080ce0872d9ae3cb4f +MISC metadata.xml 440 SHA256 fa82f3ade251c67b1eba25a416f62aaef3c60cf6a3169b59c7934b9732cc799e SHA512 f12899412ca119abba07a6012e55f243ea069e1132c7dd9786aeb399f7d543ff82cba92f0957443ec08f230e68bc257729b789519ef52337ebc5679ee63b3ddc WHIRLPOOL 26b6676d63440d03cb361c62aa349047f82f3522b769e6ae17b6d460205619216b0fb506d0cfbe84e6aef15ce2a88243cc6a43fcaade26c8010c7aad19891615 diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch new file mode 100644 index 000000000000..9de53bd41203 --- /dev/null +++ b/sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/504472 + +fix building w/readline-6.3 -- the old CPPFunction define has been deleted + +--- a/libmisc/ui.c ++++ b/libmisc/ui.c +@@ -256,8 +256,7 @@ static void _init(void) { + + #if defined(HAVE_LIBREADLINE) && defined(HAVE_READLINE_READLINE_H) + rl_initialize(); +- rl_attempted_completion_function = +- (CPPFunction *)misc_complete; ++ rl_attempted_completion_function = misc_complete; + #endif + + aal_exception_set_handler(misc_exception_handler); diff --git a/sys-fs/reiser4progs/metadata.xml b/sys-fs/reiser4progs/metadata.xml new file mode 100644 index 000000000000..0b1c10d7263b --- /dev/null +++ b/sys-fs/reiser4progs/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>base-system@gentoo.org</email> + <name>Gentoo Base System</name> +</maintainer> +<longdescription lang="en"> +This is a library for reiser4 filesystem access and manipulation. +</longdescription> +<upstream> + <remote-id type="sourceforge">reiser4</remote-id> +</upstream> +</pkgmetadata> diff --git a/sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild b/sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild new file mode 100644 index 000000000000..b4bf73709751 --- /dev/null +++ b/sys-fs/reiser4progs/reiser4progs-1.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |