ports/182780: Port sysutils/ddrescue version 1.17 upgrade [patch]
Horia Racoviceanu
horia at racoviceanu.com
Mon Oct 7 04:30:00 UTC 2013
>Number: 182780
>Category: ports
>Synopsis: Port sysutils/ddrescue version 1.17 upgrade [patch]
>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: Mon Oct 07 04:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Horia Racoviceanu
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
FreeBSD horia.lan 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep 9 21:34:37 UTC 2013 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
ddrescue version 1.17 upgrade
>How-To-Repeat:
>Fix:
- Change PORTVERSION to 1.17
- Add EXTRACT_SUFX=.tar.lz
with corresponding do-extract:
- New distinfo
Build log:
https://redports.org/buildarchive/20131007040007-00567/
Patch attached with submission follows:
diff -ruN ddrescue-orig/Makefile ddrescue/Makefile
--- ddrescue-orig/Makefile 2013-09-20 19:05:58.000000000 -0400
+++ ddrescue/Makefile 2013-10-06 20:13:39.000000000 -0400
@@ -2,10 +2,10 @@
# $FreeBSD: sysutils/ddrescue/Makefile 327772 2013-09-20 23:05:58Z bapt $
PORTNAME= ddrescue
-PORTVERSION= 1.16
-PORTREVISION= 1
+PORTVERSION= 1.17
CATEGORIES= sysutils
MASTER_SITES= GNU
+EXTRACT_SUFX= .tar.lz
MAINTAINER= jharris at widomaker.com
COMMENT= Data recovery tool
@@ -13,6 +13,8 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
+EXTRACT_DEPENDS=lzip:${PORTSDIR}/archivers/lzip
+
OPTIONS_DEFINE= DOCS
HAS_CONFIGURE= yes
@@ -27,6 +29,11 @@
NO_STAGE= yes
.include <bsd.port.options.mk>
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @${LOCALBASE}/bin/lzip -dc ${DISTDIR}/${DISTFILES} | \
+ ${TAR} -x -f - -C ${WRKDIR} --no-same-owner --no-same-permissions
+
do-install:
.for i in ddrescue ddrescuelog
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
diff -ruN ddrescue-orig/distinfo ddrescue/distinfo
--- ddrescue-orig/distinfo 2013-04-18 22:59:09.000000000 -0400
+++ ddrescue/distinfo 2013-10-06 20:14:11.000000000 -0400
@@ -1,2 +1,2 @@
-SHA256 (ddrescue-1.16.tar.gz) = 76b3f2e5fb0306d24f2632c3e168cccb73dc0a348e3a7089cd9230748ff23de6
-SIZE (ddrescue-1.16.tar.gz) = 104691
+SHA256 (ddrescue-1.17.tar.lz) = bef96c181b031cc7de9d02c0aec2e8dbf860d149fa2f35f967448a48ffd2752f
+SIZE (ddrescue-1.17.tar.lz) = 64065
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list