ports/169422: sysutils/ddrescue: Update to version 1.16
KATO Tsuguru
tkato432 at yahoo.com
Mon Jun 25 18:10:15 UTC 2012
>Number: 169422
>Category: ports
>Synopsis: sysutils/ddrescue: Update to version 1.16
>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 Jun 25 18:10:14 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p9 i386
>Organization:
>Environment:
>Description:
- Update to version 1.16
Remove file:
files/patch-Makefile.in
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/sysutils/ddrescue/Makefile sysutils/ddrescue/Makefile
--- /usr/ports/sysutils/ddrescue/Makefile 2012-01-29 02:49:58.000000000 +0900
+++ sysutils/ddrescue/Makefile 2012-06-16 23:21:12.000000000 +0900
@@ -6,9 +6,10 @@
#
PORTNAME= ddrescue
-PORTVERSION= 1.15
+PORTVERSION= 1.16
CATEGORIES= sysutils
MASTER_SITES= GNU
+EXTRACT_SUFX= .tar.lz
MAINTAINER= ports at FreeBSD.org
COMMENT= Data recovery tool
@@ -16,6 +17,12 @@
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
+EXTRACT_DEPENDS=lzip:${PORTSDIR}/archivers/lzip
+
+EXTRACT_CMD= ${LOCALBASE}/bin/lzip
+
+OPTIONS_DEFINE= DOCS
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}"
@@ -26,6 +33,8 @@
PORTDOCS= AUTHORS ChangeLog NEWS README
PLIST_FILES= bin/ddrescue bin/ddrescuelog
+.include <bsd.port.options.mk>
+
do-install:
.for i in ddrescue ddrescuelog
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin
@@ -34,7 +43,7 @@
.for i in ddrescue
${INSTALL_DATA} ${WRKSRC}/doc/${i}.info ${PREFIX}/${INFO_PATH}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
diff -urN /usr/ports/sysutils/ddrescue/distinfo sysutils/ddrescue/distinfo
--- /usr/ports/sysutils/ddrescue/distinfo 2012-01-29 02:49:58.000000000 +0900
+++ sysutils/ddrescue/distinfo 2012-06-16 23:12:33.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (ddrescue-1.15.tar.gz) = 75e01362005ba5b59a275edd9d012229b43e0b56533c2abb89d40a44d7ec2d78
-SIZE (ddrescue-1.15.tar.gz) = 99082
+SHA256 (ddrescue-1.16.tar.lz) = 47ff778de4ff75a7e796c717e68fcef2000fe3ca25f824d3063259ebf930a65e
+SIZE (ddrescue-1.16.tar.lz) = 61763
diff -urN /usr/ports/sysutils/ddrescue/files/patch-Makefile.in sysutils/ddrescue/files/patch-Makefile.in
--- /usr/ports/sysutils/ddrescue/files/patch-Makefile.in 2012-01-29 02:49:58.000000000 +0900
+++ sysutils/ddrescue/files/patch-Makefile.in 1970-01-01 09:00:00.000000000 +0900
@@ -1,23 +0,0 @@
---- Makefile.in.orig 2011-11-22 22:09:38.000000000 +0900
-+++ Makefile.in 2012-01-07 05:34:41.000000000 +0900
-@@ -18,16 +18,16 @@
- all : $(progname) ddrescuelog
-
- $(progname) : $(objs)
-- $(CXX) $(LDFLAGS) -o $@ $^
-+ $(CXX) $(LDFLAGS) -o $@ $(objs)
-
- $(progname)_profiled : $(objs)
-- $(CXX) $(LDFLAGS) -pg -o $@ $^
-+ $(CXX) $(LDFLAGS) -pg -o $@ $(objs)
-
- ddrescuelog : $(logobjs)
-- $(CXX) $(LDFLAGS) -o $@ $^
-+ $(CXX) $(LDFLAGS) -o $@ $(logobjs)
-
- static_$(progname) : $(objs)
-- $(CXX) $(LDFLAGS) -static -o $@ $^
-+ $(CXX) $(LDFLAGS) -static -o $@ $(objs)
-
- main.o : main.cc
- $(CXX) $(CPPFLAGS) $(CXXFLAGS) -DPROGVERSION=\"$(pkgversion)\" -c -o $@ $<
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list