2014-03-27 07:06:33 +00:00
|
|
|
#
|
2008-12-14 17:10:36 +00:00
|
|
|
# Copyright (C) 2008 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=ssldump
|
|
|
|
PKG_VERSION:=0.9b3
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.rtfm.com/ssldump/
|
2010-02-19 01:20:44 +00:00
|
|
|
PKG_MD5SUM:=ac8c28fe87508d6bfb06344ec496b1dd
|
2008-12-14 17:10:36 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/ssldump
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
DEPENDS:=+libopenssl +libpcap
|
|
|
|
TITLE:=a SSLv3/TLS network protocol analyzer
|
|
|
|
URL:=http://www.rtfm.com/ssldump/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/ssldump/description
|
|
|
|
ssldump is an SSLv3/TLS network protocol analyzer. It identifies TCP connections on the chosen network interface
|
|
|
|
and attempts to interpret them as SSLv3/TLS traffic. When it identifies SSLv3/TLS traffic, it decodes the records
|
|
|
|
and displays them in a textual form to stdout. If provided with the appropriate keying material, it will also decrypt
|
2014-03-27 07:06:33 +00:00
|
|
|
the connections and display the application data traffic.
|
2008-12-14 17:10:36 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
|
|
|
--enable-static \
|
|
|
|
--enable-shared \
|
|
|
|
--with-openssl-inc="$(STAGING_DIR)/usr/include" \
|
|
|
|
--with-openssl-lib="$(STAGING_DIR)/usr/lib" \
|
|
|
|
--with-pcap-inc="$(STAGING_DIR)/usr/include" \
|
|
|
|
--with-pcap-lib="$(STAGING_DIR)/usr/lib" \
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
|
|
|
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
|
|
all
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/ssldump/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin/
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ssldump $(1)/usr/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,ssldump))
|