summaryrefslogtreecommitdiff
path: root/app-misc/wipe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/wipe
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/wipe')
-rw-r--r--app-misc/wipe/Manifest6
-rw-r--r--app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch19
-rw-r--r--app-misc/wipe/metadata.xml11
-rw-r--r--app-misc/wipe/wipe-2.3.1.ebuild39
4 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/wipe/Manifest b/app-misc/wipe/Manifest
new file mode 100644
index 000000000000..4b33e5aa8a7b
--- /dev/null
+++ b/app-misc/wipe/Manifest
@@ -0,0 +1,6 @@
+AUX wipe-2.3.1-LDFLAGS.patch 470 SHA256 69580ccd0ee67e911df44e3d3523d4d7437b05d4e58fb352cef84bc3732e217e SHA512 e44d409f8177466c22c5a76fcb242e424d4584e587c6a8e25c5d3d8adb976b11a5cce2e0a77b99833a06879a4df3bdb2c71e468f08b7c7b2888b5ed1907dbd79 WHIRLPOOL 2153aae20ac9960afec8b30028448cc8918558240a1000c6084672c9959ab4c64834a24b81433f29696aba75f5688e8473b50916fe17ad6cb2890f87d2b5dba6
+DIST wipe-2.3.1.tar.bz2 72297 SHA256 463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0 SHA512 63870e68fa5dbf90abb686052f8dcc216ccb93b0c4f5cc10d60ccf43f3606ba91b46dc1e3d8b34d201f7ea657f70b45a61d5d04facf5b2a3e47d2286c46e7110 WHIRLPOOL ed86197371451d0b7f9a0b635ac085c2376217f06fee09ce1aa0443e8515fcb9a4fe3098a19eb0f2e55cd1b79589af49798d6f44ab1ea99f2cdc8104ee4142f8
+EBUILD wipe-2.3.1.ebuild 790 SHA256 959373ab6ccaea474d2dbdc0c02362bd1004c7c42e5baf420155988f9f9bfb08 SHA512 036c6ede08059455baed7f567e98bdb5d7959d435a5dc853fb4708d59b5c9c9f53c233da6bcbd28c174cce8a940bdfdabb1e6d4a5c93c1bdf089677f062170c4 WHIRLPOOL 4c8277b21bf2baa1b5ca537ee47f4562b2e3f96becefa5ac50f3bd4fcc3703911bd6e548000e1876f34dcd4790bd39227bf61944714057e2df282567e4be4cff
+MISC ChangeLog 2568 SHA256 4cca847ce56d9d431a35c0240cc261c8c0b990b2a75c86166307a1edc51000ba SHA512 42f34b24af15b253cb41b32e3c1469f51dd5d8092244baa9574ba7deca1a061382546af1845c98cd041ceeb09fca81e601fb92804e937741f577aec701b3c339 WHIRLPOOL 292d3a848560e7d6ba37d029f66aaf16dd2a0b5657a2aa2028034d7385064110f4e666e4be904cda78a547abf28191e9e12bb89cabb7019e13df340336e6fe1c
+MISC ChangeLog-2015 3765 SHA256 494db89faa68af1d548feecc7c4cbf71982e562d51203d5d0b59f7b4bfd40734 SHA512 57691974f1c9223e91de84edba9ff01a71e2e846273aa36d5670e5e706ef79ae36d27b1aa5cf38b149886246801bb4f77ee4cfc7c395a26352393627b5bc40a0 WHIRLPOOL 1c988f7aedaf60bb8ba8e5cfc69e77dd7d0f63cb9c2e437b5bee512df55db7f6307a987b71b93867b303e255521bca3624c7d572a3881da2080870b48e860038
+MISC metadata.xml 317 SHA256 f38da47dc615e9b01ce3fc97b232e753bb826fc36af7ae18f17c2832b3a19f1e SHA512 d4c733a3d33e0b3528b2fa38555f9318897900ec1a9e4ae35efdf0ffb0ab1af68059786dd9ab99d1d943310829887e8c01954c3c597a752e086a94d513b85e3b WHIRLPOOL 8c6c9c9ac9e19f1092187cdaac7da2521cb7e48546327b683b1a1ca4a713bd69af1162baa93a11b3cdaa67ecde6289ecfeafdc35827fba7253d3ef160af9ae03
diff --git a/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch b/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch
new file mode 100644
index 000000000000..23a5d19d1cd7
--- /dev/null
+++ b/app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch
@@ -0,0 +1,19 @@
+--- wipe-2.3.1/Makefile.in
++++ wipe-2.3.1/Makefile.in
+@@ -5,6 +5,7 @@
+
+ CC=@CC@
+ CFLAGS=@CFLAGS@ -I@srcdir@ -D@OSTYPE@ $(DEFINES)
++LDFLAGS=@LDFLAGS@
+ DEBUG=@DEBUG@ -I@srcdir@ -D@OSTYPE@ $(DEFINES)
+
+ LIBS=@LIBS@
+@@ -31,7 +32,7 @@
+ all: $(REQ) $(BIN)
+
+ $(BIN): main.o wipe.o rand.o dir.o file.o blkdev.o lock.o text.o str.o percent.o prompt.o io.o mt.o
+- $(CC) $(LIBS) *.o -o $@
++ $(CC) $(LIBS) *.o -o $@ $(LDFLAGS)
+
+
+ # restores everything to a pre-configured state
diff --git a/app-misc/wipe/metadata.xml b/app-misc/wipe/metadata.xml
new file mode 100644
index 000000000000..8e517081e108
--- /dev/null
+++ b/app-misc/wipe/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">wipe</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/wipe/wipe-2.3.1.ebuild b/app-misc/wipe/wipe-2.3.1.ebuild
new file mode 100644
index 000000000000..c53200bc8276
--- /dev/null
+++ b/app-misc/wipe/wipe-2.3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=3
+
+inherit autotools eutils
+
+DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns"
+HOMEPAGE="http://wipe.sourceforge.net/"
+SRC_URI="mirror://sourceforge/wipe/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ~ppc64 x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-LDFLAGS.patch
+ eautoreconf
+}
+
+src_compile() {
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ dobin wipe || die
+ doman wipe.1 || die
+ dodoc CHANGES README TODO TESTING || die
+}
+
+pkg_postinst() {
+ elog "Note that wipe is useless on journaling filesystems,"
+ elog "such as reiserfs, XFS, or ext3."
+ elog "See documentation for more info."
+}