pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/filesystems/fuse-darling-dmg Add fuse-darling-dmg vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/70d461782fbb
branches:  trunk
changeset: 353303:70d461782fbb
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Sun Oct 02 16:35:02 2016 +0000

description:
Add fuse-darling-dmg version 20160310:

This project allows ordinary users to directly mount OS X disk images under
Linux via FUSE. darling-dmg is part of Darling - http://www.darlinghq.org

Without darling-dmg, the only way to do this would be to manually extract
the DMG file, become root and mount the HFS+ filesystem as root. This is slow,
wasteful and may even crash your system. The project's author has seen the
Linux HFS+ implementation cause kernel crashes.

diffstat:

 filesystems/fuse-darling-dmg/DESCR                           |   7 +++
 filesystems/fuse-darling-dmg/Makefile                        |  22 ++++++++++++
 filesystems/fuse-darling-dmg/PLIST                           |   3 +
 filesystems/fuse-darling-dmg/distinfo                        |   7 +++
 filesystems/fuse-darling-dmg/patches/patch-src_be.h          |  11 ++++++
 filesystems/fuse-darling-dmg/patches/patch-src_main-fuse.cpp |  11 ++++++
 6 files changed, 61 insertions(+), 0 deletions(-)

diffs (85 lines):

diff -r 57e1900b7913 -r 70d461782fbb filesystems/fuse-darling-dmg/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-darling-dmg/DESCR        Sun Oct 02 16:35:02 2016 +0000
@@ -0,0 +1,7 @@
+This project allows ordinary users to directly mount OS X disk images under
+Linux via FUSE. darling-dmg is part of Darling - http://www.darlinghq.org
+
+Without darling-dmg, the only way to do this would be to manually extract
+the DMG file, become root and mount the HFS+ filesystem as root. This is slow,
+wasteful and may even crash your system. The project's author has seen the
+Linux HFS+ implementation cause kernel crashes.
diff -r 57e1900b7913 -r 70d461782fbb filesystems/fuse-darling-dmg/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-darling-dmg/Makefile     Sun Oct 02 16:35:02 2016 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2016/10/02 16:35:02 bouyer Exp $
+#
+
+DISTNAME=      fuse-darling-dmg-20160310
+CATEGORIES=    filesystems
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=darlinghq/}
+GITHUB_PROJECT=        darling-dmg
+GITHUB_TAG=    b7ce87bfe59c2ed758165c8650402f6d4c84d184
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/darlinghq/darling-dmg
+COMMENT=       FUSE module for .dmg files (containing an HFS+ filesystem)
+LICENSE=       gnu-gpl-v3
+
+USE_LANGUAGES= c c++
+USE_CMAKE=     yes
+
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../textproc/icu/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/fuse.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 57e1900b7913 -r 70d461782fbb filesystems/fuse-darling-dmg/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-darling-dmg/PLIST        Sun Oct 02 16:35:02 2016 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2016/10/02 16:35:02 bouyer Exp $
+bin/darling-dmg
+lib/libdmg.so
diff -r 57e1900b7913 -r 70d461782fbb filesystems/fuse-darling-dmg/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-darling-dmg/distinfo     Sun Oct 02 16:35:02 2016 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/10/02 16:35:02 bouyer Exp $
+
+SHA1 (fuse-darling-dmg-20160310-b7ce87bfe59c2ed758165c8650402f6d4c84d184.tar.gz) = c251fd01bcb843244ae8aa0f9a0d74cf9a6b4974
+RMD160 (fuse-darling-dmg-20160310-b7ce87bfe59c2ed758165c8650402f6d4c84d184.tar.gz) = de3f73bb4e9e66c1b6f98beb7e5e6b647be91147
+Size (fuse-darling-dmg-20160310-b7ce87bfe59c2ed758165c8650402f6d4c84d184.tar.gz) = 50309 bytes
+SHA1 (patch-src_be.h) = 9c6554c84ee3ed15cc1232b70cf87c23aa4c88fa
+SHA1 (patch-src_main-fuse.cpp) = a302b6467185f6f94731b07ed04792b6a5ef2801
diff -r 57e1900b7913 -r 70d461782fbb filesystems/fuse-darling-dmg/patches/patch-src_be.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-darling-dmg/patches/patch-src_be.h       Sun Oct 02 16:35:02 2016 +0000
@@ -0,0 +1,11 @@
+--- src/be.h.orig      2016-03-10 17:31:29.000000000 +0100
++++ src/be.h   2016-03-10 17:31:58.000000000 +0100
+@@ -1,7 +1,7 @@
+ #ifndef BENDIAN_H
+ #define BENDIAN_H
+ #include <stdint.h>
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+ #elif defined(_WIN32)
+       static uint16_t htobe16(uint16_t x) {
diff -r 57e1900b7913 -r 70d461782fbb filesystems/fuse-darling-dmg/patches/patch-src_main-fuse.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/filesystems/fuse-darling-dmg/patches/patch-src_main-fuse.cpp      Sun Oct 02 16:35:02 2016 +0000
@@ -0,0 +1,11 @@
+--- src/main-fuse.cpp.orig     2016-03-10 17:36:33.000000000 +0100
++++ src/main-fuse.cpp  2016-03-10 17:36:50.000000000 +0100
+@@ -2,7 +2,7 @@
+ #include <cstring>
+ #include <iostream>
+ #include <cstdio>
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+ #else
+ #include <endian.h>



Home | Main Index | Thread Index | Old Index