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.
8 include $(TOPDIR)/rules.mk
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://www.rtfm.com/ssldump/
15 PKG_MD5SUM:=ac8c28fe87508d6bfb06344ec496b1dd
17 include $(INCLUDE_DIR)/package.mk
19 define Package/ssldump
22 DEPENDS:=+libopenssl +libpcap
23 TITLE:=a SSLv3/TLS network protocol analyzer
24 URL:=http://www.rtfm.com/ssldump/
27 define Package/ssldump/description
28 ssldump is an SSLv3/TLS network protocol analyzer. It identifies TCP connections on the chosen network interface
29 and attempts to interpret them as SSLv3/TLS traffic. When it identifies SSLv3/TLS traffic, it decodes the records
30 and displays them in a textual form to stdout. If provided with the appropriate keying material, it will also decrypt
31 the connections and display the application data traffic.
37 --with-openssl-inc="$(STAGING_DIR)/usr/include" \
38 --with-openssl-lib="$(STAGING_DIR)/usr/lib" \
39 --with-pcap-inc="$(STAGING_DIR)/usr/include" \
40 --with-pcap-lib="$(STAGING_DIR)/usr/lib" \
43 $(MAKE) -C $(PKG_BUILD_DIR) \
44 DESTDIR="$(PKG_INSTALL_DIR)" \
49 define Package/ssldump/install
50 $(INSTALL_DIR) $(1)/usr/sbin/
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/ssldump $(1)/usr/sbin/
54 $(eval $(call BuildPackage,ssldump))