From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] new package: ngrep
Date: Tue, 6 Sep 2011 23:22:28 +0200 [thread overview]
Message-ID: <20110906232228.09821bf0@skate> (raw)
In-Reply-To: <20110906190842.GA29907@berrier.lan>
Hello,
Thanks for this contribution!
Le Tue, 6 Sep 2011 13:08:46 -0600,
Wade Berrier <wberrier@gmail.com> a ?crit :
> Here's a nice lightweight alternative to tcpdump (not as feature full, but smaller)
>
> Wade
This part of your message will be kept in the commit log. So it
shouldn't be formulated this way. Just keep the subject "[PATCH] new
package: ngrep" and just be your Signed-off-by line below.
> diff --git a/package/ngrep/ngrep-1.45-make-objs.patch b/package/ngrep/ngrep-1.45-make-objs.patch
> new file mode 100644
> index 0000000..cf316d5
> --- /dev/null
> +++ b/package/ngrep/ngrep-1.45-make-objs.patch
> @@ -0,0 +1,19 @@
Each patch must start with a description of what it does, and a
Signed-off-by line.
> +++ b/package/ngrep/ngrep-1.45-pcre-header.patch
> @@ -0,0 +1,12 @@
Same here.
> +++ b/package/ngrep/ngrep.mk
This must come from a very old version of Buildroot. Can you check the
current Buildroot documentation?
See comments below.
> @@ -0,0 +1,29 @@
> +#############################################################
> +#
> +# ngrep
> +#
> +#############################################################
> +
> +NGREP_VERSION:=1.45
Please use '=' instead of ':='.
> +NGREP_SOURCE:=ngrep-$(NGREP_VERSION).tar.bz2
> +NGREP_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/ngrep/ngrep/$(NGREP_VERSION)
> +# no install-strip/install-exec
> +NGREP_INSTALL_TARGET_OPT= DESTDIR="$(TARGET_DIR)" install
Not needed anymore, the 'install' target is always used.
> +NGREP_DEPENDENCIES:=libpcap pcre
> +
> +$(eval $(call AUTOTARGETS,package,ngrep))
> +
> +$(NGREP_HOOK_POST_INSTALL): $(NGREP_TARGET_INSTALL_TARGET)
> + $(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/ngrep
> + touch $@
Please remove this post install hook:
1) it is no longer the right way of writing post install hooks
2) stripping in each package is no longer needed, it is done globally
by the Buildroot infrastructure
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-09-06 21:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 19:08 [Buildroot] [PATCH] new package: ngrep Wade Berrier
2011-09-06 21:22 ` Thomas Petazzoni [this message]
2011-09-10 19:02 ` Wade Berrier
-- strict thread matches above, loose matches on Subject: below --
2011-06-30 1:18 Wade Berrier
2011-06-30 7:18 ` Thomas Petazzoni
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=20110906232228.09821bf0@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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