2 # Copyright (C) 2009-2018 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE_URL
:=https
://svn.code.sf.net
/p
/pcapsipdump
/code
/trunk
14 PKG_MIRROR_HASH
:=563050f47c7962de377cab17478a86d3ea6726a331a7c77be62cb3f5488e519a
15 PKG_SOURCE_VERSION
:=157
16 PKG_SOURCE_DATE
=2020-03-03
20 PKG_LICENSE_FILES
:=LICENSE
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/pcapsipdump
28 DEPENDS
:=+libstdcpp
+USE_GLIBC
:libbsd
+libpcap
29 TITLE
:=SIP Sessions Dumping Tool
30 URL
:=http
://sourceforge.net
/projects
/pcapsipdump
/
33 define Package
/pcapsipdump
/description
34 pcapsipdump is a tool for dumping SIP sessions
(plus RTP traffic
, if
35 available
) to disk in a fashion similar to
"tcpdump -w" (format is
36 exactly the same
), but one file per SIP session
(even if there are
37 thousands of concurrent SIP sessions
).
40 MAKE_FLAGS
+=LIBS
="-lpcap"
42 define Package
/pcapsipdump
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/pcapsipdump
$(1)/usr
/bin
/
47 $(eval
$(call BuildPackage
,pcapsipdump
))