summaryrefslogtreecommitdiffstats
path: root/btrfs-progs
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /btrfs-progs
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'btrfs-progs')
-rw-r--r--btrfs-progs/.footprint18
-rw-r--r--btrfs-progs/.md5sum2
-rw-r--r--btrfs-progs/Pkgfile18
-rw-r--r--btrfs-progs/Pkgfile.old22
-rw-r--r--btrfs-progs/btrfs-progs.diff11
5 files changed, 71 insertions, 0 deletions
diff --git a/btrfs-progs/.footprint b/btrfs-progs/.footprint
new file mode 100644
index 0000000..24aa9ad
--- /dev/null
+++ b/btrfs-progs/.footprint
@@ -0,0 +1,18 @@
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/btrfs
+-rwxr-xr-x root/root sbin/btrfs-debug-tree
+-rwxr-xr-x root/root sbin/btrfs-map-logical
+-rwxr-xr-x root/root sbin/btrfs-show
+-rwxr-xr-x root/root sbin/btrfs-vol
+-rwxr-xr-x root/root sbin/btrfsck
+-rwxr-xr-x root/root sbin/btrfsctl
+-rwxr-xr-x root/root sbin/mkfs.btrfs
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/btrfs-image.8.gz
+-rw-r--r-- root/root usr/man/man8/btrfs-show.8.gz
+-rw-r--r-- root/root usr/man/man8/btrfs.8.gz
+-rw-r--r-- root/root usr/man/man8/btrfsck.8.gz
+-rw-r--r-- root/root usr/man/man8/btrfsctl.8.gz
+-rw-r--r-- root/root usr/man/man8/mkfs.btrfs.8.gz
diff --git a/btrfs-progs/.md5sum b/btrfs-progs/.md5sum
new file mode 100644
index 0000000..4d476c9
--- /dev/null
+++ b/btrfs-progs/.md5sum
@@ -0,0 +1,2 @@
+28b5f1258497899ef5fdc7e788a65f6a btrfs-progs-unstable-075587c.tar.gz
+4fdbe37840e6e2316f629ea1cffa936e btrfs-progs.diff
diff --git a/btrfs-progs/Pkgfile b/btrfs-progs/Pkgfile
new file mode 100644
index 0000000..68a2286
--- /dev/null
+++ b/btrfs-progs/Pkgfile
@@ -0,0 +1,18 @@
+description="Filesystem utilities for btrfs"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://btrfs.wiki.kernel.org"
+depends=(util-linux-ng)
+
+name=btrfs-progs
+version=075587c
+release=3
+source=(http://crux.nu/files/distfiles/btrfs-progs-unstable-075587c.tar.gz btrfs-progs.diff)
+build ()
+{
+ cd $name-unstable-$version;
+ patch -p1 -i $SRC/$name.diff;
+ make;
+ install -d -m 755 $PKG/usr/man/man8;
+ make prefix=/ bindir=/sbin mandir=/usr/man DESTDIR=$PKG install
+}
diff --git a/btrfs-progs/Pkgfile.old b/btrfs-progs/Pkgfile.old
new file mode 100644
index 0000000..99e9310
--- /dev/null
+++ b/btrfs-progs/Pkgfile.old
@@ -0,0 +1,22 @@
+# Description: Filesystem utilities for btrfs
+# URL: http://btrfs.wiki.kernel.org
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: util-linux-ng
+
+name=btrfs-progs
+version=075587c
+release=3
+source=(http://crux.nu/files/distfiles/$name-unstable-$version.tar.gz
+ $name.diff)
+
+build() {
+ cd $name-unstable-$version
+
+ # Fix the build with glibc 2.12:
+ patch -p1 -i $SRC/$name.diff
+
+ make
+
+ install -d -m 755 $PKG/usr/man/man8
+ make prefix=/ bindir=/sbin mandir=/usr/man DESTDIR=$PKG install
+}
diff --git a/btrfs-progs/btrfs-progs.diff b/btrfs-progs/btrfs-progs.diff
new file mode 100644
index 0000000..55eb1eb
--- /dev/null
+++ b/btrfs-progs/btrfs-progs.diff
@@ -0,0 +1,11 @@
+diff -aur btrfs-progs-unstable-075587c.orig/btrfsck.c btrfs-progs-unstable-075587c/btrfsck.c
+--- btrfs-progs-unstable-075587c.orig/btrfsck.c 2010-04-06 15:30:17.000000000 +0200
++++ btrfs-progs-unstable-075587c/btrfsck.c 2010-08-11 08:32:57.623000001 +0200
+@@ -21,6 +21,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <fcntl.h>
++#include <sys/stat.h>
+ #include "kerncompat.h"
+ #include "ctree.h"
+ #include "disk-io.h"