summaryrefslogtreecommitdiff
path: root/sys-fs/reiser4progs
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sys-fs/reiser4progs
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sys-fs/reiser4progs')
-rw-r--r--sys-fs/reiser4progs/Manifest3
-rw-r--r--sys-fs/reiser4progs/files/reiser4progs-1.0.7-gcc-4.4.patch15
-rw-r--r--sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch16
-rw-r--r--sys-fs/reiser4progs/metadata.xml11
-rw-r--r--sys-fs/reiser4progs/reiser4progs-1.0.7.ebuild55
-rw-r--r--sys-fs/reiser4progs/reiser4progs-1.0.8.ebuild49
-rw-r--r--sys-fs/reiser4progs/reiser4progs-1.0.9.ebuild49
7 files changed, 198 insertions, 0 deletions
diff --git a/sys-fs/reiser4progs/Manifest b/sys-fs/reiser4progs/Manifest
new file mode 100644
index 00000000000..52041520da4
--- /dev/null
+++ b/sys-fs/reiser4progs/Manifest
@@ -0,0 +1,3 @@
+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
diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.7-gcc-4.4.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.7-gcc-4.4.patch
new file mode 100644
index 00000000000..3f32af5d78b
--- /dev/null
+++ b/sys-fs/reiser4progs/files/reiser4progs-1.0.7-gcc-4.4.patch
@@ -0,0 +1,15 @@
+http://bugs.gentoo.org/269240
+
+fix build failure when using gcc-4.4
+
+--- reiser4progs-1.0.7/plugin/node/node40/node40.c
++++ reiser4progs-1.0.7/plugin/node/node40/node40.c
+@@ -994,7 +994,7 @@
+ func = cb_comp_key3;
+ #elif defined(ENABLE_LARGE_KEYS)
+ func = cb_comp_key4;
+-#elif
++#else
+ func = NULL;
+ #endif
+
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 00000000000..9de53bd4120
--- /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 00000000000..f1ece2ee481
--- /dev/null
+++ b/sys-fs/reiser4progs/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>base-system</herd>
+ <longdescription>
+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.0.7.ebuild b/sys-fs/reiser4progs/reiser4progs-1.0.7.ebuild
new file mode 100644
index 00000000000..de27102ffef
--- /dev/null
+++ b/sys-fs/reiser4progs/reiser4progs-1.0.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit multilib eutils toolchain-funcs
+
+MY_P=${PN}-${PV/_p/-}
+DESCRIPTION="reiser4progs: mkfs, fsck, etc..."
+HOMEPAGE="http://www.kernel.org/pub/linux/utils/fs/reiser4/reiser4progs/"
+SRC_URI="mirror://kernel/linux/utils/fs/reiser4/reiser4progs/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 arm ppc ppc64 -sparc x86"
+IUSE="static debug readline"
+
+DEPEND="~sys-libs/libaal-1.0.5
+ readline? ( sys-libs/readline )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gcc-4.4.patch #269240
+ epatch "${FILESDIR}"/${P}-readline-6.3.patch #504472
+ printf '#!/bin/sh\ntrue\n' > run-ldconfig
+}
+
+src_compile() {
+ econf \
+ $(use_enable static full-static) \
+ $(use_enable static mkfs-static) \
+ $(use_enable static fsck-static) \
+ $(use_enable static debugfs-static) \
+ $(use_enable static measurefs-static) \
+ $(use_enable static cpfs-static) \
+ $(use_enable static resizefs-static) \
+ $(use_enable debug) \
+ $(use_with readline) \
+ --enable-libminimal \
+ --sbindir=/sbin \
+ || die "configure failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS BUGS CREDITS ChangeLog NEWS README THANKS TODO
+
+ # move shared libs to /
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die
+ gen_usr_ldscript libreiser4-minimal.so libreiser4.so librepair.so
+}
diff --git a/sys-fs/reiser4progs/reiser4progs-1.0.8.ebuild b/sys-fs/reiser4progs/reiser4progs-1.0.8.ebuild
new file mode 100644
index 00000000000..7c87b60b914
--- /dev/null
+++ b/sys-fs/reiser4progs/reiser4progs-1.0.8.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 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.5[static-libs(+)]
+ readline? ( sys-libs/readline[static-libs(+)] )"
+RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ static-libs? ( ~sys-libs/libaal-1.0.5[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
+}
diff --git a/sys-fs/reiser4progs/reiser4progs-1.0.9.ebuild b/sys-fs/reiser4progs/reiser4progs-1.0.9.ebuild
new file mode 100644
index 00000000000..a390451a26c
--- /dev/null
+++ b/sys-fs/reiser4progs/reiser4progs-1.0.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 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
+}