Package Details: dmg2img 1.6.5-4

Git Clone URL: https://aur.archlinux.org/dmg2img.git (read-only)
Package Base: dmg2img
Description: A CLI tool to uncompress Apple's compressed DMG files to the HFS+ IMG format
Upstream URL: http://vu1tur.eu.org/tools/
Licenses: GPL2
Submitter: honzor
Maintainer: Xorg
Last Packager: Xorg
Votes: 145
Popularity: 1.659205
First Submitted: 2009-03-03 21:05
Last Updated: 2015-07-08 15:27

Latest Comments

wooptoo commented on 2016-07-06 11:59

Builds cleanly on armv7h too.

Xorg commented on 2016-01-17 15:59

Upstream source is up now. :)

nekinie commented on 2016-01-17 00:25

So looks like the upstream source is down, I changed the upstream source to the first mirror I found on google (https://distfiles.macports.org/dmg2img/) and it worked. Once upstream is back then this work around wont be needed.

ainola commented on 2015-04-14 05:47

The multiline break in for the description has broken the package description.

Xorg commented on 2014-10-30 15:47

Add makedepends=('wget') to use wget.
Or, simply remove line DLAGENTS=('http::/usr/bin/wget -O %o %u'), it's working with CURL now.

sbechet commented on 2014-05-30 13:03

add makedepends=('wget')

honzor commented on 2014-02-28 11:49

updated with KangCoding's PKGBUILD.

KangCoding commented on 2013-11-17 21:09

PKGBUILD for newer version: http://pastie.org/8487670

wenLiangcan commented on 2013-09-21 17:31

1.6.5 released

Xorg commented on 2013-08-14 15:12

Because you use package 'wget' to download the source, please add it in function 'makedepend', like this : https://gist.github.com/X0rg/6231996

honzor commented on 2013-06-17 14:12

Updated with baskerville's PKGBUILD.

baskerville commented on 2013-04-24 19:13

I've wrote a proper PKGBUILD:
https://github.com/baskerville/PKGBUILDs/blob/master/dmg2img/PKGBUILD

Anonymous comment on 2013-04-18 03:30

This PKGBUILD include alexander255 workaround
and add package creation

package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}

now required!

http://pastebin.com/SBay0D1j

Anonymous comment on 2013-02-10 13:20

Use this PKGBUILD as a workaround:
http://pastebin.com/yHCsTkEX

cobalt commented on 2012-12-14 20:15

curl: (22) The requested URL returned error: 406 Not Acceptable
==> ERROR: Failure while downloading dmg2img-1.6.4.tar.gz

diffycat commented on 2012-07-07 10:47

@graysky: read previous comments

graysky commented on 2012-07-07 10:08

$ makepkg -srci
==> Making package: dmg2img 1.6.4-1 (Sat Jul 7 06:06:51 EDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading dmg2img-1.6.4.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
curl: (22) The requested URL returned error: 406
==> ERROR: Failure while downloading dmg2img-1.6.4.tar.gz
Aborting...

honzor commented on 2012-06-19 12:50

@CPUnltd:A couple of comments below I posted a workaround to your problem. The problem, as pointed out by diffycat, is that the server is rejecting the curl headers. Either use my workaround or build the package manually.

CPUnltd commented on 2012-06-18 07:19

==> Retrieving Sources...
-> Downloading dmg2img-1.6.4.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 406
==> ERROR: Failure while downloading dmg2img-1.6.4.tar.gz
Aborting...
The build failed.

diffycat commented on 2012-04-26 19:51

@watermel0n
This server rejecting the curl headers. Just build package manually.

Anonymous comment on 2012-04-26 19:41

-> Lade dmg2img-1.6.4.tar.gz herunter...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 406

:( can't understand it, because the download link seems right and it works in firefox :/

honzor commented on 2012-04-26 10:30

Updated to latest version.

Curl error workaround:
add '--user-agent "Mozilla/4.0"' to the curl parameters in /etc/makepkg.conf.

deimos commented on 2012-04-25 03:59

dmg2img.o: In function `main':
dmg2img.c:(.text.startup+0xa27): undefined reference to `ZeroMemory'
collect2: error: ld returned 1 exit status
make: *** [dmg2img] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build dmg2img.

JohnDVD commented on 2012-04-24 15:50

This is obviously a problem in curl.
PKGBUILD works, if you download the tar.gz by yourself and place it in /tmp/yaourt-tmp*/aur-dmg2img/

JohnDVD commented on 2012-04-24 15:49

PKGBUILD works, if you download the tar.gz by yourself and place it in /tmp/yaourt-tmp*/aur-dmg2img/

WiZeTeK commented on 2012-03-28 03:32

curl: (22) The requested URL returned error: 406

honzor commented on 2010-05-15 22:56

Updated with igalmarino's pkgbuild

honzor commented on 2010-05-15 22:56

updated with devin's pkgbuild

igalmarino commented on 2010-04-09 15:09

# Maintainer: honzor
# Contributor: Devin Cofer <ranguvar@archlinux.us>

pkgname=dmg2img
pkgver=1.6.2
pkgrel=1
pkgdesc="A CLI tool to uncompress Apple's compressed DMG files to the HFS+ IMG format"
arch=('i686' 'x86_64')
url="http://vu1tur.eu.org/tools/"
license=('GPL2')

depends=('openssl')

source=(${url}download.pl?${pkgname}-${pkgver}.tar.gz)
md5sums=('296d35daab76d63ff6adad54113a8caa')

build() {
cd "${pkgname}-${pkgver}"
make CFLAGS="${CFLAGS}" || return 1
make DESTDIR=${pkgdir} install || return 1
}