Page MenuHomeFreeBSD

Add lklfuse port (includes liblkl.a)
ClosedPublic

Authored by cem on Nov 18 2015, 1:42 AM.

Details

Summary

LKL (Linux Kernel as a Library) is full Linux kernel that runs in userspace.
lklfuse uses this library to mount Ext4, XFS, and BTRFS filesystems -- using
the native Linux drivers -- under FUSE. This makes it possible to easily mount
Linux filesystems R/W from FreeBSD.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

cem retitled this revision from to Add lklfuse port (includes liblkl.a).
cem updated this object.
cem edited the test plan for this revision. (Show Details)
cem added a reviewer: bdrewery.
cem removed rP FreeBSD ports repository as the repository for this revision.

'arc diff' failed on the new files -- here's a vanilla diff instead.

Ping? If you're busy, do you know if someone else would be a good ports reviewer?

There is always #bsdports as well.

Have you ran this through poudriere testport, or at least DEVELOPER=yes make stage-qa and make check-plist?

sysutils/fusefs-lkl/Makefile
16 ↗(On Diff #10285)

Why gcc exactly?

A more proper way would be USE_GCC= yes. If you just need a "new enough compiler" or by USES+= compiler:WHY (see /usr/ports/Mk/Uses/compiler.mk for WHY answers)

17 ↗(On Diff #10285)

USE_BINUTILS= yes

42 ↗(On Diff #10285)

Is this using autotools? I don't see a GNU_CONFIGURE which you would just add CONFIGURE_ARGS+= --disable-silent-rules (which is what we need to add globally but no one has done it yet).

sysutils/fusefs-lkl/Makefile
42 ↗(On Diff #10285)

Otherwise MAKE_ARGS+= V=1 should work, before bsd.port.mk.

Have you ran this through poudriere testport, or at least DEVELOPER=yes make stage-qa and make check-plist?

Nope. Re: check-plist, the plist is pretty short (two files) and the installation is done by hand.

sysutils/fusefs-lkl/Makefile
16 ↗(On Diff #10285)

Linux uses GCC-specific extensions to the C language. USE_GCC should be fine, I think.

17 ↗(On Diff #10285)

And that gets the ports binutils, not base?

42 ↗(On Diff #10285)

No, no autotools. Just GNU make. I'll try MAKE_ARGS.

cem edited edge metadata.

USE_GCC, USE_BINUTILS, MAKE_ARGS instead of modifying MAKE_CMD.

sysutils/fusefs-lkl $ DEVELOPER=yes make stage-qa
====> Running Q/A tests (stage-qa)
sysutils/fusefs-lkl $ DEVELOPER=yes make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
bdrewery edited edge metadata.
This revision is now accepted and ready to land.Nov 20 2015, 6:12 PM
This revision was automatically updated to reflect the committed changes.