diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-09-15 18:15:21 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-09-15 18:15:21 +0000 |
commit | d1389441a9739a042705c338f455ef97650e9f88 (patch) | |
tree | 6c2d1e1613deb2c5c5293095474eb652fde4ae1b /sys-fs/progsreiserfs | |
parent | moved to sys-fs (diff) | |
download | historical-d1389441a9739a042705c338f455ef97650e9f88.tar.gz historical-d1389441a9739a042705c338f455ef97650e9f88.tar.bz2 historical-d1389441a9739a042705c338f455ef97650e9f88.zip |
moved to sys-fs
Diffstat (limited to 'sys-fs/progsreiserfs')
6 files changed, 223 insertions, 4 deletions
diff --git a/sys-fs/progsreiserfs/Manifest b/sys-fs/progsreiserfs/Manifest index 2489b85612e5..d0987f4c42ee 100644 --- a/sys-fs/progsreiserfs/Manifest +++ b/sys-fs/progsreiserfs/Manifest @@ -1,6 +1,6 @@ -MD5 79162530e95ea51df48d0fde458cbf91 ChangeLog 1220 -MD5 0488db6771ef32bad49078b573ac7d65 progsreiserfs-0.3.0.3.ebuild 998 -MD5 14adcfc7782ec53e073423b8b82a1290 progsreiserfs-0.3.0.4.ebuild 938 +MD5 9d6fb0405a1b2f04b1e804e0bf4f14f3 progsreiserfs-0.3.0.4.ebuild 937 +MD5 105eaabdbbc9cfd8b77ee8fdcba57ff6 ChangeLog 1450 +MD5 caf926f4640de01f71cc4c42fcca6358 progsreiserfs-0.3.0.3.ebuild 996 +MD5 28dc8fad925d2a2f7b7be786f1e8e24c files/progsreiserfs-0.3.0.3-sparc-linux.diff 4837 MD5 75294cbe3651dbef695bf07137ed95e5 files/digest-progsreiserfs-0.3.0.3 73 MD5 97b4fea006b2a01f7a653f9c2b250108 files/digest-progsreiserfs-0.3.0.4 73 -MD5 28dc8fad925d2a2f7b7be786f1e8e24c files/progsreiserfs-0.3.0.3-sparc-linux.diff 4837 diff --git a/sys-fs/progsreiserfs/files/digest-progsreiserfs-0.3.0.3 b/sys-fs/progsreiserfs/files/digest-progsreiserfs-0.3.0.3 new file mode 100644 index 000000000000..3c65272c7c98 --- /dev/null +++ b/sys-fs/progsreiserfs/files/digest-progsreiserfs-0.3.0.3 @@ -0,0 +1 @@ +MD5 bf61ef38dc81f16e11fe768b3ec59230 progsreiserfs-0.3.0.3.tar.gz 364986 diff --git a/sys-fs/progsreiserfs/files/digest-progsreiserfs-0.3.0.4 b/sys-fs/progsreiserfs/files/digest-progsreiserfs-0.3.0.4 new file mode 100644 index 000000000000..78dc7f09ff59 --- /dev/null +++ b/sys-fs/progsreiserfs/files/digest-progsreiserfs-0.3.0.4 @@ -0,0 +1 @@ +MD5 0dabc171660e6e569f3fef9d304c8368 progsreiserfs-0.3.0.4.tar.gz 308247 diff --git a/sys-fs/progsreiserfs/files/progsreiserfs-0.3.0.3-sparc-linux.diff b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.0.3-sparc-linux.diff new file mode 100644 index 000000000000..3814bc5d506b --- /dev/null +++ b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.0.3-sparc-linux.diff @@ -0,0 +1,144 @@ +Index: include/reiserfs/hashes.h +=================================================================== +RCS file: /var/cvs/debian/progsreiserfs/include/reiserfs/hashes.h,v +retrieving revision 1.1.1.2 +retrieving revision 1.3 +diff -u -r1.1.1.2 -r1.3 +--- include/reiserfs/hashes.h 3 May 2002 15:38:28 -0000 1.1.1.2 ++++ include/reiserfs/hashes.h 16 Dec 2002 05:30:03 -0000 1.3 +@@ -8,9 +8,9 @@ + #ifndef HASHES_H + #define HASHES_H + +-#if defined(__sparc__) || defined(__sparc_v9__) ++#if !defined(__GNUC__) && (defined(__sparc__) || defined(__sparc_v9__)) + # include <sys/int_types.h> +-#else ++#else /* GNU C or not sparc */ + # include <stdint.h> + #endif + +Index: include/reiserfs/key.h +=================================================================== +RCS file: /var/cvs/debian/progsreiserfs/include/reiserfs/key.h,v +retrieving revision 1.1.1.2 +retrieving revision 1.3 +diff -u -r1.1.1.2 -r1.3 +--- include/reiserfs/key.h 5 May 2002 17:47:54 -0000 1.1.1.2 ++++ include/reiserfs/key.h 16 Dec 2002 05:30:03 -0000 1.3 +@@ -12,9 +12,9 @@ + #ifndef KEY_H + #define KEY_H + +-#if defined(__sparc__) || defined(__sparc_v9__) ++#if !defined(__GNUC__) && (defined(__sparc__) || defined(__sparc_v9__)) + # include <sys/int_types.h> +-#else ++#else /* GNU C or not sparc */ + # include <stdint.h> + #endif + +Index: include/reiserfs/reiserfs.h +=================================================================== +RCS file: /var/cvs/debian/progsreiserfs/include/reiserfs/reiserfs.h,v +retrieving revision 1.1.1.2 +retrieving revision 1.3 +diff -u -r1.1.1.2 -r1.3 +--- include/reiserfs/reiserfs.h 3 May 2002 16:14:40 -0000 1.1.1.2 ++++ include/reiserfs/reiserfs.h 16 Dec 2002 05:30:03 -0000 1.3 +@@ -10,9 +10,9 @@ + extern "C" { + #endif + +-#if defined(__sparc__) || defined(__sparc_v9__) ++#if !defined(__GNUC__) && (defined(__sparc__) || defined(__sparc_v9__)) + # include <sys/int_types.h> +-#else ++#else /* GNU C or not sparc */ + # include <stdint.h> + #endif + +Index: libreiserfs/bitmap.c +=================================================================== +RCS file: /var/cvs/debian/progsreiserfs/libreiserfs/bitmap.c,v +retrieving revision 1.1.1.2 +retrieving revision 1.2 +diff -u -r1.1.1.2 -r1.2 +--- libreiserfs/bitmap.c 3 May 2002 21:27:20 -0000 1.1.1.2 ++++ libreiserfs/bitmap.c 16 Dec 2002 14:10:43 -0000 1.2 +@@ -88,7 +88,7 @@ + reiserfs_bm_range_check(bm, end - 1, return 0); + + for (i = start; i < end; ) { +-#if !defined(__sparc__) && !defined(__sparc_v9__) ++#if defined(__GNUC__) || (!defined(__sparc__) && !defined(__sparc_v9__)) + uint64_t *block64 = (uint64_t *)(bm->bm_map + (i >> 0x3)); + size_t bits = sizeof(uint64_t) * 8; + +@@ -103,7 +103,7 @@ + blocks++; + i++; + } +-#else ++#else /* sparc but not GNU C */ + if ((flag == 0 ? reiserfs_bitmap_test_block(bm, i) : !reiserfs_bitmap_test_block(bm, i))) + blocks++; + i++; +Index: libreiserfs/core.c +=================================================================== +RCS file: /var/cvs/debian/progsreiserfs/libreiserfs/core.c,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -u -r1.1.1.1 -r1.2 +--- libreiserfs/core.c 5 May 2002 15:36:42 -0000 1.1.1.1 ++++ libreiserfs/core.c 16 Dec 2002 14:10:43 -0000 1.2 +@@ -750,10 +750,10 @@ + if (!dal_set_block_size(dal, 1024)) + goto error; + +-#if defined(__sparc__) || defined(__sparc_v9__) ++#if !defined(__GNUC__) && (defined(__sparc__) || defined(__sparc_v9__)) + if (!reiserfs_geom_init(&geom, dal, 1, DEFAULT_SUPER_OFFSET / dal_block_size(dal))) + goto error; +-#else ++#else /* GNU C or not sparc */ + if (!reiserfs_geom_init(&geom, dal, 0, DEFAULT_SUPER_OFFSET / dal_block_size(dal))) + goto error; + #endif +Index: libreiserfs/object.c +=================================================================== +RCS file: /var/cvs/debian/progsreiserfs/libreiserfs/object.c,v +retrieving revision 1.1.1.2 +retrieving revision 1.2 +diff -u -r1.1.1.2 -r1.2 +--- libreiserfs/object.c 5 May 2002 17:50:01 -0000 1.1.1.2 ++++ libreiserfs/object.c 16 Dec 2002 14:10:43 -0000 1.2 +@@ -12,7 +12,7 @@ + #include <limits.h> + #include <unistd.h> + +-#if defined(__sparc__) || defined(__sparc_v9__) ++#if !defined(__GNUC__) && (defined(__sparc__) || defined(__sparc_v9__)) + # include <reiserfs/strsep.h> + #endif + +Index: libreiserfs/tools.c +=================================================================== +RCS file: /var/cvs/debian/progsreiserfs/libreiserfs/tools.c,v +retrieving revision 1.1.1.2 +retrieving revision 1.3 +diff -u -r1.1.1.2 -r1.3 +--- libreiserfs/tools.c 3 May 2002 16:27:46 -0000 1.1.1.2 ++++ libreiserfs/tools.c 16 Dec 2002 05:30:04 -0000 1.3 +@@ -6,9 +6,9 @@ + Some parts of this code stolen somewhere from linux. + */ + +-#if defined(__sparc__) || defined(__sparc_v9__) ++#if !defined(__GNUC__) && (defined(__sparc__) || defined(__sparc_v9__)) + # include <sys/int_types.h> +-#else ++#else /* GNU C or not sparc */ + # include <stdint.h> + #endif + diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.0.3.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.0.3.ebuild new file mode 100644 index 000000000000..07492d7529fa --- /dev/null +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.0.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/progsreiserfs/progsreiserfs-0.3.0.3.ebuild,v 1.1 2003/09/15 18:15:20 seemant Exp $ + +inherit libtool + +DESCRIPTION="library for accessing and manipulating reiserfs partitions" +HOMEPAGE="http://reiserfs.linux.kiev.ua/" +SRC_URI="http://reiserfs.linux.kiev.ua/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc sparc" +IUSE="nls debug" + +DEPEND="nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + [ "${ARCH}" = "sparc" ] && cd ${S} && epatch ${FILESDIR}/${P}-sparc-linux.diff +} + +src_compile() { + local myconf + use nls || myconf="${myconf} --disable-nls" + use debug && myconf="${myconf} --disable-debug" + + elibtoolize + econf ${myconf} || die + emake || die +} + +src_install() { + make install DESTDIR=${D} || die + dodoc AUTHORS BUGS ChangeLog NEWS README THANKS \ + TODO COPYING.NAMESYS COPYING doc/API + docinto demos + dodoc demos/*.c +} diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.0.4.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.0.4.ebuild new file mode 100644 index 000000000000..c225c2fe57f8 --- /dev/null +++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.0.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/progsreiserfs/progsreiserfs-0.3.0.4.ebuild,v 1.1 2003/09/15 18:15:20 seemant Exp $ + +inherit libtool + +DESCRIPTION="library for accessing and manipulating reiserfs partitions" +HOMEPAGE="http://reiserfs.linux.kiev.ua/" +SRC_URI="http://reiserfs.linux.kiev.ua/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc ~sparc hppa amd64 alpha" +IUSE="nls debug" + +DEPEND="nls? ( sys-devel/gettext )" + +src_compile() { + local myconf + use nls || myconf="${myconf} --disable-nls" + use debug && myconf="${myconf} --disable-debug" + + elibtoolize + econf ${myconf} || die "Configure failed" + emake || die "Make failed" +} + +src_install() { + einstall || die "Install failed" + dodoc AUTHORS BUGS ChangeLog NEWS README THANKS \ + TODO COPYING.NAMESYS COPYING doc/API + docinto demos + dodoc demos/*.c +} |