summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-03-28 02:23:17 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-03-28 02:23:17 +0200
commitc86022ff27e774d2e71227a4eeccee5f8a79fb5f (patch)
tree07aeccc3960590653baf1189e2854086d78046ff /sys-process
parentapp-admin/salt: Clean out old versions (diff)
downloadgentoo-c86022ff27e774d2e71227a4eeccee5f8a79fb5f.tar.gz
gentoo-c86022ff27e774d2e71227a4eeccee5f8a79fb5f.tar.bz2
gentoo-c86022ff27e774d2e71227a4eeccee5f8a79fb5f.zip
sys-process/ctop: New package, top-like interface for containers
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/ctop/Manifest14
-rw-r--r--sys-process/ctop/ctop-0.5.1.ebuild50
-rw-r--r--sys-process/ctop/metadata.xml11
3 files changed, 75 insertions, 0 deletions
diff --git a/sys-process/ctop/Manifest b/sys-process/ctop/Manifest
new file mode 100644
index 000000000000..80eb18eaaa60
--- /dev/null
+++ b/sys-process/ctop/Manifest
@@ -0,0 +1,14 @@
+DIST ctop-0.5.1.tar.gz 1255051 SHA256 45cdcd0bb145b1b1312c464690669635abfd09c0b591b41c3771492d0db6d43f SHA512 aff554642e9542c639f11b07719bc5b03ff7e190cf4b8d87c8280add549e713a966b342cdc1372d48e5dc834108c60f378dbe3f5986460138350768c93ff18b4 WHIRLPOOL 25793d8e396d5f399930b977583072a57c14b89cac22d6d0858a2c13e81c101740e09dd495469b4b5b5acdeaa77ebbfe612beb92461f532a7b7efdc4eec0a69f
+DIST github.com-bcicen-termui-ea10e6ccee219e572ffad0ac1909f1a17f6db7d6.tar.gz 1727273 SHA256 836a6fb43d16b4c0b575c33ea600db8ff91d019593ec6aa29e55f002ea5a4cda SHA512 551b5ea368322a6c684866d1d65d3f0727b26932ea1bcd5a42430fb4b5885d5ff22679ee91697a355ecae416aee56455cf87ddc2d22614be8189c16be713f461 WHIRLPOOL 70bece046d0dd25116770479957eba094c1856fc30c3defcae28e9adbb9929c283f26f5dba5ee57fda7a0c07dcf89461771f129ef228bbac51e5f89d6ebc78f1
+DIST github.com-docker-docker-c5f178da05b27bda40c863b7d65ef8ef11eb1fbe.tar.gz 7039638 SHA256 9cacfab1fe6d53e091e35134fdbd45ef53d85b505f4692aa72f40a5bab35e389 SHA512 efc69f14bbefb9656662b2a3d9b44e4c166abb392f58514bc398fc31f89bad141bec5807d61ce62ce4bb9d62acc59d20ccf9c7e457593d42e7ef78311e521c63 WHIRLPOOL c614f19d5da6cdd0858f0b8dfb176467e0624ba8152ff05db1dce97006ba00fe26a8517abf7cdf3baffe1198ceab125b708b88483193e497bae26ff8e291b2ad
+DIST github.com-docker-go-units-0dadbb0345b35ec7ef35e228dabb8de89a65bf52.tar.gz 11083 SHA256 2d982583cb6526975a1ea4c695d0e56f35d7db01d23e294a32c653bb3d08d605 SHA512 dd4e7c28fd22199177516420582f0882c99e5bbb96954c8633a84596788b4bbdd304361fc3b1803eabebe9e237e789b8da9200b27c930f1f80b0f5e14c404161 WHIRLPOOL c8e09150a9a9bd5593a2e36e49102fedab8cd79f81213dac858d3833cbba9ff658bc7c1b746beaa2f77ce3e2e41a33091035ca3127d1f433c11cea48796205c4
+DIST github.com-fsouza-go-dockerclient-87c7e50e0bcf800ed863c3c3b0fbcc67e3029140.tar.gz 121123 SHA256 a92d0fb542893323b66ac6aec0ce879d80d4d914105d064d6dca019884c44ae2 SHA512 802fbfa0124dfd9e317b0bbdbc84f50839ee839edc200fe5136417ff935743cd8922fd941abf10a5cff59930e9753fd919c7fd83abdcfe99f4148b435fe8f88d WHIRLPOOL 314e06d57d63787fbf8df894f5687c54c20915ed9c90c0abdb533e6787019014fde264c059d4f132ab752de4ff41457556bc43ae29ffa4bfe339a394b5d704ca
+DIST github.com-golang-net-6c23252515492caf9b228a9d5cabcdbde29f7f82.tar.gz 860014 SHA256 2ea570023623209ad93e606f1656c6b7354778ade3f9f9cf21e4fcebecc7e932 SHA512 5162cb77f8b26e589ab898ba6641efab4dc5f6fdd008ff09c568394e0b01caf0eb675c9b5d7d9c45b4efc72cf7051448dbd2b3fd1edc541acd9a58ca22eaa366 WHIRLPOOL 5e1cbfa80665a3e12037a41c508fcaf13b30460faac6a1c66a6a7229c1cb6724655b1d0fb962ceb7a65f447445c8408f1b585b42572d260e23a010ca8ac89f85
+DIST github.com-hashicorp-go-cleanhttp-3573b8b52aa7b37b9358d966a898feb387f62437.tar.gz 7175 SHA256 c179ec8d9db5d0e95da77dc260f2104388d85002836a76f960e0b239c5640685 SHA512 c288fb64f80a8569676ba2efedfde548bfde748d1027c5ac85896b10e72f55aa6dcc0e827c696e6f2f21fdd1d48bdab27c0528ad99be6f5b5c8c04d20f6c2501 WHIRLPOOL d8ec8c3e6dc9b0e7bc216c160c91726968d9ebee192074107ad08cfbd2734144402b7394c6a69d207c3f66b6a8df9a6f49a6433f6ab7baa2d23bcc47bf449b89
+DIST github.com-jgautheron-codename-generator-16d037c7cc3c9b552fe4af9828b7338d752dbaf9.tar.gz 31005 SHA256 7dda613b118bc1425f1b6183db75425a378fca6098b2f9b0a74fdd1ec52a73f4 SHA512 0111a3d8cb212baaf995b1f55139839f6b4469b70348ea47abc478afd27f1bdef875a39381f6d60968391a44e4b2125db57bfbad1fd0c75197eceb51a33652c8 WHIRLPOOL 7e6c0d1be66ca31d01d1f9642ad498692f67795ea55275c5ba3136e4a3ba714c650d5fcd366311ebff7678120a0c467c314466a32f544a32eba53f67834f17e3
+DIST github.com-maruel-panicparse-25bcac0d793cf4109483505a0d66e066a3a90a80.tar.gz 58743 SHA256 14878641f21e31dcaa64428e82d39b9a32317d31bfd61caf294118eb73ace08b SHA512 4dd7985cc2d73bcd1efc82af096df8155ff940398dacdf6afb55ab362db2fa6523f8e74442ce60d4d2587d52111e5fda1cec886eb2e64c3c22db543e258bf973 WHIRLPOOL 6b83ab0b630081227566436266f9c0372cd929f7f5744ef568756eeb4a2ee6c99b25ed7b6fd8bd2f1e8f7f4ec81d72361ecbe48ea9095757324c8df57fdb86cd
+DIST github.com-mattn-go-runewidth-14207d285c6c197daabb5c9793d63e7af9ab2d50.tar.gz 22394 SHA256 c26c55729e0a6a25fda480516c5abf32b8f33c96bc814776a9cd2206e44e410d SHA512 faefba59ea5148b68a62910e55a7fe7621430fb085bc213ac15bb6d4f29dfcfbae42071f7c7afc50540836142a1412624602ee333970b4a5c94bf620b473a88a WHIRLPOOL 54d4cf12c70f501bd5ea5835ebb6508280ca061f147c2f6f17e09f50a3b28d6cf3e27a2ebe22f5068f052dd5c98beeda7916dde240f215e3c2a57f5facd27c89
+DIST github.com-mitchellh-go-wordwrap-ad45545899c7b13c020ea92b2072220eefad42b8.tar.gz 2740 SHA256 10f8939e7634c389e3e77f7c24a361b4bf4b4ad3baa20605293c658431991fe6 SHA512 39cd6786782e3a29ad448db3ec815a6da029bc22fbe543fb04e0e869d8b4a698f20434bb24c09bd18b5d2cdb992fc28e21b7ae16b3e585412cede7b4eed2b26c WHIRLPOOL 2494531c9e01cfc7e48fa708671be747826d2935d59110e8738a139d749d1a8537772fe3502f7c8c99108bb2f58c5d426320f24f3755eb5ab0c8f6cccd0584e4
+DIST github.com-nsf-termbox-go-7994c181db7761ca3c67a217068cf31826113f5f.tar.gz 30356 SHA256 b22f25266bfa574d45aa0aff172adeb93d9af95b2a3e2c57206a30d3e9190f29 SHA512 b3cdb7332f33a784f9f060d43c6b3f87771a9f297df90aba232eb6453c252015a167c5dc0577f1564c6722a69666dfd1c593910c649889b0426dfcebd73566e3 WHIRLPOOL 5f2a4e4bb0217512a148a107fdc8d863b4143b2a1c7bb47ac17f3449514e7897b6971db0b10cc6d60594de9577eaade082ec739fb0cf682c4bf6474533ddad0e
+DIST github.com-nu7hatch-gouuid-179d4d0c4d8d407a32af483c2354df1d2c91e6c3.tar.gz 3735 SHA256 6c515266ffa0cc4b8b625f3afbb0ab1e7aecd79a28fc4a6b1cc1ebe0a4b1f610 SHA512 418e6d4bf49f715148f584fe936d6f76209cef2cd70696babf3e52778a13ee7524ab43ce071b951d006b7dc77182611282fae9e4e37045b73fc9ffd7f0cfd778 WHIRLPOOL 0729bc74032ed3dad89f0e91f1a814f37dda94c5312952dbcfa35688c3e54b91a063c7a5b5a28319141342f38af4a7b7cbebd09dc7183b700361c1600db1d63b
+DIST github.com-op-go-logging-970db520ece77730c7e4724c61121037378659d9.tar.gz 37182 SHA256 ee3cc6cd71a8822f7c18b5486b4b81cb2c1a7c3b08027d17a722024873a9dfc1 SHA512 2f3ca6a8fcd596db1165453c6f235697504eeb1e6ec75311cb392a040ee394939ab92aa6e6726c47b1c0c07fc98ceef265df6db90c6a536a5d3719aae5bcf590 WHIRLPOOL 907d7c02da6d0815503f991ca0973284a5cd37cb07f9e253203192682209a6061101d2b610d8467b9efaa65a8ccf4be70758c46dc2d466bf5c50b1272c4e4058
diff --git a/sys-process/ctop/ctop-0.5.1.ebuild b/sys-process/ctop/ctop-0.5.1.ebuild
new file mode 100644
index 000000000000..f2b7ec0b93cb
--- /dev/null
+++ b/sys-process/ctop/ctop-0.5.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/bcicen/${PN}/..."
+EGIT_COMMIT="5db90f31dcfed7dbd1473d771ba72c08e5b28ec7"
+EGO_VENDOR=( "github.com/fsouza/go-dockerclient 87c7e50e0bcf800ed863c3c3b0fbcc67e3029140"
+ "github.com/docker/docker c5f178da05b27bda40c863b7d65ef8ef11eb1fbe"
+ "github.com/docker/go-units 0dadbb0345b35ec7ef35e228dabb8de89a65bf52"
+ "github.com/gizak/termui ea10e6ccee219e572ffad0ac1909f1a17f6db7d6 github.com/bcicen/termui"
+ "github.com/hashicorp/go-cleanhttp 3573b8b52aa7b37b9358d966a898feb387f62437"
+ "github.com/jgautheron/codename-generator 16d037c7cc3c9b552fe4af9828b7338d752dbaf9"
+ "github.com/maruel/panicparse 25bcac0d793cf4109483505a0d66e066a3a90a80"
+ "github.com/mattn/go-runewidth 14207d285c6c197daabb5c9793d63e7af9ab2d50"
+ "github.com/mitchellh/go-wordwrap ad45545899c7b13c020ea92b2072220eefad42b8"
+ "github.com/nsf/termbox-go 7994c181db7761ca3c67a217068cf31826113f5f"
+ "github.com/op/go-logging 970db520ece77730c7e4724c61121037378659d9"
+ "github.com/nu7hatch/gouuid 179d4d0c4d8d407a32af483c2354df1d2c91e6c3"
+ "golang.org/x/net 6c23252515492caf9b228a9d5cabcdbde29f7f82 github.com/golang/net" )
+
+inherit golang-build golang-vcs-snapshot
+
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Top-like interface for container-metrics"
+HOMEPAGE="https://ctop.sh https://github.com/bcicen/ctop"
+SRC_URI="${ARCHIVE_URI}
+ ${EGO_VENDOR_URI}"
+LICENSE="MIT"
+SLOT="0"
+IUSE="hardened"
+
+RESTRICT="test"
+
+src_compile() {
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
+ pushd src/${EGO_PN%/*} || die
+ GOPATH="${WORKDIR}/${P}"\
+ go build -tags release -ldflags "-X main.version=${PV} -X main.build=${EGIT_COMMIT:0:7}" -o ${PN} || die
+ popd || die
+}
+
+src_install() {
+ pushd src/${EGO_PN%/*} || die
+ dobin ${PN}
+ dodoc README.md
+ popd || die
+}
diff --git a/sys-process/ctop/metadata.xml b/sys-process/ctop/metadata.xml
new file mode 100644
index 000000000000..3f3a995b35ac
--- /dev/null
+++ b/sys-process/ctop/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Manuel Rüger</name>
+ <email>mrueg@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">bcicen/ctop</remote-id>
+ </upstream>
+</pkgmetadata>