From lx@redundancy.redundancy.org  Fri Sep 22 14:21:04 2006
Return-Path: <lx@redundancy.redundancy.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8345C16A40F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Sep 2006 14:21:04 +0000 (UTC)
	(envelope-from lx@redundancy.redundancy.org)
Received: from redundancy.redundancy.org (redundancy.redundancy.org [64.147.160.152])
	by mx1.FreeBSD.org (Postfix) with SMTP id 52B9843D55
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 22 Sep 2006 14:21:03 +0000 (GMT)
	(envelope-from lx@redundancy.redundancy.org)
Received: (qmail 58740 invoked by uid 1001); 22 Sep 2006 14:21:26 -0000
Message-Id: <20060922142126.58739.qmail@redundancy.redundancy.org>
Date: 22 Sep 2006 14:21:26 -0000
From: David Thiel <lx@redundancy.redundancy.org>
Reply-To: David Thiel <lx@redundancy.redundancy.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: security/fwipe, another file wiping utility
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         103488
>Category:       ports
>Synopsis:       New port: security/fwipe, another file wiping utility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 22 14:30:25 GMT 2006
>Closed-Date:    Sun Sep 24 21:21:13 GMT 2006
>Last-Modified:  Sun Sep 24 21:30:19 GMT 2006
>Originator:     David Thiel
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386

>Description:

This is a file wiping utility designed to be able to work smoothly with
find and cronjobs, and to not screw up when presented with spaces or
other special characters in filenames.

>How-To-Repeat:
>Fix:

# 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:
#
#	fwipe
#	fwipe/Makefile
#	fwipe/distinfo
#	fwipe/pkg-descr
#	fwipe/files
#	fwipe/files/patch-hier.c
#
echo c - fwipe
mkdir -p fwipe > /dev/null 2>&1
echo x - fwipe/Makefile
sed 's/^X//' >fwipe/Makefile << 'END-of-fwipe/Makefile'
X# New ports collection makefile for:	wipe
X# Date created:			2006-09-22
X# Whom:				David Thiel <lx@redundancy.redundancy.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fwipe
XPORTVERSION=	0.36
XCATEGORIES=	security
XMASTER_SITES=	http://jeenyus.net/~budney/linux/software/fwipe/ \
X		http://redundancy.redundancy.org/mirror/
X
XMAINTAINER=	lx@redundancy.redundancy.org
XCOMMENT=	A djb-style file wiping utility
X
XALL_TARGET=	it
XINSTALL_TARGET=	setup check
X
XPLIST_FILES=	bin/fwipe bin/fwipe0 bin/echo0
XMAN1=	fwipe0.1 echo0.1 fwipe.1
X
Xpost-extract:
X	@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
X	@${ECHO_CMD} "${CC} -s" > ${WRKSRC}/conf-ld
X	@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
X	@${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-root
X
X.include <bsd.port.mk>
END-of-fwipe/Makefile
echo x - fwipe/distinfo
sed 's/^X//' >fwipe/distinfo << 'END-of-fwipe/distinfo'
XMD5 (fwipe-0.36.tar.gz) = c314238c9612b617edceb3eb07c00816
XSHA256 (fwipe-0.36.tar.gz) = 43394c23d47b3d895243b32ee0e6efb546b73350718c5b376b6e7c72e26571b2
XSIZE (fwipe-0.36.tar.gz) = 28296
END-of-fwipe/distinfo
echo x - fwipe/pkg-descr
sed 's/^X//' >fwipe/pkg-descr << 'END-of-fwipe/pkg-descr'
XFwipe is a secure file erasing program. fwipe0, which actually erases
Xyour files, is immune to filenames containing spaces, carriage returns,
Xdashes, or any other special characters. You can use it in place of rm
Xin cron jobs, together with "find ... -print0". The output of fwipe0 is
Xspecially designed to be parsed easily by machine, so it can be embedded
Xin other applications which need secure file erasure.
X
XWWW: http://jeenyus.net/~budney/linux/software/fwipe.html
END-of-fwipe/pkg-descr
echo c - fwipe/files
mkdir -p fwipe/files > /dev/null 2>&1
echo x - fwipe/files/patch-hier.c
sed 's/^X//' >fwipe/files/patch-hier.c << 'END-of-fwipe/files/patch-hier.c'
X--- hier.c.orig	Fri Sep 22 07:11:47 2006
X+++ hier.c	Fri Sep 22 07:12:15 2006
X@@ -10,11 +10,7 @@
X 
X   d(auto_home,"man",-1,-1,02755);
X   d(auto_home,"man/man1",-1,-1,02755);
X-  d(auto_home,"man/cat1",-1,-1,02755);
X   c(auto_home,"man/man1","fwipe0.1",-1,-1,0644);
X-  c(auto_home,"man/cat1","fwipe0.0",-1,-1,0644);
X   c(auto_home,"man/man1","echo0.1",-1,-1,0644);
X-  c(auto_home,"man/cat1","echo0.0",-1,-1,0644);
X   c(auto_home,"man/man1","fwipe.1",-1,-1,0644);
X-  c(auto_home,"man/cat1","fwipe.0",-1,-1,0644);
X }
END-of-fwipe/files/patch-hier.c
exit


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun Sep 24 21:18:00 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103488 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sun Sep 24 21:21:10 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/103488: commit references a PR
Date: Sun, 24 Sep 2006 21:20:30 +0000 (UTC)

 miwi        2006-09-24 21:19:48 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security             Makefile 
   Added files:
     security/fwipe       Makefile distinfo pkg-descr 
     security/fwipe/files patch-hier.c 
   Log:
   Fwipe is a secure file erasing program. fwipe0, which actually erases
   your files, is immune to filenames containing spaces, carriage returns,
   dashes, or any other special characters. You can use it in place of rm
   in cron jobs, together with "find ... -print0". The output of fwipe0 is
   specially designed to be parsed easily by machine, so it can be embedded
   in other applications which need secure file erasure.
   
   WWW: http://jeenyus.net/~budney/linux/software/fwipe.html
   
   PR:             ports/103488
   Submitted by:   David Thiel <lx(at)redundancy.redundancy.org>
   
   Revision  Changes    Path
   1.818     +1 -0      ports/security/Makefile
   1.1       +29 -0     ports/security/fwipe/Makefile (new)
   1.1       +3 -0      ports/security/fwipe/distinfo (new)
   1.1       +14 -0     ports/security/fwipe/files/patch-hier.c (new)
   1.1       +8 -0      ports/security/fwipe/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:
