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/grc | |
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/grc')
-rw-r--r-- | app-misc/grc/Manifest | 1 | ||||
-rw-r--r-- | app-misc/grc/files/1.0.6-support-more-files.patch | 60 | ||||
-rw-r--r-- | app-misc/grc/files/conf.configure | 27 | ||||
-rw-r--r-- | app-misc/grc/files/grc-1.4-ipv6.patch | 16 | ||||
-rw-r--r-- | app-misc/grc/files/grc-1.4-support-more-files.patch | 53 | ||||
-rw-r--r-- | app-misc/grc/grc-1.5.ebuild | 42 | ||||
-rw-r--r-- | app-misc/grc/metadata.xml | 5 |
7 files changed, 204 insertions, 0 deletions
diff --git a/app-misc/grc/Manifest b/app-misc/grc/Manifest new file mode 100644 index 000000000000..7ed9f32136da --- /dev/null +++ b/app-misc/grc/Manifest @@ -0,0 +1 @@ +DIST grc_1.5.tar.gz 26363 SHA256 a2581f065236868bd8b09536616a588792f60fcba4e54d69e2cad65aae73dddc SHA512 6b95a8db5df0d99b49052deb086ac02b180810ce754c744e145e3e0508562fb632e7fdb38ec4ad039f6e998c4122b065ba53925d73268c589475e36c16aa68d7 WHIRLPOOL 1a4ee3612024c95d296772c43c1ed21ebb9e1d50e1fa4af13a6d09a1d63f59ec7f53084b68dbe0b7a4eb1300269ca714d8b972507d671e973b11822e1b4e82a9 diff --git a/app-misc/grc/files/1.0.6-support-more-files.patch b/app-misc/grc/files/1.0.6-support-more-files.patch new file mode 100644 index 000000000000..57f60a74ae13 --- /dev/null +++ b/app-misc/grc/files/1.0.6-support-more-files.patch @@ -0,0 +1,60 @@ +diff -ur grc-1.0.6.orig/conf.gcc grc-1.0.6/conf.gcc +--- grc-1.0.6.orig/conf.gcc 2004-08-25 23:23:15.898638944 -0400 ++++ grc-1.0.6/conf.gcc 2004-08-25 23:26:54.297437280 -0400 +@@ -1,10 +1,10 @@ + # +-regexp=\bgcc\b +-colours=yellow +-count=more ++regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b ++colours=white bold ++count=once + ......... + # +-regexp=^.*?: ++regexp=^\S*: + colours=red + count=once + ......... +@@ -12,6 +12,10 @@ + regexp=\`\w+\' + colours=green + ......... ++# compilation method modifiers ++regexp=\s\-(O\d?|f\S+|pthread|g\S*|c|W\S,\S+)\b ++colours=yellow ++......... + # -O + regexp=\-O\d + colours=green +@@ -24,10 +28,10 @@ + # stderr to grcat + # + # warning +-regexp=warning ++regexp=[Ww]arning[:\b] + colours=yellow + ......... + # error +-regexp=error ++regexp=[Ee]rror[:\b] + colours=red blink + count=stop +diff -ur grc-1.0.6.orig/grc.conf grc-1.0.6/grc.conf +--- grc-1.0.6.orig/grc.conf 2004-08-25 23:23:15.870643200 -0400 ++++ grc-1.0.6/grc.conf 2004-08-25 23:23:57.814266800 -0400 +@@ -15,9 +15,13 @@ + conf.traceroute + + # gcc command +-(^|[/\w\.]+/)g?cc\s ++(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s + conf.gcc + ++# configure command ++(^|[/\w\.]+/)configure ++conf.configure ++ + # make command + (^|[/\w\.]+/)g?make\s? + conf.gcc diff --git a/app-misc/grc/files/conf.configure b/app-misc/grc/files/conf.configure new file mode 100644 index 000000000000..8f26c601eba8 --- /dev/null +++ b/app-misc/grc/files/conf.configure @@ -0,0 +1,27 @@ +# cache functions +regexp=\b(loading|updating|creating) cache\b +colours=yellow bold +......... +# checking +regexp=\bchecking\s*(for|if|whether|command|how|that)?(\s*to)?\b +colours=yellow +......... +# result is complex +regexp=\.\.\. .*$ +colours=cyan +......... +# check succeeded +regexp=\.\.\.( \(cached\))? yes$ +colours=blue bold +......... +# check did not succeed +regexp=\.\.\.( \(cached\))? no$ +colours=magenta +......... +# ... should be normal +regexp=\.\.\. +colours=default +......... +# creating stuff +regexp=\bcreating\b +colours=green diff --git a/app-misc/grc/files/grc-1.4-ipv6.patch b/app-misc/grc/files/grc-1.4-ipv6.patch new file mode 100644 index 000000000000..81945ea42618 --- /dev/null +++ b/app-misc/grc/files/grc-1.4-ipv6.patch @@ -0,0 +1,16 @@ + conf.netstat | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/conf.netstat b/conf.netstat +index 2dd96e3..ec2779b 100644 +--- a/conf.netstat ++++ b/conf.netstat +@@ -19,7 +19,7 @@ regexp=^IPX.*[\dABCDEF]+:[\dABCDEF]+ + colours=green + ======= + # protocols +-regexp=(^tcp|^udp|^unix|^IPX|STREAM|DGRAM) ++regexp=(^tcp6|^tcp|^udp6|^udp|^unix|^IPX|STREAM|DGRAM) + colours=bold blue + ======= + # status diff --git a/app-misc/grc/files/grc-1.4-support-more-files.patch b/app-misc/grc/files/grc-1.4-support-more-files.patch new file mode 100644 index 000000000000..d90fe86bb16f --- /dev/null +++ b/app-misc/grc/files/grc-1.4-support-more-files.patch @@ -0,0 +1,53 @@ +--- grc-1.4.orig/conf.gcc ++++ grc-1.4/conf.gcc +@@ -1,7 +1,7 @@ + # +-regexp=\bgcc\b +-colours=yellow +-count=more ++regexp=\b(g?cc|[gc]\+\+|g?as|ld)\b ++colours=white bold ++count=once + ......... + # + regexp=^[^:\s]*?:\d+: +@@ -15,6 +15,10 @@ + regexp=\`[A-Za-z0-9_():&*]+( const)?\' + colours=magenta + ......... ++# compilation method modifiers ++regexp=\s\-(O\d?|f\S+|pthread|g\S*|c|W\S,\S+)\b ++colours=yellow ++......... + # -O + regexp=\-O\d + colours=green +@@ -27,7 +31,7 @@ + # stderr to grcat + # + # warning +-regexp=warning:.* ++regexp=[Ww]arning[:\b] + colours=white + ......... + regexp=warning: +@@ -35,7 +39,7 @@ + count=once + ......... + # error +-regexp=error:.* ++regexp=[Ee]rror[:\b] + colours=bold white + ......... + regexp=error: +--- grc-1.4.orig/grc.conf ++++ grc-1.4/grc.conf +@@ -19,7 +19,7 @@ + conf.traceroute + + # gcc command +-(^|[/\w\.]+/)g?cc\s ++(^|[/\w\.]+/)(g?cc|[gc]\+\+)\s + conf.gcc + + # make command diff --git a/app-misc/grc/grc-1.5.ebuild b/app-misc/grc/grc-1.5.ebuild new file mode 100644 index 000000000000..8756c16e29fb --- /dev/null +++ b/app-misc/grc/grc-1.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit eutils python-r1 + +DESCRIPTION="Generic Colouriser beautifies your logfiles or output of commands" +HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/grc.html" +SRC_URI="http://kassiopeia.juls.savba.sk/~garabik/software/${PN}/${P/-/_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-1.4-support-more-files.patch \ + "${FILESDIR}"/${PN}-1.4-ipv6.patch +} + +src_install() { + python_foreach_impl python_doscript grc grcat + + insinto /usr/share/grc + doins conf.* "${FILESDIR}"/conf.* + + insinto /etc + doins grc.conf + + dodoc README INSTALL TODO debian/changelog CREDITS + doman grc.1 grcat.1 +} diff --git a/app-misc/grc/metadata.xml b/app-misc/grc/metadata.xml new file mode 100644 index 000000000000..f23b9cae1593 --- /dev/null +++ b/app-misc/grc/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>shell-tools</herd> +</pkgmetadata> |