Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2018 22:23:37 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486215 - in head/sysutils/magicrescue: . files
Message-ID:  <201811292223.wATMNbp7015114@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Nov 29 22:23:37 2018
New Revision: 486215
URL: https://svnweb.freebsd.org/changeset/ports/486215

Log:
  - Update to 1.1.10
  - Move to GitHub, project moved
  - Update WWW
  - Pacify portlint
  - Don't install changelog and build instructions, it is not really documentation

Deleted:
  head/sysutils/magicrescue/files/patch-Makefile.in
Modified:
  head/sysutils/magicrescue/Makefile
  head/sysutils/magicrescue/distinfo
  head/sysutils/magicrescue/files/patch-magicsort
  head/sysutils/magicrescue/pkg-descr
  head/sysutils/magicrescue/pkg-plist

Modified: head/sysutils/magicrescue/Makefile
==============================================================================
--- head/sysutils/magicrescue/Makefile	Thu Nov 29 22:00:24 2018	(r486214)
+++ head/sysutils/magicrescue/Makefile	Thu Nov 29 22:23:37 2018	(r486215)
@@ -2,11 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	magicrescue
-PORTVERSION=	1.1.9
-PORTREVISION=	1
+PORTVERSION=	1.1.10
+DISTVERSIONPREFIX=	v
 CATEGORIES=	sysutils
-MASTER_SITES=	http://www.itu.dk/people/jobr/magicrescue/release/ \
-		LOCAL/ehaupt
 
 MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	File recovery tool which recovers deleted files from a block device
@@ -15,25 +13,23 @@ LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 USES=		perl5 shebangfix
+USE_PERL5=	run
+
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--prefix=${PREFIX}
-USE_PERL5=	run
 
-SHEBANG_FILES=	magicsort tools/gimp-resave.pl
+USE_GITHUB=	yes
+GH_ACCOUNT=	jbj
 
-OPTIONS_DEFINE=	DOCS
+SHEBANG_FILES=	magicsort tools/*.pl tools/checkrecipe
 
 MAKE_ENV+=	STAGEDIR=${STAGEDIR}
 
 post-install:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in NEWS README
-	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/magicrescue
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dupemap
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/magicrescue \
+		${STAGEDIR}${PREFIX}/bin/dupemap
 .for f in safecat inputseek textextract
-	@${STRIP_CMD} ${STAGEDIR}${DATADIR}/tools/${f}
+	${STRIP_CMD} ${STAGEDIR}${DATADIR}/tools/${f}
 .endfor
 
 .include <bsd.port.mk>

Modified: head/sysutils/magicrescue/distinfo
==============================================================================
--- head/sysutils/magicrescue/distinfo	Thu Nov 29 22:00:24 2018	(r486214)
+++ head/sysutils/magicrescue/distinfo	Thu Nov 29 22:23:37 2018	(r486215)
@@ -1,2 +1,3 @@
-SHA256 (magicrescue-1.1.9.tar.gz) = a920b174efd664afe9760a43700588c9c5e6182cb13d7421e07ab613bceeb3c7
-SIZE (magicrescue-1.1.9.tar.gz) = 92621
+TIMESTAMP = 1543528315
+SHA256 (jbj-magicrescue-v1.1.10_GH0.tar.gz) = 060c77be3e86a328a4f90f45d2da41b2b78cb74f13d44f69e29909cf68e98cad
+SIZE (jbj-magicrescue-v1.1.10_GH0.tar.gz) = 227237

Modified: head/sysutils/magicrescue/files/patch-magicsort
==============================================================================
--- head/sysutils/magicrescue/files/patch-magicsort	Thu Nov 29 22:00:24 2018	(r486214)
+++ head/sysutils/magicrescue/files/patch-magicsort	Thu Nov 29 22:23:37 2018	(r486215)
@@ -1,6 +1,6 @@
---- ./magicsort.orig	2013-10-26 09:06:33.969663571 +0200
-+++ ./magicsort	2013-10-26 09:06:33.972663781 +0200
-@@ -13,7 +13,7 @@
+--- magicsort.orig	2018-11-29 21:59:50 UTC
++++ magicsort
+@@ -13,7 +13,7 @@ opendir DH, "." or die "opening $dir: $!
  while (defined(my $file = readdir DH)) {
      next unless -f $file;
  
@@ -9,7 +9,7 @@
      my $idstring = <FILE>;
      close FILE;
  
-@@ -25,7 +25,7 @@
+@@ -25,7 +25,7 @@ while (defined(my $file = readdir DH)) {
  	next;
      }
      my $dir = substr($idstring, length($file) + 2);

Modified: head/sysutils/magicrescue/pkg-descr
==============================================================================
--- head/sysutils/magicrescue/pkg-descr	Thu Nov 29 22:00:24 2018	(r486214)
+++ head/sysutils/magicrescue/pkg-descr	Thu Nov 29 22:23:37 2018	(r486215)
@@ -8,4 +8,4 @@ It works on any file system, but on very fragmented fi
 recover the first chunk of each file. Practical experience shows, however, that
 chunks of 30-50MB are not uncommon.
 
-WWW: http://www.itu.dk/people/jobr/magicrescue/
+WWW: https://github.com/jbj/magicrescue/

Modified: head/sysutils/magicrescue/pkg-plist
==============================================================================
--- head/sysutils/magicrescue/pkg-plist	Thu Nov 29 22:00:24 2018	(r486214)
+++ head/sysutils/magicrescue/pkg-plist	Thu Nov 29 22:23:37 2018	(r486215)
@@ -5,12 +5,19 @@ man/man1/dupemap.1.gz
 man/man1/magicrescue.1.gz
 man/man1/magicsort.1.gz
 %%DATADIR%%/recipes/avi
+%%DATADIR%%/recipes/canon-cr2
 %%DATADIR%%/recipes/elf
+%%DATADIR%%/recipes/empathy
+%%DATADIR%%/recipes/flac
+%%DATADIR%%/recipes/flv
 %%DATADIR%%/recipes/gimp-xcf
 %%DATADIR%%/recipes/gpl
 %%DATADIR%%/recipes/gzip
 %%DATADIR%%/recipes/jpeg-exif
 %%DATADIR%%/recipes/jpeg-jfif
+%%DATADIR%%/recipes/mbox
+%%DATADIR%%/recipes/mbox-mozilla-inbox
+%%DATADIR%%/recipes/mbox-mozilla-sent
 %%DATADIR%%/recipes/mp3-id3v1
 %%DATADIR%%/recipes/mp3-id3v2
 %%DATADIR%%/recipes/msoffice
@@ -18,12 +25,9 @@ man/man1/magicsort.1.gz
 %%DATADIR%%/recipes/perl
 %%DATADIR%%/recipes/png
 %%DATADIR%%/recipes/ppm
+%%DATADIR%%/recipes/rar
+%%DATADIR%%/recipes/sqlite
 %%DATADIR%%/recipes/zip
-%%DATADIR%%/recipes/canon-cr2
-%%DATADIR%%/recipes/flac
-%%DATADIR%%/recipes/mbox-mozilla-sent
-%%DATADIR%%/recipes/mbox-mozilla-inbox
-%%DATADIR%%/recipes/mbox
 %%DATADIR%%/tools/checkrecipe
 %%DATADIR%%/tools/elfextract.pl
 %%DATADIR%%/tools/gimp-resave.pl
@@ -37,5 +41,3 @@ man/man1/magicsort.1.gz
 %%DATADIR%%/tools/safecat
 %%DATADIR%%/tools/script_rename.pl
 %%DATADIR%%/tools/textextract
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README



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