diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-08-01 18:23:56 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-08-01 18:23:56 +0000 |
commit | 79e05b62194d1d97d30af0961580ebc43493601f (patch) | |
tree | cb6ff46d9634fc43d28fe0fe4fbb8b9fa593b502 /net-analyzer/trafshow | |
parent | Stable on sparc (diff) | |
download | historical-79e05b62194d1d97d30af0961580ebc43493601f.tar.gz historical-79e05b62194d1d97d30af0961580ebc43493601f.tar.bz2 historical-79e05b62194d1d97d30af0961580ebc43493601f.zip |
bug 100864
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'net-analyzer/trafshow')
-rw-r--r-- | net-analyzer/trafshow/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/trafshow/Manifest | 9 | ||||
-rw-r--r-- | net-analyzer/trafshow/files/digest-trafshow-5.2.1 | 1 | ||||
-rw-r--r-- | net-analyzer/trafshow/files/trafshow-5.2.1-gentoo.patch | 16 | ||||
-rw-r--r-- | net-analyzer/trafshow/trafshow-5.2.1.ebuild | 38 |
5 files changed, 69 insertions, 4 deletions
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 <vanquirius@gentoo.org> + +files/trafshow-5.2.1-gentoo.patch, +trafshow-5.2.1.ebuild: + Version bump for bug 100864. Thanks to Donald R. Gray Jr + <donaldgray@dslextreme.com>. 09 Apr 2005; Markus Rothe <corsair@gentoo.org> trafshow-4.0.ebuild: Stable on ppc64 diff --git a/net-analyzer/trafshow/Manifest b/net-analyzer/trafshow/Manifest index 95e7e3b70e17..c64bde9749c1 100644 --- a/net-analyzer/trafshow/Manifest +++ b/net-analyzer/trafshow/Manifest @@ -1,8 +1,11 @@ -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 57c92ce24063e527b107223b25ce0e25 trafshow-5.2.1.ebuild 982 +MD5 a3fdba20f067a10f8271f2facd4b687e trafshow-3.1-r1.ebuild 1027 +MD5 b43bc1b985f5c55a60b9903025218cb9 ChangeLog 2217 +MD5 8e8b9393d38df263f07c394765553b01 metadata.xml 243 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" +} |