summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2017-01-27 10:49:58 -0800
committerZac Medico <zmedico@gentoo.org>2017-01-27 10:54:03 -0800
commit1af3bab44aabaf36cd0e4892a8413cb208f82a05 (patch)
treedee384c6a31eb5f167be469e6538bbca8278d631 /net-misc
parentnet-im/qtox: remove old v1.5.0 (diff)
downloadgentoo-1af3bab44aabaf36cd0e4892a8413cb208f82a05.tar.gz
gentoo-1af3bab44aabaf36cd0e4892a8413cb208f82a05.tar.bz2
gentoo-1af3bab44aabaf36cd0e4892a8413cb208f82a05.zip
net-misc/nicstat: new package
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/nicstat/Manifest1
-rw-r--r--net-misc/nicstat/metadata.xml11
-rw-r--r--net-misc/nicstat/nicstat-1.95.ebuild31
3 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/nicstat/Manifest b/net-misc/nicstat/Manifest
new file mode 100644
index 000000000000..19943e74f4db
--- /dev/null
+++ b/net-misc/nicstat/Manifest
@@ -0,0 +1 @@
+DIST nicstat-1.95.tar.gz 33601 SHA256 0556e890e7c671ee85ccef861ede034719101125c06f750166e723f2bff34e37 SHA512 542de1e0a388f699e184e8f92ca732ce68974a3adc3b60247170cc32a737fd191c43a9b7a761cc8b8ed411e914756f1ae3727b1a5a8e5753643f98a80443ad5a WHIRLPOOL 8fe4bae340e0a84bc6f2a8e4880abffcfa3c3e62f44ee3fa23a06c11a1de1964ff40124055d1b1d1ab3e853d295171017d96de0165f1c11d824cd85d6ab6a7a2
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..455661facc90
--- /dev/null
+++ b/net-misc/nicstat/nicstat-1.95.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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*
+}