mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
8ddc0f1be0
s3backer is a filesystem that contains a single file backed by the Amazon Simple Storage Service (Amazon S3). As a filesystem, it is very simple: it provides a single normal file having a fixed size. Underneath, the file is divided up into blocks, and the content of each block is stored in a unique Amazon S3 object. In other words, what s3backer provides is really more like an S3-backed virtual hard disk device, rather than a filesystem. In typical usage, a normal filesystem is mounted on top of the file exported by the s3backer filesystem using a loopback mount (or disk image mount on Mac OS X). By not attempting to implement a complete filesystem, which is a complex undertaking and difficult to get right, s3backer can stay very lightweight and simple. Only three HTTP operations are used: GET, PUT, and DELETE. All of the experience and knowledge about how to properly implement filesystems that already exists can be reused. By utilizing existing filesystems atop s3backer, you get full UNIX filesystem semantics. Subtle bugs or missing functionality relating to hard links, extended attributes, POSIX locking, etc. are avoided. WWW: https://github.com/archiecobbs/s3backer PR: 229998 Submitted by: Kartikaya Gupta <bsdbugs@staktrace.com>
26 lines
610 B
Makefile
26 lines
610 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= s3backer
|
|
DISTVERSION= 1.5.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://s3.amazonaws.com/archie-public/s3backer/
|
|
PKGNAMEPREFIX= fusefs-
|
|
|
|
MAINTAINER= bsdports@staktrace.com
|
|
COMMENT= FUSE filesystem that uses Amazon S3 as a backing store
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libexpat.so:textproc/expat2
|
|
|
|
GNU_CONFIGURE= 1
|
|
# Need to have curl/curl.h on the include path. Is there a better
|
|
# way to do this than sending CPPFLAGS to configure?
|
|
CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include"
|
|
|
|
USES= fuse pkgconfig ssl
|
|
|
|
.include <bsd.port.mk>
|