summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-09-09 15:45:16 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-09-09 15:45:16 +0200
commit0bf3bea24221a1ca16fdd70c7dbbb45d62871344 (patch)
tree0d96c94e4f29b5f8ec8a1f50b188fea485c9419b /app-misc
parentapp-misc/mtail: Stable for amd64. Retroactively mark stable for the remaining... (diff)
downloadgentoo-0bf3bea24221a1ca16fdd70c7dbbb45d62871344.tar.gz
gentoo-0bf3bea24221a1ca16fdd70c7dbbb45d62871344.tar.bz2
gentoo-0bf3bea24221a1ca16fdd70c7dbbb45d62871344.zip
app-misc/mtail: Clean up old.
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/mtail/files/mtail-1.1.1-remove-blanks.patch52
-rw-r--r--app-misc/mtail/mtail-1.1.1-r2.ebuild27
2 files changed, 0 insertions, 79 deletions
diff --git a/app-misc/mtail/files/mtail-1.1.1-remove-blanks.patch b/app-misc/mtail/files/mtail-1.1.1-remove-blanks.patch
deleted file mode 100644
index 9645e263deda..000000000000
--- a/app-misc/mtail/files/mtail-1.1.1-remove-blanks.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- mtail.orig 2003-11-07 19:02:34.000000000 +0000
-+++ mtail 2003-11-07 19:19:18.000000000 +0000
-@@ -46,6 +46,7 @@
- verbose = 0
- silent = 0
- active = 0
-+remove_blanks = 0
-
- # sets up the interrupt handler, calls processargs(), sets up and starts the
- # tailers.
-@@ -119,6 +120,8 @@
- if line[len(line)-1] == '\n':
- line = line[:len(line)-1]
- line = filter(line)
-+ if remove_blanks and not line:
-+ continue
- lock.acquire()
- try:
- if (multiple or verbose) and (not silent) \
-@@ -138,12 +141,14 @@
- global verbose
- global silent
- global config_file
-+ global remove_blanks
- filenames = []
- lines = None
- follow = 0
- try:
- opts, pargs = getopt.getopt(sys.argv[1:], 'fn:?hvq', ["follow",
-- "lines=", "help", "verbose", "quiet", "silent", "config="])
-+ "lines=", "help", "verbose", "quiet", "silent", "config=",
-+ "remove-blanks"])
- except getopt.error:
- print 'unrecognized option!'
- print
-@@ -163,6 +168,8 @@
- silent = 1
- elif opt[0] in ['--config']:
- config_file = opt[1]
-+ elif opt[0] in ['--remove-blanks']:
-+ remove_blanks = 1
- if lines == None:
- lines = 10
- for filename in pargs:
-@@ -186,6 +193,7 @@
- print ' -v, --verbose always output headers giving file names'
- print ' -q, --quiet, --silent never output headers giving file names'
- print ' --config=FILE use config file FILE instead of ~/.mtailrc'
-+ print ' --remove-blanks do not display blank lines'
- print
- print 'with more than one filename, mtail will precede each chunk from'
- print 'each with a header giving the file name. if no filenames are given'
diff --git a/app-misc/mtail/mtail-1.1.1-r2.ebuild b/app-misc/mtail/mtail-1.1.1-r2.ebuild
deleted file mode 100644
index b6fa941fb5ed..000000000000
--- a/app-misc/mtail/mtail-1.1.1-r2.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-
-inherit eutils python
-
-DESCRIPTION="Tail workalike, that performs output colourising"
-HOMEPAGE="http://matt.immute.net/src/mtail/"
-SRC_URI="http://matt.immute.net/src/mtail/mtail-${PV}.tgz
- http://matt.immute.net/src/mtail/mtailrc-syslog.sample"
-
-LICENSE="HPND"
-SLOT="0"
-KEYWORDS="alpha amd64 ~mips ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
-IUSE=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-remove-blanks.patch
- python_convert_shebangs -r 2 .
-}
-
-src_install() {
- dobin mtail || die
- dodoc CHANGES mtailrc.sample README "${DISTDIR}"/mtailrc-syslog.sample || die
-}