Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  5 Apr 2013 23:44:14 -0700 (PDT)
From:      Jeremy Chadwick <jdc@koitsu.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/177664: sysutils/ddrescue -- remove unnecessary lzip dependency
Message-ID:  <20130406064414.A491F73A31@icarus.home.lan>
Resent-Message-ID: <201304060650.r366o0A9019865@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         177664
>Category:       ports
>Synopsis:       sysutils/ddrescue -- remove unnecessary lzip dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 06 06:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jeremy Chadwick
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD icarus.home.lan 9.1-STABLE FreeBSD 9.1-STABLE #0 r249160: Fri Apr 5 06:05:12 PDT 2013 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64
>Description:
	sysutils/ddrescue relies on lzip for what appears to be no legitimate
	reason -- the .tar.gz versions of ddrescue have been available on the
	official GNU mirrors for quite some time.  Here are 5 example mirrors
	that are reached when visiting http://ftpmirror.gnu.org/ddrescue/ --

	http://mirrors.ibiblio.org/gnu/ftp/gnu/ddrescue/
	http://mirrors.syringanetworks.net/gnu/ddrescue/
	http://mirror.nexcess.net/gnu/ddrescue/
	http://mirror.anl.gov/pub/gnu/ddrescue/
	http://mirror.nyi.net/GNU/gnu/ddrescue/

	Thus, remove the dependency and use our native tar/gz tools.  (Maybe
	one day libarchive will have lzip support natively...  :-) )
>How-To-Repeat:
	n/a
>Fix:
	Apply below patch.  Patch will also be available at the following
	URL once I get a GNATS PR number:

	http://jdc.koitsu.org/freebsd/{prnum}/

Index: Makefile
===================================================================
--- Makefile	(revision 315738)
+++ Makefile	(working copy)
@@ -9,7 +9,7 @@ PORTNAME=	ddrescue
 PORTVERSION=	1.16
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
-EXTRACT_SUFX=	.tar.lz
+EXTRACT_SUFX=	.tar.gz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Data recovery tool
@@ -17,10 +17,6 @@ COMMENT=	Data recovery tool
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-EXTRACT_DEPENDS=lzip:${PORTSDIR}/archivers/lzip
-
-EXTRACT_CMD=	${LOCALBASE}/bin/lzip
-
 OPTIONS_DEFINE=	DOCS
 
 HAS_CONFIGURE=	yes
Index: distinfo
===================================================================
--- distinfo	(revision 315738)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (ddrescue-1.16.tar.lz) = 47ff778de4ff75a7e796c717e68fcef2000fe3ca25f824d3063259ebf930a65e
-SIZE (ddrescue-1.16.tar.lz) = 61763
+SHA256 (ddrescue-1.16.tar.gz) = 76b3f2e5fb0306d24f2632c3e168cccb73dc0a348e3a7089cd9230748ff23de6
+SIZE (ddrescue-1.16.tar.gz) = 104691
>Release-Note:
>Audit-Trail:
>Unformatted:



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