diff options
| author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-01-04 20:34:52 +0000 |
|---|---|---|
| committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-01-04 20:34:52 +0000 |
| commit | ba449ef02c96c961442494caade0af1e269db64c (patch) | |
| tree | 702d96c212cdca953fe77ca8367d662d79743db4 /sysutils/zeroer | |
| parent | 2ddb84e1aee6e90076c6f9a0830f6da08cf1f616 (diff) | |
Notes
Diffstat (limited to 'sysutils/zeroer')
| -rw-r--r-- | sysutils/zeroer/Makefile | 38 | ||||
| -rw-r--r-- | sysutils/zeroer/distinfo | 3 | ||||
| -rw-r--r-- | sysutils/zeroer/pkg-descr | 10 |
3 files changed, 51 insertions, 0 deletions
diff --git a/sysutils/zeroer/Makefile b/sysutils/zeroer/Makefile new file mode 100644 index 000000000000..95a32feb21dc --- /dev/null +++ b/sysutils/zeroer/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: zeroer +# Date created: 2 Jan 2006 +# Whom: Emanuel Haupt <ehaupt@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= zeroer +PORTVERSION= 0.1 +CATEGORIES= sysutils +MASTER_SITES= http://critical.ch/${PORTNAME}/ + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= A command line utility for wiping unallocated space on a filesystem + +LIB_DEPENDS= popt:${PORTSDIR}/devel/popt + +MAN1= zeroer.1 +PLIST_FILES= bin/zeroer +PORTDOCS= README + +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib -lpopt + +do-build: + ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \ + -o ${WRKSRC}/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 + +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} +.endif + +.include <bsd.port.mk> diff --git a/sysutils/zeroer/distinfo b/sysutils/zeroer/distinfo new file mode 100644 index 000000000000..b28972636b30 --- /dev/null +++ b/sysutils/zeroer/distinfo @@ -0,0 +1,3 @@ +MD5 (zeroer-0.1.tar.gz) = 7e48ba06395f77dd93824006ce4f805f +SHA256 (zeroer-0.1.tar.gz) = be97127fa77979c41f0fedbd4deb0a2942df569becd3223cbe474a8ed1a35408 +SIZE (zeroer-0.1.tar.gz) = 10383 diff --git a/sysutils/zeroer/pkg-descr b/sysutils/zeroer/pkg-descr new file mode 100644 index 000000000000..aaf30892a655 --- /dev/null +++ b/sysutils/zeroer/pkg-descr @@ -0,0 +1,10 @@ +The zeroer utility can be used to wipe empty space on a disk. In contrary to dd, +zeroer does not wipe existing files on a partition. It overwrites the +unallocated disk space around existing files, which means that deleted files +cannot be restored after processing a certain partition with zeroer. + +The utility's principle consists in writing huge zero-padded memory blocks to a +file. To a certain extent this works similar to dd, however zeroer dynamically +reduces the blockwriter's buffer size when the filesystem is going to be full. + +WWW: http://critical.ch/zeroer/ |
