diff options
author | flz <flz@FreeBSD.org> | 2005-03-08 06:43:09 +0800 |
---|---|---|
committer | flz <flz@FreeBSD.org> | 2005-03-08 06:43:09 +0800 |
commit | 47e79454b0058f4e96c27de8776c93d0603b192e (patch) | |
tree | 28ee6a31a2e6e404d70d50b12cfca412d7aa1937 /security | |
parent | 1f144fa672155c33cec13858aca8dabb1b11d021 (diff) | |
download | freebsd-ports-graphics-47e79454b0058f4e96c27de8776c93d0603b192e.tar.gz freebsd-ports-graphics-47e79454b0058f4e96c27de8776c93d0603b192e.tar.zst freebsd-ports-graphics-47e79454b0058f4e96c27de8776c93d0603b192e.zip |
Add secure_delete 3.1, a secure data deletion toolkit.
PR: ports/69556
Submitted by: bugghy <bugghy@phenix.rootshell.be>
Approved by: pav (mentor)
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/secure_delete/Makefile | 24 | ||||
-rw-r--r-- | security/secure_delete/distinfo | 2 | ||||
-rw-r--r-- | security/secure_delete/files/patch-Makefile | 30 | ||||
-rw-r--r-- | security/secure_delete/files/pkg-message.in | 3 | ||||
-rw-r--r-- | security/secure_delete/pkg-descr | 8 | ||||
-rw-r--r-- | security/secure_delete/pkg-plist | 12 |
7 files changed, 80 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 0310b063b0b..7bddee9edd5 100644 --- a/security/Makefile +++ b/security/Makefile @@ -426,6 +426,7 @@ SUBDIR += seahorse SUBDIR += secpanel SUBDIR += sectok + SUBDIR += secure_delete SUBDIR += sfs SUBDIR += sha SUBDIR += shishi diff --git a/security/secure_delete/Makefile b/security/secure_delete/Makefile new file mode 100644 index 00000000000..cfcb5b98f00 --- /dev/null +++ b/security/secure_delete/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: secure_delete +# Date created: 24 Jul 2004 +# Whom: bugghy <bugghy@SAFe-mail.net> +# +# $FreeBSD$ +# + +PORTNAME= secure_delete +PORTVERSION= 3.1 +CATEGORIES= security +MASTER_SITES= http://packetstormsecurity.org/groups/thc/ + +MAINTAINER= bugghy@SAFe-mail.net +COMMENT= Secure data deletion toolkit + +MANCOMPRESSED= no +MAN1= srm.1 sfill.1 sswap.1 smem.1 + +SUB_FILES= pkg-message + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/security/secure_delete/distinfo b/security/secure_delete/distinfo new file mode 100644 index 00000000000..0dae832866f --- /dev/null +++ b/security/secure_delete/distinfo @@ -0,0 +1,2 @@ +MD5 (secure_delete-3.1.tar.gz) = c210dd306c48164e6a366d5b20c757c9 +SIZE (secure_delete-3.1.tar.gz) = 63597 diff --git a/security/secure_delete/files/patch-Makefile b/security/secure_delete/files/patch-Makefile new file mode 100644 index 00000000000..719d7da471c --- /dev/null +++ b/security/secure_delete/files/patch-Makefile @@ -0,0 +1,30 @@ +--- Makefile.orig ++++ Makefile +@@ -1,13 +1,12 @@ +-CC=gcc +-OPT=-O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE ++OPT=${CFLAGS} + #OPT=-Wall -D_DEBUG_ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE +-INSTALL_DIR=/usr/local/bin +-MAN_DIR=/usr/local/man +-DOC_DIR=/usr/share/doc/secure_delete ++INSTALL_DIR=${PREFIX}/bin ++MAN_DIR=${PREFIX}/man ++DOC_DIR=${PREFIX}/share/doc/secure_delete + OPT_MOD=-D__KERNEL__ -DMODULE -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 + #LD_MOD=-r + +-all: sdel-lib.o srm sfill sswap smem sdel-mod.o ++all: sdel-lib.o srm sfill sswap smem + @echo + @echo "A Puritan is someone who is deathly afraid that someone, somewhere, is" + @echo "having fun." +@@ -47,7 +46,7 @@ + chmod 644 ${MAN_DIR}/man1/srm.1 ${MAN_DIR}/man1/sfill.1 ${MAN_DIR}/man1/sswap.1 ${MAN_DIR}/man1/smem.1 + mkdir -p -m 755 ${DOC_DIR} 2> /dev/null + cp -f CHANGES FILES README secure_delete.doc usenix6-gutmann.doc ${DOC_DIR} +- -test -e sdel-mod.o && cp -f sdel-mod.o /lib/modules/`uname -r`/kernel/drivers/char ++# -test -e sdel-mod.o && cp -f sdel-mod.o /lib/modules/`uname -r`/kernel/drivers/char + # @-test '!' -e sdel-mod.o -a `uname -s` = 'Linux' && echo "type \"make sdel-mod install\" to compile and install the Linux loadable kernel module for secure delete" + @echo + @echo "If men could get pregnant, abortion would be a sacrament." diff --git a/security/secure_delete/files/pkg-message.in b/security/secure_delete/files/pkg-message.in new file mode 100644 index 00000000000..670278343ea --- /dev/null +++ b/security/secure_delete/files/pkg-message.in @@ -0,0 +1,3 @@ +############################################################################# + Installed additional documentation in: %%DOCSDIR%% +############################################################################# diff --git a/security/secure_delete/pkg-descr b/security/secure_delete/pkg-descr new file mode 100644 index 00000000000..00b48732d69 --- /dev/null +++ b/security/secure_delete/pkg-descr @@ -0,0 +1,8 @@ +Secure data deletion toolkit! If you overwrite a file for 10+ times, +it can still be recovered. These tools can wipe files, free disk space, +swap and memory! + +WWW: http://www.thc.org/ + +- bugghy +bugghy@SAFe-mail.net diff --git a/security/secure_delete/pkg-plist b/security/secure_delete/pkg-plist new file mode 100644 index 00000000000..21a697f0904 --- /dev/null +++ b/security/secure_delete/pkg-plist @@ -0,0 +1,12 @@ +bin/sdel +bin/srm +bin/sfill +bin/sswap +bin/smem +bin/the_cleaner.sh +%%DOCSDIR%%/CHANGES +%%DOCSDIR%%/FILES +%%DOCSDIR%%/README +%%DOCSDIR%%/secure_delete.doc +%%DOCSDIR%%/usenix6-gutmann.doc +@dirrm %%DOCSDIR%% |