debian/0000755000000000000000000000000012241601356007166 5ustar debian/orig-tar.sh0000755000000000000000000000047111271047664011263 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' tar xzf $3 rm -rf dmg2img*/debian rm -rf dmg2img*/*.spec tar czf $3 dmg2img* rm -rf dmg2img-* # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $3 $origDir echo "moved $3 to $origDir" fi exit 0 debian/changelog0000644000000000000000000000156412241601336011044 0ustar dmg2img (1.6.5-1) unstable; urgency=low * New upstream version (Closes: #688136). * Bump compat to 9. * Bump standards version. - Convert licence file to machine readable format. -- Soeren Sonnenburg Sat, 16 Nov 2013 06:24:08 +0100 dmg2img (1.6.2-2) unstable; urgency=low * Apply patch from ubuntu (thanks Stefano Rivera) to honor DEB_BUILD_OPTIONS (Closes: #582909). -- Soeren Sonnenburg Thu, 27 May 2010 11:05:34 +0200 dmg2img (1.6.2-1) unstable; urgency=low * New upstream version. - Bump standards versions (no changes required). - Explicitly mark source format version 1.0. -- Soeren Sonnenburg Sun, 28 Mar 2010 21:45:36 +0200 dmg2img (1.6.1-1) unstable; urgency=low * Initial Release (Closes: #552246) -- Soeren Sonnenburg Sun, 25 Oct 2009 12:35:36 +0100 debian/dmg2img.10000644000000000000000000000164611271047664010615 0ustar .TH "dmg2img" 1 .SH NAME dmg2img \- convert compressed dmg to standard (hfsplus) image disk files .SH SYNOPSIS .B dmg2img [-s] [-v] [-V] [-d] [] .PP .B dmg2img [-s] [-v] [-V] [-d] -i -o .SH DESCRIPTION .B dmg2img is an Apple's compressed dmg to standard (hfsplus) image disk file conversion tool. .SH OPTIONS .TP .B \-i Path to the input .dmg file. .TP .B \-s Silent operation .TP .B \-v Verbose operation Try to extract key from input file. .TP .B \-V Extremely verbose operation .TP .B \-d Enable debugging. .TP .B \-o The output file (if left out it will be named .img). .SH "SEE ALSO" vfdecrypt(1) .SH AUTHORS .TP vu1tur .TP Jean-Pierre Demailly . .PP This manual page was written by Soeren Sonnenburg , for the Debian project (but may be used by others). debian/patches/0000755000000000000000000000000012241601356010615 5ustar debian/patches/series0000644000000000000000000000002111377432573012037 0ustar dont-strip.patch debian/patches/dont-strip.patch0000644000000000000000000000174011377432573013757 0ustar Description: Don't strip symbols in upstream's Makefile, let dh_strip take care of stripping, which allows for debug builds. Origin: https://bugs.launchpad.net/bugs/546108 Author: TJ Last-Update: 2010-03-24 Forwarded: not-needed --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ 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 @@ -17,11 +17,11 @@ $(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) + install -c -m 755 -o root -g root dmg2img vfdecrypt $(BIN_DIR) clean: rm -f dmg2img vfdecrypt *~ *.o core debian/rules0000755000000000000000000000055111377432573010263 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk CFLAGS=$(shell dpkg-buildflags --get CFLAGS) build-arch: debian/build-stamp debian/build-stamp: $(MAKE) CFLAGS="$(CFLAGS)" touch $@ clean:: $(MAKE) clean $(RM) debian/build-stamp get-orig-source: uscan --rename --upstream-version 0 || true @echo successfully retrieved upstream tarball debian/control0000644000000000000000000000126012241601175010567 0ustar Source: dmg2img Section: utils Priority: optional Maintainer: Soeren Sonnenburg Build-Depends: cdbs, debhelper (>= 9), libssl-dev, zlib1g-dev, libbz2-dev Standards-Version: 3.9.4 Homepage: http://advancemame.sourceforge.net/boot-readme.html Vcs-Svn: https://bollin.googlecode.com/svn/dmg2img/trunk/ Vcs-Browser: http://vu1tur.eu.org/tools/ Package: dmg2img Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Tool for converting compress dmg files to hfsplus images DMG2IMG is a tool which allows converting Apple compressed dmg archives to standard (hfsplus) image disk files. . This tool handles zlib and bzip2 compressed dmg images. debian/copyright0000644000000000000000000000415212241601175011122 0ustar Files: debian/* Copyright: 2009-2013 Soeren Sonnenburg . License: GPL-3+ Files: dmg2img.* Files: base64.* Copyright: 2004-2009 vu1tur Copyright: 2007-2009 Jean-Pierre Demailly License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. On Debian systems, you can find the GPL license in: /usr/share/common-licenses/GPL-2 Files: vfdecrypt.* Copyright: 2006 Ralf-Philipp Weinmann Copyright: Jacob Appelbaum Copyright: Christian Fromme License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/dmg2img.lintian-overrides0000644000000000000000000000005711271047664014106 0ustar dmg2img: possible-gpl-code-linked-with-openssl debian/dmg2img.manpages0000644000000000000000000000003511271047664012237 0ustar vfdecrypt.1 debian/dmg2img.1 debian/README.Debian0000644000000000000000000000201612241601175011225 0ustar About ----- This package was debianized by Soeren Sonnenburg . It was downloaded from http://vu1tur.eu.org/tools/. The upstream authors are vu1tur and Jean-Pierre Demailly . Note that the source code resulting in binary dmg2img and the source code leading to vfdecrypt are released under different licenses. dmg2img is licensed under the GPL and vfdecrypt under a BSD style license. Also note that merely vfdecrypt is linked to openssl but not dmg2img. Usage ----- Uncompressed .dmg images can be mounted via # modprobe hfsplus # mount -t hfsplus -o loop uncompressed.dmg /mnt However, some files are compressed which one may detect using file: $ file compressed.dmg compressed.dmg: VAX COFF executable - version 376 Using dmg2img -i compressed.dmg -o uncompressed.img these can be uncompressed and then become accessible for mount: # mount -t hfsplus -o loop uncompressed.img /mnt -- Soeren Sonnenburg Sat, 16 Nov 2013 06:24:08 +0100 debian/dmg2img.install0000644000000000000000000000004411271047664012112 0ustar dmg2img /usr/bin vfdecrypt /usr/bin debian/source/0000755000000000000000000000000012241601356010466 5ustar debian/source/format0000644000000000000000000000001411377432573011710 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212241601175010363 0ustar 9 debian/watch0000644000000000000000000000021411356451744010226 0ustar version=3 opts=filenamemangle=s/.*download.pl\?(.*)/$1/ \ http://vu1tur.eu.org/tools/ .*dmg2img-(.*)\.tar\.gz \ debian debian/orig-tar.sh