svn commit: r402096 - in head/sysutils: . fusefs-lkl fusefs-lkl/files
Conrad E. Meyer
cem at FreeBSD.org
Fri Nov 20 18:44:55 UTC 2015
Author: cem (src committer)
Date: Fri Nov 20 18:44:53 2015
New Revision: 402096
URL: https://svnweb.freebsd.org/changeset/ports/402096
Log:
sysutils/fusefs-lkl: Add lklfuse, a Linux implementation for FUSE
liblkl.a provides the Linux kernel (in nommu mode) as a library. The lklfuse
binary can be used to mount filesystems that Linux supports (btrfs, ext4 and
earlier, and xfs) read/write under FUSE.
Reviewed by: bdrewery
Sponsored by: EMC / Isilon Storage Division
Differential Revision: https://reviews.freebsd.org/D4199
Added:
head/sysutils/fusefs-lkl/
head/sysutils/fusefs-lkl/Makefile (contents, props changed)
head/sysutils/fusefs-lkl/distinfo (contents, props changed)
head/sysutils/fusefs-lkl/files/
head/sysutils/fusefs-lkl/files/patch-tools-lkl-Makefile (contents, props changed)
head/sysutils/fusefs-lkl/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Fri Nov 20 18:41:15 2015 (r402095)
+++ head/sysutils/Makefile Fri Nov 20 18:44:53 2015 (r402096)
@@ -310,6 +310,7 @@
SUBDIR += fusefs-ifuse
SUBDIR += fusefs-kmod
SUBDIR += fusefs-libs
+ SUBDIR += fusefs-lkl
SUBDIR += fusefs-mhddfs
SUBDIR += fusefs-mp3fs
SUBDIR += fusefs-ntfs
Added: head/sysutils/fusefs-lkl/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/fusefs-lkl/Makefile Fri Nov 20 18:44:53 2015 (r402096)
@@ -0,0 +1,40 @@
+# Created by: Conrad Meyer <cem at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= lkl
+PORTVERSION= 4.3.0
+CATEGORIES= sysutils
+MASTER_SITES= GOOGLE_CODE
+PKGNAMEPREFIX= fusefs-
+
+MAINTAINER= cem at FreeBSD.org
+COMMENT= Full-featured Linux BTRFS, Ext4, XFS as a FUSE module
+
+LICENSE= GPLv2
+
+BUILD_DEPENDS+= gnubc>0:${PORTSDIR}/math/gnubc
+LIB_DEPENDS+= libfuse.so:${PORTSDIR}/sysutils/fusefs-libs
+
+USES= fuse gmake
+USE_BINUTILS= yes
+USE_GCC= yes
+USE_GITHUB= yes
+GH_ACCOUNT= lkl
+GH_PROJECT= linux
+GH_TAGNAME= 64a367f522c6ec4fbed0193589d7733b06ab7968
+
+ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS_REASON=No one has added other architecture ld formats yet
+
+WRKSRC_SUBDIR= tools/lkl
+ALL_TARGET= lklfuse
+MAKE_JOBS_UNSAFE=yes
+MAKE_ARGS+= V=1
+
+PLIST_FILES= bin/lklfuse lib/liblkl.a
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/lklfuse ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lib/liblkl.a ${STAGEDIR}${PREFIX}/lib
+
+.include <bsd.port.mk>
Added: head/sysutils/fusefs-lkl/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/fusefs-lkl/distinfo Fri Nov 20 18:44:53 2015 (r402096)
@@ -0,0 +1,2 @@
+SHA256 (lkl-linux-4.3.0-64a367f522c6ec4fbed0193589d7733b06ab7968_GH0.tar.gz) = a0d45aadd13df116ea7496c8107395ae504972bb7c8436bb099b9fd43817b8f5
+SIZE (lkl-linux-4.3.0-64a367f522c6ec4fbed0193589d7733b06ab7968_GH0.tar.gz) = 133474279
Added: head/sysutils/fusefs-lkl/files/patch-tools-lkl-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/fusefs-lkl/files/patch-tools-lkl-Makefile Fri Nov 20 18:44:53 2015 (r402096)
@@ -0,0 +1,13 @@
+--- Makefile 2015-11-17 14:22:24.000000000 -0800
++++ Makefile 2015-11-17 17:23:27.478293000 -0800
+@@ -40,8 +40,8 @@
+ $(AR) -rc $@ $^
+
+ lib/lkl.o:
+- $(MAKE) -C ../.. ARCH=lkl defconfig
+- $(MAKE) -C ../.. ARCH=lkl $(KOPT) install INSTALL_PATH=$(PWD)
++ $(MAKE) -C ../.. ARCH=lkl LDFLAGS= defconfig
++ $(MAKE) -C ../.. ARCH=lkl LDFLAGS= $(KOPT) install INSTALL_PATH=$(PWD)
+
+ %: %.o
+ $(CC) -o $@ $^ $(LDFLAGS)
Added: head/sysutils/fusefs-lkl/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/fusefs-lkl/pkg-descr Fri Nov 20 18:44:53 2015 (r402096)
@@ -0,0 +1,3 @@
+Linux as a library; and BTRFS, Ext4, and XFS for FUSE.
+
+WWW: https://github.com/lkl/linux/
More information about the svn-ports-head
mailing list