summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/bcwipe')
-rw-r--r--app-crypt/bcwipe/bcwipe-1.7_p7.ebuild52
-rw-r--r--app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch31
2 files changed, 0 insertions, 83 deletions
diff --git a/app-crypt/bcwipe/bcwipe-1.7_p7.ebuild b/app-crypt/bcwipe/bcwipe-1.7_p7.ebuild
deleted file mode 100644
index 75db40b95aa1..000000000000
--- a/app-crypt/bcwipe/bcwipe-1.7_p7.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/bcwipe/bcwipe-1.7_p7.ebuild,v 1.4 2009/04/26 19:16:16 ranger Exp $
-
-inherit toolchain-funcs eutils
-
-MY_PV="${PV/_p/-}"
-
-DESCRIPTION="BCWipe secure file removal utility"
-HOMEPAGE="http://www.jetico.com/"
-SRC_URI="http://www.jetico.com/linux/BCWipe-${MY_PV}.tar.gz
- doc? ( http://www.jetico.com/linux/BCWipe.doc.tgz )"
-
-LICENSE="bestcrypt"
-SLOT="0"
-IUSE="doc"
-KEYWORDS="amd64 ppc sparc x86"
-
-DEPEND=""
-RDEPEND=""
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-build.patch"
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" || die "Make failed"
-}
-
-src_test() {
- echo "abc123" >> testfile
- ./bcwipe -f testfile || die "bcwipe test failed"
- [ -f testfile ] && die "test file still exists. bcwipe should of deleted it"
-}
-
-src_install() {
- dobin bcwipe || die "dobin bcwipe failed"
- doman bcwipe.1 || die "doman bcwipe.1 failed"
- if use doc ; then
- dohtml -r ../bcwipe-help || die "dohtml failed"
- fi
-}
-
-pkg_postinst() {
- ewarn "The BestCrypt drivers are not free - Please purchace a license from "
- ewarn "http://www.jetico.com/"
- ewarn "full details /usr/share/doc/${PF}/html/bcwipe-help/wu_licen.htm"
-}
diff --git a/app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch b/app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch
deleted file mode 100644
index 51a6e4b48128..000000000000
--- a/app-crypt/bcwipe/files/bcwipe-1.7_p7-build.patch
+++ /dev/null
@@ -1,31 +0,0 @@
---- Makefile
-+++ Makefile
-@@ -48,15 +48,14 @@
-
- INSTALL = install
-
--CFLAGS = -O -DOS_$(OS_NAME) -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror
-+CFLAGS += -O -DOS_$(OS_NAME) -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror
-
- #CFLAGS = -O -DOS_`uname -s |tr "-" "_"` -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE #-static -Wall -Werror
-
--LDFLAGS =
- DEFS =
-
- TARGETS = bcwipe
--BC_OBJ = sha1.o sha1random.o options.o schemes.o
-+BC_OBJ = sha1.o sha1random.o options.o schemes.o wipe.o
-
-
- root=/
-@@ -64,8 +63,8 @@
-
- all: $(TARGETS)
-
--bcwipe: wipe.c $(BC_OBJ)
-- $(CC) $(CFLAGS) $(DEFS) -o bcwipe wipe.c $(BC_OBJ)
-+bcwipe: $(BC_OBJ)
-+ $(CC) $(LDFLAGS) -o bcwipe $(BC_OBJ)
-
- install:
- ./install.sh $(root)