aboutsummaryrefslogtreecommitdiff
path: root/package/libpcap/libpcap.mk
Commit message (Collapse)AuthorAgeFilesLines
* package/libpcap: fix bluez5_utils-headers dependencyGravatar Fabrice Fontaine2019-03-191-1/+1
| | | | | | | | | | | | | | | | | Commit c46afc37dc877f1e94ffde0d77585290711b27ec changed bluez5-utils dependency by bluez5_utils-headers without replacing the test on BR2_PACKAGE_BLUEZ5_UTILS by BR2_PACKAGE_BLUEZ5_UTILS_HEADERS Fix this mistake and also add a select on BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS is set so the user does not have to do it Fixes: - http://autobuild.buildroot.org/results/c6828df1f3782564451ddd4187ff026679bf37d8 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libpcap: fix bluez circular dependencyGravatar Baruch Siach2019-03-181-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The optional bluez_utils dependency of libpcap creates a circular dependency: $ make dbus-show-recursive-depends Recursion detected for : systemd which is a dependency of: dbus which is a dependency of: bluez_utils which is a dependency of: libpcap which is a dependency of: iptables which is a dependency of: systemd make: *** [package/dbus/dbus.mk:121: dbus-show-recursive-depends] Error 1 Drop support for bluez_utils. For bluez5_utils, which also depends on dbus, we only need the headers in the bluez5_utils-headers package. Use that to break the circular dependency. Fixes: http://autobuild.buildroot.net/results/9c3/9c3ee798fa6bb501a20a7892c0b085d2b279b664/ Suggested-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libpcap: disable dbus to break circular dependencyGravatar Baruch Siach2019-03-141-7/+2
| | | | | | | | | | | | | | | | | | | | | | | The optional dbus dependency of libpcap creates a circular dependency chain: $ make libpcap-show-recursive-depends Recursion detected for : systemd which is a dependency of: dbus which is a dependency of: libpcap which is a dependency of: iptables which is a dependency of: systemd make: *** [package/libpcap/libpcap.mk:55: libpcap-show-recursive-depends] Error 1 Of all these dependencies the one of libpcap on dbus seems to be less useful. Drop it. Fixes: http://autobuild.buildroot.net/results/0b5d18bff816cbcee11e8645449701722d956de5/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libpcap: bump to version 1.9.0Gravatar Fabrice Fontaine2019-02-041-2/+2
| | | | | | | | | | | - Disable Endace DAG card support as libdag is not available in buildroot - Add upstream patch to fix build on musl Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Titouan Christophe <titouan.christophe@railnova.eu> Tested-by: Yann E . MORIN <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libpcap: add support for bluez5_utilsGravatar Fabrice Fontaine2019-02-021-1/+2
| | | | | | | | | bluez5_utils support has been added since version 1.8.0 and https://github.com/the-tcpdump-group/libpcap/commit/b3776f3d50df9de9fcf702bd21a3ecb2539ffef4 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libpcap: remove unrecognized canusb optionGravatar Fabrice Fontaine2019-02-021-7/+0
| | | | | | | | | canusb has been removed since version 1.8.1 and https://github.com/the-tcpdump-group/libpcap/commit/93ca5ff7030aaf1219e1de05ec89a68384bfc50b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* boot, package: use SPDX short identifier for BSD-3cGravatar Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: sparc needs -fPIC as sparc64/microblazeGravatar Waldemar Brodkorb2017-02-261-2/+2
| | | | | | | | | | Fixes nmap build for sparc. Fixes: http://autobuild.buildroot.net/results/8e476939f1daaa20c316dbd0508fa343034f2397 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: bump to version 1.8.1Gravatar Baruch Siach2016-10-261-4/+1
| | | | | | | | | | Drop upstream patch. Also remove ac_cv_linux_vers caching since this check was remove in upstream commit f3e011b18c55ae. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: drop libnl headers patchGravatar Baruch Siach2016-10-261-0/+1
| | | | | | | | | | We can avoid host headers using a --with-libnl parameter to override the default host headers path. The configure script adds /include suffix to the include path. So we still need to manually add -I with the correct path to CFLAGS because libnl headers are under the libnl3/ directory. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: fix sparc64 build, -fPIC requiredGravatar Waldemar Brodkorb2015-11-031-2/+2
| | | | | | | | | | | | Should fix following autobuilder issues: http://autobuild.buildroot.net/results/e79353496aa91848c76f15c561efdd84476c20ac/ http://autobuild.buildroot.net/results/a859ecb153838837e9a73b47ed7e1105d6be55ac/ http://autobuild.buildroot.net/results/f2ce1899a1144bec23fb25f4ce36dc78d768f8a8/ [Thomas: s/needs/need/ as suggested by Baruch.] Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: bump to version 1.7.4Gravatar Baruch Siach2015-07-131-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: bump to version 1.7.3Gravatar Baruch Siach2015-06-011-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libpcap: bump to version 1.7.2Gravatar Gustavo Zacarias2015-03-111-1/+1
| | | | | | | | Drop upstream patch (uclinux), adapt libnl patch to new version. And add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: indentation cleanupGravatar Jerzy Grzegorek2014-12-301-3/+4
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libpcap: omit -rpath from pcap-configGravatar Baruch Siach2014-10-311-0/+6
| | | | | | | | | | For target processes the libraries are always in their usual location under /lib and /usr/lib. It doesn't make sense to add RPATH tag pointing to host build directory to programs using libpcap. This commit changes V_RPATH_OPT in pcap-config to remove -rpath from its output. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSGravatar Thomas De Schampheleire2014-10-041-7/+7
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: bump to version 1.6.2Gravatar Gustavo Zacarias2014-09-051-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libpcap: handle bluetooth explicitlyGravatar Gustavo Zacarias2014-08-041-0/+7
| | | | | | | | | | If bluez_utils is around then add it to dependencies so as to use it, but if it's not (for instance bluez5_utils is around) then disable it since the bluez5 API isn't compatible. Fixes: http://autobuild.buildroot.net/results/6ca/6caeb7f41ac5e14dbee49f87511af3351f6013f1/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: bump to version 1.6.1Gravatar Baruch Siach2014-07-231-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: make dbus support deterministicGravatar Gustavo Zacarias2014-06-181-0/+7
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libpcap: bump to version 1.5.3Gravatar Gustavo Zacarias2014-03-111-1/+1
| | | | | | | | TPACKET_V3 support issues fixed in 1.5.2/1.5.3 so the patch is no longer necessary. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libpcap: bump to version 1.5.1Gravatar Gustavo Zacarias2013-11-281-1/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libpcap: fix build failure related to libnl3Gravatar Thomas Petazzoni2013-06-091-4/+15
| | | | | | | | | | | | | | | | | | | | When libpcap detects that libnl3 is available, it hardcodes the fact of using -I/usr/include/libnl3, which is completely wrong in cross-compilation. This commit fixes that, by removing this hardcoded include path, and by passing an appropriate -I option from libpcap.mk. The original issue has been reported upstream at https://github.com/the-tcpdump-group/libpcap/issues/305. Fixes: http://autobuild.buildroot.net/results/b65/b6585bf2985a188e797e5a6b71a35c461421e3b4/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: bump to version 1.4.0Gravatar Gustavo Zacarias2013-06-081-13/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: add missing flex/bison dependenciesGravatar Thomas Petazzoni2013-03-241-1/+1
| | | | | | | | In preparation for the removal of the flex/bison mandatory dependencies, make sure libpcap builds host-flex/host-bison. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: rename <pkg>_CONFIG_FIXUP to <pkg>_CONFIG_SCRIPTSGravatar Thomas Petazzoni2013-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | This commit renames the newly introduced <pkg>_CONFIG_FIXUP variable to <pkg>_CONFIG_SCRIPTS, for two reasons: * <pkg>_CONFIG_SCRIPTS will not only "fixup" the scripts in $(STAGING_DIR)/usr/bin, but also remove them from $(TARGET_DIR)/usr/bin. So it is not only about doing a "fixup". * On the principle, it is strange that the variable carries an indication of the action that will take place on those files. It should rather be named to say "Here are the <foo>-config scripts", and let the package infrastructure decide if it should fix them up, remove them, etc. This commit also updates the documentation accordingly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Samuel Martin" <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: fixup pcap-configGravatar Baruch Siach2013-02-041-0/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: fix canusb related build issueGravatar Peter Korsgaard2012-12-061-2/+8
| | | | | | | | | Fixes http://autobuild.buildroot.net/results/1b57e479a643df11ea3b20f848085af4ef40799b The libusb auto detection oddly enough succeeds, even though libusb isn't available. Fix it by explicitly enabling/disabling canusb support. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: fix static buildGravatar Thomas Petazzoni2012-11-281-5/+10
| | | | | | | | | | | | | | | | | | | The libpcap package contained some interesting attempts to support a static-only build, but it was not working: http://autobuild.buildroot.org/results/01038d3b970092d894d2bae80679247e65722785/build-end.log In fact the configure.in of libpcap has provision to support --enable-shared/--disable-shared, but the generated configure script in the libpcap package has not been regenerated with the configure.in changes. So basically, enabling LIBPCAP_AUTORECONF=YES ensures that the configure script gets generated, which brings us a working --enable-shared / --disable-shared. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: fix build on microblazeGravatar Peter Korsgaard2012-09-051-0/+5
| | | | | | | On microblaze, libpcap needs to be built with -fPIC rather than -fpic as reported by mrueg on IRC. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: add license infoGravatar Danomi Manchego2012-08-151-0/+3
| | | | | Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: canusb support needs pthreadsGravatar Gustavo Zacarias2012-06-261-1/+2
| | | | | | | | | | | | canusb support in libpcap uses pthreads but the configure script doesn't account for -lpthread usage so it doesn't get added into LIBS which in turn doesn't add the appropiate entry in pcap-config, causing build failures for programs that link to libpcap that don't use pthreads themselves (for example tcpdump). Also add the conditional dependency on BR2_PACKAGE_LIBUSB for canusb. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: bump to version 1.3.0Gravatar Baruch Siach2012-06-251-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: bump to version 1.2.1Gravatar Gustavo Zacarias2012-01-261-8/+7
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* tcpdump, libpcap: simplify and fix ac_cv_linux_versGravatar Thomas Petazzoni2011-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | For some reason, tcpdump and libpcap need to have some information about the kernel version being used. This information is passed using the ac_cv_linux_vers autoconf variable. However, the current value is determined using BR2_DEFAULT_KERNEL_HEADERS which is only defined when an internal Buildroot toolchain is used. So it would break with an external toolchain or the Crosstool-NG backend. According to Mike Frysinger at http://lists.busybox.net/pipermail/buildroot/2011-January/040861.html, this value is only used to determine if the kernel version is 0.x, 1.x or 2.x, so passing ac_cv_linux_vers=2 is sufficient since Buildroot only supports the 2.6 kernel anyway. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: bump to 1.1.1Gravatar Lionel Landwerlin2010-11-051-1/+1
| | | | | | | This new release avoids problems when running autoreconf. Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: remove useless strippingGravatar Thomas Petazzoni2010-09-121-7/+0
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libpcap: fix wireless handlingGravatar Peter Korsgaard2009-12-091-1/+2
| | | | | | | | | | | | | | | | Based on ba23aa7b in libpcap upstream. linux/wireless.h includes linux/if.h, which conflicts with net/if.h as they both define if* structures. Fix build by simply using linux/if.h instead of net/if.h. The same fix should be done for the configure script, but cheat by presetting it instead. This fix in turn fixes kismet build with BR2_CONFIG_CACHE enabled, as that uses the same ac_cv_linux_wireless_h cache value. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap: always make install for the staging dirGravatar Chris Packham2009-12-061-2/+2
| | | | | | | | | So that the headers get installed in the staging directory for other packages that need to use them. [Peter: tweaked whitespace changes] Signed-off-by: Chris Packham <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libpcap, tcpdump: bump version and autotoolifyGravatar Bernhard Reutner-Fischer2009-10-271-75/+17
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Gravatar Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Gravatar Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/: convert to DOWNLOAD helperGravatar Peter Korsgaard2009-01-161-1/+1
|
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-1/+1
|
* Remove .rej file included in the upstream tarball before patchingGravatar Hamish Moffatt2008-11-101-0/+1
|
* libpcap: bump to version 0.9.8Gravatar Hans-Christian Egtvedt2008-10-071-1/+1
| | | | | | | | This patch bumps the version to 0.9.8 and refreshes the patch against that version. Fixes bug #5284. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>