diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-29 00:59:13 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-29 00:59:13 +0000 |
commit | 1509e6e79f240fbc4a962c816f532095e7d04264 (patch) | |
tree | f60be58003c129bc0c0bddbefe7b38d84df35d7b /sys-fs/reiser4progs | |
parent | Add patch to disable building nscd as PIE on hppa since PIE support is broken... (diff) | |
download | gentoo-2-1509e6e79f240fbc4a962c816f532095e7d04264.tar.gz gentoo-2-1509e6e79f240fbc4a962c816f532095e7d04264.tar.bz2 gentoo-2-1509e6e79f240fbc4a962c816f532095e7d04264.zip |
Version bump #100447 by Ingo Bormuth.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-fs/reiser4progs')
-rw-r--r-- | sys-fs/reiser4progs/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/reiser4progs/files/digest-reiser4progs-1.0.4_p1 | 1 | ||||
-rw-r--r-- | sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch | 18 | ||||
-rw-r--r-- | sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild | 66 |
4 files changed, 83 insertions, 10 deletions
diff --git a/sys-fs/reiser4progs/ChangeLog b/sys-fs/reiser4progs/ChangeLog index cb53d367960e..5790a3beeb27 100644 --- a/sys-fs/reiser4progs/ChangeLog +++ b/sys-fs/reiser4progs/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/reiser4progs # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiser4progs/ChangeLog,v 1.23 2005/06/27 07:34:26 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiser4progs/ChangeLog,v 1.24 2005/07/29 00:59:12 vapier Exp $ + +*reiser4progs-1.0.4_p1 (29 Jul 2005) + + 29 Jul 2005; Mike Frysinger <vapier@gentoo.org> + files/reiser4progs-1.0.4-gcc4.patch, +reiser4progs-1.0.4_p1.ebuild: + Version bump #100447 by Ingo Bormuth. 27 Jun 2005; Markus Rothe <corsair@gentoo.org> reiser4progs-1.0.4.ebuild: Stable on ppc64 diff --git a/sys-fs/reiser4progs/files/digest-reiser4progs-1.0.4_p1 b/sys-fs/reiser4progs/files/digest-reiser4progs-1.0.4_p1 new file mode 100644 index 000000000000..07df4b1f50a8 --- /dev/null +++ b/sys-fs/reiser4progs/files/digest-reiser4progs-1.0.4_p1 @@ -0,0 +1 @@ +MD5 6b1fd418815a52570fee4fb90c81380c reiser4progs-1.0.4-1.tar.gz 878078 diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch index 7c7f5ef0a0f3..45215df6625c 100644 --- a/sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch +++ b/sys-fs/reiser4progs/files/reiser4progs-1.0.4-gcc4.patch @@ -1,6 +1,8 @@ -diff -ur reiser4progs-1.0.4-orig/plugin/key/key_large/key_large.h reiser4progs-1.0.4/plugin/key/key_large/key_large.h ---- reiser4progs-1.0.4-orig/plugin/key/key_large/key_large.h 2005-03-12 14:12:04.000000000 -0500 -+++ reiser4progs-1.0.4/plugin/key/key_large/key_large.h 2005-03-12 14:14:16.000000000 -0500 +These variables are all static local so declaring them as +extern in their header file is pointless and just breaks. + +--- plugin/key/key_large/key_large.h ++++ plugin/key/key_large/key_large.h @@ -43,7 +43,7 @@ typedef union key_large key_large_t; @@ -10,9 +12,8 @@ diff -ur reiser4progs-1.0.4-orig/plugin/key/key_large/key_large.h reiser4progs-1 typedef enum { /* Major locality occupies higher 60 bits of the first element */ -diff -ur reiser4progs-1.0.4-orig/plugin/key/key_short/key_short.h reiser4progs-1.0.4/plugin/key/key_short/key_short.h ---- reiser4progs-1.0.4-orig/plugin/key/key_short/key_short.h 2005-03-12 14:12:04.000000000 -0500 -+++ reiser4progs-1.0.4/plugin/key/key_short/key_short.h 2005-03-12 14:14:04.000000000 -0500 +--- plugin/key/key_short/key_short.h ++++ plugin/key/key_short/key_short.h @@ -42,7 +42,7 @@ typedef union key_short key_short_t; @@ -22,9 +23,8 @@ diff -ur reiser4progs-1.0.4-orig/plugin/key/key_short/key_short.h reiser4progs-1 typedef enum { /* Major locality occupies higher 60 bits of the first element */ -diff -ur reiser4progs-1.0.4-orig/plugin/oid/oid40/oid40.h reiser4progs-1.0.4/plugin/oid/oid40/oid40.h ---- reiser4progs-1.0.4-orig/plugin/oid/oid40/oid40.h 2005-03-12 14:13:18.000000000 -0500 -+++ reiser4progs-1.0.4/plugin/oid/oid40/oid40.h 2005-03-12 14:10:57.000000000 -0500 +--- plugin/oid/oid40/oid40.h ++++ plugin/oid/oid40/oid40.h @@ -30,7 +30,7 @@ typedef struct oid40 oid40_t; diff --git a/sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild b/sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild new file mode 100644 index 000000000000..ef50f53435e4 --- /dev/null +++ b/sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/reiser4progs/reiser4progs-1.0.4_p1.ebuild,v 1.1 2005/07/29 00:59:12 vapier Exp $ + +inherit eutils + +MY_P=${PN}-${PV/_p/-} +DESCRIPTION="reiser4progs: mkfs, fsck, etc..." +HOMEPAGE="http://www.namesys.com/v4/v4.html" +SRC_URI="ftp://ftp.namesys.com/pub/reiser4progs/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 -sparc ~x86" +IUSE="static debug readline" + +DEPEND=">=sys-libs/libaal-1.0.4 + readline? ( sys-libs/readline )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + # bundled libtool sucks, so rebuild autotools #74817 + aclocal && libtoolize -c -f && autoconf && automake || die "autotools failed" + epatch "${FILESDIR}"/${PN}-1.0.4-gcc4.patch + cat <<-EOF > run-ldconfig + #!/bin/sh + true + EOF +} + +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 \ + --libdir=/$(get_libdir) \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc AUTHORS BUGS CREDITS ChangeLog NEWS README THANKS TODO + #resizefs binary doesnt exist in this release + rm -f "${D}"/usr/share/man/man8/resizefs* + + # move stupid .a out of root + dodir /usr/$(get_libdir) + local l="" + for l in libreiser4-minimal libreiser4 librepair ; do + mv "${D}"/$(get_libdir)/${l}.{a,la} "${D}"/usr/$(get_libdir)/ + dosym ../usr/lib/${l}.a /lib/${l}.a + gen_usr_ldscript ${l}.so + done +} |