diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/wipe | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/wipe')
-rw-r--r-- | app-misc/wipe/Manifest | 2 | ||||
-rw-r--r-- | app-misc/wipe/files/wipe-2.2.20050509-gentoo.patch | 106 | ||||
-rw-r--r-- | app-misc/wipe/files/wipe-2.3.1-LDFLAGS.patch | 19 | ||||
-rw-r--r-- | app-misc/wipe/metadata.xml | 11 | ||||
-rw-r--r-- | app-misc/wipe/wipe-2.2.20050509-r1.ebuild | 43 | ||||
-rw-r--r-- | app-misc/wipe/wipe-2.2.20050509.ebuild | 38 | ||||
-rw-r--r-- | app-misc/wipe/wipe-2.3.1.ebuild | 40 |
7 files changed, 259 insertions, 0 deletions
diff --git a/app-misc/wipe/Manifest b/app-misc/wipe/Manifest new file mode 100644 index 000000000000..11beeb601b92 --- /dev/null +++ b/app-misc/wipe/Manifest @@ -0,0 +1,2 @@ +DIST wipe-2.3.1.tar.bz2 72297 SHA256 463916370f9b35bb34419c2c0ae3dc4c0a471db32e8595afa1d14c0337b61aa0 SHA512 63870e68fa5dbf90abb686052f8dcc216ccb93b0c4f5cc10d60ccf43f3606ba91b46dc1e3d8b34d201f7ea657f70b45a61d5d04facf5b2a3e47d2286c46e7110 WHIRLPOOL ed86197371451d0b7f9a0b635ac085c2376217f06fee09ce1aa0443e8515fcb9a4fe3098a19eb0f2e55cd1b79589af49798d6f44ab1ea99f2cdc8104ee4142f8 +DIST wipe-wip-20050509.tar.bz2 71680 SHA256 27802542acd1324457a2846e7c63a54b2d35780b42c639e467d823f56928c63b SHA512 0d2fd32b073d9be23bdb304e4adab4d928683e2f3f85b6555b457ca459980006cafa88e389b464d5ac5c138efd42d272fe769ed76ba2459391ca88cd80ace6a1 WHIRLPOOL 81f25331abd912f0fcab3d79ea08ee60d8572ad2933014ddd01d4db3046e5f56d06e73329f4bf8b25427cdd59ad03e2bd9e9c71f7e0d939b1b5981efa5e54df9 diff --git a/app-misc/wipe/files/wipe-2.2.20050509-gentoo.patch b/app-misc/wipe/files/wipe-2.2.20050509-gentoo.patch new file mode 100644 index 000000000000..2519118e2f5e --- /dev/null +++ b/app-misc/wipe/files/wipe-2.2.20050509-gentoo.patch @@ -0,0 +1,106 @@ +* Get rid of a lot of compiler flag cruft +* Respect LDFLAGS and CFLAGS + +--- a/configure.in 2004-11-28 00:47:52.000000000 +0100 ++++ b/configure.in 2010-09-19 05:49:48.000000000 +0200 +@@ -14,12 +14,7 @@ + bin=wipe + + fullCFLAGS="" +-wallCFLAGS="" +-pendanticCFLAGS="" +-tempCFLAGS="" +-temp2CFLAGS="" +-checkCFLAGS="" +-optCFLAGS="" ++optCFLAGS="${CFLAGS}" + #CFLAGS="-g -Wall -Werror -ansi -pedantic -O2 -finline-functions -ffast-math -fomit-frame-pointer" + + AC_CANONICAL_SYSTEM +@@ -34,65 +29,9 @@ + AC_PROG_INSTALL + + dnl Compilation tests +-AC_MSG_CHECKING([whether the C compiler accepts -pipe]) +-CFLAGS="-pipe" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); tempCFLAGS="$CFLAGS",AC_MSG_RESULT(no)) +- +-AC_MSG_CHECKING([whether the C compiler accepts -g]) +-CFLAGS="-g" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); debugCFLAGS="$CFLAGS",AC_MSG_RESULT(no)) +- +-AC_MSG_CHECKING([whether the C compiler accepts -O0]) +-CFLAGS="-O0" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); debugCFLAGS="$debugCFLAGS $CFLAGS",AC_MSG_RESULT(no)) +- +-AC_MSG_CHECKING([whether the C compiler accepts -O2]) +-CFLAGS="-O2" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); tempCFLAGS="$tempCFLAGS $CFLAGS",AC_MSG_RESULT(no)) +- +-AC_MSG_CHECKING([whether the C compiler accepts -ansi]) +-CFLAGS="-ansi" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); checkCFLAGS="$checkCFLAGS $CFLAGS",AC_MSG_RESULT(no)) +- +-AC_MSG_CHECKING([whether the C compiler accepts -pedantic]) +-CFLAGS="-pedantic" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); checkCFLAGS="$checkCFLAGS $CFLAGS",AC_MSG_RESULT(no)) +- +-AC_MSG_CHECKING([whether the C compiler accepts -Wall]) +-CFLAGS="-Wall" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); wallCFLAGS="$CFLAGS",AC_MSG_RESULT(no)) +- +-AC_MSG_CHECKING([whether the C compiler accepts -Werror]) +-CFLAGS="-Werror" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); pedanticCFLAGS="$wallCFLAGS $CFLAGS",AC_MSG_RESULT(no)) +- +-AC_MSG_CHECKING([whether the C compiler accepts -ffast-math]) +-CFLAGS="-ffast-math" +-AC_TRY_COMPILE(,,AC_MSG_RESULT(yes); optCFLAGS="$optCFLAGS $CFLAGS",AC_MSG_RESULT(no)) +- +-AC_ARG_ENABLE(wall, +- [ --enable-wall compile with -ansi -pedantic -Wall -Werror], +- [with_wall=$enableval], +- [with_wall=no]) +-test "$with_wall" = "yes" && fullCFLAGS="$checkCFLAGS $wallCFLAGS $pendanticCFLAGS $fullCFLAGS" +- +-temp2CFLAGS="$tempCFLAGS $optCFLAGS" +- +-AC_ARG_ENABLE(debug, +- [ --enable-debug compile for debugger compatibility], +- [with_debug=$enableval], +- [with_debug=no]) +-test "$with_debug" = "yes" && temp2CFLAGS="$wallCFLAGS $debugCFLAGS" +- +-AC_ARG_ENABLE(efence, +- [ --enable-efence debug build + link with electric fence], +- [with_efence=$enableval], +- [with_efence=no]) +-test "$with_efence" = "yes" && temp2CFLAGS="$debugCFLAGS" && LIBS="-lefence" +- +-DEBUG="$debugCFLAGS $fullCFLAGS" +-fullCFLAGS="$temp2CFLAGS $fullCFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" +-CFLAGS="$checkCFLAGS -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES" ++ ++fullCFLAGS="$optCFLAGS $fullCFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ++CFLAGS="$fullCFLAGS" # -D__USE_BSD -D_BSD_SOURCE -D__USE_POSIX -D_POSIX_SOURCE -D_POSIX_MAPPED_FILES" + + dnl Checks for libraries. + +@@ -124,6 +63,4 @@ + + dnl Done with tests + +-CFLAGS="$fullCFLAGS" +- + AC_OUTPUT(Makefile) +--- a/Makefile.in 2003-08-31 03:18:03.000000000 +0200 ++++ b/Makefile.in 2010-09-19 05:50:30.000000000 +0200 +@@ -31,7 +31,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) $(CFLAGS) $(LDFLAGS) $(LIBS) *.o -o $@ + + + # restores everything to a pre-configured state 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..f8e9260fc418 --- /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> + <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.2.20050509-r1.ebuild b/app-misc/wipe/wipe-2.2.20050509-r1.ebuild new file mode 100644 index 000000000000..39a49197a85b --- /dev/null +++ b/app-misc/wipe/wipe-2.2.20050509-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="2" + +inherit autotools eutils toolchain-funcs versionator + +MY_PV=$(get_version_component_range 3) +MY_SRC=${PN}-wip-${MY_PV} +S="${WORKDIR}/${PN}" + +DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns" +HOMEPAGE="http://wipe.sourceforge.net/" +SRC_URI="mirror://sourceforge/wipe/${MY_SRC}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_compile() { + emake CC="$(tc-getCC)" || die emake failed +} + +src_install() { + dobin wipe || die "dobin failed" + doman wipe.1 + dodoc CHANGES README TODO TESTING +} + +pkg_postinst() { + elog "Note that wipe is useless on journalling filesystems, such as reiserfs or XFS." + elog "See documentation for more info." +} diff --git a/app-misc/wipe/wipe-2.2.20050509.ebuild b/app-misc/wipe/wipe-2.2.20050509.ebuild new file mode 100644 index 000000000000..a5bb8aa065bf --- /dev/null +++ b/app-misc/wipe/wipe-2.2.20050509.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit versionator toolchain-funcs + +MY_PV=$(get_version_component_range 3) +MY_SRC=${PN}-wip-${MY_PV} +S="${WORKDIR}/${PN}" + +DESCRIPTION="Secure file wiping utility based on Peter Gutman's patterns" +HOMEPAGE="http://wipe.sourceforge.net/" +SRC_URI="mirror://sourceforge/wipe/${MY_SRC}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ~ppc64 x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +src_compile() { + econf + sed -i -e "s:-pipe -O2:${CFLAGS}:" "${S}"/Makefile || die "sed failed" + emake CC="$(tc-getCC)" || die emake failed +} + +src_install() { + dobin wipe || die "dobin failed" + doman wipe.1 + dodoc CHANGES README TODO TESTING +} + +pkg_postinst() { + elog "Note that wipe is useless on journalling filesystems, such as reiserfs or XFS." + elog "See documentation for more info." +} 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..ca4133152567 --- /dev/null +++ b/app-misc/wipe/wipe-2.3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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." +} |