<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/libs/libpcap/patches, branch master</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>libpcap: patch to add limits.h to pcap-usb-linux.c</title>
<updated>2018-09-10T07:15:26+00:00</updated>
<author>
<name>Eneas U de Queiroz</name>
<email>cote2004-github@yahoo.com</email>
</author>
<published>2018-08-01T12:49:35+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=0317fc3658eb55596c72647f2e6c68bf06bf36ff'/>
<id>0317fc3658eb55596c72647f2e6c68bf06bf36ff</id>
<content type='text'>
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
This is an upstream-applied patch that fixes 'PATH_MAX' and 'NAME_MAX'
undeclared when compiling on musl with CONFIG_PCAP_HAS_USB.

[aafa351] pcap-usb-linux.c: add missing limits.h for musl systems.

Signed-off-by: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
This is an upstream-applied patch that fixes 'PATH_MAX' and 'NAME_MAX'
undeclared when compiling on musl with CONFIG_PCAP_HAS_USB.

[aafa351] pcap-usb-linux.c: add missing limits.h for musl systems.

Signed-off-by: Eneas U de Queiroz &lt;cote2004-github@yahoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libpcap: update to 1.9.0</title>
<updated>2018-07-27T09:17:20+00:00</updated>
<author>
<name>Syrone Wong</name>
<email>wong.syrone@gmail.com</email>
</author>
<published>2018-07-26T14:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4d57c696b1504bc672416b9ba27eab4e1729b622'/>
<id>4d57c696b1504bc672416b9ba27eab4e1729b622</id>
<content type='text'>
001-Fix-compiler_state_t.ai-usage-when-INET6-is-not-defi.patch dropped due to upstream
002-Add-missing-compiler_state_t-parameter.patch dropped due to upstream

202-protocol_api.patch dropped due to implemented upstream by another way
upstream commit: https://github.com/the-tcpdump-group/libpcap/commit/55c690f6f834b4762697d7a134de439c9096c921
and renamed via: https://github.com/the-tcpdump-group/libpcap/commit/697b1f7e9b1d6f5a5be04f821d7c5dc62458bb3b

ead is the only user who use the protocol api, we have to use the new api since libpcap 1.9.0

Signed-off-by: Syrone Wong &lt;wong.syrone@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
001-Fix-compiler_state_t.ai-usage-when-INET6-is-not-defi.patch dropped due to upstream
002-Add-missing-compiler_state_t-parameter.patch dropped due to upstream

202-protocol_api.patch dropped due to implemented upstream by another way
upstream commit: https://github.com/the-tcpdump-group/libpcap/commit/55c690f6f834b4762697d7a134de439c9096c921
and renamed via: https://github.com/the-tcpdump-group/libpcap/commit/697b1f7e9b1d6f5a5be04f821d7c5dc62458bb3b

ead is the only user who use the protocol api, we have to use the new api since libpcap 1.9.0

Signed-off-by: Syrone Wong &lt;wong.syrone@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libpcap: Fix build when PACKAGECONFIG ipv6 is not enabled</title>
<updated>2016-12-24T10:59:42+00:00</updated>
<author>
<name>Zefir Kurtisi</name>
<email>zefir.kurtisi@neratec.com</email>
</author>
<published>2016-12-22T09:39:51+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=16725e2db0a4fbf72e05443049df3f0cfa2ad86b'/>
<id>16725e2db0a4fbf72e05443049df3f0cfa2ad86b</id>
<content type='text'>
Add patches provided upstream [1] by Fabio Berton to fix error:

&gt; ./gencode.c: In function 'pcap_compile':
&gt; ./gencode.c:693:8: error: 'compiler_state_t {aka struct _compiler_state}' has no member named 'ai'
&gt;   cstate.ai = NULL;
&gt;         ^
&gt; ./gencode.c: In function 'gen_gateway':
&gt; ./gencode.c:4914:13: error: 'cstate' undeclared (first use in this function)
&gt;    bpf_error(cstate, "direction applied to 'gateway'");
&gt;              ^

[1] https://github.com/the-tcpdump-group/libpcap/pull/541

Signed-off-by: Fabio Berton &lt;fabio.berton@ossystems.com.br&gt;
Tested-by: Zefir Kurtisi &lt;zefir.kurtisi@neratec.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add patches provided upstream [1] by Fabio Berton to fix error:

&gt; ./gencode.c: In function 'pcap_compile':
&gt; ./gencode.c:693:8: error: 'compiler_state_t {aka struct _compiler_state}' has no member named 'ai'
&gt;   cstate.ai = NULL;
&gt;         ^
&gt; ./gencode.c: In function 'gen_gateway':
&gt; ./gencode.c:4914:13: error: 'cstate' undeclared (first use in this function)
&gt;    bpf_error(cstate, "direction applied to 'gateway'");
&gt;              ^

[1] https://github.com/the-tcpdump-group/libpcap/pull/541

