diff options
author | xtraeme <xtraeme> | 2007-03-01 00:34:14 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2007-03-01 00:34:14 +0000 |
commit | 15d4ce38caff12e5db561f57f3cfd1e6abfcfab2 (patch) | |
tree | 2d7a5a55a933610d141cee18f937707e0319da73 /filesystems/fuse-encfs | |
parent | 83be9f0085ee8a3051a911dcbe69994b535b7dd5 (diff) | |
download | pkgsrc-15d4ce38caff12e5db561f57f3cfd1e6abfcfab2.tar.gz |
Initial import of fuse-encfs-1.2.0-2.
EncFS provides an encrypted filesystem in user-space. It runs without any
special permissions and uses the FUSE library.
As with most encrypted filesystems, Encfs is meant to provide security
against off-line attacks; ie your notebook or backups fall into the wrong
hands, etc.
Homepage: http://arg0.net/encfs
Diffstat (limited to 'filesystems/fuse-encfs')
-rw-r--r-- | filesystems/fuse-encfs/DESCR | 6 | ||||
-rw-r--r-- | filesystems/fuse-encfs/Makefile | 29 | ||||
-rw-r--r-- | filesystems/fuse-encfs/PLIST | 5 | ||||
-rw-r--r-- | filesystems/fuse-encfs/distinfo | 10 | ||||
-rw-r--r-- | filesystems/fuse-encfs/patches/patch-aa | 17 | ||||
-rw-r--r-- | filesystems/fuse-encfs/patches/patch-ab | 16 | ||||
-rw-r--r-- | filesystems/fuse-encfs/patches/patch-ac | 48 | ||||
-rw-r--r-- | filesystems/fuse-encfs/patches/patch-ad | 14 | ||||
-rw-r--r-- | filesystems/fuse-encfs/patches/patch-ae | 12 |
9 files changed, 157 insertions, 0 deletions
diff --git a/filesystems/fuse-encfs/DESCR b/filesystems/fuse-encfs/DESCR new file mode 100644 index 00000000000..8dcb2e8a924 --- /dev/null +++ b/filesystems/fuse-encfs/DESCR @@ -0,0 +1,6 @@ +EncFS provides an encrypted filesystem in user-space. It runs without any +special permissions and uses the FUSE library. + +As with most encrypted filesystems, Encfs is meant to provide security +against off-line attacks; ie your notebook or backups fall into the wrong +hands, etc. diff --git a/filesystems/fuse-encfs/Makefile b/filesystems/fuse-encfs/Makefile new file mode 100644 index 00000000000..f6d27616245 --- /dev/null +++ b/filesystems/fuse-encfs/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $ +# + +DISTNAME= encfs-1.2.0-2 +PKGNAME= fuse-${DISTNAME} +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=encfs/} +EXTRACT_SUFX= .tgz + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://arg0.net/users/vgough/encfs.html +COMMENT= FUSE Encrypted Filesystem + +WRKSRC= ${WRKDIR}/${DISTNAME:S/-2//} +GNU_CONFIGURE= yes +USE_TOOLS+= autoconf gmake pkg-config +USE_LANGUAGES= c c++ + +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +CPPFLAGS+= -D_NETBSD_SOURCE +.endif + +.include "../../devel/librlog/buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" +.include "../../mk/fuse.buildlink3.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/filesystems/fuse-encfs/PLIST b/filesystems/fuse-encfs/PLIST new file mode 100644 index 00000000000..c33e84ab69c --- /dev/null +++ b/filesystems/fuse-encfs/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $ +bin/encfs +bin/encfsctl +man/man1/encfs.1 +man/man1/encfsctl.1 diff --git a/filesystems/fuse-encfs/distinfo b/filesystems/fuse-encfs/distinfo new file mode 100644 index 00000000000..89f825f11da --- /dev/null +++ b/filesystems/fuse-encfs/distinfo @@ -0,0 +1,10 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $ + +SHA1 (encfs-1.2.0-2.tgz) = 15e0037ef123ef3967d5c101d10f3643c33bcb68 +RMD160 (encfs-1.2.0-2.tgz) = 979fd6a11137c1acdabd3349302d8cd7e3b6625b +Size (encfs-1.2.0-2.tgz) = 528039 bytes +SHA1 (patch-aa) = 2e40cf7e222bfc3def5d1aa2c431854e9f59e0e9 +SHA1 (patch-ab) = 0d8929ad64b5f3b1ef904b554f2b7e8eb8e8fd19 +SHA1 (patch-ac) = 7dd3f34634c91219665cfb1c56facfe69c6eed50 +SHA1 (patch-ad) = 4077b9cbd1bdf1f71029183acce6a8570dbbef7a +SHA1 (patch-ae) = 48e06c61293a3280825df151df4670db1a3fbcc0 diff --git a/filesystems/fuse-encfs/patches/patch-aa b/filesystems/fuse-encfs/patches/patch-aa new file mode 100644 index 00000000000..89893e66865 --- /dev/null +++ b/filesystems/fuse-encfs/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $ + +--- encfs/FileUtils.cpp.orig 2007-03-01 01:02:48.000000000 +0100 ++++ encfs/FileUtils.cpp 2007-03-01 01:03:29.000000000 +0100 +@@ -50,10 +50,12 @@ + #include <sstream> + + #include "i18n.h" ++#include "../intl/autosprintf.h" + + using namespace rel; + using namespace rlog; + using namespace std; ++using gnu::autosprintf; + + static const int DefaultBlockSize = 512; + // environment variable names for values encfs stores in the environment when diff --git a/filesystems/fuse-encfs/patches/patch-ab b/filesystems/fuse-encfs/patches/patch-ab new file mode 100644 index 00000000000..0f01729baca --- /dev/null +++ b/filesystems/fuse-encfs/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $ + +--- encfs/encfs.h.orig 2007-03-01 01:04:54.000000000 +0100 ++++ encfs/encfs.h 2007-03-01 01:05:30.000000000 +0100 +@@ -48,7 +48,11 @@ + struct fuse_file_info *info); + int encfs_write(const char *path, const char *buf, size_t size, off_t offset, + struct fuse_file_info *info); ++#ifndef __NetBSD__ + int encfs_statfs(const char *, struct statfs *fst); ++#else ++int encfs_statfs(const char *, struct statvfs *fst); ++#endif + int encfs_fsync(const char *path, int flags, struct fuse_file_info *info); + + #ifdef HAVE_XATTR diff --git a/filesystems/fuse-encfs/patches/patch-ac b/filesystems/fuse-encfs/patches/patch-ac new file mode 100644 index 00000000000..5996c3f85ef --- /dev/null +++ b/filesystems/fuse-encfs/patches/patch-ac @@ -0,0 +1,48 @@ +$NetBSD: patch-ac,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $ + +--- encfs/encfs.cpp.orig 2007-03-01 01:05:53.000000000 +0100 ++++ encfs/encfs.cpp 2007-03-01 01:10:17.000000000 +0100 +@@ -23,7 +23,11 @@ + #include <fcntl.h> + #include <dirent.h> + #include <errno.h> ++#ifndef __NetBSD__ + #include <sys/statfs.h> ++#else ++#include <sys/statvfs.h> ++#endif + + #include <sys/types.h> + +@@ -497,7 +501,11 @@ + return res; + } + ++#ifndef __NetBSD__ + int encfs_statfs(const char *path, struct statfs *st) ++#else ++int encfs_statfs(const char *path, struct statvfs *st) ++#endif + { + int res = -EIO; + try +@@ -507,11 +515,19 @@ + string cyName = FSRoot->rootDirectory(); + + rLog(Info, "doing statfs of %s", cyName.c_str()); ++#ifndef __NetBSD__ + res = statfs( cyName.c_str(), st ); ++#else ++ res = statvfs(cyName.c_str(), st); ++#endif + if(!res) + { ++#ifndef __NetBSD__ + // adjust maximum name length.. + st->f_namelen = 6 * (st->f_namelen - 2) / 8; // approx.. ++#else ++ st->f_namemax = 6 * (st->f_namemax - 2) / 8; ++#endif + } + if(res == -1) + res = -errno; diff --git a/filesystems/fuse-encfs/patches/patch-ad b/filesystems/fuse-encfs/patches/patch-ad new file mode 100644 index 00000000000..f45e5fbe523 --- /dev/null +++ b/filesystems/fuse-encfs/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $ + +--- encfs/encfs.h.orig 2007-03-01 01:13:44.000000000 +0100 ++++ encfs/encfs.h 2007-03-01 01:14:09.000000000 +0100 +@@ -22,6 +22,9 @@ + #include "config.h" + #include <fuse.h> + #include <unistd.h> ++#include "../intl/autosprintf.h" ++ ++using gnu::autosprintf; + + #if defined(HAVE_SYS_XATTR_H) | defined(HAVE_ATTR_XATTR_H) + #define HAVE_XATTR diff --git a/filesystems/fuse-encfs/patches/patch-ae b/filesystems/fuse-encfs/patches/patch-ae new file mode 100644 index 00000000000..a3fe0c546c0 --- /dev/null +++ b/filesystems/fuse-encfs/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1.1.1 2007/03/01 00:34:14 xtraeme Exp $ + +--- encfs/encfsctl.cpp.orig 2007-03-01 01:23:48.000000000 +0100 ++++ encfs/encfsctl.cpp 2007-03-01 01:24:03.000000000 +0100 +@@ -31,6 +31,7 @@ + #include <string> + + #include "i18n.h" ++#include "../intl/gettext.h" + + #ifdef HAVE_SSL + #define NO_DES |