pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/dmg2img Initial import of dmg2img-1.6.1 into ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ef6ccad29402
branches: trunk
changeset: 400853:ef6ccad29402
user: agc <agc%pkgsrc.org@localhost>
date: Thu Oct 29 04:24:27 2009 +0000
description:
Initial import of dmg2img-1.6.1 into the packages collection.
DMG2IMG is an Apple's compressed dmg to standard (hfsplus)
image disk file convert tool.
Taken from a nudge by Chuck Swiger on netbsd-users@, with thanks.
diffstat:
sysutils/dmg2img/DESCR | 2 ++
sysutils/dmg2img/Makefile | 17 +++++++++++++++++
sysutils/dmg2img/PLIST | 3 +++
sysutils/dmg2img/distinfo | 6 ++++++
sysutils/dmg2img/patches/patch-aa | 34 ++++++++++++++++++++++++++++++++++
5 files changed, 62 insertions(+), 0 deletions(-)
diffs (82 lines):
diff -r 26ab58293383 -r ef6ccad29402 sysutils/dmg2img/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dmg2img/DESCR Thu Oct 29 04:24:27 2009 +0000
@@ -0,0 +1,2 @@
+DMG2IMG is an Apple's compressed dmg to standard (hfsplus) image disk
+file convert tool.
diff -r 26ab58293383 -r ef6ccad29402 sysutils/dmg2img/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dmg2img/Makefile Thu Oct 29 04:24:27 2009 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/29 04:24:27 agc Exp $
+
+DISTNAME= dmg2img-1.6.1
+CATEGORIES= sysutils
+MASTER_SITES+= http://vu1tur.eu.org/tools/download.pl?
+
+MAINTAINER= agc%NetBSD.org@localhost
+HOMEPAGE= http://vu1tur.eu.org/tools/
+COMMENT= Convert Apple dmg to HFS+ img format
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 26ab58293383 -r ef6ccad29402 sysutils/dmg2img/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dmg2img/PLIST Thu Oct 29 04:24:27 2009 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/29 04:24:27 agc Exp $
+bin/dmg2img
+bin/vfdecrypt
diff -r 26ab58293383 -r ef6ccad29402 sysutils/dmg2img/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dmg2img/distinfo Thu Oct 29 04:24:27 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/29 04:24:27 agc Exp $
+
+SHA1 (dmg2img-1.6.1.tar.gz) = 92d27819a79757b2d847b7c7b872431e02c37704
+RMD160 (dmg2img-1.6.1.tar.gz) = fe9afa6b92ac743166e704a6c49183247f3b3c58
+Size (dmg2img-1.6.1.tar.gz) = 38025 bytes
+SHA1 (patch-aa) = 8a5c3e3d758ed938e50694f581d66c8160e7d217
diff -r 26ab58293383 -r ef6ccad29402 sysutils/dmg2img/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dmg2img/patches/patch-aa Thu Oct 29 04:24:27 2009 +0000
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/10/29 04:24:27 agc Exp $
+
+--- Makefile 2009/10/29 04:05:47 1.1
++++ Makefile 2009/10/29 04:06:22
+@@ -1,12 +1,12 @@
+ #CC = gcc
+ ##CFLAGS = -O3
+ CFLAGS = -O2 -Wall
+-BIN_DIR = ${DESTDIR}/usr/bin
++BIN_DIR = ${DESTDIR}${PREFIX}/bin
+
+ all: dmg2img vfdecrypt
+
+ dmg2img: dmg2img.c dmg2img.h mntcmd.h gpt.h dmg2img.o base64.o adc.o
+- $(CC) -s -o dmg2img dmg2img.o base64.o adc.o -L. -lz -lbz2
++ $(CC) -o dmg2img dmg2img.o base64.o adc.o -L. -lz -lbz2
+
+ dmg2img.o: dmg2img.c dmg2img.h
+ $(CC) $(CFLAGS) -c dmg2img.c
+@@ -18,11 +18,12 @@
+ $(CC) $(CFLAGS) -c adc.c
+
+ vfdecrypt: vfdecrypt.c
+- $(CC) $(CFLAGS) -s -o vfdecrypt vfdecrypt.c -lcrypto
++ $(CC) $(CFLAGS) -o vfdecrypt vfdecrypt.c -lcrypto
+
+ install: dmg2img vfdecrypt
+ mkdir -p ${BIN_DIR}
+- install -c -s -m 755 -o root -g root dmg2img vfdecrypt $(BIN_DIR)
++ ${BSD_INSTALL_PROGRAM} -c dmg2img $(BIN_DIR)
++ ${BSD_INSTALL_PROGRAM} -c vfdecrypt $(BIN_DIR)
+
+ clean:
+ rm -f dmg2img vfdecrypt *~ *.o core
Home |
Main Index |
Thread Index |
Old Index