diff options
Diffstat (limited to 'filesystems/s3fs')
-rw-r--r-- | filesystems/s3fs/Makefile | 36 | ||||
-rw-r--r-- | filesystems/s3fs/distinfo | 3 | ||||
-rw-r--r-- | filesystems/s3fs/files/patch-test_mknod__test.c | 13 | ||||
-rw-r--r-- | filesystems/s3fs/pkg-descr | 2 | ||||
-rw-r--r-- | filesystems/s3fs/pkg-message | 7 |
5 files changed, 61 insertions, 0 deletions
diff --git a/filesystems/s3fs/Makefile b/filesystems/s3fs/Makefile new file mode 100644 index 000000000000..20cdfb4ae528 --- /dev/null +++ b/filesystems/s3fs/Makefile @@ -0,0 +1,36 @@ +PORTNAME= s3fs +DISTVERSIONPREFIX= v +DISTVERSION= 1.92 +PORTREVISION= 1 +CATEGORIES= filesystems +PKGNAMEPREFIX= fusefs- + +MAINTAINER= dmgk@FreeBSD.org +COMMENT= FUSE-based file system backed by Amazon S3 +WWW= https://github.com/s3fs-fuse/s3fs-fuse + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libcurl.so:ftp/curl \ + libxml2.so:textproc/libxml2 + +USES= autoreconf fuse pkgconfig ssl + +USE_GITHUB= yes +GH_ACCOUNT= s3fs-fuse +GH_PROJECT= s3fs-fuse + +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share + +CONFIGURE_ENV+= ac_cv_prog_GITCMD=no + +PLIST_FILES= bin/s3fs share/man/man1/s3fs.1.gz + +post-patch: + @${REINPLACE_CMD} -e 's/libcrypto >= 0.9//' ${WRKSRC}/configure.ac + @${REINPLACE_CMD} -e '/DEPS_LIBS/s/$$/ -lcrypto/' \ + ${WRKSRC}/src/Makefile.am + +.include <bsd.port.mk> diff --git a/filesystems/s3fs/distinfo b/filesystems/s3fs/distinfo new file mode 100644 index 000000000000..0b27b3158f5a --- /dev/null +++ b/filesystems/s3fs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1685836142 +SHA256 (s3fs-fuse-s3fs-fuse-v1.92_GH0.tar.gz) = 76ebea3c0784c5c0f6b84e009d555806aff86258886ced39eee316bf02ae8750 +SIZE (s3fs-fuse-s3fs-fuse-v1.92_GH0.tar.gz) = 283295 diff --git a/filesystems/s3fs/files/patch-test_mknod__test.c b/filesystems/s3fs/files/patch-test_mknod__test.c new file mode 100644 index 000000000000..c3e06b5e0bae --- /dev/null +++ b/filesystems/s3fs/files/patch-test_mknod__test.c @@ -0,0 +1,13 @@ +--- test/mknod_test.c.orig 2023-05-21 23:25:50 UTC ++++ test/mknod_test.c +@@ -28,7 +28,10 @@ + #include <string.h> + #include <errno.h> + #ifndef __APPLE__ ++#elif ++#ifndef __FreeBSD__ + #include <sys/sysmacros.h> ++#endif + #endif + + //--------------------------------------------------------- diff --git a/filesystems/s3fs/pkg-descr b/filesystems/s3fs/pkg-descr new file mode 100644 index 000000000000..67900733a8f9 --- /dev/null +++ b/filesystems/s3fs/pkg-descr @@ -0,0 +1,2 @@ +FUSE-based file system backed by Amazon S3. Mount a bucket as a local +file system read/write. Store files/folders natively and transparently. diff --git a/filesystems/s3fs/pkg-message b/filesystems/s3fs/pkg-message new file mode 100644 index 000000000000..0d5dfff241e3 --- /dev/null +++ b/filesystems/s3fs/pkg-message @@ -0,0 +1,7 @@ +[ +{ type: install + message: <<EOM +The usage of s3fs can be found at https://github.com/s3fs-fuse/s3fs-fuse/wiki/Fuse-Over-Amazon if you want to understand it. +EOM +} +] |