From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 25 16:40:08 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EA0216A420 for ; Wed, 25 Jan 2006 16:40:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1431543D48 for ; Wed, 25 Jan 2006 16:40:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0PGe7OY023172 for ; Wed, 25 Jan 2006 16:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0PGe7kW023168; Wed, 25 Jan 2006 16:40:07 GMT (envelope-from gnats) Date: Wed, 25 Jan 2006 16:40:07 GMT Message-Id: <200601251640.k0PGe7kW023168@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Jeffrey H. Johnson" Cc: Subject: Re: ports/92156: [NEW PORT] sysutils/phantom: Phantomblock generator (converts existing files to sparse files) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Jeffrey H. Johnson" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 16:40:08 -0000 The following reply was made to PR ports/92156; it has been noted by GNATS. From: Jeffrey H. Johnson To: bug-followup@FreeBSD.org, CPE1704TKS@bellsouth.net, garga@FreeBSD.org Cc: Subject: Re: ports/92156: [NEW PORT] sysutils/phantom: Phantomblock generator (converts existing files to sparse files) Date: Wed, 25 Jan 2006 11:35:05 -0500 (EST) >Submitter-Id: current-users >Originator: Jeffrey H. Johnson >Organization: >Confidential: no >Synopsis: Re: ports/92156: [NEW PORT] sysutils/phantom: Phantomblock generator (converts existing files to sparse files) >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 6.0-STABLE i386 >Environment: System: FreeBSD offworld.cqasys.com 6.0-STABLE FreeBSD 6.0-STABLE #21: Wed Jan 18 22:35:45 EST 2006 >Description: This should now be correct. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- phantom-1.2.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # phantom # phantom/files # phantom/files/patch-Makefile # phantom/Makefile # phantom/distinfo # phantom/pkg-descr # echo c - phantom mkdir -p phantom > /dev/null 2>&1 echo c - phantom/files mkdir -p phantom/files > /dev/null 2>&1 echo x - phantom/files/patch-Makefile sed 's/^X//' >phantom/files/patch-Makefile << 'END-of-phantom/files/patch-Makefile' X--- Makefile.orig Fri Jul 8 05:30:27 2005 X+++ Makefile Wed Jan 25 11:27:25 2006 X@@ -1,8 +1,8 @@ X VERSION=1.2 X X DEBUG=#-g X-LDFLAGS=$(DEBUG) X-CFLAGS=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) X+LDFLAGS+=$(DEBUG) X+CFLAGS+=-DVERSION=\"$(VERSION)\" -DMADV_SEQUENTIAL $(DEBUG) X X OBJS=phantom.o X X@@ -12,7 +12,7 @@ X $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o phantom X X install: phantom X- cp phantom $(DESTDIR)/usr/bin X+ ${INSTALL} -m 755 phantom ${PREFIX}/bin X X clean: X rm -f $(OBJS) core phantom END-of-phantom/files/patch-Makefile echo x - phantom/Makefile sed 's/^X//' >phantom/Makefile << 'END-of-phantom/Makefile' X# New ports collection makefile for: phantom X# Date created: 22 January 2006 X# Whom: Jeffrey H. Johnson X# X# $FreeBSD: ports/sysutils/phantom/Makefile,v 1.00 2006/01/22 07:44:41 trn Exp $ X# X XPORTNAME= phantom XPORTVERSION= 1.2 XCATEGORIES= sysutils XMASTER_SITES= http://www.vanheusden.com/Linux/ XEXTRACT_SUFX= .tgz X XMAINTAINER= CPE1704TKS@bellsouth.net XCOMMENT= Phantomblock generator (converts existing files to sparse files) X XALL_TARGET= all X XPLIST_FILES= bin/phantom X X.include END-of-phantom/Makefile echo x - phantom/distinfo sed 's/^X//' >phantom/distinfo << 'END-of-phantom/distinfo' XSIZE (phantom-1.2.tgz) = 4425 XMD5 (phantom-1.2.tgz) = d790abb0caed787e3c8082340e6e549e XSHA256 (phantom-1.2.tgz) = 9ce7d0d7e6561474a0b4d70f9ae0fb4010ef9b4f012c9018bf9fdca1704ac6c2 END-of-phantom/distinfo echo x - phantom/pkg-descr sed 's/^X//' >phantom/pkg-descr << 'END-of-phantom/pkg-descr' XThis tool removes blocks of 0x00 from files by replacing them with Xphantomblocks. That way, a file uses less diskspace while its contents Xhasn't changed at all! X XBEWARE: after copying these files with tar, cp, cpio or any other tool, Xthe phantomblocks have been replaced with 0x00-blocks again! X XEXAMPLE: X Xfind / -type f -print | xargs -n 1 phantom -r -i X XThis would go trough the whole harddisk, scan all files and generate X0x00-blocks where necessary. X XWWW: http://www.vanheusden.com/Linux/phantom.php END-of-phantom/pkg-descr exit --- phantom-1.2.shar ends here ---