mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] archivemount: new package for archivemount 0.8.3
@ 2014-10-15 21:24 Andreas Pretzsch
  2014-11-13 16:43 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Pretzsch @ 2014-10-15 21:24 UTC (permalink / raw)
  To: ptxdist

Archivemount is a piece of glue code between libarchive and FUSE.
It can be used to mount a (possibly compressed) archive (as
in .tar.gz or .tar.bz2) and use it like an ordinary filesystem.

It is a user-space application setting up the mount.
Usage: archivemount <archivepath> <mountpoint> [options]

For more information, see
http://sourceforge.net/p/fuse/wiki/ArchiveFileSystems/#archivemount-mount-archives-tar-cpio
http://www.cybernoia.de/software/archivemount.html

Signed-off-by: Andreas Pretzsch <apr@cn-eng.de>
---
 rules/archivemount.in   | 19 +++++++++++++++++++
 rules/archivemount.make | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)
 create mode 100644 rules/archivemount.in
 create mode 100644 rules/archivemount.make

diff --git a/rules/archivemount.in b/rules/archivemount.in
new file mode 100644
index 0000000..13ee79b
--- /dev/null
+++ b/rules/archivemount.in
@@ -0,0 +1,19 @@
+## SECTION=disk_and_file
+
+config ARCHIVEMOUNT
+	tristate
+	prompt "archivemount"
+	select FUSE
+	select FUSE__LIB
+	select FUSE__UTIL
+	select LIBARCHIVE
+	help
+	  Archivemount is a piece of glue code between libarchive and FUSE.
+	  It can be used to mount a (possibly compressed) archive (as
+	  in .tar.gz or .tar.bz2) and use it like an ordinary filesystem.
+
+	  It is a user-space application setting up the mount.
+	  Usage: archivemount <archivepath> <mountpoint> [options]
+	  See "archivemount --help" for more information.
+
+	  To umount, use "fusermount -u" from FUSE utils.
diff --git a/rules/archivemount.make b/rules/archivemount.make
new file mode 100644
index 0000000..e70e9cd
--- /dev/null
+++ b/rules/archivemount.make
@@ -0,0 +1,48 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Andreas Pretzsch <apr@cn-eng.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+PACKAGES-$(PTXCONF_ARCHIVEMOUNT) += archivemount
+
+ARCHIVEMOUNT_VERSION	:= 0.8.3
+ARCHIVEMOUNT_MD5	:= a8c890e3fc315b07c7e85ad73a4b4760
+ARCHIVEMOUNT		:= archivemount-$(ARCHIVEMOUNT_VERSION)
+ARCHIVEMOUNT_SUFFIX	:= tar.gz
+ARCHIVEMOUNT_URL	:= http://www.cybernoia.de/software/archivemount/$(ARCHIVEMOUNT).$(ARCHIVEMOUNT_SUFFIX)
+ARCHIVEMOUNT_SOURCE	:= $(SRCDIR)/$(ARCHIVEMOUNT).$(ARCHIVEMOUNT_SUFFIX)
+ARCHIVEMOUNT_DIR	:= $(BUILDDIR)/$(ARCHIVEMOUNT)
+ARCHIVEMOUNT_LICENSE	:= LGPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+ARCHIVEMOUNT_CONF_TOOL	:= autoconf
+ARCHIVEMOUNT_CONF_OPT	:= $(CROSS_AUTOCONF_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/archivemount.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, archivemount)
+	@$(call install_fixup, archivemount,PRIORITY,optional)
+	@$(call install_fixup, archivemount,SECTION,base)
+	@$(call install_fixup, archivemount,AUTHOR,"Andreas Pretzsch <apr@cn-eng.de>")
+	@$(call install_fixup, archivemount,DESCRIPTION,"Mount archives using FUSE and libarchive.")
+
+	@$(call install_copy, archivemount, 0, 0, 0755, -, /usr/bin/archivemount)
+
+	@$(call install_finish, archivemount)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.1.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-13 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-15 21:24 [ptxdist] [PATCH] archivemount: new package for archivemount 0.8.3 Andreas Pretzsch
2014-11-13 16:43 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox