Bug 66181 - Update port: sysutils/testdisk - Update port to version 5.2
Summary: Update port: sysutils/testdisk - Update port to version 5.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-02 22:10 UTC by Florent Thoumie
Modified: 2004-05-03 00:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florent Thoumie 2004-05-02 22:10:18 UTC
Updates port to version 5.2.

Fix: --- testdisk-5.2.diff begins here. ---



--- testdisk-5.2.diff ends here. -----pfTrkKkBA2nek81zqHhHVrgIYrcQRiqQfV0l04Gr28GSbQzZ
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

diff -ruN testdisk/Makefile testdisk.new/Makefile
--- testdisk/Makefile	Fri Apr 30 21:51:15 2004
+++ testdisk.new/Makefile	Sun May  2 21:05:58 2004
@@ -6,16 +6,19 @@
 #
 
 PORTNAME=	testdisk
-PORTVERSION=	5.1
+PORTVERSION=	5.2
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.cgsecurity.org/
 
 MAINTAINER=	flz@xbsd.org
 COMMENT=	Tool to check and undelete partitions
 
-WRKSRC=		${WRKDIR}/${PORTNAME}/src
+GNU_CONFIGURE=	yes
 USE_REINPLACE=	yes
-PLIST_FILES=	bin/testdisk
+MAN1=		testdisk.1
+
+CONFIGURE_ENV=	CPPFLAGS="-I${PREFIX}/include" \
+		LDFLAGS="-L${PREFIX}/lib"
 
 .if defined(WITH_E2FSPROGS)
 BUILD_DEPENDS+=	ext2fs.2:${PORTSDIR}/sysutils/e2fsprogs
@@ -39,16 +42,8 @@
 .endif
 
 post-patch:
-.if defined(WITH_E2FSPROGS)
-	@${REINPLACE_CMD} -e 's|-DHAVE_PROGSREISERFS31.*||' ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's|^\(LIBS=\).*|\1${PREFIX}/lib/libext2fs.a|' ${WRKSRC}/Makefile
-.else
-	@${REINPLACE_CMD} -e 's|-DHAVE_E2FSPROGS.*||' ${WRKSRC}/Makefile
-.endif
-	@${REINPLACE_CMD} -e 's|^bsd:|all:|' ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's|^\(LIBSA=\).*|\1|' ${WRKSRC}/Makefile
-
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/testdisk ${PREFIX}/bin
+	${REINPLACE_CMD} -e 's|^transform.*||' ${WRKSRC}/Makefile.in \
+					       ${WRKSRC}/src/Makefile.in
+	${REINPLACE_CMD} -e 's|/doc/.(PACKAGE)-.(VERSION)|/doc/${PORTNAME}|' ${WRKSRC}/Makefile.in 
 
 .include <bsd.port.post.mk>
diff -ruN testdisk/distinfo testdisk.new/distinfo
--- testdisk/distinfo	Sun Apr 18 21:42:57 2004
+++ testdisk.new/distinfo	Fri Apr 30 22:04:44 2004
@@ -1,2 +1,2 @@
-MD5 (testdisk-5.1.tar.gz) = c86eb08730a52a113ae572de75ff9c9e
-SIZE (testdisk-5.1.tar.gz) = 618498
+MD5 (testdisk-5.2.tar.gz) = f31ee06d2040e1d610a5891b57a86f65
+SIZE (testdisk-5.2.tar.gz) = 458451
diff -ruN testdisk/pkg-plist testdisk.new/pkg-plist
--- testdisk/pkg-plist	Thu Jan  1 01:00:00 1970
+++ testdisk.new/pkg-plist	Sun May  2 20:57:04 2004
@@ -0,0 +1,118 @@
+sbin/testdisk
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/COPYING
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/INSTALL
+%%DOCSDIR%%/NEWS
+%%DOCSDIR%%/README
+%%DOCSDIR%%/THANKS
+%%DOCSDIR%%/doc/AfterTestdisk.html
+%%DOCSDIR%%/doc/Compile_BSD.html
+%%DOCSDIR%%/doc/Compile_DOS.html
+%%DOCSDIR%%/doc/Compile_Linux.html
+%%DOCSDIR%%/doc/Compile_Win.html
+%%DOCSDIR%%/doc/DOS_BootDisk.html
+%%DOCSDIR%%/doc/GetTestDisk.html
+%%DOCSDIR%%/doc/HomePage.html
+%%DOCSDIR%%/doc/Linux_BootDisk.html
+%%DOCSDIR%%/doc/MenuAdvanced.html
+%%DOCSDIR%%/doc/MenuAnalyse.html
+%%DOCSDIR%%/doc/MenuDelete.html
+%%DOCSDIR%%/doc/MenuGeometry.html
+%%DOCSDIR%%/doc/MenuMBRCode.html
+%%DOCSDIR%%/doc/MenuOptions.html
+%%DOCSDIR%%/doc/RunningTestdisk.html
+%%DOCSDIR%%/doc/TDRUN.gif
+%%DOCSDIR%%/doc/TechnicalNotes.html
+%%DOCSDIR%%/doc/TestDiskCompilation.html
+%%DOCSDIR%%/doc/TestdiskDevelopmentGroup.html
+%%DOCSDIR%%/doc/examples.html
+%%DOCSDIR%%/doc/ext2fsCompil.html
+%%DOCSDIR%%/doc/logo.png
+%%DOCSDIR%%/doc/ntfsCompil.html
+%%DOCSDIR%%/doc/reiserfsCompil.html
+%%DOCSDIR%%/doc/screen01.gif
+%%DOCSDIR%%/doc/screen02.gif
+%%DOCSDIR%%/doc/screen03.gif
+%%DOCSDIR%%/doc/screen04.gif
+%%DOCSDIR%%/doc/screen05.gif
+%%DOCSDIR%%/doc/screen06.gif
+%%DOCSDIR%%/doc/screen07.gif
+%%DOCSDIR%%/doc/screen08.gif
+%%DOCSDIR%%/doc/screen09.gif
+%%DOCSDIR%%/doc/screen10.gif
+%%DOCSDIR%%/doc/screen11.gif
+%%DOCSDIR%%/doc/screen12.gif
+%%DOCSDIR%%/doc/screen13.gif
+%%DOCSDIR%%/doc/screen14.gif
+%%DOCSDIR%%/doc/screen15.gif
+%%DOCSDIR%%/doc/screen16.gif
+%%DOCSDIR%%/doc/screen16.png
+%%DOCSDIR%%/doc/testdisk.html
+%%DOCSDIR%%/doc/testdisk_change_partition.gif
+%%DOCSDIR%%/doc/testdisk_check.gif
+%%DOCSDIR%%/doc/testdisk_recovery_in_progress.gif
+%%DOCSDIR%%/doc/testdisk_start.gif
+%%DOCSDIR%%/doc/testdisk_write.gif
+%%DOCSDIR%%/doc/testdisklogo-clear-100.gif
+%%DOCSDIR%%/doc/testdisklogo2.gif
+%%DOCSDIR%%/doc/themes/default/buttons/RSS.png
+%%DOCSDIR%%/doc/themes/default/buttons/en/Next.gif
+%%DOCSDIR%%/doc/themes/default/buttons/en/Previous.gif
+%%DOCSDIR%%/doc/themes/default/buttons/valid-xhtml10.png
+%%DOCSDIR%%/doc/themes/default/buttons/vcss.gif
+%%DOCSDIR%%/doc/themes/default/buttons/vcss.png
+%%DOCSDIR%%/doc/themes/default/buttons/vxhtml10.gif
+%%DOCSDIR%%/doc/themes/default/images/favicon.ico
+%%DOCSDIR%%/doc/themes/default/images/ftp.png
+%%DOCSDIR%%/doc/themes/default/images/http.png
+%%DOCSDIR%%/doc/themes/default/images/https.png
+%%DOCSDIR%%/doc/themes/default/images/interwiki.png
+%%DOCSDIR%%/doc/themes/default/images/logo.png
+%%DOCSDIR%%/doc/themes/default/images/mailto.png
+%%DOCSDIR%%/doc/themes/default/images/png.png
+%%DOCSDIR%%/doc/themes/default/images/signature.png
+%%DOCSDIR%%/doc/themes/default/images/url.png
+%%DOCSDIR%%/doc/themes/default/phpwiki-heavy.css
+%%DOCSDIR%%/doc/themes/default/phpwiki-modern-heavy.css
+%%DOCSDIR%%/doc/themes/default/phpwiki-modern.css
+%%DOCSDIR%%/doc/themes/default/phpwiki-printer.css
+%%DOCSDIR%%/doc/themes/default/phpwiki-topbottombars.css
+%%DOCSDIR%%/doc/themes/default/phpwiki.css
+%%DOCSDIR%%/doc/themes/default/templates/actionbar.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/blogform.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/body.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/bottom.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/browse-footer.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/browse.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/content.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/debug.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/dialog.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/editpage.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/frame-footer.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/frame-header.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/frameset.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/head.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/homepage.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/html.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/htmldump.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/info.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/login.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/navbar.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/nochanges.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/redirect.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/savepage.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/signin.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/top.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/userprefs.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/viewsource.tmpl
+%%DOCSDIR%%/doc/themes/default/templates/wikiblog.tmpl
+%%DOCSDIR%%/doc/tips.html
+@dirrm %%DOCSDIR%%/doc/themes/default/templates
+@dirrm %%DOCSDIR%%/doc/themes/default/images
+@dirrm %%DOCSDIR%%/doc/themes/default/buttons/en
+@dirrm %%DOCSDIR%%/doc/themes/default/buttons
+@dirrm %%DOCSDIR%%/doc/themes/default
+@dirrm %%DOCSDIR%%/doc/themes
+@dirrm %%DOCSDIR%%/doc
+@dirrm %%DOCSDIR%%
How-To-Repeat: 
N/A
Comment 1 Pav Lucistnik freebsd_committer 2004-05-03 00:40:50 UTC
State Changed
From-To: open->closed

Committed, thanks!