Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/wipe/files/, app-misc/wipe/
Date: Fri, 28 Aug 2015 03:32:12
Message-Id: 1440732712.da9bfc9ae4fe599c155206d716a7d8b5e6734104.mrueg@gentoo
1 commit: da9bfc9ae4fe599c155206d716a7d8b5e6734104
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 03:31:52 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 03:31:52 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da9bfc9a
7
8 app-misc/wipe: Remove old
9
10 Package-Manager: portage-2.2.20.1
11
12 app-misc/wipe/Manifest | 1 -
13 app-misc/wipe/files/wipe-2.2.20050509-gentoo.patch | 106 ---------------------
14 app-misc/wipe/wipe-2.2.20050509-r1.ebuild | 43 ---------
15 app-misc/wipe/wipe-2.2.20050509.ebuild | 38 --------
16 4 files changed, 188 deletions(-)
17
18 diff --git a/app-misc/wipe/Manifest b/app-misc/wipe/Manifest
19 index 11beeb6..213abe8 100644
20 --- a/app-misc/wipe/Manifest
21 +++ b/app-misc/wipe/Manifest
22 @@ -1,2 +1 @@
23 DIST wipe-2.3.1.tar.bz2 72297 SHA256 463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0 SHA512 63870e68fa5dbf90abb686052f8dcc216ccb93b0c4f5cc10d60ccf43f3606ba91b46dc1e3d8b34d201f7ea657f70b45a61d5d04facf5b2a3e47d2286c46e7110 WHIRLPOOL ed86197371451d0b7f9a0b635ac085c2376217f06fee09ce1aa0443e8515fcb9a4fe3098a19eb0f2e55cd1b79589af49798d6f44ab1ea99f2cdc8104ee4142f8
24 -DIST wipe-wip-20050509.tar.bz2 71680 SHA256 27802542acd1324457a2846e7c63a54b2d35780b42c639e467d823f56928c63b SHA512 0d2fd32b073d9be23bdb304e4adab4d928683e2f3f85b6555b457ca459980006cafa88e389b464d5ac5c138efd42d272fe769ed76ba2459391ca88cd80ace6a1 WHIRLPOOL 81f25331abd912f0fcab3d79ea08ee60d8572ad2933014ddd01d4db3046e5f56d06e73329f4bf8b25427cdd59ad03e2bd9e9c71f7e0d939b1b5981efa5e54df9
25
26 diff --git a/app-misc/wipe/files/wipe-2.2.20050509-gentoo.patch b/app-misc/wipe/files/wipe-2.2.20050509-gentoo.patch
27 deleted file mode 100644
28 index 2519118..0000000
29 --- a/app-misc/wipe/files/wipe-2.2.20050509-gentoo.patch
30 +++ /dev/null
31 @@ -1,106 +0,0 @@
32 -* Get rid of a lot of compiler flag cruft
33 -* Respect LDFLAGS and CFLAGS
34 -
35 ---- a/configure.in 2004-11-28 00:47:52.000000000 +0100
36 -+++ b/configure.in 2010-09-19 05:49:48.000000000 +0200
37 -@@ -14,12 +14,7 @@
38 - bin=wipe
39 -
40 - fullCFLAGS=""
41 --wallCFLAGS=""
42 --pendanticCFLAGS=""
43 --tempCFLAGS=""
44 --temp2CFLAGS=""
45 --checkCFLAGS=""
46 --optCFLAGS=""
47 -+optCFLAGS="${CFLAGS}"
48 - #CFLAGS="-g -Wall -Werror -ansi -pedantic -O2 -finline-functions -ffast-math -fomit-frame-pointer"
49 -
50 - AC_CANONICAL_SYSTEM
51 -@@ -34,65 +29,9 @@
52 - AC_PROG_INSTALL
53 -
54 - dnl Compilation tests
55 --AC_MSG_CHECKING([whether the C compiler accepts -pipe])
56 --CFLAGS="-pipe"
57 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); tempCFLAGS="$CFLAGS",AC_MSG_RESULT(no))
58 --
59 --AC_MSG_CHECKING([whether the C compiler accepts -g])
60 --CFLAGS="-g"
61 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); debugCFLAGS="$CFLAGS",AC_MSG_RESULT(no))
62 --
63 --AC_MSG_CHECKING([whether the C compiler accepts -O0])
64 --CFLAGS="-O0"
65 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); debugCFLAGS="$debugCFLAGS $CFLAGS",AC_MSG_RESULT(no))
66 --
67 --AC_MSG_CHECKING([whether the C compiler accepts -O2])
68 --CFLAGS="-O2"
69 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); tempCFLAGS="$tempCFLAGS $CFLAGS",AC_MSG_RESULT(no))
70 --
71 --AC_MSG_CHECKING([whether the C compiler accepts -ansi])
72 --CFLAGS="-ansi"
73 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); checkCFLAGS="$checkCFLAGS $CFLAGS",AC_MSG_RESULT(no))
74 --
75 --AC_MSG_CHECKING([whether the C compiler accepts -pedantic])
76 --CFLAGS="-pedantic"
77 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); checkCFLAGS="$checkCFLAGS $CFLAGS",AC_MSG_RESULT(no))
78 --
79 --AC_MSG_CHECKING([whether the C compiler accepts -Wall])
80 --CFLAGS="-Wall"
81 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); wallCFLAGS="$CFLAGS",AC_MSG_RESULT(no))
82 --
83 --AC_MSG_CHECKING([whether the C compiler accepts -Werror])
84 --CFLAGS="-Werror"
85 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); pedanticCFLAGS="$wallCFLAGS $CFLAGS",AC_MSG_RESULT(no))
86 --
87 --AC_MSG_CHECKING([whether the C compiler accepts -ffast-math])
88 --CFLAGS="-ffast-math"
89 --AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); optCFLAGS="$optCFLAGS $CFLAGS",AC_MSG_RESULT(no))
90 --
91 --AC_ARG_ENABLE(wall,
92 -- [ --enable-wall compile with -ansi -pedantic -Wall -Werror],
93 -- [with_wall=$enableval],
94 -- [with_wall=no])
95 --test "$with_wall" = "yes" && fullCFLAGS="$checkCFLAGS $wallCFLAGS $pendanticCFLAGS $fullCFLAGS"
96 --
97 --temp2CFLAGS="$tempCFLAGS $optCFLAGS"
98 --
99 --AC_ARG_ENABLE(debug,
100 -- [ --enable-debug compile for debugger compatibility],
101 -- [with_debug=$enableval],
102 -- [with_debug=no])
103 --test "$with_debug" = "yes" && temp2CFLAGS="$wallCFLAGS $debugCFLAGS"
104 --
105 --AC_ARG_ENABLE(efence,
106 -- [ --enable-efence debug build + link with electric fence],
107 -- [with_efence=$enableval],
108 -- [with_efence=no])
109 --test "$with_efence" = "yes" && temp2CFLAGS="$debugCFLAGS" && LIBS="-lefence"
110 --
111 --DEBUG="$debugCFLAGS $fullCFLAGS"
112 --fullCFLAGS="$temp2CFLAGS $fullCFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
113 --CFLAGS="$checkCFLAGS -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES"
114 -+
115 -+fullCFLAGS="$optCFLAGS $fullCFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
116 -+CFLAGS="$fullCFLAGS" # -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES"
117 -
118 - dnl Checks for libraries.
119 -
120 -@@ -124,6 +63,4 @@
121 -
122 - dnl Done with tests
123 -
124 --CFLAGS="$fullCFLAGS"
125 --
126 - AC_OUTPUT(Makefile)
127 ---- a/Makefile.in 2003-08-31 03:18:03.000000000 +0200
128 -+++ b/Makefile.in 2010-09-19 05:50:30.000000000 +0200
129 -@@ -31,7 +31,7 @@
130 - all: $(REQ) $(BIN)
131 -
132 - $(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
133 -- $(CC) $(LIBS) *.o -o $@
134 -+ $(CC) $(CFLAGS) $(LDFLAGS) $(LIBS) *.o -o $@
135 -
136 -
137 - # restores everything to a pre-configured state
138
139 diff --git a/app-misc/wipe/wipe-2.2.20050509-r1.ebuild b/app-misc/wipe/wipe-2.2.20050509-r1.ebuild
140 deleted file mode 100644
141 index 39a4919..0000000
142 --- a/app-misc/wipe/wipe-2.2.20050509-r1.ebuild
143 +++ /dev/null
144 @@ -1,43 +0,0 @@
145 -# Copyright 1999-2012 Gentoo Foundation
146 -# Distributed under the terms of the GNU General Public License v2
147 -# $Id$
148 -
149 -EAPI="2"
150 -
151 -inherit autotools eutils toolchain-funcs versionator
152 -
153 -MY_PV=$(get_version_component_range 3)
154 -MY_SRC=${PN}-wip-${MY_PV}
155 -S="${WORKDIR}/${PN}"
156 -
157 -DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns"
158 -HOMEPAGE="http://wipe.sourceforge.net/"
159 -SRC_URI="mirror://sourceforge/wipe/${MY_SRC}.tar.bz2"
160 -
161 -LICENSE="GPL-2"
162 -SLOT="0"
163 -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
164 -IUSE=""
165 -
166 -DEPEND=""
167 -RDEPEND="${DEPEND}"
168 -
169 -src_prepare() {
170 - epatch "${FILESDIR}"/${P}-gentoo.patch
171 - eautoreconf
172 -}
173 -
174 -src_compile() {
175 - emake CC="$(tc-getCC)" || die emake failed
176 -}
177 -
178 -src_install() {
179 - dobin wipe || die "dobin failed"
180 - doman wipe.1
181 - dodoc CHANGES README TODO TESTING
182 -}
183 -
184 -pkg_postinst() {
185 - elog "Note that wipe is useless on journalling filesystems, such as reiserfs or XFS."
186 - elog "See documentation for more info."
187 -}
188
189 diff --git a/app-misc/wipe/wipe-2.2.20050509.ebuild b/app-misc/wipe/wipe-2.2.20050509.ebuild
190 deleted file mode 100644
191 index a5bb8aa..0000000
192 --- a/app-misc/wipe/wipe-2.2.20050509.ebuild
193 +++ /dev/null
194 @@ -1,38 +0,0 @@
195 -# Copyright 1999-2012 Gentoo Foundation
196 -# Distributed under the terms of the GNU General Public License v2
197 -# $Id$
198 -
199 -inherit versionator toolchain-funcs
200 -
201 -MY_PV=$(get_version_component_range 3)
202 -MY_SRC=${PN}-wip-${MY_PV}
203 -S="${WORKDIR}/${PN}"
204 -
205 -DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns"
206 -HOMEPAGE="http://wipe.sourceforge.net/"
207 -SRC_URI="mirror://sourceforge/wipe/${MY_SRC}.tar.bz2"
208 -
209 -LICENSE="GPL-2"
210 -SLOT="0"
211 -KEYWORDS="amd64 ppc ~ppc64 x86"
212 -IUSE=""
213 -
214 -DEPEND=""
215 -RDEPEND="${DEPEND}"
216 -
217 -src_compile() {
218 - econf
219 - sed -i -e "s:-pipe -O2:${CFLAGS}:" "${S}"/Makefile || die "sed failed"
220 - emake CC="$(tc-getCC)" || die emake failed
221 -}
222 -
223 -src_install() {
224 - dobin wipe || die "dobin failed"
225 - doman wipe.1
226 - dodoc CHANGES README TODO TESTING
227 -}
228 -
229 -pkg_postinst() {
230 - elog "Note that wipe is useless on journalling filesystems, such as reiserfs or XFS."
231 - elog "See documentation for more info."
232 -}