From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DA8FD138331 for ; Wed, 17 Jan 2018 11:23:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1110FE08AE; Wed, 17 Jan 2018 11:23:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4A5AE08AE for ; Wed, 17 Jan 2018 11:23:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3C17F335C07 for ; Wed, 17 Jan 2018 11:23:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C56CE1A6 for ; Wed, 17 Jan 2018 11:23:21 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1516187813.c3e15bc6bfa9b4d08ede38baa872135d04a74ae0.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/iftop/, net-analyzer/iftop/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/iftop/files/iftop-1.0_pre4-pthread.patch net-analyzer/iftop/files/iftop-1.0_pre4-tinfo.patch net-analyzer/iftop/iftop-1.0_pre4.ebuild X-VCS-Directories: net-analyzer/iftop/ net-analyzer/iftop/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: c3e15bc6bfa9b4d08ede38baa872135d04a74ae0 X-VCS-Branch: master Date: Wed, 17 Jan 2018 11:23:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d428661d-b5d8-4c81-9b39-c539c1d61b27 X-Archives-Hash: a2a4d16291e406407d182c5682a6f5e9 commit: c3e15bc6bfa9b4d08ede38baa872135d04a74ae0 Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 17 11:16:53 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 17 11:16:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3e15bc6 net-analyzer/iftop: Old. Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../iftop/files/iftop-1.0_pre4-pthread.patch | 46 ------------------ .../iftop/files/iftop-1.0_pre4-tinfo.patch | 55 ---------------------- net-analyzer/iftop/iftop-1.0_pre4.ebuild | 42 ----------------- 3 files changed, 143 deletions(-) diff --git a/net-analyzer/iftop/files/iftop-1.0_pre4-pthread.patch b/net-analyzer/iftop/files/iftop-1.0_pre4-pthread.patch deleted file mode 100644 index ce04c46a65e..00000000000 --- a/net-analyzer/iftop/files/iftop-1.0_pre4-pthread.patch +++ /dev/null @@ -1,46 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -383,39 +383,10 @@ - dnl libraries, etc. We use a test program to figure this stuff out. - dnl - --AC_MSG_CHECKING([POSIX threads compilation]) --thrfail=1 --oldCFLAGS=$CFLAGS --oldLIBS=$LIBS --for flag in "" -mt -pthread -thread ; do -- CFLAGS="$oldCFLAGS $flag" -- for lib in "" -lpthread "-lpthread -lposix4" ; do -- LIBS="$oldLIBS $lib" -- AC_LINK_IFELSE([AC_LANG_SOURCE([`cat config/pthread.c`])], [ -- foundthrlib=$lib -- foundthrflag=$flag -- thrfail=0 -- break -- ]) -- done -- if test $thrfail = 0 ; then -- break -- fi --done -- --if test $thrfail = 1 ; then -- AC_MSG_RESULT([no idea]) -- AC_MSG_ERROR([can't figure out how to compile with POSIX threads -- If your system actually supports POSIX threads, this means we've messed up.]) --fi -- --AC_MSG_RESULT([CFLAGS=$foundthrflag and LIBS=$foundthrlib]) --AC_MSG_CHECKING([POSIX threads usability]) --AC_RUN_IFELSE([AC_LANG_SOURCE([`cat config/pthread.c`])], -- [AC_MSG_RESULT([yes])], -- [AC_MSG_ERROR( -- [it fails. We probably guessed the wrong CFLAGS.])], -- [AC_MSG_RESULT([can't test because we are cross-compiling])]) -+AX_PTHREAD( -+ [LIBS="$PTHREAD_LIBS $LIBS" -+ CFLAGS="$CFLAGS $PTHREAD_CFLAGS"], -+ AC_MSG_ERROR([Could not find out how to enable POSIX threads])) - - dnl - dnl Are we on a system (like Solaris) that requires promiscuous mode in order to diff --git a/net-analyzer/iftop/files/iftop-1.0_pre4-tinfo.patch b/net-analyzer/iftop/files/iftop-1.0_pre4-tinfo.patch deleted file mode 100644 index bb14b3c6ca4..00000000000 --- a/net-analyzer/iftop/files/iftop-1.0_pre4-tinfo.patch +++ /dev/null @@ -1,55 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -25,7 +25,7 @@ iftop_SOURCES = addr_hash.c edline.c hash.c iftop.c ns_hash.c \ - # addrs_ioctl.c addrs_dlpi.c dlcommon.c \ - # stringmap.c cfgfile.c - -- -+iftop_LDADD = $(ncurses_LIBS) - - noinst_HEADERS = addr_hash.h ether.h ethertype.h extract.h hash.h iftop.h \ - integers.h ip.h llc.h ns_hash.h options.h resolver.h \ ---- a/configure.ac -+++ b/configure.ac -@@ -348,29 +348,27 @@ - dnl AC_SEARCH_LIBS.... - dnl - --AC_MSG_CHECKING([for a curses library containing mvchgat]) --oldLIBS=$LIBS --for curseslib in ncursesw curses ncurses ; do -- LIBS="$oldLIBS -l$curseslib" -- AC_TRY_LINK([ -+PKG_CHECK_MODULES([ncurses], [ncursesw], [foundcurseslib="$ncurses_LIBS"], [ -+ PKG_CHECK_MODULES([ncurses], [ncurses], [foundcurseslib="$ncurses_LIBS"], [ -+ AC_MSG_CHECKING([for a curses library containing mvchgat]) -+ oldLIBS=$LIBS -+ for curseslib in ncursesw curses ncurses ; do -+ LIBS="$oldLIBS -l$curseslib" -+ AC_TRY_LINK([ - #include <$curseslib.h> - ], [ - mvchgat(0, 0, 1, A_REVERSE, 0, NULL) - ], [ -- foundcurseslib=$curseslib -+ foundcurseslib=-l$curseslib - break - ]) --done -- --if test x$foundcurseslib = x ; then -- AC_MSG_RESULT([none found]) -+ done -+ ], - AC_MSG_ERROR([Curses! Foiled again! - (Can't find a curses library supporting mvchgat.) - Consider installing ncurses.]) --else -- AC_MSG_RESULT([-l$foundcurseslib]) --fi -- -+ ) -+]) - - dnl - dnl POSIX threads. Different systems like different combinations of flags, diff --git a/net-analyzer/iftop/iftop-1.0_pre4.ebuild b/net-analyzer/iftop/iftop-1.0_pre4.ebuild deleted file mode 100644 index 84f5ff4d23a..00000000000 --- a/net-analyzer/iftop/iftop-1.0_pre4.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils - -DESCRIPTION="display bandwidth usage on an interface" -SRC_URI="http://www.ex-parrot.com/pdw/iftop/download/${P/_/}.tar.gz" -HOMEPAGE="http://www.ex-parrot.com/pdw/iftop/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="" - -RDEPEND=" - net-libs/libpcap - sys-libs/ncurses:0=" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -S="${WORKDIR}"/${P/_/} - -src_prepare() { - epatch "${FILESDIR}"/${P}-tinfo.patch - - # bug 490168 - cat "${FILESDIR}"/ax_pthread.m4 >> "${S}"/acinclude.m4 || die - epatch "${FILESDIR}"/${P}-pthread.patch - - eautoreconf -} - -src_install() { - dosbin iftop - doman iftop.8 - - dodoc AUTHORS ChangeLog README "${FILESDIR}"/iftoprc -}