From fb8740a1facead21f19806d8f6f39c0fb4b32428 Mon Sep 17 00:00:00 2001 From: Marcelo Góes Date: Mon, 1 Aug 2005 18:23:56 +0000 Subject: bug 100864 (Portage version: 2.0.51.22-r2) --- net-analyzer/trafshow/ChangeLog | 9 ++++- net-analyzer/trafshow/Manifest | 7 ++-- net-analyzer/trafshow/files/digest-trafshow-5.2.1 | 1 + .../trafshow/files/trafshow-5.2.1-gentoo.patch | 16 +++++++++ net-analyzer/trafshow/trafshow-5.2.1.ebuild | 38 ++++++++++++++++++++++ 5 files changed, 68 insertions(+), 3 deletions(-) create mode 100644 net-analyzer/trafshow/files/digest-trafshow-5.2.1 create mode 100644 net-analyzer/trafshow/files/trafshow-5.2.1-gentoo.patch create mode 100644 net-analyzer/trafshow/trafshow-5.2.1.ebuild (limited to 'net-analyzer/trafshow') diff --git a/net-analyzer/trafshow/ChangeLog b/net-analyzer/trafshow/ChangeLog index 6f15fb90f242..4c322ecfeb49 100644 --- a/net-analyzer/trafshow/ChangeLog +++ b/net-analyzer/trafshow/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/trafshow # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafshow/ChangeLog,v 1.17 2005/04/09 09:54:57 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafshow/ChangeLog,v 1.18 2005/08/01 18:23:56 vanquirius Exp $ + +*trafshow-5.2.1 (01 Aug 2005) + + 01 Aug 2005; Marcelo Goes + +files/trafshow-5.2.1-gentoo.patch, +trafshow-5.2.1.ebuild: + Version bump for bug 100864. Thanks to Donald R. Gray Jr + . 09 Apr 2005; Markus Rothe trafshow-4.0.ebuild: Stable on ppc64 diff --git a/net-analyzer/trafshow/Manifest b/net-analyzer/trafshow/Manifest index 95e7e3b70e17..6946bd0764fc 100644 --- a/net-analyzer/trafshow/Manifest +++ b/net-analyzer/trafshow/Manifest @@ -1,8 +1,11 @@ +MD5 50cd4a11d444f16779355ec1d25d778c trafshow-4.0.ebuild 997 +MD5 52f66553a4ed39efe60cc2cd148c1aa3 trafshow-5.2.1.ebuild 977 +MD5 a3fdba20f067a10f8271f2facd4b687e trafshow-3.1-r1.ebuild 1027 MD5 97a6562298a1335a2ba9fb5526fb305a ChangeLog 1978 MD5 8e8b9393d38df263f07c394765553b01 metadata.xml 243 -MD5 a3fdba20f067a10f8271f2facd4b687e trafshow-3.1-r1.ebuild 1027 -MD5 50cd4a11d444f16779355ec1d25d778c trafshow-4.0.ebuild 997 MD5 d8609a48097c656e14cb38dc49dbf629 files/digest-trafshow-3.1-r1 60 MD5 0eaa3123d4ab8173d4f7a1a4be4e1e0f files/digest-trafshow-4.0 60 +MD5 4425dfe640632b461cea181e62bbc704 files/digest-trafshow-5.2.1 63 +MD5 77204def98fa54e7c755e708b1e8cc99 files/trafshow-5.2.1-gentoo.patch 827 MD5 de937e07ac952efc66dbe67616befc58 files/trafshow-3.1-gentoo.patch 492 MD5 18731bc84348a4cbb851177332ba3596 files/trafshow-4.0-gentoo.patch 745 diff --git a/net-analyzer/trafshow/files/digest-trafshow-5.2.1 b/net-analyzer/trafshow/files/digest-trafshow-5.2.1 new file mode 100644 index 000000000000..07f4eb8cf344 --- /dev/null +++ b/net-analyzer/trafshow/files/digest-trafshow-5.2.1 @@ -0,0 +1 @@ +MD5 e3ad2e3f1aac2e1bac9b467df44cf8f0 trafshow-5.2.1.tgz 123770 diff --git a/net-analyzer/trafshow/files/trafshow-5.2.1-gentoo.patch b/net-analyzer/trafshow/files/trafshow-5.2.1-gentoo.patch new file mode 100644 index 000000000000..385d771458b2 --- /dev/null +++ b/net-analyzer/trafshow/files/trafshow-5.2.1-gentoo.patch @@ -0,0 +1,16 @@ +diff --exclude='*~' -Naur trafshow-5.2.1.orig/Makefile.in trafshow-5.2.1/Makefile.in +--- trafshow-5.2.1.orig/Makefile.in 2005-08-01 15:12:34.000000000 -0300 ++++ trafshow-5.2.1/Makefile.in 2005-08-01 15:17:29.000000000 -0300 +@@ -73,9 +73,9 @@ + @echo 'char compiled[] = "$(CC) $(CFLAGS) $(LIBS)";' >> $@ + + install: +- ./install-sh -c -s -m 555 -o bin -g bin $(PROG) $(BINDEST)/$(PROG) +- ./install-sh -c -m 444 -o bin -g bin $(PROG).1 $(MANDEST)/man1/$(PROG).1 +- [ -f /etc/$(PROG) ] || ./install-sh -c -m 444 .trafshow /etc/$(PROG) ++ ./install-sh -c -s -m 555 -o root -g bin $(PROG) $(DESTDIR)$(BINDEST)/$(PROG) ++ ./install-sh -c -m 444 -o root -g bin $(PROG).1 $(DESTDIR)$(MANDEST)/man1/$(PROG).1 ++ [ -f $(DESTDIR)/etc/$(PROG) ] || ./install-sh -c -o root -m 444 .trafshow $(DESTDIR)/etc/$(PROG) + + clean: + rm -f $(CLEANFILES) diff --git a/net-analyzer/trafshow/trafshow-5.2.1.ebuild b/net-analyzer/trafshow/trafshow-5.2.1.ebuild new file mode 100644 index 000000000000..6ddda9dd6305 --- /dev/null +++ b/net-analyzer/trafshow/trafshow-5.2.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafshow/trafshow-5.2.1.ebuild,v 1.1 2005/08/01 18:23:56 vanquirius Exp $ + +inherit eutils gnuconfig + +DESCRIPTION="Full screen visualization of the network traffic" +HOMEPAGE="http://soft.risp.ru/trafshow/index_en.shtml" +SRC_URI="ftp://ftp.nsk.su/pub/RinetSoftware/${P}.tgz" +LICENSE="as-is" +SLOT="3" +KEYWORDS="~x86 ~sparc ~ppc ~ppc64 ~amd64" +IUSE="slang" + +DEPEND="virtual/libpcap + sys-libs/ncurses + slang? ( >=sys-libs/slang-1.4.2 )" + +src_unpack() { + unpack ${A}; cd ${S} + epatch ${FILESDIR}/${P}-gentoo.patch + use ppc64 && gnuconfig_update +} + +src_compile() { + if ! use slang; then + # No command-line option so pre-cache instead + export ac_cv_have_curses=ncurses + export LIBS=-lncurses + fi + + econf || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make install DESTDIR=${D} || die "make install failed" +} -- cgit v1.2.3-65-gdbad