Commit graph

15 commits

Author SHA1 Message Date
Guilherme Janczak
1d3ed8031d
pcapsipdump: fix linking against libobsd
This just makes it so libbsd is picked up through pkg-config. It adds
support for libobsd without breaking libbsd.

Signed-off-by: Guilherme Janczak <guilherme.janczak@yandex.com>
2022-11-04 17:22:58 +00:00
Sebastian Kemper
3cdc38c909 pcapsipdump: update to svn revision r157
Upstream implemented or updated IPv6 support.

This commit also updates the package title and fixes some
spelling/grammar in the package's description.

PKG_MIRRIR_HASH removed from Makefile as per suggestion in [1] (svn
checkouts aren't reproducible).

[1] https://openwrt.org/docs/guide-developer/packages

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-05-01 11:57:33 +02:00
Rosen Penev
13fd0a5ab9 treewide: remove uClibc++ support
This is in preparation for removing the whole thing from base.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-03-06 14:45:47 -08:00
Sebastian Kemper
af47baec2e pcapsipdump: fix missing libbsd depend
When libbsd is available in staging it will be picked up by pcapsipdump
during the compile. The binary will link to libbsd, causing an
additional dependency. Currently the builds on the bots are failing
because of this.

The only function pcapsipdump is using from libbsd is strlcpy(). This
function is also provided by uClibc as well as musl.

Attached patch adds a detection mechanism that checks whether libc
provides strlcpy(). This way the dependency on libbsd is only required if
building against a libc which doesn't package strlcpy(), like glibc.
DEPENDS are updated to reflect that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-09 19:44:17 +02:00
Sebastian Kemper
33d376d15e pcapsipdump: update to trunk snapshot
The last official release is quite old. But pcapsipdump's trunk has seen
a steady stream of fixes and improvements. This commit updates the
package to a current SVN snapshot.

MAKE_FLAGS is simplified. The deleted ARGS are provided by OpenWrt
buildroot, no need to specify them again. All that is needed is LIBS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-10-07 20:31:40 +02:00
Sebastian Kemper
3f238a5e98 pcapsipdump: compile fixes
Previous revert only works when libstdcpp is the default C++ lib. To
make the compile work in all scenarios LIBS needs to be defined and
MAKE_FLAGS are required instead of MAKE_VARS, otherwise the included
variables are overridden.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-08 15:56:54 +01:00
Sebastian Kemper
da85405911 pcapsipdump: revert uclibc++ commit
This reverts commit 6857bc21eb.

In hindsight I have to admit I did not correctly understand the
implications of the uclibc++.mk include.

The include allows a package to follow the user's choice regarding which
C++ library should be the standard. Linking against uClibc++ instead of
libstd++ is not a problem when running musl (which is what I had
incorrectly assumed), as both C++ libs are separate packages. And
uClibc++ is a lot smaller than libstd++, which is probably why it is
even the default C++ lib on OpenWrt currently.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-03-04 19:18:35 +01:00
Sebastian Kemper
fb78b0b536 net/pcapsipdump: Simplify Makefile
Use the default Build/Compile. Use MAKE_VARS to set up the variables
that are used by pcapsipdump's Makefile.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:16:34 +01:00
Sebastian Kemper
6857bc21eb net/pcapsipdump: Remove uclibc++.mk include
The include injects a lib depend on libuClibc++.so.0 into the package,
even on musl. Remove it and replace the depend with libstcpp instead.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-02-18 10:14:16 +01:00
Sebastian Kemper
8be8831d34 telephony: use PKG_HASH instead of PKG_MD5SUM
Use sha256 instead of md5 for download verification.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-10-08 10:31:59 +02:00
Florian Fainelli
7f8a7435d5 pcapsipdump: Pass down TARGET_CPPFLAGS and TARGET_LDFLAGS
Make sure that we properly pass down both TARGET_CPPFLAGS and
TARGET_LDFLAGS in order to fix build failures with external toolchains
that don't automatically search for headers and libraries in
$(STAGING_DIR).

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-04-18 18:05:02 -07:00
Jiri Slachta
88aeeaa3a2 Update a few of the PKG_LICENSE tags to be more accurate
Signed-off-by: Eric Schultz <eschultz@prplfoundation.org>
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-11-05 21:54:40 +01:00
Jiri Slachta
a5b4c7d1f9 Add PKG_LICENSE variable to the most of the packages.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2014-11-04 16:00:37 +01:00
Jiri Slachta
7fa091fbb8 pcapsipdump: version bump to 0.2
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-08-25 21:49:54 +02:00
Jiri Slachta
100f27f3bb Directory structure restructuralized.
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
2013-06-21 13:55:47 +02:00