Signed-off-by: Fabio Berton &lt;fabio.berton@ossystems.com.br&gt;
Tested-by: Zefir Kurtisi &lt;zefir.kurtisi@neratec.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libs/libpcap: update to 1.8.1</title>
<updated>2016-12-14T11:13:13+00:00</updated>
<author>
<name>p-wassi</name>
<email>p.wassi@gmx.at</email>
</author>
<published>2016-12-10T09:56:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=4297f4f9014f8b2596cdfc38fe086e8c0653ffba'/>
<id>4297f4f9014f8b2596cdfc38fe086e8c0653ffba</id>
<content type='text'>
Update libpcap to upstream release 1.8.1
Change the name from libpcap.so.1.3 to libpcap.so.1
Remove parts of patch 201 which moved code among src files.
Import patch 204 from Debian to update the USB path.

Signed-off-by: Paul Wassi &lt;p.wassi@gmx.at&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt; [fix parallel build bug]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update libpcap to upstream release 1.8.1
Change the name from libpcap.so.1.3 to libpcap.so.1
Remove parts of patch 201 which moved code among src files.
Import patch 204 from Debian to update the USB path.

Signed-off-by: Paul Wassi &lt;p.wassi@gmx.at&gt;
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt; [fix parallel build bug]
</pre>
</div>
</content>
</entry>
<entry>
<title>libpcap: fix dependency of install-shared-so make target</title>
<updated>2016-07-21T15:57:17+00:00</updated>
<author>
<name>Matthias Schiffer</name>
<email>mschiffer@universe-factory.net</email>
</author>
<published>2016-07-21T15:45:26+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b82c8ddf8c15e91d6eecfd6d237606a4ce1f756f'/>
<id>b82c8ddf8c15e91d6eecfd6d237606a4ce1f756f</id>
<content type='text'>
There seems to be a situation in which a rebuild of libpcap.so is triggered
in the install step of the libpcap Makefile. libpcap.so is the wrong
target, leading to the build failure reported in [1].

Fix the dependency of install-shared-so to $(SHAREDLIB) so the build can
succeed in this case.

[1] https://dev.openwrt.org/ticket/19894

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There seems to be a situation in which a rebuild of libpcap.so is triggered
in the install step of the libpcap Makefile. libpcap.so is the wrong
target, leading to the build failure reported in [1].

Fix the dependency of install-shared-so to $(SHAREDLIB) so the build can
succeed in this case.

[1] https://dev.openwrt.org/ticket/19894

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libpcap: update to version 1.7.4</title>
<updated>2015-09-03T13:14:56+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2015-09-03T13:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=41a9f280c4db4bc866e28654f125cdb998b6e9ed'/>
<id>41a9f280c4db4bc866e28654f125cdb998b6e9ed</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 46776
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 46776
</pre>
</div>
</content>
</entry>
<entry>
<title>libpcap: update to current upstream version 1.5.3</title>
<updated>2014-02-05T09:54:34+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2014-02-05T09:54:34+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e600fc0d2342e5f0ad4a5858821ff4910ac8edcb'/>
<id>e600fc0d2342e5f0ad4a5858821ff4910ac8edcb</id>
<content type='text'>
-size_of(old libpcap-1.3.0) = 85228 Byte
-size_of(new libpcap-1.5.3) = 88587 Byte
=&gt; ~3.3 KByte increase

SVN-Revision: 39473
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
-size_of(old libpcap-1.3.0) = 85228 Byte
-size_of(new libpcap-1.5.3) = 88587 Byte
=&gt; ~3.3 KByte increase

SVN-Revision: 39473
</pre>
</div>
</content>
</entry>
<entry>
<title>libpcap: update to 1.3.0</title>
<updated>2013-04-01T21:07:34+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2013-04-01T21:07:34+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=5a13c607715592f0933498914df10ebb597c7eff'/>
<id>5a13c607715592f0933498914df10ebb597c7eff</id>
<content type='text'>
Disabled canusb by setting ac_cv_header_libusb_1_0_libusb_h to no in
Makefile.  Upstream configure script ignores --disable-canusb.

Signed-off-by: Russell Senior &lt;russell@personaltelco.net&gt;

SVN-Revision: 36150
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Disabled canusb by setting ac_cv_header_libusb_1_0_libusb_h to no in
Makefile.  Upstream configure script ignores --disable-canusb.

Signed-off-by: Russell Senior &lt;russell@personaltelco.net&gt;

SVN-Revision: 36150
</pre>
</div>
</content>
</entry>
<entry>
<title>move library packages to package/libs/</title>
<updated>2012-10-08T11:24:12+00:00</updated>
<author>
<name>Felix Fietkau</name>
<email>nbd@openwrt.org</email>
</author>
<published>2012-10-08T11:24:12+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=48db59fab785ce881e154d83115de86d284fce5d'/>
<id>48db59fab785ce881e154d83115de86d284fce5d</id>
<content type='text'>
SVN-Revision: 33657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 33657
</pre>
</div>
</content>
</entry>
</feed>
