Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH v2] nicstat : add new recipe
Date: Wed, 19 Nov 2014 15:35:32 +0100	[thread overview]
Message-ID: <20141119143532.GG3315@jama> (raw)
In-Reply-To: <1416289969-11515-1-git-send-email-lixin.fnst@cn.fujitsu.com>

[-- Attachment #1: Type: text/plain, Size: 2127 bytes --]

On Tue, Nov 18, 2014 at 01:52:49PM +0800, Li xin wrote:
> nicstat is a tool that prints out network statistics for all network
> interface cards (NICs), including packets, kilobytes per second,
> average packet sizes and more.
> 
> Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
> ---
>  meta-oe/recipes-extended/nicstat/nicstat_1.95.bb | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/nicstat/nicstat_1.95.bb
> 
> diff --git a/meta-oe/recipes-extended/nicstat/nicstat_1.95.bb b/meta-oe/recipes-extended/nicstat/nicstat_1.95.bb
> new file mode 100644
> index 0000000..142c164
> --- /dev/null
> +++ b/meta-oe/recipes-extended/nicstat/nicstat_1.95.bb
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "nicstat is a Solaris and Linux command-line that prints out network \
> +statistics for all network interface cards (NICs), including packets, kilobytes \
> +per second, average packet sizes and more."
> +HOMEPAGE = "http://nicstat.sourceforge.net"
> +LICENSE = "Artistic-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b4a94da2a1f918b217ef5156634fc9e0"
> +SRC_URI = "http://softlayer-sng.dl.sourceforge.net/project/nicstat/${PN}-${PV}.tar.gz"

nicstat -> ${BPN}
${PN}-${PV} -> ${BP}

> +SRC_URI[md5sum] = "9a0b87bbc670c1e738e5b40c7afd184d"
> +SRC_URI[sha256sum] = "c4cc33f8838f4523f27c3d7584eedbe59f4c587f0821612f5ac2201adc18b367"
> +
> +do_compile() {
> +	${CC} ${CFLAGS} ${LDFLAGS} -o nicstat nicstat.c
> +}
> +do_install() {
> +     	install -d ${D}/${bindir}/
> +	install -d ${D}/${mandir}/
> +     	install -m 0755 ${S}/nicstat ${D}${bindir}/
> +	install -m 0644 ${S}/nicstat.1 ${D}/${mandir}/

use 4 spaces for indentation, no tabs and definitely no mix of tabs and
spaces

I've fixed this when cherry-picking to master-next

> +}
> -- 
> 1.8.4.2
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

  reply	other threads:[~2014-11-19 14:35 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 11:00 [PATCH 0/5] Adding some recipes Li xin
2014-11-17 11:00 ` [PATCH 1/5] rarpd : add recipe Li xin
2014-11-18  2:07   ` Rongqing Li
2014-11-18  9:55     ` [meta-oe][PATCH v2] rarpd : add new recipe Li xin
2014-11-18 20:14       ` Christopher Larson
2014-11-19 14:40       ` Martin Jansa
2014-11-17 11:00 ` [PATCH 2/5] nicstat : add recipe Li xin
2014-11-18  2:11   ` Rongqing Li
2014-11-18  5:13     ` Li, Xin
2014-11-18  5:52       ` [PATCH v2] nicstat : add new recipe Li xin
2014-11-19 14:35         ` Martin Jansa [this message]
2014-11-17 11:00 ` [PATCH 3/5] sblim-sfcb " Li xin
2014-11-17 12:22   ` Wolfgang Denk
2014-11-21 14:06     ` Martin Jansa
2014-11-17 11:00 ` [PATCH 4/5] sblim-sfcc : add recipe Li xin
2014-11-17 11:00 ` [PATCH 5/5] sgpio : add new recipe Li xin
2014-11-19 14:33   ` Martin Jansa
2014-11-21 14:03     ` Martin Jansa
2014-11-25  2:17       ` Li, Xin
2014-11-26  6:42         ` [meta-oe][PATCH v2] " Li xin
2015-01-21  3:21       ` [meta-oe][PATCH v2] sgpio: " Li xin
2015-01-22 15:16         ` Martin Jansa
2015-01-23  2:49           ` [meta-oe][PATCH v3] " Li xin
2015-01-28 10:53             ` Martin Jansa
2015-01-29  9:47               ` Li, Xin
2015-06-29  9:32                 ` Li, Xin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141119143532.GG3315@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox