summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2017-10-30 07:36:01 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2017-10-30 07:36:01 +0000
commit6533a3e36f86a74f45bf7b19a570746da86abca3 (patch)
treed4d55a855d9597633941eaac55f2c40bb9b08bb7
parentImprove robustness of owner/mode settings. (diff)
Add fusefs-ext2 0.0.9, FUSE module to mount ext2, ext3 and ext4 with
read write support.
Notes
Notes: svn path=/head/; revision=453158
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/fusefs-ext2/Makefile28
-rw-r--r--sysutils/fusefs-ext2/distinfo3
-rw-r--r--sysutils/fusefs-ext2/files/patch-fuse-ext2_Makefile.am11
-rw-r--r--sysutils/fusefs-ext2/files/patch-fuse-ext2_op__access.c10
-rw-r--r--sysutils/fusefs-ext2/pkg-descr4
6 files changed, 57 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 66e1974347e6..5515553f0ae8 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -350,6 +350,7 @@
SUBDIR += fusefs-curlftpfs
SUBDIR += fusefs-encfs
SUBDIR += fusefs-exfat
+ SUBDIR += fusefs-ext2
SUBDIR += fusefs-ext4fuse
SUBDIR += fusefs-funionfs
SUBDIR += fusefs-fusepak
diff --git a/sysutils/fusefs-ext2/Makefile b/sysutils/fusefs-ext2/Makefile
new file mode 100644
index 000000000000..22a3cd340891
--- /dev/null
+++ b/sysutils/fusefs-ext2/Makefile
@@ -0,0 +1,28 @@
+# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= fusefs-ext2
+PORTVERSION= 0.0.9
+DISTVERSIONPREFIX= v
+CATEGORIES= sysutils
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= FUSE module to mount ext2, ext3 and ext4 with read write support
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= mke2fs:sysutils/e2fsprogs
+RUN_DEPENDS= mke2fs:sysutils/e2fsprogs
+
+USES= autoreconf libtool fuse pkgconfig localbase:ldflags
+USE_GITHUB= yes
+GNU_CONFIGURE= yes
+
+GH_PROJECT= fuse-ext2
+GH_ACCOUNT= alperakcan
+
+PLIST_FILES= bin/fuse-ext2 bin/fuse-ext2.probe \
+ libdata/pkgconfig/fuse-ext2.pc man/man1/fuse-ext2.1.gz
+
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-ext2/distinfo b/sysutils/fusefs-ext2/distinfo
new file mode 100644
index 000000000000..d254a6a60627
--- /dev/null
+++ b/sysutils/fusefs-ext2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1506281848
+SHA256 (alperakcan-fuse-ext2-v0.0.9_GH0.tar.gz) = a6375e51ae8fd42b07eed0e5ab2d85d867c640b6ae0f16b3ae907e54d85acb23
+SIZE (alperakcan-fuse-ext2-v0.0.9_GH0.tar.gz) = 163442
diff --git a/sysutils/fusefs-ext2/files/patch-fuse-ext2_Makefile.am b/sysutils/fusefs-ext2/files/patch-fuse-ext2_Makefile.am
new file mode 100644
index 000000000000..c9ba8684f4d7
--- /dev/null
+++ b/sysutils/fusefs-ext2/files/patch-fuse-ext2_Makefile.am
@@ -0,0 +1,11 @@
+--- fuse-ext2/Makefile.am.orig 2015-03-30 23:42:20 UTC
++++ fuse-ext2/Makefile.am
+@@ -146,7 +146,7 @@ fuse_ext2_CFLAGS += \
+ endif
+
+ install-data-hook:
+- cd "$(DESTDIR)/$(moddir)" && rm -f $(mod_LTLIBRARIES)
++ true
+
+ if DARWIN
+ install-exec-local:
diff --git a/sysutils/fusefs-ext2/files/patch-fuse-ext2_op__access.c b/sysutils/fusefs-ext2/files/patch-fuse-ext2_op__access.c
new file mode 100644
index 000000000000..97e25063038f
--- /dev/null
+++ b/sysutils/fusefs-ext2/files/patch-fuse-ext2_op__access.c
@@ -0,0 +1,10 @@
+--- fuse-ext2/op_access.c.orig 2015-03-30 23:42:20 UTC
++++ fuse-ext2/op_access.c
+@@ -19,6 +19,7 @@
+ */
+
+ #include "fuse-ext2.h"
++#include <unistd.h>
+
+ int op_access (const char *path, int mask)
+ {
diff --git a/sysutils/fusefs-ext2/pkg-descr b/sysutils/fusefs-ext2/pkg-descr
new file mode 100644
index 000000000000..d2c293a77e80
--- /dev/null
+++ b/sysutils/fusefs-ext2/pkg-descr
@@ -0,0 +1,4 @@
+Fuse-ext2 is a multi OS FUSE module to mount ext2, ext3 and ext4 file system
+devices and/or images with read write support.
+
+WWW: https://github.com/alperakcan/fuse-ext2