app-benchmarks/spew: Remove last-rited pkg

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-02-03 06:58:28 +01:00
parent 82c2d00c32
commit 2cbc1492c1
8 changed files with 0 additions and 169 deletions

View File

@@ -1 +0,0 @@
DIST spew-1.0.8.tgz 162091 BLAKE2B 9ca0bba6cc749feb016d86bd4e159646538e0a89842aad44474bc377fe67c7f51aa33df2c4df14b329e1b7dabe78ef7da9f50daa0b01f8679a0e98810e5ea1b1 SHA512 ec76a1e681bbaabef6cdc63ced5114a856a312e91c5ff3e0d1536221583a1c939f9308139863670695121c8c720123a6d0697491867ccafc091607888cc81b56

View File

@@ -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

View File

@@ -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 <andrew.patterson@hp.com>.\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,

View File

@@ -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)

View File

@@ -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)

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>blueness@gentoo.org</email>
<name>Anthony G. Basile</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
</pkgmetadata>

View File

@@ -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
}

View File

@@ -809,11 +809,6 @@ sci-libs/vecmath-objectclub
=app-emulation/xen-pvgrub-4.13.0
=app-emulation/xen-tools-4.13.0
# Anthony G. Basile <blueness@gentoo.org> (2019-12-17)
# Project has been dead upstream for years.
# Removal in 30 days.
app-benchmarks/spew
# David Seifert <soap@gentoo.org> (2019-12-08)
# Unmaintained, build hangs, tons of other build failures, missing
# dependencies. Bug #663794, #666916, #666922, #667062, #678068,