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 20850138335 for ; Thu, 28 Nov 2019 19:44:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 292E9E092C; Thu, 28 Nov 2019 19:44:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0086DE092C for ; Thu, 28 Nov 2019 19:44:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 BAEC334D53B for ; Thu, 28 Nov 2019 19:44:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41AEA8A6 for ; Thu, 28 Nov 2019 19:44:33 +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: <1574970267.5382eaa24f527ff13f2f02d6ccdd0fb8314e9929.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/squidview/files/, net-analyzer/squidview/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/squidview/Manifest net-analyzer/squidview/files/squidview-0.86-tinfo.patch net-analyzer/squidview/squidview-0.86.ebuild X-VCS-Directories: net-analyzer/squidview/files/ net-analyzer/squidview/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 5382eaa24f527ff13f2f02d6ccdd0fb8314e9929 X-VCS-Branch: master Date: Thu, 28 Nov 2019 19:44:33 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6191d514-ac6b-4cfa-98e6-f25b9511f9a6 X-Archives-Hash: 8506f79e27c9ee1a6361744e27ebd86a commit: 5382eaa24f527ff13f2f02d6ccdd0fb8314e9929 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Nov 28 19:42:49 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Nov 28 19:44:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5382eaa2 net-analyzer/squidview: Version 0.86 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Fixes: https://bugs.gentoo.org/690000 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/squidview/Manifest | 1 + .../squidview/files/squidview-0.86-tinfo.patch | 43 ++++++++++++++++++++++ net-analyzer/squidview/squidview-0.86.ebuild | 32 ++++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/net-analyzer/squidview/Manifest b/net-analyzer/squidview/Manifest index f217092fa7c..45a11091710 100644 --- a/net-analyzer/squidview/Manifest +++ b/net-analyzer/squidview/Manifest @@ -1 +1,2 @@ DIST squidview-0.80.tar.gz 122502 BLAKE2B 2fe7a745d6130929f4e9feae301abf110f5e3e963ba6ec8bcf41026a8bc43e3f39862a02c3ab7cd1c4a1009122c3569cbb927b394ed3aa4f0c13bd3e47fe96bf SHA512 4a9bb0f296222ef5c8c127d4e0697ff050a2adcf8b28771379da32af816a2d43edbbd3f02920dc2c54735e7a22f50e6b9040067e2b77136506f472cfedff8894 +DIST squidview-0.86.tar.gz 129911 BLAKE2B 8a514728508c2739aa619d1a481beddd6783e61ccad1252ee6f6a8052fe87bf0edbf23eac19761aac275a370092af45b981ae201a1e4a7b47168941ba642f128 SHA512 c020799e149a4884525b832a21ce990b90da5d3e1caac240913a37b8559bac4e3402b8f5732c3728308ecbea0a56a9e4b764ec7f36b15727c000d6d9e25a57a6 diff --git a/net-analyzer/squidview/files/squidview-0.86-tinfo.patch b/net-analyzer/squidview/files/squidview-0.86-tinfo.patch new file mode 100644 index 00000000000..7dd536c5f81 --- /dev/null +++ b/net-analyzer/squidview/files/squidview-0.86-tinfo.patch @@ -0,0 +1,43 @@ +--- a/configure.in ++++ b/configure.in +@@ -1,23 +1,9 @@ +-AC_DEFUN([CURSES_TEST], +-[ +-if test "x$sv_curses" = xno; then +- sv_test=$1 +- sv_pass="no" +- AC_MSG_CHECKING([name is $sv_test]) +- LIBS="-l$sv_test" +- AC_LINK_IFELSE([AC_LANG_PROGRAM([#include ], [initscr();])], +- [sv_pass="yes"]) +- AC_MSG_RESULT([$sv_pass]) +- test "$sv_pass" = yes && sv_curses=$sv_test +- unset LIBS +-fi +-]) +- + AC_INIT(squidview.cpp) + AM_CONFIG_HEADER(config.h) + AM_INIT_AUTOMAKE(squidview,0.86) + AC_PROG_CXX + AC_PROG_INSTALL ++PKG_PROG_PKG_CONFIG + + AC_CHECK_HEADERS(curses.h, signal.h sys/time.h sys/types.h sys/stat.h \ + unistd.h fcntl.h time.h stdlib.h math.h stdio.h,, \ +@@ -28,14 +14,7 @@ + AC_CHECK_HEADER(vector,,AC_MSG_ERROR(C++ STL vector class missing)) + AC_CHECK_HEADER(algorithm,,AC_MSG_ERROR(C++ STL algorithm class missing)) + +-AC_MSG_NOTICE([Checking curses library name]) +-sv_curses=no +-CURSES_TEST(ncurses) +-CURSES_TEST(curses) +-if test "x$sv_curses" = xno; then +- AC_MSG_ERROR([No suitable curses found]) +-fi +-AC_CHECK_LIB($sv_curses, wgetch,,AC_MSG_ERROR([Curses support is not complete?])) ++PKG_CHECK_MODULES([NCURSES],[ncurses],LIBS="$LIBS $NCURSES_LIBS",AC_MSG_ERROR([No suitable curses found])) + + AC_MSG_CHECKING([large file support]) + sv_large="no" diff --git a/net-analyzer/squidview/squidview-0.86.ebuild b/net-analyzer/squidview/squidview-0.86.ebuild new file mode 100644 index 00000000000..4ee7ee30ad0 --- /dev/null +++ b/net-analyzer/squidview/squidview-0.86.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="Interactive console program to analyse squid logs" +HOMEPAGE="http://www.rillion.net/squidview/" +SRC_URI="http://www.rillion.net/squidview/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + sys-libs/ncurses +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" +DOCS=( + AUTHORS BUGS ChangeLog HOWTO README +) +PATCHES=( + "${FILESDIR}"/${PN}-0.86-tinfo.patch +) + +src_prepare() { + default + eautoreconf +}