From erik@smluc.org  Tue Nov 28 21:56:20 2006
Return-Path: <erik@smluc.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 5568D16A417
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Nov 2006 21:56:20 +0000 (UTC)
	(envelope-from erik@smluc.org)
Received: from phoenix.smluc.org (phoenix.smluc.org [12.28.48.23])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5285D43CA1
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Nov 2006 21:56:13 +0000 (GMT)
	(envelope-from erik@smluc.org)
Received: by phoenix.smluc.org (Postfix, from userid 1000)
	id A5DDA1CE55; Tue, 28 Nov 2006 15:57:38 -0600 (CST)
Message-Id: <20061128215738.A5DDA1CE55@phoenix.smluc.org>
Date: Tue, 28 Nov 2006 15:57:38 -0600 (CST)
From: Erik Greenwald <erik@smluc.org>
Reply-To: Erik Greenwald <erik@smluc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: erikg@arl.army.mil
Subject: [New Port]  sysutils/diskscrub  - scrub a disk/file/freespace.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         105980
>Category:       ports
>Synopsis:       [New Port]  sysutils/diskscrub  - scrub a disk/file/freespace.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    shaun
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 28 22:00:24 GMT 2006
>Closed-Date:    Tue Nov 28 23:35:42 GMT 2006
>Last-Modified:  Tue Nov 28 23:40:12 GMT 2006
>Originator:     Erik Greenwald
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
US Army Research Laboratory
>Environment:
System: FreeBSD fenris 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Tue Oct 10 16:58:15 EDT 2006 erik@fenris:/usr/obj/usr/src/sys/FENRIS i386

>Description:
new port performs disk scrubbing on either an entire disk, a single 
file, or 'free space' (by creating a new file that fills the FS and 
scrubbing that)

>How-To-Repeat:
>Fix:

--- sysutils_diskscrub.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:
#
#	sysutils/diskscrub
#	sysutils/diskscrub/pkg-descr
#	sysutils/diskscrub/distinfo
#	sysutils/diskscrub/Makefile
#
echo c - sysutils/diskscrub
mkdir -p sysutils/diskscrub > /dev/null 2>&1
echo x - sysutils/diskscrub/pkg-descr
sed 's/^X//' >sysutils/diskscrub/pkg-descr << 'END-of-sysutils/diskscrub/pkg-descr'
XScrub iteratively writes patterns on files or disk devices to make retrieving
Xthe data more difficult. Scrub operates in one of three modes:
X
X1. The special file corresponding to an entire disk is scrubbed and
X   all data on it is destroyed. This mode is selected if file is a
X   character or block special file. This is the most effective method.
X2. A regular file is scrubbed and only the data in the file (and optionally
X   its name in the directory entry) is destroyed. The file size is rounded up
X   to fill out the last file system block. This mode is selected if file is a
X   regular file.
X3. A file is created, expanded until the file system is full, then scrubbed as
X   in item 2. This mode is selected with the -X option.
X
XScrub implements user-selectable pattern algorithms that are compliant with
XDoD 5520.22-M or NNSA NAP-14.x.
X
XWWW: http://www.llnl.gov/linux/scrub/scrub.html
END-of-sysutils/diskscrub/pkg-descr
echo x - sysutils/diskscrub/distinfo
sed 's/^X//' >sysutils/diskscrub/distinfo << 'END-of-sysutils/diskscrub/distinfo'
XMD5 (scrub-1.8.tar.bz2) = 18230b4196b7854740820cda39ecccd0
XSHA256 (scrub-1.8.tar.bz2) = 6bca4b8c378bd066cb7512b92a341c0613609b2ac65fc1ca59d23f40054486e8
XSIZE (scrub-1.8.tar.bz2) = 29545
END-of-sysutils/diskscrub/distinfo
echo x - sysutils/diskscrub/Makefile
sed 's/^X//' >sysutils/diskscrub/Makefile << 'END-of-sysutils/diskscrub/Makefile'
X# New ports collection makefile for:	diskscrub
X# Date created:		28 November 2006
X# Whom:			Erik Greenwald <erik@smluc.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	diskscrub
XPORTVERSION=	1.8
XCATEGORIES=	sysutils
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	scrub-${PORTVERSION}
X
XMAINTAINER=	erik@smluc.org
XCOMMENT=	Writes patterns on files to make retrieving the data more difficult
X
XMAN1=	scrub.1
X
XPLIST_FILES=	bin/scrub
X
XUSE_GMAKE=	yes
XUSE_BZIP2=	yes
X
Xdo-install:
X	$(INSTALL_PROGRAM) $(WRKSRC)/scrub $(PREFIX)/bin/scrub
X	$(INSTALL_MAN) $(WRKSRC)/scrub.1 $(MANPREFIX)/man/man1/scrub.1
X
X.include <bsd.port.mk>
END-of-sysutils/diskscrub/Makefile
exit
--- sysutils_diskscrub.shar ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->shaun 
Responsible-Changed-By: shaun 
Responsible-Changed-When: Tue Nov 28 22:54:42 UTC 2006 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105980 
State-Changed-From-To: open->closed 
State-Changed-By: shaun 
State-Changed-When: Tue Nov 28 23:33:39 UTC 2006 
State-Changed-Why:  
Committed, with minor modifications. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105980 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/105980: commit references a PR
Date: Tue, 28 Nov 2006 23:35:09 +0000 (UTC)

 shaun       2006-11-28 23:35:01 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils             Makefile 
   Added files:
     sysutils/diskscrub   Makefile distinfo pkg-descr 
     sysutils/diskscrub/files extrapatch-freebsd4 
   Log:
   Add sysutils/diskscrub:
   
   This port performs disk scrubbing on either an entire disk, a single
   file, or 'free space' (by creating a new file that fills the FS and
   scrubbing that).
   
   PR:             ports/105980
   Submitted by:   Erik Greenwald <erik@smluc.org>
   
   Revision  Changes    Path
   1.860     +1 -0      ports/sysutils/Makefile
   1.1       +40 -0     ports/sysutils/diskscrub/Makefile (new)
   1.1       +3 -0      ports/sysutils/diskscrub/distinfo (new)
   1.1       +16 -0     ports/sysutils/diskscrub/files/extrapatch-freebsd4 (new)
   1.1       +17 -0     ports/sysutils/diskscrub/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
