summaryrefslogtreecommitdiff
path: root/filesystems/fuse-archivemount
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2007-02-20 23:31:40 +0000
committerxtraeme <xtraeme>2007-02-20 23:31:40 +0000
commit07cb0df12af7e687659ed250659c9846761a1aa6 (patch)
tree13270fc11cca5892a09c1c2e6e35d26ce7346143 /filesystems/fuse-archivemount
parent3378d321a5f2cc06c89be1a060f816fee98cf485 (diff)
downloadpkgsrc-07cb0df12af7e687659ed250659c9846761a1aa6.tar.gz
Initial import of fuse-archivemount-0.5.3.
Gateway between FUSE and libarchive. Allows mounting of cpio, .tar.gz, .tar.bz2 archives. Reading and writing supported. Supports all formats libarchive supports.
Diffstat (limited to 'filesystems/fuse-archivemount')
-rw-r--r--filesystems/fuse-archivemount/DESCR5
-rw-r--r--filesystems/fuse-archivemount/Makefile29
-rw-r--r--filesystems/fuse-archivemount/PLIST2
-rw-r--r--filesystems/fuse-archivemount/distinfo7
-rw-r--r--filesystems/fuse-archivemount/patches/patch-aa19
-rw-r--r--filesystems/fuse-archivemount/patches/patch-ab28
6 files changed, 90 insertions, 0 deletions
diff --git a/filesystems/fuse-archivemount/DESCR b/filesystems/fuse-archivemount/DESCR
new file mode 100644
index 00000000000..f66658fad60
--- /dev/null
+++ b/filesystems/fuse-archivemount/DESCR
@@ -0,0 +1,5 @@
+Gateway between FUSE and libarchive. Allows mounting of cpio, .tar.gz,
+.tar.bz2 archives.
+
+Reading and writing supported.
+Supports all formats libarchive supports.
diff --git a/filesystems/fuse-archivemount/Makefile b/filesystems/fuse-archivemount/Makefile
new file mode 100644
index 00000000000..1417e8983a8
--- /dev/null
+++ b/filesystems/fuse-archivemount/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/02/20 23:31:40 xtraeme Exp $
+#
+
+DISTNAME= archivemount-0.5.3
+PKGNAME= fuse-${DISTNAME}
+CATEGORIES= filesystems
+MASTER_SITES= http://www.cybernoia.de/software/archivemount/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.cybernoia.de/software/archivemount/
+COMMENT= FUSE gateway to libarchive
+
+USE_TOOLS+= gmake
+NO_CONFIGURE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if exists(/usr/include/sys/statvfs.h)
+CPPFLAGS+= -DHAVE_STATVFS
+.endif
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/archivemount ${PREFIX}/bin
+
+.include "../../archivers/libarchive/buildlink3.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/filesystems/fuse-archivemount/PLIST b/filesystems/fuse-archivemount/PLIST
new file mode 100644
index 00000000000..71f305ca1a5
--- /dev/null
+++ b/filesystems/fuse-archivemount/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/20 23:31:40 xtraeme Exp $
+bin/archivemount
diff --git a/filesystems/fuse-archivemount/distinfo b/filesystems/fuse-archivemount/distinfo
new file mode 100644
index 00000000000..d4e3b764131
--- /dev/null
+++ b/filesystems/fuse-archivemount/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/02/20 23:31:40 xtraeme Exp $
+
+SHA1 (archivemount-0.5.3.tar.gz) = 68c1f59d665585d7fa4e763f87aeeaf6a368b009
+RMD160 (archivemount-0.5.3.tar.gz) = 15d396ea8d78a55787f08046e3355d8d4fe564ad
+Size (archivemount-0.5.3.tar.gz) = 20267 bytes
+SHA1 (patch-aa) = c5e139ad695d8e6d102e35cd1d8110f3b952de6f
+SHA1 (patch-ab) = 1866452689f1eb203eb0d021d15e605fee114acb
diff --git a/filesystems/fuse-archivemount/patches/patch-aa b/filesystems/fuse-archivemount/patches/patch-aa
new file mode 100644
index 00000000000..afa9e0f6499
--- /dev/null
+++ b/filesystems/fuse-archivemount/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2007/02/20 23:31:40 xtraeme Exp $
+
+--- Makefile.orig 2006-12-28 16:32:47.000000000 +0100
++++ Makefile 2007-02-21 00:21:27.000000000 +0100
+@@ -9,11 +9,11 @@
+ RM = rm -rf
+ CP = cp -a
+ TAR = tar
+-CC = gcc
++#CC = gcc
+ all: $(EXE)
+
+-CFLAGS += -D_FILE_OFFSET_BITS=64
+-LDFLAGS = -larchive -lfuse
++CFLAGS += $(CPPFLAGS) -D_FILE_OFFSET_BITS=64
++LDFLAGS += -larchive -lfuse
+
+ ifeq ($(DEBUG),1)
+ CFLAGS += -ggdb -O0
diff --git a/filesystems/fuse-archivemount/patches/patch-ab b/filesystems/fuse-archivemount/patches/patch-ab
new file mode 100644
index 00000000000..e9ddb8bd234
--- /dev/null
+++ b/filesystems/fuse-archivemount/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1.1.1 2007/02/20 23:31:40 xtraeme Exp $
+
+--- archivemount.c.orig 2006-12-28 16:32:47.000000000 +0100
++++ archivemount.c 2007-02-21 00:25:25.000000000 +0100
+@@ -31,7 +31,11 @@
+ #include <fcntl.h>
+ #include <dirent.h>
+ #include <errno.h>
++#ifdef HAVE_STATVFS
++#include <sys/statvfs.h>
++#else
+ #include <sys/statfs.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <time.h>
+@@ -1605,7 +1609,11 @@
+ }
+
+ static int
++#ifdef HAVE_STATVFS
++ar_statfs( const char *path, struct statvfs *stbuf )
++#else
+ ar_statfs( const char *path, struct statfs *stbuf )
++#endif
+ {
+ /* ENOSYS is ok for this, we have no statistics */
+ ( void )path;