summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:20:06 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 14:20:06 +0200
commit556b270b401c9eba084b24ea6ea100a328498a4f (patch)
tree8b6c62462f7085f3733910eedd75414c526bd7da
parent825d0b4efe8856b493e83ba87f376583b3521163 (diff)
downloadnutyx-pakxe-556b270b401c9eba084b24ea6ea100a328498a4f.tar.gz
nutyx-pakxe-556b270b401c9eba084b24ea6ea100a328498a4f.tar.bz2
nutyx-pakxe-556b270b401c9eba084b24ea6ea100a328498a4f.tar.xz
nutyx-pakxe-556b270b401c9eba084b24ea6ea100a328498a4f.zip
Ajout de reiserfs#3.6.21-1
-rwxr-xr-xbase/reiserfsprogs/Pkgfile24
-rw-r--r--base/reiserfsprogs/reiserfsprogs-3.6.19.patch14
2 files changed, 38 insertions, 0 deletions
diff --git a/base/reiserfsprogs/Pkgfile b/base/reiserfsprogs/Pkgfile
new file mode 100755
index 000000000..b556f5fbe
--- /dev/null
+++ b/base/reiserfsprogs/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Utilitaires pour la gestion du système de fichiers Reiserfs
+# URL: http://www.kernel.org/pub/linux/utils/fs/reiserfs/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=reiserfsprogs
+version=3.6.21
+release=1
+source=(http://www.kernel.org/pub/linux/utils/fs/reiserfs/$name-$version.tar.gz\
+)
+
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sbindir=/sbin
+ make
+ make DESTDIR=$PKG install
+ ln -sf reiserfsck $PKG/sbin/fsck.reiserfs
+ ln -sf mkreiserfs $PKG/sbin/mkfs.reiserfs
+}
diff --git a/base/reiserfsprogs/reiserfsprogs-3.6.19.patch b/base/reiserfsprogs/reiserfsprogs-3.6.19.patch
new file mode 100644
index 000000000..7c24501a7
--- /dev/null
+++ b/base/reiserfsprogs/reiserfsprogs-3.6.19.patch
@@ -0,0 +1,14 @@
+diff -ru reiserfsprogs-3.6.19/include/reiserfs_fs.h reiserfsprogs-3.6.19-new/include/reiserfs_fs.h
+--- reiserfsprogs-3.6.19/include/reiserfs_fs.h 2004-09-16 09:49:05.000000000 +0200
++++ reiserfsprogs-3.6.19-new/include/reiserfs_fs.h 2004-10-19 22:56:51.086278496 +0200
+@@ -38,7 +38,8 @@
+ # define extern_inline
+ #endif
+
+-#include <asm/unaligned.h>
++#define get_unaligned(ptr) (*(ptr))
++#define put_unaligned(val, ptr) ((void)( *(ptr) = (val)))
+
+ #ifndef get_unaligned
+ #if defined(__ppc__) || defined(ppc) || defined(__ppc) || \
+