Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2018 13:37:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462804 - in head/sysutils/dmg2img: . files
Message-ID:  <201802241337.w1ODbHkI068454@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Feb 24 13:37:16 2018
New Revision: 462804
URL: https://svnweb.freebsd.org/changeset/ports/462804

Log:
  Update to 1.6.7
  
  - Add my LOCAL to MASTER_SITES
  - Add LICENSE_FILE
  - Patch file in post-patch:
  - Use MAKE_CMD
  - Pet portlint
  - Regenerate patch file with makepatch:
  - Update pkg-descr
  
  - Fixed buffer underrun
  - Avoid truncating .img file when run to list partition

Deleted:
  head/sysutils/dmg2img/files/
Modified:
  head/sysutils/dmg2img/Makefile
  head/sysutils/dmg2img/distinfo
  head/sysutils/dmg2img/pkg-descr

Modified: head/sysutils/dmg2img/Makefile
==============================================================================
--- head/sysutils/dmg2img/Makefile	Sat Feb 24 13:13:50 2018	(r462803)
+++ head/sysutils/dmg2img/Makefile	Sat Feb 24 13:37:16 2018	(r462804)
@@ -2,25 +2,26 @@
 # $FreeBSD$
 
 PORTNAME=	dmg2img
-PORTVERSION=	1.6.6
+PORTVERSION=	1.6.7
 CATEGORIES=	sysutils
-MASTER_SITES=	http://vu1tur.eu.org/tools/
+MASTER_SITES=	http://vu1tur.eu.org/tools/ \
+		LOCAL/sunpoet
 
-LICENSE=	GPLv2
-
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	DMG2IMG convert tool
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		ssl
-PLIST_FILES=	bin/${PORTNAME} \
+
+PLIST_FILES=	bin/dmg2img \
 		bin/vfdecrypt
 
-pre-configure:
-	${REINPLACE_CMD} -e 's|%%PREFIX%%|${STAGEDIR}${PREFIX}/bin|g' \
-		-e "s|\(CFLAGS =\)|\1 -I${OPENSSLINC} |g" \
-		-e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" ${WRKSRC}/Makefile
+post-patch:
+	@${REINPLACE_CMD} -e '/^CFLAGS = / s|$$| -I${OPENSSLINC}|; s| -lcrypto| -L${OPENSSLLIB}&|' ${WRKSRC}/Makefile
 
-post-build:
-	${MAKE} -C ${WRKSRC} install
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/dmg2img ${WRKSRC}/vfdecrypt ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>

Modified: head/sysutils/dmg2img/distinfo
==============================================================================
--- head/sysutils/dmg2img/distinfo	Sat Feb 24 13:13:50 2018	(r462803)
+++ head/sysutils/dmg2img/distinfo	Sat Feb 24 13:37:16 2018	(r462804)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1486535177
-SHA256 (dmg2img-1.6.6.tar.gz) = 9ba6384a7fb8cc852efa87df5e2b4e1d493dc5bff1a77daf2435fa00301adc85
-SIZE (dmg2img-1.6.6.tar.gz) = 23115
+TIMESTAMP = 1519418904
+SHA256 (dmg2img-1.6.7.tar.gz) = 02aea6d05c5b810074913b954296ddffaa43497ed720ac0a671da4791ec4d018
+SIZE (dmg2img-1.6.7.tar.gz) = 23238

Modified: head/sysutils/dmg2img/pkg-descr
==============================================================================
--- head/sysutils/dmg2img/pkg-descr	Sat Feb 24 13:13:50 2018	(r462803)
+++ head/sysutils/dmg2img/pkg-descr	Sat Feb 24 13:37:16 2018	(r462804)
@@ -1,4 +1,5 @@
-DMG2IMG is an Apple's compressed dmg to standard (hfsplus) image disk file
-convert tool. It is derived from dmg2iso v0.2c by vu1tur.
+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.
 
 WWW: http://vu1tur.eu.org/tools/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802241337.w1ODbHkI068454>