2 # Copyright (C) 2008 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.rtfm.com
/ssldump
/
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/ssldump
23 DEPENDS
:=+libopenssl
+libpcap
24 TITLE
:=a SSLv3
/TLS network protocol analyzer
25 URL
:=http
://www.rtfm.com
/ssldump
/
28 define Package
/ssldump
/description
29 ssldump is an SSLv3
/TLS network protocol analyzer. It identifies TCP connections on the chosen network interface
30 and attempts to interpret them
as SSLv3
/TLS traffic. When it identifies SSLv3
/TLS traffic
, it decodes the records
31 and displays them in a textual form to stdout. If provided with the appropriate keying material
, it will also decrypt
32 the connections and display the application data traffic.
38 --with-openssl-inc
="$(STAGING_DIR)/usr/include" \
39 --with-openssl-lib
="$(STAGING_DIR)/usr/lib" \
40 --with-pcap-inc
="$(STAGING_DIR)/usr/include" \
41 --with-pcap-lib
="$(STAGING_DIR)/usr/lib" \
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
45 DESTDIR
="$(PKG_INSTALL_DIR)" \
50 define Package
/ssldump
/install
51 $(INSTALL_DIR
) $(1)/usr
/sbin
/
52 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/ssldump
$(1)/usr
/sbin
/
55 $(eval
$(call BuildPackage
,ssldump
))