summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-09-15 17:46:26 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-09-15 17:46:26 +0000
commitac473605b2a5b4138218869a7f6140686c664e1c (patch)
treeaeabad1544e1c315445e0d3361afa57a8e40b715 /sys-fs/reiserfsprogs/files
parentadded filesystem related apps to sys-fs from sys-apps (diff)
downloadgentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.tar.gz
gentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.tar.bz2
gentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.zip
added filesystem related apps to sys-fs from sys-apps
Diffstat (limited to 'sys-fs/reiserfsprogs/files')
-rw-r--r--sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.101
-rw-r--r--sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.111
-rw-r--r--sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.31
-rw-r--r--sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.4-r11
-rw-r--r--sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.81
-rw-r--r--sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.91
-rw-r--r--sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.4-bitops.patch41
-rw-r--r--sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.5-flush_buffers-bug.patch78
8 files changed, 125 insertions, 0 deletions
diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.10 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.10
new file mode 100644
index 000000000000..14489587e3a1
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.10
@@ -0,0 +1 @@
+MD5 be3e73a20cd79520ed55e9e83ddce915 reiserfsprogs-3.6.10.tar.gz 375995
diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.11 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.11
new file mode 100644
index 000000000000..07a2a209df70
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.11
@@ -0,0 +1 @@
+MD5 f587c888de663603d4f6fa6cfdd82741 reiserfsprogs-3.6.11.tar.gz 369959
diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.3 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.3
new file mode 100644
index 000000000000..4afabb2d1d1f
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.3
@@ -0,0 +1 @@
+MD5 ed70bd918de1e3a9f26d18f528832e35 reiserfsprogs-3.6.3.tar.gz 329108
diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.4-r1 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.4-r1
new file mode 100644
index 000000000000..f117af3161f9
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.4-r1
@@ -0,0 +1 @@
+MD5 02d9377b38d6879bfa7bebff6718a9e1 reiserfsprogs-3.6.4.tar.gz 332584
diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.8 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.8
new file mode 100644
index 000000000000..2cf848112dd7
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.8
@@ -0,0 +1 @@
+MD5 27986924e0f83bf529c6684be36f8e06 reiserfsprogs-3.6.8.tar.gz 363049
diff --git a/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.9 b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.9
new file mode 100644
index 000000000000..2d6bfe4b66fc
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/digest-reiserfsprogs-3.6.9
@@ -0,0 +1 @@
+MD5 dce968da17b7ef4be77c831c3ae5c577 reiserfsprogs-3.6.9.tar.gz 376036
diff --git a/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.4-bitops.patch b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.4-bitops.patch
new file mode 100644
index 000000000000..79966165db54
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.4-bitops.patch
@@ -0,0 +1,41 @@
+--- include/io.h.orig 2002-11-02 11:55:50.000000000 -0600
++++ include/io.h 2002-11-02 14:02:08.000000000 -0600
+@@ -3,6 +3,10 @@
+ */
+
+
++#define __KERNEL__
++#include <asm/bitops.h> /* needed for test_bit/set_bit */
++#undef __KERNEL__
++
+ struct buffer_head {
+ unsigned long b_blocknr;
+ unsigned short b_dev;
+--- include/misc.h.orig 2002-11-02 14:17:31.000000000 -0600
++++ include/misc.h 2002-11-02 14:19:44.000000000 -0600
+@@ -49,7 +49,10 @@
+ int uuid_is_correct (unsigned char * uuid);
+ int set_uuid (const unsigned char * text, unsigned char * UUID);
+
++#define __KERNEL__
+ #include <asm/bitops.h>
++#undef __KERNEL__
++
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
+ int le_set_bit (int nr, void * addr);
+ int le_clear_bit (int nr, void * addr);
+@@ -64,12 +67,14 @@
+ # define le64_to_cpu(val) (val)
+ #elif __BYTE_ORDER == __BIG_ENDIAN
+
++#ifndef cpu_to_le16
+ # define cpu_to_le16(val) swab16(val)
+ # define le16_to_cpu(val) swab16(val)
+ # define cpu_to_le32(val) swab32(val)
+ # define le32_to_cpu(val) swab32(val)
+ # define cpu_to_le64(val) swab64(val)
+ # define le64_to_cpu(val) swab64(val)
++#endif
+ #else
+ # error "nuxi/pdp-endian archs are not supported"
+ #endif
diff --git a/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.5-flush_buffers-bug.patch b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.5-flush_buffers-bug.patch
new file mode 100644
index 000000000000..a05a35f0f408
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.5-flush_buffers-bug.patch
@@ -0,0 +1,78 @@
+diff -rup reiserfsprogs-3.6.5.old/include/io.h reiserfsprogs-3.6.5/include/io.h
+--- reiserfsprogs-3.6.5.old/include/io.h 2003-04-01 20:52:39.000000000 +0400
++++ reiserfsprogs-3.6.5/include/io.h 2003-04-01 21:00:59.000000000 +0400
+@@ -5,7 +5,7 @@
+
+ struct buffer_head {
+ unsigned long b_blocknr;
+- unsigned short b_dev;
++ int b_dev;
+ unsigned long b_size;
+ char * b_data;
+ unsigned long b_state;
+@@ -51,7 +51,7 @@ void __wait_on_buffer (struct buffer_hea
+ struct buffer_head * getblk (int dev, unsigned long block, int size);
+ struct buffer_head * reiserfs_getblk (int dev, unsigned long block, int size, int *repeat);
+
+-struct buffer_head * find_buffer (unsigned short dev, unsigned long block, unsigned long size);
++struct buffer_head * find_buffer (int dev, unsigned long block, unsigned long size);
+ struct buffer_head * get_hash_table(dev_t dev, unsigned long block, int size);
+ struct buffer_head * bread (int dev, unsigned long block, size_t size);
+ struct buffer_head * reiserfs_bread (int dev, unsigned long block, int size, int *repeat);
+diff -rup reiserfsprogs-3.6.5.old/lib/io.c reiserfsprogs-3.6.5/lib/io.c
+--- reiserfsprogs-3.6.5.old/lib/io.c 2003-04-01 20:52:36.000000000 +0400
++++ reiserfsprogs-3.6.5/lib/io.c 2003-04-01 21:03:08.000000000 +0400
+@@ -102,7 +102,7 @@ static int buffer_writes = 0 ;
+
+
+
+-static void _show_buffers(struct buffer_head **list, unsigned short dev, unsigned long size) {
++static void _show_buffers(struct buffer_head **list, int dev, unsigned long size) {
+ int all = 0;
+ int dirty = 0;
+ int in_use = 0; /* count != 0 */
+@@ -131,7 +131,7 @@ static void _show_buffers(struct buffer_
+ break;
+ }
+
+- printf ("show_buffers (dev %u, size %lu): free %d, count != 0 %d, dirty %d, all %d\n",
++ printf ("show_buffers (dev %d, size %lu): free %d, count != 0 %d, dirty %d, all %d\n",
+ dev, size, free, in_use, dirty, all);
+ }
+
+@@ -161,7 +161,7 @@ static void insert_into_hash_queue (stru
+ static void remove_from_hash_queue (struct buffer_head * bh)
+ {
+ if (bh->b_hash_next == 0 && bh->b_hash_prev == 0 && bh != g_a_hash_queues[bh->b_blocknr % NR_HASH_QUEUES])
+- /* (b_dev == 0) ? */
++ /* (b_dev == -1) ? */
+ return;
+
+ if (bh == g_a_hash_queues[bh->b_blocknr % NR_HASH_QUEUES]) {
+@@ -290,7 +290,7 @@ static int grow_buffers (int size)
+ tmp->b_data = getmem (size);
+ if (tmp->b_data == 0)
+ die ("grow_buffers: no memory for new buffer data");
+- tmp->b_dev = 0;
++ tmp->b_dev = -1;
+ tmp->b_size = size;
+ put_buffer_list_head (&g_free_buffers, tmp);
+ }
+@@ -300,7 +300,7 @@ static int grow_buffers (int size)
+ }
+
+
+-struct buffer_head * find_buffer (unsigned short dev, unsigned long block, unsigned long size)
++struct buffer_head * find_buffer (int dev, unsigned long block, unsigned long size)
+ {
+ struct buffer_head * next;
+
+@@ -390,7 +390,7 @@ restart:
+
+ void flush_buffers (dev_t dev)
+ {
+- if (!dev)
++ if (dev == -1)
+ die ("flush_buffers: device is not specifed");
+ sync_buffers (&Buffer_list_head, dev, 0/*all*/);
+ buffer_soft_limit = BUFFER_SOFT_LIMIT;