pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/filesystems/fuse-sparsebundlefs Add fuse-sparsebundlef...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57e1900b7913
branches:  trunk
changeset: 353302:57e1900b7913
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Sun Oct 02 16:33:28 2016 +0000

description:
Add fuse-sparsebundlefs version 20160928:

Mac OS X v10.5 (Leopard) introduced the concept of sparse-bundle disk images,
where the data is stored as a collection of small, fixed-size band-files
instead of as a single monolithic file. This allows for more efficient
backups of the disk image, as only the changed bands need to be stored.

One common source of sparse-bundles is Mac OS' backup utility, Time Machine,
which stores the backup data within a sparse-bundle image on the chosen
backup volume.

This software package implements a FUSE virtual filesystem for read-only
access to the sparse-bundle, as if it was a single monolithic image.

diffstat:

 filesystems/fuse-sparsebundlefs/DESCR                  |  11 ++++++++
 filesystems/fuse-sparsebundlefs/Makefile               |  24 ++++++++++++++++++
 filesystems/fuse-sparsebundlefs/PLIST                  |   2 +
 filesystems/fuse-sparsebundlefs/distinfo               |   7 +++++
 filesystems/fuse-sparsebundlefs/patches/patch-Makefile |  24 ++++++++++++++++++
 5 files changed, 68 insertions(+), 0 deletions(-)

diffs (88 lines):

diff -r 2f23ac3e9ec1 -r 57e1900b7913 filesystems/fuse-sparsebundlefs/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-sparsebundlefs/DESCR     Sun Oct 02 16:33:28 2016 +0000
@@ -0,0 +1,11 @@
+Mac OS X v10.5 (Leopard) introduced the concept of sparse-bundle disk images,
+where the data is stored as a collection of small, fixed-size band-files
+instead of as a single monolithic file. This allows for more efficient
+backups of the disk image, as only the changed bands need to be stored.
+
+One common source of sparse-bundles is Mac OS' backup utility, Time Machine,
+which stores the backup data within a sparse-bundle image on the chosen
+backup volume.
+
+This software package implements a FUSE virtual filesystem for read-only
+access to the sparse-bundle, as if it was a single monolithic image.
diff -r 2f23ac3e9ec1 -r 57e1900b7913 filesystems/fuse-sparsebundlefs/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-sparsebundlefs/Makefile  Sun Oct 02 16:33:28 2016 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2016/10/02 16:33:28 bouyer Exp $
+#
+
+DISTNAME=      fuse-sparsebundlefs-20160928
+CATEGORIES=    filesystems
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=torarnv/}
+GITHUB_PROJECT=        sparsebundlefs
+GITHUB_TAG=    f3ccd20bd6393b05c9949810feb0e0b366b86348
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/torarnv/sparsebundlefs
+COMMENT=       FUSE filesystem for reading Mac OS sparse-bundle disk images.
+LICENSE=       2-clause-bsd
+
+USE_LANGUAGES= c c++
+USE_TOOLS+=    gmake pkg-config
+
+INSTALLATION_DIRS=     bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/sparsebundlefs ${DESTDIR}/${PREFIX}/bin/
+
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2f23ac3e9ec1 -r 57e1900b7913 filesystems/fuse-sparsebundlefs/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-sparsebundlefs/PLIST     Sun Oct 02 16:33:28 2016 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/02 16:33:28 bouyer Exp $
+bin/sparsebundlefs
diff -r 2f23ac3e9ec1 -r 57e1900b7913 filesystems/fuse-sparsebundlefs/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-sparsebundlefs/distinfo  Sun Oct 02 16:33:28 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/10/02 16:33:28 bouyer Exp $
+
+SHA1 (fuse-sparsebundlefs-20160928-f3ccd20bd6393b05c9949810feb0e0b366b86348.tar.gz) = 90ed4fdeee6889fbf227850377759b9705da4d80
+RMD160 (fuse-sparsebundlefs-20160928-f3ccd20bd6393b05c9949810feb0e0b366b86348.tar.gz) = f7ce993119884b9c885a088736879b2231510f33
+SHA512 (fuse-sparsebundlefs-20160928-f3ccd20bd6393b05c9949810feb0e0b366b86348.tar.gz) = 
df0cc02f7dba0fc5b534004b3fe322d36cd03bacb42bbc7564b8f29f910773b16a861e965f1834447341f642d16a9379bcd8468bdcf389f17cf27f6bccb61dbd
+Size (fuse-sparsebundlefs-20160928-f3ccd20bd6393b05c9949810feb0e0b366b86348.tar.gz) = 8070 bytes
+SHA1 (patch-Makefile) = 5a7ae0323fdfdc6e3c117e97ea5734074c10adae
diff -r 2f23ac3e9ec1 -r 57e1900b7913 filesystems/fuse-sparsebundlefs/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-sparsebundlefs/patches/patch-Makefile    Sun Oct 02 16:33:28 2016 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-Makefile,v 1.1 2016/10/02 16:33:28 bouyer Exp $
+
+--- Makefile.orig      2016-09-27 23:50:42.000000000 +0200
++++ Makefile   2016-10-02 18:19:10.000000000 +0200
+@@ -3,14 +3,14 @@
+ PKG_CONFIG = pkg-config
+ override CFLAGS += -Wall -O2 -g
+ 
+-GCC_4_2_OR_HIGHER := $(shell expr `$(CXX) -dumpversion | sed 's/\.//g'` \>= 420)
+-ifeq "$(GCC_4_2_OR_HIGHER)" "1"
+-    CFLAGS += -march=native
+-endif
+-
+ DEFINES = -DFUSE_USE_VERSION=26
+ 
+ ifeq ($(shell uname), Darwin)
++      GCC_4_2_OR_HIGHER := $(shell expr `$(CXX) -dumpversion | sed 's/\.//g'` \>= 420)
++      ifeq "$(GCC_4_2_OR_HIGHER)" "1"
++          CFLAGS += -march=native
++      endif
++
+       # Pick up OSXFUSE, even with pkg-config from MacPorts
+       PKG_CONFIG := PKG_CONFIG_PATH=/usr/local/lib/pkgconfig $(PKG_CONFIG)
+ else ifeq ($(shell uname), Linux)



Home | Main Index | Thread Index | Old Index