All of lore.kernel.org
 help / color / mirror / Atom feed
* [Meta-security][PATCH 3/3] barnyard: add recipe
@ 2013-09-11  4:06 b40290
  2013-09-11 17:50 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: b40290 @ 2013-09-11  4:06 UTC (permalink / raw)
  To: yocto; +Cc: Chunrong Guo

From: Chunrong Guo <B40290@freescale.com>

   *Barnyard is a output system for Snort

Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 recipes-security/barnyard/barnyard_0.2.0.bb |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 recipes-security/barnyard/barnyard_0.2.0.bb

diff --git a/recipes-security/barnyard/barnyard_0.2.0.bb b/recipes-security/barnyard/barnyard_0.2.0.bb
new file mode 100644
index 0000000..a13ebdc
--- /dev/null
+++ b/recipes-security/barnyard/barnyard_0.2.0.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Barnyard is a output system for Snort."
+HOMEPAGE = "http://www.snort.org/"
+LICENSE = "QPL"
+LIC_FILES_CHKSUM = "file://LICENSE.QPL;md5=1b8ff8c0012b5a2d647357699bf44b41"
+
+DEPENDS = "libpcap"
+RDEPENDS_${PN} = "libpcap"
+
+SRC_URI = " ${GENTOO_MIRROR}/${P}.tar.gz;name=tarball \
+          "
+SRC_URI[tarball.md5sum] = "be3283028cf414b52b220308ceb411e9"
+SRC_URI[tarball.sha256sum] = "09e0f8e095e79cfe70ea069d13e7d02521a504a1f400a45556a634dccfd31a3a"
+
+
+S = "${WORKDIR}/${P}"
+inherit autotools pkgconfig
+
+do_configure_prepend () {
+	#fix hardcoded include path
+	sed -i -e 's:extra_incl=-I/usr/include/pcap::g' ${S}/configure.in
+}
+
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Meta-security][PATCH 3/3] barnyard: add recipe
  2013-09-11  4:06 [Meta-security][PATCH 3/3] barnyard: add recipe b40290
@ 2013-09-11 17:50 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2013-09-11 17:50 UTC (permalink / raw)
  To: b40290; +Cc: yocto, mulhern

On 09/10/2013 09:06 PM, b40290@freescale.com wrote:
> From: Chunrong Guo <B40290@freescale.com>
>
>     *Barnyard is a output system for Snort
>
> Signed-off-by: Chunrong Guo <B40290@freescale.com>
> ---
>   recipes-security/barnyard/barnyard_0.2.0.bb |   22 ++++++++++++++++++++++
>   1 files changed, 22 insertions(+), 0 deletions(-)
>   create mode 100644 recipes-security/barnyard/barnyard_0.2.0.bb
>
> diff --git a/recipes-security/barnyard/barnyard_0.2.0.bb b/recipes-security/barnyard/barnyard_0.2.0.bb
> new file mode 100644
> index 0000000..a13ebdc
> --- /dev/null
> +++ b/recipes-security/barnyard/barnyard_0.2.0.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "Barnyard is a output system for Snort."
> +HOMEPAGE = "http://www.snort.org/"
> +LICENSE = "QPL"
> +LIC_FILES_CHKSUM = "file://LICENSE.QPL;md5=1b8ff8c0012b5a2d647357699bf44b41"
> +
> +DEPENDS = "libpcap"
> +RDEPENDS_${PN} = "libpcap"
DEPENDS are also RDEPENDS so this is extra and not needed.
> +
> +SRC_URI = " ${GENTOO_MIRROR}/${P}.tar.gz;name=tarball \
You don't want to use ${P} as it will be prefixed with any multilib type 
of extension, it's better to use ${BP} which won't be expanded.

> +          "
> +SRC_URI[tarball.md5sum] = "be3283028cf414b52b220308ceb411e9"
> +SRC_URI[tarball.sha256sum] = "09e0f8e095e79cfe70ea069d13e7d02521a504a1f400a45556a634dccfd31a3a"
> +
> +
> +S = "${WORKDIR}/${P}"
Same as above, this is also the default, so you should not need to 
specify this item.

> +inherit autotools pkgconfig
> +
> +do_configure_prepend () {
> +	#fix hardcoded include path
> +	sed -i -e 's:extra_incl=-I/usr/include/pcap::g' ${S}/configure.in
> +}
> +
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-11 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11  4:06 [Meta-security][PATCH 3/3] barnyard: add recipe b40290
2013-09-11 17:50 ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.