summaryrefslogtreecommitdiff
path: root/app-admin/mtail
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-admin/mtail
reinit the tree, so we can have metadata
Diffstat (limited to 'app-admin/mtail')
-rw-r--r--app-admin/mtail/Manifest20
-rw-r--r--app-admin/mtail/metadata.xml10
-rw-r--r--app-admin/mtail/mtail-0_pre20161108.ebuild94
-rw-r--r--app-admin/mtail/mtail-3.0.0_rc2.ebuild47
4 files changed, 171 insertions, 0 deletions
diff --git a/app-admin/mtail/Manifest b/app-admin/mtail/Manifest
new file mode 100644
index 000000000000..b4d1f35c4b63
--- /dev/null
+++ b/app-admin/mtail/Manifest
@@ -0,0 +1,20 @@
+DIST afero-06b7e5f50606ecd49148a01a6008942d9b669217.tar.gz 40613 SHA256 180f45eb539726a14f04d9ce7d8ceebd782d20ff92d722df565bc4bc2bd92716 SHA512 eb97a0983ba2c8c063ce0f1e8f907095b10b5c2a06730acfe54a9835f8eacba2e5e1db3a1a9438d907c67b507c5a66056a6de22d86405d6b294c51b2543ba355 WHIRLPOOL f46931900bd3631c218e638e8512a249c0ae29f89bfd9637677de6afd8bcd95366c02e64865f4046f2238cc2663d1d2e35282f1845de14d6f460cb9a09b28414
+DIST github.com-fsnotify-fsnotify-4da3e2cfbabc9f751898f250b49f2439785783a1.tar.gz 30624 SHA256 782e83c5384cb2e233b947ffba27c8d067f23fadf38b86f6df779c144425cc36 SHA512 cff467ffbed22edf4cde7a52e0f0d7a5b4a06446a6140ad7fa018dfcce3b400342223d888a0389042d2e6fd7abe261d0e515adc6e4c03a74e3cf074e88af17ab WHIRLPOOL e6cadc7272518d2ecd03e9b208b12500fe6b5bea6c490a22133b8021bd2befc77cce104d29c2ceb01f0b18e0f2eef44321fe61427c2834bc09ced956526c6f36
+DIST github.com-golang-glog-23def4e6c14b4da8ac2ed8007337bc5eb5007998.tar.gz 19688 SHA256 ef225f77e38c3f071656a5bc529d7a66585e2ebc2b6149fa2bd4de1fb1ddacd6 SHA512 e9e70cf2a2d74ca813d0cadc23d213a1112ca4d1167abb63d8e0929585fca90c3a5bab1f49db20095c48bf1fe03b4424353c33728d09a201334eb65770888dc5 WHIRLPOOL a37d452661d3bcb35ceda79c1361a61a57ffa009a710f178f3ca1e57f99bd6255af70807a110f5a51cb50aced14519d1ca158fbfef92e582ffae2dfaab2e0e54
+DIST github.com-golang-sys-314a259e304ff91bd6985da2a7149bbf91237993.tar.gz 769752 SHA256 850ba7127a4beef90e5507f2391c2632907ad1ad2416691e5d95171d0d8b360f SHA512 91c2db2cb798fe0b185602e135b6acea6eaee1c5345581b14439197287ec2d7e9b9a57b951a6e033ff8c40ed8f8f4f8a8c5a68f29f25b048922001fa8290df42 WHIRLPOOL 612b9bf594f308f0b9f3b165270720ea4726d515956523c01531cb1c5cdad3d95d0acb261df74d63a80975c9f9e724efeb6bf59657598342690e4b284969955e
+DIST github.com-golang-text-1cbadb444a806fd9430d14ad08967ed91da4fa0a.tar.gz 4624392 SHA256 4a125a94d8cf95b12783cc29b13fbb821d9e06a5fce2122b1920e81d4ca63bda SHA512 c37cc66e33e89d23a2fa4b707589316f9e28fe1d7131bb6208c0dcbd514f879dfff78328b871eb6d3ea1610f8b3f1d8c3061d94f88bc658d7bd8df2a19851c45 WHIRLPOOL f2f3c0498056de625a0e3d33e6cee84723b2934ae788512ef43e119be22bfc437fa590eea2ea3dbb5d14bdb3769adad59910c320f900d8763a8a1cf5b4078f41
+DIST github.com-golang-tools-68e087e2a5786de2c035ed544b1c5a42e31f1933.tar.gz 2246337 SHA256 b4ce39dada9728eb174f86b79eedc47543b08baaa336734741519ab5028642cc SHA512 58b95d6f3ecb8f22355d8a29da50c13de1e9dc41be1e4e8fd01b3e5510df12c3837daa76390f7e223c45ccafe56f84c5fff606e46124f99159c902f334b530ac WHIRLPOOL a8bf9bd22113e37b8d45a776470793fae8df5b8963bbf51357027b26a9487e7a03b80380b3ef5fcedfad282a19effbd351fc4c696a003457af7e53e0fc6485ed
+DIST github.com-pkg-errors-2b3a18b5f0fb6b4f9190549597d3f962c02bc5eb.tar.gz 11481 SHA256 52b9de79cbe62f1776944b9d9fafb2a04a1d418544da5314499249ac49e8c7a0 SHA512 6e8ce6cc7f3e3065fdb3f53da9be99771e7d3981fc091bad6e6f436c44f7891838a879fc6267bc5349fc73a8c896aa1eaf7cb1b17fafb5d7dee39962b6269c6a WHIRLPOOL 64e97eab327bb50396619a5f4854ba6751f0f038456e369028a59c2181441b780bd6aee060348c8b2c4811d481346130794ac84f7319da4d55a138316e99e673
+DIST github.com-spf13-afero-ee1bd8ee15a1306d1f9201acc41ef39cd9f99a1b.tar.gz 42570 SHA256 42397f261fe74e713a81f02ef18dbe9944f59583e32befd3cb0d4604cdf10221 SHA512 f39c841114b3d9fb68ced40c9fb7ed86e8a6cc22f2cd7e151ae6d9ed13886536966f3ba325dc4a0a985ffacf47b8eee063db9b07116c190baccbc9e42dd62830 WHIRLPOOL 2186f0e969eca7c8ba863b28e6df118fff75f1b269bdc98b448c248b42a9c6c9a9dc044da41f614f838da5935315156408647e28e72615bae47b56d4d4a98224
+DIST go-fsnotify-1.4.2.tar.gz 29552 SHA256 4a1fd9beeb0496b9cf6084ac83654ece19188e9b2ffa041652d1071d4b225415 SHA512 fe76ac5f0fac2075a5436a726628ed9abf9a8668482c3b599977cf6167fc1334af738a907ce5bd627fa6b5ff4c4f4ac7dd7515b5f2892e74f32869b2a6c79944 WHIRLPOOL 99f79328c495702d3695a807aa59205eecc821f9f87d4fd2749c138aed9edcaec51f3d6178db0e731c9185b8b4d88796b3f049d6faebadacccc66ddbfe1577d1
+DIST go-glog-23def4e6c14b4da8ac2ed8007337bc5eb5007998.tar.gz 19688 SHA256 ef225f77e38c3f071656a5bc529d7a66585e2ebc2b6149fa2bd4de1fb1ddacd6 SHA512 e9e70cf2a2d74ca813d0cadc23d213a1112ca4d1167abb63d8e0929585fca90c3a5bab1f49db20095c48bf1fe03b4424353c33728d09a201334eb65770888dc5 WHIRLPOOL a37d452661d3bcb35ceda79c1361a61a57ffa009a710f178f3ca1e57f99bd6255af70807a110f5a51cb50aced14519d1ca158fbfef92e582ffae2dfaab2e0e54
+DIST go-sys-30237cf4eefd639b184d1f2cb77a581ea0be8947.tar.gz 623731 SHA256 ad7d8aada5ae87a3cfbadb53aa61a1f02ad38d4bf4c3b85c6d68bee7570baab3 SHA512 a2cc30c19e05fa16e800679da933d842cc49e770e642ae8e49939a660fefe795069b5136a4d2b5fd4c094fd660e90f73a98d17c86503218c4f2f5c76fddf6722 WHIRLPOOL 057927a62e9c2bd7f859d78e9b586721927b17e224a22e36a725e6d32b497df3c4c1fa66f6094dbd6b46e2f19ca08117cd8bc6fdda6a0570204acc8a08645810
+DIST go-text-b01949dc0793a9af5e4cb3fce4d42999e76e8ca1.tar.gz 4521690 SHA256 7fe75acc63adb4ed62d8282ea0330efdece30630ecc1b9db14835c69bbf23136 SHA512 ac03833a836a4443a0f27a3bdb8701ca97bfed9a158b7f0a8fd78cf99325a10155cef0426c7a722abd739768a1a15e7e82f96690469aeb887743b5fcf37c3854 WHIRLPOOL f1edd92ab5be57dafa8c25b512863144f3b1c1014fa5a388e537e2f60f0abc467072524943ac2f37dffd3cd0f8f09ed484a089c08b172357e3a1e577a008887c
+DIST go-tools-76b6c242fbd3fa734fbfe26a653f14fd495cb03a.tar.gz 2195990 SHA256 9dbf9a4ea96b6d1c998bf2c3f088edf58b52aae19fda703c7da97454f1e29540 SHA512 397fcf06e4cedaa16de5009ba6b4a29cf2eeaacf3490e04fad265610ddf2159310e8cfd0661b3d75fc34ad1252c165cf490e61164de5dfd9ecd3cdd4e058f40a WHIRLPOOL 864fb2897681f89f4850ac4ae08528fbea0ac8fa00c2dc1402bb72937a855304e530bb8206aca3588317b156df7900abaaeae1e064bbaa41a9ef1a43067586e3
+DIST godebug-d99083b96f422f8fd5a93bc02040acec769e178f.tar.gz 14683 SHA256 9945619cab949985701146582a58c929cb83dc4bf4de1192546f4f571b45f343 SHA512 8eb131c6aecf7d5691b2d35c53acd08b842735b029b6115bccc0e96a7a7441328603d618f810d1fe740254c71a1f01fcd3e7b2e85fbbb2c3eb9ec3ec9177bb1d WHIRLPOOL 8e87d36428eacdc89cce4f250c21e0ccd5df8b0d13e75b24386ea0b566501a83d82682d29894e73affee95bebe794a7781b0d1bb8c8545f63e02b4571943cd1d
+DIST mtail-0_pre20161108.tar.gz 382393 SHA256 ad2af0b87ec94be80c4d2291efa95c992f9464afb26dc759943ee494f0d7f47b SHA512 5eb60f57bf267730ec01a07d8bac1abb4b9454610ce52c8ab2acc59a04e36442cc4b570778f9a0eb249d3a85f21cacdc70cce203b28e57f84ab2ef533a5bc2df WHIRLPOOL 87f6bff48916ea9e289a144967ba8daff75a29fa8a1290b564df7d58c30735bdb9f7588fdcb22ad3fc3ab32b8129625270734dcb77876569119185c68daf5636
+DIST mtail-3.0.0_rc2.tar.gz 410528 SHA256 e2802250ad37e2fa4302aa28d479213233aa6bc2e522100140d594db788510d4 SHA512 95a1c88d0769f35ce9e9476aacb15f36a82f8a6a0e251e6f39ba97f11936f4d3b471be73d643d88afb51ef0b0f8d6b10555da9011f17381e00e397fe3911f3bd WHIRLPOOL a0bbe71d9e9d45ada1f593539d6f29da7e8f760c780ee4f47c5ea8cadc0e9380029782354450fa5795c9ef90b8aa2949d876317980a5cb025a6f08e7fb00af63
+EBUILD mtail-0_pre20161108.ebuild 2833 SHA256 de3fa06d9757bd3244e707da90b7b6f0f8d76965f1390c944e63d9c27ee424a2 SHA512 f7de1d84941632ef13ad82ce503727994ee8700231c1678d7c155e170e166fc69bb2b7d6e3c2f46300a359ba1618c70936264aeffde613bc4894a076eec69765 WHIRLPOOL a0ab01983333c8dc30f3f2d336d5bafb339d6413bc55332233b7b5b6cfd963242ddc88dc98db7b3bffcdbf5bfad959fdf6744aa07911ac634f87571bfe5db787
+EBUILD mtail-3.0.0_rc2.ebuild 1537 SHA256 6a6b6b9932067498e58bb7b92b5f04a1c4f2d9619366583e96ef2ce3b3a91010 SHA512 1913aa925455304cebfe6017a78a856df49035b86821f160f3f8c4fcd36ce5e127cc95e5b980c9ee98db60a9fba173313698b6366e19cbd80805282729fbb3e9 WHIRLPOOL 9dbe8de3f116b9c18bef9aea052e55ec925c820df50647d26c4d529da903d860baef0e2e2a3e026f6a2ffdcda57c5ae6e5646d336d948999898c06c5729773a8
+MISC ChangeLog 459 SHA256 1cca3b91bba8026d5a26dda341bcbbfa009c92c6f5d22399c00845cd78ab8c7c SHA512 23004aff4f6647731175b9bb745e6a6efeaa871f21f266a4232bbebefb41dc85568baf05c2064314366e1e7f79693e238686b0fe3e829f0b5c1f9bfbbcdc3ce2 WHIRLPOOL 15957e9c3e16c0bf08df66ebc760426264558073030d55a72bd589f00634e22598856df4b63aa0e72b017949374d9b0fa9d6f15b095beea9e60d0bdecefa3287
+MISC metadata.xml 295 SHA256 aa76681018b2b3292081d1f7369606f2cfab4eca416798687f66fe6a5aa743dc SHA512 ed1a9cc5e20a4063111ebae0942a1f23b30363c91e22099046c9628d8636b9500cd204a11b22744c3e881d04ebcef9515f47efe636bc6a8a7d992fed9e2c6f95 WHIRLPOOL 7d6f45ae9828265e3ff92226ba777a16b49ebd08b4756b79af4e1a8e32abf39afe79bd31b12c7f8e9b6bd49ab3a74ddafaefb4a050872db800229337f9ad20a6
diff --git a/app-admin/mtail/metadata.xml b/app-admin/mtail/metadata.xml
new file mode 100644
index 000000000000..4b625a3a0493
--- /dev/null
+++ b/app-admin/mtail/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">google/mtail</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-admin/mtail/mtail-0_pre20161108.ebuild b/app-admin/mtail/mtail-0_pre20161108.ebuild
new file mode 100644
index 000000000000..175b8d7c05f1
--- /dev/null
+++ b/app-admin/mtail/mtail-0_pre20161108.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KEYWORDS="~amd64"
+EGO_PN=github.com/google/mtail
+EGIT_COMMIT=a780a6342bd70a8fb8ffe187ef988d5417d43a96
+SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ https://github.com/spf13/afero/archive/06b7e5f50606ecd49148a01a6008942d9b669217.tar.gz -> afero-06b7e5f50606ecd49148a01a6008942d9b669217.tar.gz
+ https://github.com/golang/glog/archive/23def4e6c14b4da8ac2ed8007337bc5eb5007998.tar.gz -> go-glog-23def4e6c14b4da8ac2ed8007337bc5eb5007998.tar.gz
+ https://github.com/fsnotify/fsnotify/archive/v1.4.2.tar.gz -> go-fsnotify-1.4.2.tar.gz
+ https://github.com/golang/tools/archive/76b6c242fbd3fa734fbfe26a653f14fd495cb03a.tar.gz -> go-tools-76b6c242fbd3fa734fbfe26a653f14fd495cb03a.tar.gz
+ https://github.com/golang/sys/archive/30237cf4eefd639b184d1f2cb77a581ea0be8947.tar.gz -> go-sys-30237cf4eefd639b184d1f2cb77a581ea0be8947.tar.gz
+ https://github.com/golang/text/archive/b01949dc0793a9af5e4cb3fce4d42999e76e8ca1.tar.gz -> go-text-b01949dc0793a9af5e4cb3fce4d42999e76e8ca1.tar.gz
+ test? (
+ https://github.com/kylelemons/godebug/archive/d99083b96f422f8fd5a93bc02040acec769e178f.tar.gz -> godebug-d99083b96f422f8fd5a93bc02040acec769e178f.tar.gz
+ )"
+DESCRIPTION="A tool for extracting metrics from application logs"
+HOMEPAGE="https://${EGO_PN}/"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="test"
+DEPEND=">=dev-lang/go-1.6:="
+RDEPEND="!app-misc/mtail"
+
+get_archive_go_package() {
+ local archive=${1} uri x
+ for x in ${SRC_URI}; do
+ if [[ ${x} == http* ]]; then
+ uri=${x}
+ elif [[ ${x} == ${archive} ]]; then
+ break
+ fi
+ done
+ uri=${uri#https://}
+ uri=${uri%/archive/*}
+ case ${uri} in
+ github.com/fsnotify/fsnotify)
+ echo "gopkg.in/fsnotify.v1|fsnotify-*"
+ ;;
+ github.com/golang/glog)
+ echo "${uri}|${uri##*/}-*"
+ ;;
+ github.com/golang/*)
+ echo "golang.org/x/${uri##*/}|${uri##*/}-*"
+ ;;
+ *)
+ echo "${uri}|${uri##*/}-*"
+ ;;
+ esac
+}
+
+unpack_go_packages() {
+ local go_package x
+ # Unpack packages to appropriate locations for GOPATH
+ for x in ${A}; do
+ unpack ${x}
+ if [[ ${x} == *.tar.gz ]]; then
+ go_package=$(get_archive_go_package ${x})
+ x=${go_package#*|}
+ go_package=${go_package%|*}
+ mkdir -p src/${go_package%/*}
+ mv ${x} src/${go_package} || die
+ fi
+ done
+}
+
+src_unpack() {
+ mkdir "${S}" || die
+ cd "${S}" || die
+ unpack_go_packages
+}
+
+src_prepare() {
+ default
+ sed '/^[[:space:]]*go get .*/d' -i "${S}/src/${EGO_PN}/Makefile" || die
+}
+
+src_compile() {
+ export GOPATH="${S}"
+ go install -v -work -x ${EGO_BUILD_FLAGS} "golang.org/x/tools/cmd/goyacc" || die
+ PATH=${S}/bin:${PATH} emake -C "${S}/src/${EGO_PN}"
+}
+
+src_test() {
+ cd "${S}/src/${EGO_PN}" || die
+ default
+}
+
+src_install() {
+ dobin bin/mtail
+ dodoc "${S}/src/${EGO_PN}/"{CONTRIBUTING.md,README.md,TODO}
+}
diff --git a/app-admin/mtail/mtail-3.0.0_rc2.ebuild b/app-admin/mtail/mtail-3.0.0_rc2.ebuild
new file mode 100644
index 000000000000..266072615802
--- /dev/null
+++ b/app-admin/mtail/mtail-3.0.0_rc2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_VENDOR=( "golang.org/x/tools 68e087e2a5786de2c035ed544b1c5a42e31f1933 github.com/golang/tools"
+ "github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
+ "github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
+ "github.com/pkg/errors 2b3a18b5f0fb6b4f9190549597d3f962c02bc5eb"
+ "github.com/spf13/afero ee1bd8ee15a1306d1f9201acc41ef39cd9f99a1b"
+ "golang.org/x/sys 314a259e304ff91bd6985da2a7149bbf91237993 github.com/golang/sys"
+ "golang.org/x/text 1cbadb444a806fd9430d14ad08967ed91da4fa0a github.com/golang/text" )
+
+inherit golang-build golang-vcs-snapshot
+
+KEYWORDS="~amd64"
+EGIT_COMMIT="5e6d38908091a8648c0f26c44ebd708e241f3814"
+EGO_PN="github.com/google/mtail"
+SRC_URI="https://${EGO_PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz
+ ${EGO_VENDOR_URI}"
+DESCRIPTION="A tool for extracting metrics from application logs"
+HOMEPAGE="https://github.com/google/mtail"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+RDEPEND="!app-misc/mtail"
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+ sed -i -e '/^[[:space:]]*go get .*/d'\
+ -e "s/git describe --tags/echo ${PV}/"\
+ -e "s/git rev-parse HEAD/echo ${EGIT_COMMIT}/"\
+ "src/${EGO_PN}/Makefile" || die
+}
+
+src_compile() {
+ export GOPATH="${S}"
+ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/vendor/golang.org/x/tools/cmd/goyacc" || die
+ emake -C "src/${EGO_PN}"
+}
+
+src_install() {
+ dobin bin/mtail
+ dodoc "src/${EGO_PN}/"{CONTRIBUTING.md,README.md,TODO}
+}