ports/103488: New port: security/fwipe, another file wiping utility

David Thiel lx at redundancy.redundancy.org
Fri Sep 22 14:30:28 UTC 2006


>Number:         103488
>Category:       ports
>Synopsis:       New port: security/fwipe, another file wiping utility
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 22 14:30:25 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list