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_SOURCE_VERSION
:=151
15 PKG_SOURCE_DATE
=2019-10-07
17 PKG_MIRROR_HASH
:=a029b29946f0492220fc9c60ef3e7f0a7a0c660f0047957eab6802ae6b9f9ed4
20 PKG_LICENSE_FILES
:=LICENSE
22 include $(INCLUDE_DIR
)/uclibc
++.mk
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/pcapsipdump
29 DEPENDS
:=+libpcap
$(CXX_DEPENDS
)
30 TITLE
:=SIP sessions dumping tool
31 URL
:=http
://sourceforge.net
/projects
/pcapsipdump
/
34 define Package
/pcapsipdump
/description
35 pcapsipdump is a tool for dumping SIP sessions
(+RTP traffic
, if available
) to disk in a
36 fashion similar to
"tcpdump -w" (format is exactly the same
), but one file per sip session
37 (even if there is thousands of concurrect 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
))