public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/squidview/files/, net-analyzer/squidview/
@ 2019-11-28 19:44 Jeroen Roovers
  0 siblings, 0 replies; only message in thread
From: Jeroen Roovers @ 2019-11-28 19:44 UTC (permalink / raw
  To: gentoo-commits

commit:     5382eaa24f527ff13f2f02d6ccdd0fb8314e9929
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 28 19:42:49 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> 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 <jer <AT> 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 <curses.h>], [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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-28 19:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-28 19:44 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/squidview/files/, net-analyzer/squidview/ Jeroen Roovers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox