summaryrefslogtreecommitdiff
path: root/net-proxy/sqtop
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
commit24fd814c326e282c4321965c31f341dad77e270d (patch)
tree033d63b33c21a3209964ab56005bb9bdd523630d /net-proxy/sqtop
parent129160ec854dca4c3fedb5bcfbcb56930371da0f (diff)
gentoo resync : 08.01.2021
Diffstat (limited to 'net-proxy/sqtop')
-rw-r--r--net-proxy/sqtop/Manifest4
-rw-r--r--net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch15
-rw-r--r--net-proxy/sqtop/metadata.xml16
-rw-r--r--net-proxy/sqtop/sqtop-2015.02.08.ebuild29
4 files changed, 64 insertions, 0 deletions
diff --git a/net-proxy/sqtop/Manifest b/net-proxy/sqtop/Manifest
new file mode 100644
index 000000000000..ed00dc99671a
--- /dev/null
+++ b/net-proxy/sqtop/Manifest
@@ -0,0 +1,4 @@
+AUX sqtop-2015.02.08-ncurses.patch 994 BLAKE2B b60260392ddfcc501c3412c8788ed069303ecc58a7846943cf52f6d82edab021fb8a3fd8f3429c69dfe3334f147f441ca176932d48a46c54201aa0d62ef59fca SHA512 a6f2a8516ca58fb37184495ddd1e500f42e08c72b03ae55aefc1d1ce587801e2ef62a507e3edf5822544cafc189bd624efde01b07d4e100e536b04975cf82679
+DIST sqtop-2015.02.08.tar.gz 154535 BLAKE2B 4825a254670e5336acbddc8ffb50c7a423614c06fcf9b69b354e3ccf88496bde17ba586bf45cf062a4da40e2332b84a611b50582e425278a259cc27a23f53f7f SHA512 35911b2d4aaa6364ec52bb55264372378b4a458268cfc2e03884660576014739a55e255eb751a9be54b70d4504f16d095b6cf9db08ff5889d52fd2a46ab2033a
+EBUILD sqtop-2015.02.08.ebuild 549 BLAKE2B d9725e8fdea80cda5f964c8be21d36ff0f4186ba3c5560b3a74f6644c1e86d1b6c25e979dc7df5c3c09dfe44d90a761b4823b58f9fd9c3b7b537d86136eab1e7 SHA512 dca409a3d9af43a430439ed529957544d17a51baf60959d7a8dc7968801ee0ffcecd4cce8143a29c56d58f63c57b73d397d01f158d70109d647d9ae02a7ce7d6
+MISC metadata.xml 545 BLAKE2B c2cad7b255d8a4d69293b31c1d4049bebc4dab2a5a8035196a87ac5cfc346f3abd625b1113e92f410bfb195ea16cc0bbd28e809fe148bc8a0060b241539a0e9e SHA512 37585b61eab296899a5b85ee9ee881dc12e38359d8dc0bbe8fd246a317e0c7d05ba0ff658d3dd7461a59c0e9fc9d4b7278b732e6b92e5ceeea50ae079aaced95
diff --git a/net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch b/net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch
new file mode 100644
index 000000000000..c12953b75b75
--- /dev/null
+++ b/net-proxy/sqtop/files/sqtop-2015.02.08-ncurses.patch
@@ -0,0 +1,15 @@
+diff --git a/configure.ac b/configure.ac
+index 9306ef8..829d793 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -60,7 +60,9 @@ if test x$enable_ui = xtrue; then
+ ], [AC_MSG_ERROR([Unable to find the ncurses headers]); break;])
+ ])
+ AC_CHECK_LIB([ncurses], [initscr], [], [AC_MSG_ERROR([Unable to find the ncurses library]); break;])
+- AC_CHECK_FUNCS([clear refresh endwin mvaddstr mvchgat mvhline getch beep initscr nonl keypad noecho cbreak halfdelay addnstr], [], [AC_MSG_ERROR([Unable to find some ncurses functions]); break;])
++ AC_CHECK_FUNCS([clear refresh endwin mvaddstr mvchgat mvhline getch beep initscr nonl], [], [AC_MSG_ERROR([Unable to find some ncurses functions]); break;])
++ AC_CHECK_LIB([tinfo], [cur_term], [], [AC_MSG_ERROR([Unable to find the tinfo (ncurses) library]); break;])
++ AC_CHECK_FUNCS([keypad noecho cbreak halfdelay addnstr], [], [AC_MSG_ERROR([Unable to find some tinfo (ncurses) functions]); break;])
+ test_pthread=yes
+ fi
+
diff --git a/net-proxy/sqtop/metadata.xml b/net-proxy/sqtop/metadata.xml
new file mode 100644
index 000000000000..3188f79afec6
--- /dev/null
+++ b/net-proxy/sqtop/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jaco@uls.co.za</email>
+ <name>Jaco Kroon</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ <description>Proxy</description>
+ </maintainer>
+ <longdescription lang="en">
+ SquidTop is a program that connects with Squid and shows a live, top-like display as to what Squid is busy processing.
+ </longdescription>
+</pkgmetadata>
diff --git a/net-proxy/sqtop/sqtop-2015.02.08.ebuild b/net-proxy/sqtop/sqtop-2015.02.08.ebuild
new file mode 100644
index 000000000000..1638959b1dee
--- /dev/null
+++ b/net-proxy/sqtop/sqtop-2015.02.08.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MY_PV="$(ver_rs 1-2 -)"
+
+DESCRIPTION="Squid Top - top for Squid"
+HOMEPAGE="https://github.com/paleg/sqtop"
+SRC_URI="https://github.com/paleg/sqtop/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="sys-libs/ncurses:0="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2015.02.08-ncurses.patch"
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}