* [PATCH 0/1] libpcap: add native package
@ 2017-05-24 9:33 kai.kang
2017-05-24 9:33 ` [PATCH 1/1] " kai.kang
0 siblings, 1 reply; 4+ messages in thread
From: kai.kang @ 2017-05-24 9:33 UTC (permalink / raw)
To: openembedded-core
From: Kai Kang <kai.kang@windriver.com>
The following changes since commit a3d160f9e5826140cc8d6b2ed1b38bf022443b08:
linux-yocto: Update genericx86* SRCREVs for linux-yocto 4.10 (2017-05-23 17:46:14 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib kangkai/daq
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/daq
Kai Kang (1):
libpcap: add native package
meta/recipes-connectivity/libpcap/libpcap.inc | 2 ++
1 file changed, 2 insertions(+)
--
2.10.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/1] libpcap: add native package
2017-05-24 9:33 [PATCH 0/1] libpcap: add native package kai.kang
@ 2017-05-24 9:33 ` kai.kang
2017-05-24 13:19 ` Kang Kai
0 siblings, 1 reply; 4+ messages in thread
From: kai.kang @ 2017-05-24 9:33 UTC (permalink / raw)
To: openembedded-core
From: Kai Kang <kai.kang@windriver.com>
Add package libcap-native required by recipe daq-native in layer
meta-networking. And daq-native is added to fix snort start error.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
meta/recipes-connectivity/libpcap/libpcap.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 6635779..e57ea87 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -38,3 +38,5 @@ CXXFLAGS_prepend = "-I${S} "
do_configure_prepend () {
sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
}
+
+BBCLASSEXTEND = "native"
--
2.10.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] libpcap: add native package
2017-05-24 9:33 ` [PATCH 1/1] " kai.kang
@ 2017-05-24 13:19 ` Kang Kai
2017-05-25 3:19 ` Kang Kai
0 siblings, 1 reply; 4+ messages in thread
From: Kang Kai @ 2017-05-24 13:19 UTC (permalink / raw)
To: openembedded-core
On 2017年05月24日 17:33, kai.kang@windriver.com wrote:
> From: Kai Kang <kai.kang@windriver.com>
>
> Add package libcap-native required by recipe daq-native in layer
> meta-networking. And daq-native is added to fix snort start error.
I just realize that it only needs daq-native provide a shell script, so
libpcap-native may not be needed. I'll figure it out.
Please ignore this patch for now.
Thanks,
Kai
>
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
> meta/recipes-connectivity/libpcap/libpcap.inc | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
> index 6635779..e57ea87 100644
> --- a/meta/recipes-connectivity/libpcap/libpcap.inc
> +++ b/meta/recipes-connectivity/libpcap/libpcap.inc
> @@ -38,3 +38,5 @@ CXXFLAGS_prepend = "-I${S} "
> do_configure_prepend () {
> sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
> }
> +
> +BBCLASSEXTEND = "native"
--
Regards,
Neil | Kai Kang
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] libpcap: add native package
2017-05-24 13:19 ` Kang Kai
@ 2017-05-25 3:19 ` Kang Kai
0 siblings, 0 replies; 4+ messages in thread
From: Kang Kai @ 2017-05-25 3:19 UTC (permalink / raw)
To: openembedded-core
On 2017年05月24日 21:19, Kang Kai wrote:
> On 2017年05月24日 17:33, kai.kang@windriver.com wrote:
>> From: Kai Kang <kai.kang@windriver.com>
>>
>> Add package libcap-native required by recipe daq-native in layer
>> meta-networking. And daq-native is added to fix snort start error.
>
> I just realize that it only needs daq-native provide a shell script,
> so libpcap-native may not be needed. I'll figure it out.
> Please ignore this patch for now.
Unfortunately there is a var STATIC_LIBS in the shell script
daq-modules-config from package daq-native which depends on configure
options.
If doesn't build with libpcap for daq-native, then no '-lpcap' in the
output of the shell script daq-modules-config and build snort will fail.
So libpcap-native is needed indeed, and please help the review the
patch, thanks.
BTW, the typo 'libcap-native' in commit message has been updated in
poky-contrib git repo.
Thanks,
Kai
>
> Thanks,
> Kai
>
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>> meta/recipes-connectivity/libpcap/libpcap.inc | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc
>> b/meta/recipes-connectivity/libpcap/libpcap.inc
>> index 6635779..e57ea87 100644
>> --- a/meta/recipes-connectivity/libpcap/libpcap.inc
>> +++ b/meta/recipes-connectivity/libpcap/libpcap.inc
>> @@ -38,3 +38,5 @@ CXXFLAGS_prepend = "-I${S} "
>> do_configure_prepend () {
>> sed -i -e's,^V_RPATH_OPT=.*$,V_RPATH_OPT=,' ${S}/pcap-config.in
>> }
>> +
>> +BBCLASSEXTEND = "native"
>
>
--
Regards,
Neil | Kai Kang
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-25 3:21 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-24 9:33 [PATCH 0/1] libpcap: add native package kai.kang
2017-05-24 9:33 ` [PATCH 1/1] " kai.kang
2017-05-24 13:19 ` Kang Kai
2017-05-25 3:19 ` Kang Kai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox