Index: head/sysutils/zeroer/Makefile =================================================================== --- head/sysutils/zeroer/Makefile (revision 472680) +++ head/sysutils/zeroer/Makefile (revision 472681) @@ -1,36 +1,38 @@ # Created by: Emanuel Haupt # $FreeBSD$ PORTNAME= zeroer PORTVERSION= 0.1 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Command-line utility for wiping unallocated space on a filesystem LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpopt.so:devel/popt +USES= localbase:ldflags PLIST_FILES= bin/zeroer man/man1/zeroer.1.gz PORTDOCS= README -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lpopt +LDFLAGS+= -lpopt OPTIONS_DEFINE= DOCS do-build: ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \ -o ${WRKSRC}/${PORTNAME} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include Index: head/sysutils/zeroer/pkg-descr =================================================================== --- head/sysutils/zeroer/pkg-descr (revision 472680) +++ head/sysutils/zeroer/pkg-descr (revision 472681) @@ -1,10 +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/ +WWW: https://critical.ch/zeroer/