From 9dbbb9bb5a8fa8c7d003c595f0958bc0eb36ad61 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Tue, 8 Jan 2013 14:54:46 +0000 Subject: app-misc/grc: Add support for ipv6, #450324; use python-r1.eclass (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 70EB7916) --- app-misc/grc/ChangeLog | 10 +++++++-- app-misc/grc/files/grc-1.4-ipv6.patch | 16 ++++++++++++++ app-misc/grc/grc-1.4-r1.ebuild | 40 +++++++++++++++++++++++++++++++++++ app-misc/grc/metadata.xml | 2 +- 4 files changed, 65 insertions(+), 3 deletions(-) create mode 100644 app-misc/grc/files/grc-1.4-ipv6.patch create mode 100644 app-misc/grc/grc-1.4-r1.ebuild (limited to 'app-misc') diff --git a/app-misc/grc/ChangeLog b/app-misc/grc/ChangeLog index 08c09c8224f8..243bb0bc6b4d 100644 --- a/app-misc/grc/ChangeLog +++ b/app-misc/grc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/grc -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/grc/ChangeLog,v 1.30 2012/02/02 07:24:22 jlec Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/grc/ChangeLog,v 1.31 2013/01/08 14:54:46 jlec Exp $ + +*grc-1.4-r1 (08 Jan 2013) + + 08 Jan 2013; Justin Lecher +grc-1.4-r1.ebuild, + +files/grc-1.4-ipv6.patch, metadata.xml: + Add support for ipv6, #450324; use python-r1.eclass 02 Feb 2012; Justin Lecher -grc-1.3-r1.ebuild: Dropped old 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/grc-1.4-r1.ebuild b/app-misc/grc/grc-1.4-r1.ebuild new file mode 100644 index 000000000000..e266e93f7000 --- /dev/null +++ b/app-misc/grc/grc-1.4-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/grc/grc-1.4-r1.ebuild,v 1.1 2013/01/08 14:54:46 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} pypy{1_8,1_9} ) + +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="" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-support-more-files.patch \ + "${FILESDIR}"/${P}-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 CHANGES CREDITS + doman grc.1 grcat.1 +} diff --git a/app-misc/grc/metadata.xml b/app-misc/grc/metadata.xml index 40149c995561..f23b9cae1593 100644 --- a/app-misc/grc/metadata.xml +++ b/app-misc/grc/metadata.xml @@ -1,5 +1,5 @@ - shell-tools + shell-tools -- cgit v1.2.3-65-gdbad