From 2cbc1492c1fbd3e00a694e1ebef0934996e936e4 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 3 Feb 2020 06:58:28 +0100 Subject: app-benchmarks/spew: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-benchmarks/spew/Manifest | 1 - app-benchmarks/spew/files/fix-automake-1.13.patch | 28 -------------- .../spew/files/fix-format-security.patch | 24 ------------ app-benchmarks/spew/files/fix-ncurses-tinfo.patch | 29 --------------- .../spew/files/remove-symlinks-makefile.patch | 26 ------------- app-benchmarks/spew/metadata.xml | 13 ------- app-benchmarks/spew/spew-1.0.8-r1.ebuild | 43 ---------------------- 7 files changed, 164 deletions(-) delete mode 100644 app-benchmarks/spew/Manifest delete mode 100644 app-benchmarks/spew/files/fix-automake-1.13.patch delete mode 100644 app-benchmarks/spew/files/fix-format-security.patch delete mode 100644 app-benchmarks/spew/files/fix-ncurses-tinfo.patch delete mode 100644 app-benchmarks/spew/files/remove-symlinks-makefile.patch delete mode 100644 app-benchmarks/spew/metadata.xml delete mode 100644 app-benchmarks/spew/spew-1.0.8-r1.ebuild (limited to 'app-benchmarks') diff --git a/app-benchmarks/spew/Manifest b/app-benchmarks/spew/Manifest deleted file mode 100644 index a9cb72957ccc..000000000000 --- a/app-benchmarks/spew/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST spew-1.0.8.tgz 162091 BLAKE2B 9ca0bba6cc749feb016d86bd4e159646538e0a89842aad44474bc377fe67c7f51aa33df2c4df14b329e1b7dabe78ef7da9f50daa0b01f8679a0e98810e5ea1b1 SHA512 ec76a1e681bbaabef6cdc63ced5114a856a312e91c5ff3e0d1536221583a1c939f9308139863670695121c8c720123a6d0697491867ccafc091607888cc81b56 diff --git a/app-benchmarks/spew/files/fix-automake-1.13.patch b/app-benchmarks/spew/files/fix-automake-1.13.patch deleted file mode 100644 index c046c1b955eb..000000000000 --- a/app-benchmarks/spew/files/fix-automake-1.13.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -Naur spew-1.0.8.orig/configure.ac spew-1.0.8/configure.ac ---- spew-1.0.8.orig/configure.ac 2010-05-14 01:17:52.000000000 -0400 -+++ spew-1.0.8/configure.ac 2013-06-21 09:06:42.000000000 -0400 -@@ -2,20 +2,13 @@ - # Process this file with autoconf to produce a configure script. - - AC_PREREQ(2.57) --AC_INIT(src/spew.cpp) -+AC_INIT(spew, 1.0.8) -+AC_CONFIG_SRCDIR(src/spew.cpp) - AC_CONFIG_AUX_DIR(config) --AM_CONFIG_HEADER(config.h) -+AC_CONFIG_HEADERS(config.h) - AM_MAINTAINER_MODE - --SPEW_AGE=1 --SPEW_REVISION=0 --SPEW_CURRENT=8 --AC_SUBST(SPEW_AGE) --AC_SUBST(SPEW_REVISION) --AC_SUBST(SPEW_CURRENT) --VERSION=$SPEW_AGE.$SPEW_REVISION.$SPEW_CURRENT -- --AM_INIT_AUTOMAKE(spew, $VERSION) -+AM_INIT_AUTOMAKE - - # Checks for programs. - AC_PROG_CXX diff --git a/app-benchmarks/spew/files/fix-format-security.patch b/app-benchmarks/spew/files/fix-format-security.patch deleted file mode 100644 index dd34d875bd0e..000000000000 --- a/app-benchmarks/spew/files/fix-format-security.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur spew-1.0.8.orig/src/spew.cpp spew-1.0.8/src/spew.cpp ---- spew-1.0.8.orig/src/spew.cpp 2010-05-14 01:06:18.000000000 -0400 -+++ spew-1.0.8/src/spew.cpp 2014-11-19 08:39:31.806338597 -0500 -@@ -285,7 +285,7 @@ - PATTERN_LOOKUP[Job::PATTERN_USER_DEFINED], - PATTERN_LOOKUP[Job::PATTERN_USER_DEFINED], - PATTERN_LOOKUP[DEFAULT_PATTERN]); -- fprintf(stdout, outStr); -+ fprintf(stdout, "%s", outStr); - - fprintf(stdout, "\nReport bugs to Andrew Patterson .\n"); - } -diff -Naur spew-1.0.8.orig/src/SpewTuiStatisticsWindow.cpp spew-1.0.8/src/SpewTuiStatisticsWindow.cpp ---- spew-1.0.8.orig/src/SpewTuiStatisticsWindow.cpp 2008-05-13 00:47:17.000000000 -0400 -+++ spew-1.0.8/src/SpewTuiStatisticsWindow.cpp 2014-11-19 08:39:52.527339540 -0500 -@@ -278,7 +278,7 @@ - ""); - if (mSpewTui->getCurrentIteration() > 0) - { -- int len = snprintf(NULL, 0, (char *)mTotalRunTime.getElapsedTimeStr().c_str()); -+ int len = snprintf(NULL, 0, "%s", (char *)mTotalRunTime.getElapsedTimeStr().c_str()); - mvwprintw(mWindow, - RUNTIME_FIELD_STARTY, - RUNTIME_FIELD_STARTX + RUNTIME_FIELD_WIDTH - len, diff --git a/app-benchmarks/spew/files/fix-ncurses-tinfo.patch b/app-benchmarks/spew/files/fix-ncurses-tinfo.patch deleted file mode 100644 index 9905e2057042..000000000000 --- a/app-benchmarks/spew/files/fix-ncurses-tinfo.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Naur spew-1.0.8.orig/configure.ac spew-1.0.8/configure.ac ---- spew-1.0.8.orig/configure.ac 2014-11-19 08:15:31.284273029 -0500 -+++ spew-1.0.8/configure.ac 2014-11-19 08:16:07.063274657 -0500 -@@ -21,6 +21,7 @@ - # Checks for libraries. - AC_CHECK_LIB(popt, poptGetContext, ,AC_MSG_ERROR([PACKAGE] requires popt)) - AC_CHECK_LIB(ncurses, wresize, ,AC_MSG_ERROR([PACKAGE] requires ncurses)) -+PKG_CHECK_MODULES(NCURSES, [ncurses]) - - # Checks for header files. - AC_HEADER_STDC -diff -Naur spew-1.0.8.orig/src/Makefile.am spew-1.0.8/src/Makefile.am ---- spew-1.0.8.orig/src/Makefile.am 2014-11-19 08:15:31.311273030 -0500 -+++ spew-1.0.8/src/Makefile.am 2014-11-19 08:16:57.034276932 -0500 -@@ -24,7 +24,7 @@ - libtui_a_SOURCES = \ - Tui.cpp Tui.h - --LDADD = libcommon.a libtui.a -+LDADD = libcommon.a libtui.a $(NCURSES_LIBS) - - bin_PROGRAMS = spew - spew_SOURCES = spew.cpp \ -@@ -37,4 +37,5 @@ - SpewTuiStatisticsWindow.cpp SpewTuiStatisticsWindow.h \ - SpewTuiStatusWindow.cpp SpewTuiStatusWindow.h - -+spew_CFLAGS = $(NCURSES_CFLAGS) - spew_LDFLAGS = $(STATIC_LINK) diff --git a/app-benchmarks/spew/files/remove-symlinks-makefile.patch b/app-benchmarks/spew/files/remove-symlinks-makefile.patch deleted file mode 100644 index e5c369a7f8a0..000000000000 --- a/app-benchmarks/spew/files/remove-symlinks-makefile.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur spew-1.0.8.orig/man/Makefile.am spew-1.0.8/man/Makefile.am ---- spew-1.0.8.orig/man/Makefile.am 2008-05-13 00:47:28.000000000 -0400 -+++ spew-1.0.8/man/Makefile.am 2011-04-05 09:39:32.000000000 -0400 -@@ -10,11 +10,5 @@ - sed -e 's!SPEW_VERSION!$(VERSION)!' \ - -e 's!SYSCONFDIR!$(sysconfdir)!' $< >$@ - --install-data-am: install-man install-man-local -- --install-man-local: -- (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) -f spew.1 gorge.1) -- (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) -f spew.1 regorge.1) -- - help2man: - help2man --section=1 --no-info --name="measures I/O performance and/or generates I/O load" --include="spew.1.include" --output=spew.1.in ../src/spew -diff -Naur spew-1.0.8.orig/src/Makefile.am spew-1.0.8/src/Makefile.am ---- spew-1.0.8.orig/src/Makefile.am 2008-05-13 00:47:20.000000000 -0400 -+++ spew-1.0.8/src/Makefile.am 2011-04-05 09:35:16.000000000 -0400 -@@ -38,7 +38,3 @@ - SpewTuiStatusWindow.cpp SpewTuiStatusWindow.h - - spew_LDFLAGS = $(STATIC_LINK) -- --install-exec-local: -- (cd $(DESTDIR)$(bindir) && $(LN_S) -f spew gorge) -- (cd $(DESTDIR)$(bindir) && $(LN_S) -f spew regorge) diff --git a/app-benchmarks/spew/metadata.xml b/app-benchmarks/spew/metadata.xml deleted file mode 100644 index 130a05db05f5..000000000000 --- a/app-benchmarks/spew/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - blueness@gentoo.org - Anthony G. Basile - - - An I/O performance measurement and load generation tool. Writes - and/or reads generated data to or from a character device, block - device, or regular file. - - diff --git a/app-benchmarks/spew/spew-1.0.8-r1.ebuild b/app-benchmarks/spew/spew-1.0.8-r1.ebuild deleted file mode 100644 index 746b3b536e96..000000000000 --- a/app-benchmarks/spew/spew-1.0.8-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit autotools eutils toolchain-funcs - -DESCRIPTION="Measures I/O performance and/or generates I/O load" -HOMEPAGE="http://spew.berlios.de/" -SRC_URI="ftp://ftp.berlios.de/pub/spew/1.0.8/spew-1.0.8.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 x86" -IUSE="static" - -DEPEND="static? ( sys-libs/ncurses[-gpm] dev-libs/popt[static-libs] ) - !static? ( sys-libs/ncurses dev-libs/popt )" -RDEPEND="${DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/fix-format-security.patch - epatch "${FILESDIR}"/fix-automake-1.13.patch - epatch "${FILESDIR}"/remove-symlinks-makefile.patch - epatch "${FILESDIR}"/fix-ncurses-tinfo.patch - eautoreconf -} - -src_configure() { - econf $(use_enable static static-link) -} - -src_compile() { - emake AR=$(tc-getAR) -} - -src_install() { - emake DESTDIR="${D}" install - dosym ${PN} /usr/bin/gorge - dosym ${PN} /usr/bin/regorge - dosym ${PN}.1.bz2 /usr/share/man/man1/gorge.1.bz2 - dosym ${PN}.1.bz2 /usr/share/man/man1/reorge.1.bz2 -} -- cgit v1.2.3-65-gdbad