summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-admin/logmon
downloadgentoo-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-admin/logmon')
-rw-r--r--app-admin/logmon/Manifest1
-rw-r--r--app-admin/logmon/files/logmon-0.4.4-char2int.diff11
-rw-r--r--app-admin/logmon/files/logmon-0.4.4-gcc43.patch14
-rw-r--r--app-admin/logmon/files/logmon-0.4.4-maintainer-mode.patch15
-rw-r--r--app-admin/logmon/files/logmon-0.4.4-tinfo.patch10
-rw-r--r--app-admin/logmon/logmon-0.4.4-r1.ebuild42
-rw-r--r--app-admin/logmon/metadata.xml11
7 files changed, 104 insertions, 0 deletions
diff --git a/app-admin/logmon/Manifest b/app-admin/logmon/Manifest
new file mode 100644
index 000000000000..4c54202c9454
--- /dev/null
+++ b/app-admin/logmon/Manifest
@@ -0,0 +1 @@
+DIST LogMon-0.4.4.tar.bz2 65975 SHA256 9b7192c651069cc7d98508b25841610b2cd7a318cbf3b1b55564ae6f0d5468f2 SHA512 9ddbccfea0cae3d7fa6ffa9576f0030b6fb66e0dca152fb5242e7bd19ce319e922264720fa44f6b65319f8b25ad9e208a01434b94c629fa737bdd82ea22a4fac WHIRLPOOL ffec8263e1559a22088bb228d075ee8919c577ef21267b2260eed96d43258a6e850be1194ae26727700f0dcaf88e8bc5017396a83748306f6a5956f1e4dd23d0
diff --git a/app-admin/logmon/files/logmon-0.4.4-char2int.diff b/app-admin/logmon/files/logmon-0.4.4-char2int.diff
new file mode 100644
index 000000000000..f460d182ed00
--- /dev/null
+++ b/app-admin/logmon/files/logmon-0.4.4-char2int.diff
@@ -0,0 +1,11 @@
+--- a/Main.cc
++++ b/Main.cc
+@@ -264,7 +264,7 @@
+ {
+ (void) signal(SIGINT, sig_int);
+
+- char c;
++ int c;
+
+ #ifdef __DEBUG__
+ ferr = fopen("err.txt","w");
diff --git a/app-admin/logmon/files/logmon-0.4.4-gcc43.patch b/app-admin/logmon/files/logmon-0.4.4-gcc43.patch
new file mode 100644
index 000000000000..de58b5a35798
--- /dev/null
+++ b/app-admin/logmon/files/logmon-0.4.4-gcc43.patch
@@ -0,0 +1,14 @@
+--- a/LineManip.cc
++++ b/LineManip.cc
+@@ -3,10 +3,11 @@
+ //
+
+ #include <unistd.h>
+ #include <ncurses.h>
+ #include <ctype.h>
++#include <cstdlib>
+
+ #include "LineManip.h"
+ #include "Util.h"
+
+ #ifdef __DEBUG__
diff --git a/app-admin/logmon/files/logmon-0.4.4-maintainer-mode.patch b/app-admin/logmon/files/logmon-0.4.4-maintainer-mode.patch
new file mode 100644
index 000000000000..6f19ade7c9ad
--- /dev/null
+++ b/app-admin/logmon/files/logmon-0.4.4-maintainer-mode.patch
@@ -0,0 +1,15 @@
+--- a/configure.in
++++ b/configure.in
+@@ -1,11 +1,11 @@
+ dnl Process this file with autoconf to produce a configure script.
+ AC_INIT(Main.cc)
+
+
+ AM_INIT_AUTOMAKE(logmon, 0.4.4)
+-
++AM_MAINTAINER_MODE
+ AC_CONFIG_HEADER(config.h)
+
+ dnl Checks for programs.
+ AC_PROG_AWK
+ AC_PROG_CXX
diff --git a/app-admin/logmon/files/logmon-0.4.4-tinfo.patch b/app-admin/logmon/files/logmon-0.4.4-tinfo.patch
new file mode 100644
index 000000000000..4aa37b881ed2
--- /dev/null
+++ b/app-admin/logmon/files/logmon-0.4.4-tinfo.patch
@@ -0,0 +1,10 @@
+--- a/configure.in
++++ b/configure.in
+@@ -16,6 +16,7 @@
+ dnl Checks for libraries.
+ dnl Replace `main' with a function in -lncurses:
+ AC_CHECK_LIB(ncurses, initscr)
++AC_SEARCH_LIBS(halfdelay, tinfo)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/app-admin/logmon/logmon-0.4.4-r1.ebuild b/app-admin/logmon/logmon-0.4.4-r1.ebuild
new file mode 100644
index 000000000000..40cfbf8c9842
--- /dev/null
+++ b/app-admin/logmon/logmon-0.4.4-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils autotools
+
+MY_P="LogMon-${PV}"
+DESCRIPTION="Split-screen terminal/ncurses based log viewer"
+HOMEPAGE="http://www.edespot.com/code/LogMon/"
+SRC_URI="http://www.edespot.com/code/LogMon/${MY_P}.tar.bz2"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # Bug 119403 - should be in upstream next release
+ epatch "${FILESDIR}"/${P}-char2int.diff
+
+ # Bug 250602, gcc43 fix
+ epatch "${FILESDIR}"/${P}-gcc43.patch
+
+ # Fixes maintainer-mode detected.
+ epatch "${FILESDIR}"/${P}-maintainer-mode.patch
+
+ epatch "${FILESDIR}"/${P}-tinfo.patch
+
+ eautoreconf
+}
+
+src_install() {
+ dobin logmon
+
+ dodoc AUTHORS ChangeLog README TODO
+}
diff --git a/app-admin/logmon/metadata.xml b/app-admin/logmon/metadata.xml
new file mode 100644
index 000000000000..53a0caef5d82
--- /dev/null
+++ b/app-admin/logmon/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>pinkbyte@gentoo.org</email>
+ <name>Sergey Popov</name>
+ </maintainer>
+ <longdescription>
+ Split-screen terminal/ncurses based log viewer.
+ </longdescription>
+</pkgmetadata>