ports/77789: Update port: sysutils/testdisk - update to version 5.6
Florent Thoumie
flz at xbsd.org
Sun Feb 20 17:00:23 UTC 2005
>Number: 77789
>Category: ports
>Synopsis: Update port: sysutils/testdisk - update to version 5.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 20 17:00:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Florent Thoumie
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD srv1.xbsd.org 5.3-RELEASE FreeBSD 5.3-RELEASE #2: Wed Nov 24 16:35:34 CET 2004 root at gate.xbsd.org:/usr/src/sys/i386/compile/GATE i386
>Description:
Update to version 5.6.
Use OPTIONS.
Testdisk now ships with PhotoRec. See Website for more information.
This update needs sysutils/ntfsprogs update (libntfs.so version bumped).
>How-To-Repeat:
>Fix:
--- testdisk.diff begins here ---
diff -ruN testdisk.orig/Makefile testdisk/Makefile
--- testdisk.orig/Makefile Sat Feb 19 19:44:24 2005
+++ testdisk/Makefile Sun Feb 20 17:25:08 2005
@@ -6,7 +6,7 @@
#
PORTNAME= testdisk
-PORTVERSION= 5.3
+PORTVERSION= 5.6
CATEGORIES= sysutils
MASTER_SITES= http://www.cgsecurity.org/
@@ -18,40 +18,29 @@
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
-MAN1= testdisk.1
-PLIST_FILES= sbin/testdisk
+MAN1= testdisk.1 photorec.1
+PLIST_FILES= sbin/testdisk sbin/photorec
PORTDOCS= *
+OPTIONS= E2FSPROGS "Use ext2fs extensions" off \
+ NTFSPROGS "Use ntfs extensions" off \
+ PROGSREISERFS "Use reiserfs extensions" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_E2FSPROGS)
LIB_DEPENDS+= ext2fs.2:${PORTSDIR}/sysutils/e2fsprogs
.endif
.if defined(WITH_NTFSPROGS)
-LIB_DEPENDS+= ntfs.5:${PORTSDIR}/sysutils/ntfsprogs
+LIB_DEPENDS+= ntfs.6:${PORTSDIR}/sysutils/ntfsprogs
.endif
.if defined(WITH_PROGSREISERFS)
LIB_DEPENDS+= reiserfs-0.3.0:${PORTSDIR}/sysutils/progsreiserfs
.endif
-.if !defined(WITH_E2FSPROGS) || !defined(WITH_NTFSPROGS) || !defined(WITH_PROGSREISERFS)
-pre-everything::
- @${ECHO_MSG} ""
- @${ECHO_MSG} "You can define the following for additional features:"
- @${ECHO_MSG} ""
-.if !defined(WITH_E2FSPROGS)
- @${ECHO_MSG} "WITH_E2FSPROGS - Use ext2fs extensions.
-.endif
-.if !defined(WITH_NTFSPROGS)
- @${ECHO_MSG} "WITH_NTFSPROGS - Use ntfs extensions.
-.endif
-.if !defined(WITH_PROGSREISERFS)
- @${ECHO_MSG} "WITH_PROGSREISERFS - Use reiserfs extensions.
-.endif
- @${ECHO_MSG} ""
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)/doc|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN testdisk.orig/distinfo testdisk/distinfo
--- testdisk.orig/distinfo Sat Feb 19 19:44:24 2005
+++ testdisk/distinfo Sun Feb 20 01:04:54 2005
@@ -1,2 +1,2 @@
-MD5 (testdisk-5.3.tar.gz) = 63437803dcfe67f3e2ab434c33446723
-SIZE (testdisk-5.3.tar.gz) = 460690
+MD5 (testdisk-5.6.tar.gz) = a304bddfd9e22ed32d6ba34ab6686aa0
+SIZE (testdisk-5.6.tar.gz) = 503776
--- testdisk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list