wok rev 7335

Added secure-delete. Tools to delete everything including empty/free space securely.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Nov 19 23:02:39 2010 +0000 (2010-11-19)
parents 0447a9d90f63
children 4a231f530167
files secure-delete/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/secure-delete/receipt	Fri Nov 19 23:02:39 2010 +0000
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="secure-delete"
     1.7 +VERSION="3.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Secure file, disk, swap, memory erasure utilities."
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="glibc-base"
    1.12 +SOURCE="secure_delete"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.thc.org/"
    1.15 +WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	chmod u+w .
    1.22 +	sed -ie 's/mktemp/mkstemp/g' sfill.c
    1.23 +	sed -ie "s/sswap smem sdel-mod.o/sswap smem/" Makefile
    1.24 +	make &&
    1.25 +	make && make INSTALL_DIR=$PWD/_pkg/usr/bin install
    1.26 +	chmod a+r $PWD/_pkg/usr/bin/*
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr
    1.33 +	cp -a $_pkg/usr/bin $fs/usr
    1.34 +}
    1.35 +