[Lunar-commits] <moonbase-other> Merge branch 'master' of github.com:lunar-linux/moonbase-other

Dennis Veatch dennisveatch at bellsouth.net
Wed Aug 6 15:25:59 CEST 2014


commit cfcfd6b6f255d3525e67ba95f39c6197bfbbd7b6
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Wed, 06 Aug 2014 09:25:51 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/cfcfd6b6f255d3525e67ba95f39c6197bfbbd7b6

Merge branch 'master' of github.com:lunar-linux/moonbase-other
---
  zbeta/zfs-git/BUILD        | +26/-0    
  zbeta/zfs-git/CONFLICTS    | +1/-0     
  zbeta/zfs-git/DETAILS      | +20/-0    
  zbeta/zfs-git/POST_INSTALL | +1/-0     
  zbeta/zfs-git/PRE_BUILD    | +10/-0    
  5 files changed, 58 insertions(+)

--- /dev/null
+++ b/zbeta/zfs-git/BUILD
@@ -0,0 +1,26 @@
+cd "$SPL_PATH" &&
+./autogen.sh &&
+OPTS+=" --with-linux=/usr/src/linux --with-linux-obj=/usr/src/linux" \
+default_config &&
+make ${MAKES:+-j${MAKES}} &&
+
+cd "$ZFS_PATH" &&
+./autogen.sh &&
+OPTS+=" --with-linux=/usr/src/linux --with-linux-obj=/usr/src/linux --with-spl=$SPL_PATH" default_config &&
+make ${MAKES:+-j${MAKES}} &&
+
+prepare_install &&
+
+# SPL and ZFS try to install files on top of each other and fail, so do
+# this hack to work around it.
+cd "$SPL_PATH"                       &&
+mkdir -p pkg                         &&
+make install DESTDIR="$SPL_PATH/pkg" &&
+cd "$SPL_PATH/pkg"                   &&
+cp -av * /                           &&
+
+cd "$ZFS_PATH" &&
+mkdir -p pkg         &&
+make install DESTDIR="$ZFS_PATH/pkg" &&
+cd "$ZFS_PATH/pkg" &&
+cp -av * /
--- /dev/null
+++ b/zbeta/zfs-git/CONFLICTS
@@ -0,0 +1 @@
+conflicts zfs
--- /dev/null
+++ b/zbeta/zfs-git/DETAILS
@@ -0,0 +1,20 @@
+          MODULE=zfs-git
+         VERSION=0.6.2-dev
+          SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=spl-$VERSION.tar.gz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
+      SOURCE_URL=git://github.com/zfsonlinux/zfs.git
+     SOURCE2_URL=git://github.com/zfsonlinux/spl.git
+        WEB_SITE=http://www.zfsonlinux.org/
+         LICENSE=cddl
+         ENTERED=20130212
+         UPDATED=20130329
+           SHORT="The ZFS file system"
+
+cat << EOF
+ZFS is an advanced file system and volume manager which was originally
+developed for Solaris. It has been successfully ported to FreeBSD and
+now there is a functional Linux ZFS kernel port too. The port currently
+includes a fully functional and stable SPA, DMU, and ZVOL with a ZFS
+Posix Layer (ZPL) on the way.
+EOF
--- /dev/null
+++ b/zbeta/zfs-git/POST_INSTALL
@@ -0,0 +1 @@
+depmod -a
--- /dev/null
+++ b/zbeta/zfs-git/PRE_BUILD
@@ -0,0 +1,10 @@
+BASE="$BUILD_DIRECTORY/$MODULE" &&
+mkdir -p "$BASE"                &&
+cd "$BASE"                      &&
+
+unpack "$SOURCE"  &&
+unpack "$SOURCE2" &&
+ZFS_PATH="$SOURCE_DIRECTORY/${SOURCE%.tar.gz}"  &&
+SPL_PATH="$SOURCE_DIRECTORY/${SOURCE2%.tar.gz}" &&
+
+sedit "s:/bin/cp:/usr/bin/cp:" {$ZFS_PATH,$SPL_PATH}/module/Makefile.in




More information about the Lunar-commits mailing list