summaryrefslogtreecommitdiff
path: root/net-misc/nicstat
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 /net-misc/nicstat
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/nicstat')
-rw-r--r--net-misc/nicstat/Manifest3
-rw-r--r--net-misc/nicstat/metadata.xml11
-rw-r--r--net-misc/nicstat/nicstat-1.95.ebuild30
3 files changed, 44 insertions, 0 deletions
diff --git a/net-misc/nicstat/Manifest b/net-misc/nicstat/Manifest
new file mode 100644
index 000000000000..5fc3738196bf
--- /dev/null
+++ b/net-misc/nicstat/Manifest
@@ -0,0 +1,3 @@
+DIST nicstat-1.95.tar.gz 33601 SHA256 0556e890e7c671ee85ccef861ede034719101125c06f750166e723f2bff34e37 SHA512 542de1e0a388f699e184e8f92ca732ce68974a3adc3b60247170cc32a737fd191c43a9b7a761cc8b8ed411e914756f1ae3727b1a5a8e5753643f98a80443ad5a WHIRLPOOL 8fe4bae340e0a84bc6f2a8e4880abffcfa3c3e62f44ee3fa23a06c11a1de1964ff40124055d1b1d1ab3e853d295171017d96de0165f1c11d824cd85d6ab6a7a2
+EBUILD nicstat-1.95.ebuild 724 SHA256 63a1fa036fb00e4aa18f6f57c37eafbfac75ef7f1b3d3bd0736c3fddb2af7ae8 SHA512 e40bab7bad19eeec1a418956918657bbfb47f1eb3ad78eda1de46055b034763cd7eb92e48ce23be234428f5c4e39d05d763335b31341cdb212899cf1f8d56610 WHIRLPOOL b47dc01989221dc7056b403d54912da62bf86caae4ebc7e60b8b43d17c01d310113b659b8e3e2db36ddbaa7a89b3a83086858c83838ed656212d82b007a48983
+MISC metadata.xml 349 SHA256 d58cb0f92c318773fccbbfca38c69ab0a939a6190eceaecc4c6929ef4c65b068 SHA512 263be94844b4e73c9cadbf7c090b75229735bef5cbeafb790c553c80af15719b2712981331c2e46acc5f13abf1004e2220276317c49c943a1aa9c8ad6781fe36 WHIRLPOOL a48d698f788f3482c61890c2fd6317daee405a1d8c278ae5815586bcc8d5a4c7d777b9063d03fe1261acde08e045e06dfe1f344b44285b72bc63040e15e8a4ed
diff --git a/net-misc/nicstat/metadata.xml b/net-misc/nicstat/metadata.xml
new file mode 100644
index 000000000000..d0f2dbf42bee
--- /dev/null
+++ b/net-misc/nicstat/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <upstream>
+ <remote-id type="github">scotte/nicstat</remote-id>
+ <remote-id type="sourceforge">nicstat</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-misc/nicstat/nicstat-1.95.ebuild b/net-misc/nicstat/nicstat-1.95.ebuild
new file mode 100644
index 000000000000..1936dbeeb9d5
--- /dev/null
+++ b/net-misc/nicstat/nicstat-1.95.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Network traffic statics utility for Solaris and Linux"
+HOMEPAGE="https://sourceforge.net/projects/nicstat/ https://github.com/scotte/nicstat/"
+EGIT_COMMIT="a716ee81cbf1e177267e20a880b5a0d9fa5b689e"
+SRC_URI="https://github.com/scotte/nicstat/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Artistic-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+S=${WORKDIR}/${PN}-${EGIT_COMMIT}
+
+src_compile() {
+ $(tc-getCC) ${CFLAGS} ${PN}.c -o ${PN} ${LDFLAGS} || die
+}
+
+src_install() {
+ dobin {e,}${PN}
+ doman ${PN}.1
+ dodoc BUGS.md ChangeLog.txt README*
+}