diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-01-08 14:54:46 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-01-08 14:54:46 +0000 |
commit | 9dbbb9bb5a8fa8c7d003c595f0958bc0eb36ad61 (patch) | |
tree | 325df22f3377818a322f1a2c4c6bfccabb3f50cd /app-misc | |
parent | Stable for HPPA (bug #450190). (diff) | |
download | gentoo-2-9dbbb9bb5a8fa8c7d003c595f0958bc0eb36ad61.tar.gz gentoo-2-9dbbb9bb5a8fa8c7d003c595f0958bc0eb36ad61.tar.bz2 gentoo-2-9dbbb9bb5a8fa8c7d003c595f0958bc0eb36ad61.zip |
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)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/grc/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/grc/files/grc-1.4-ipv6.patch | 16 | ||||
-rw-r--r-- | app-misc/grc/grc-1.4-r1.ebuild | 40 | ||||
-rw-r--r-- | app-misc/grc/metadata.xml | 2 |
4 files changed, 65 insertions, 3 deletions
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 <jlec@gentoo.org> +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 <jlec@gentoo.org> -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 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>shell-tools</herd> + <herd>shell-tools</herd> </pkgmetadata> |