2 # Copyright (C) 2009 David Cooper <dave@kupesoft.com>
3 # Copyright (C) 2009 OpenWrt.org
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
10 include $(TOPDIR
)/rules.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
17 PKG_SOURCE_URL
:=http
://www.thoughtcrime.org
/software
/sslsniff
18 PKG_MD5SUM
:=24653e2c4f1ca94328520667eb756369
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/sslsniff
25 TITLE
:=SSL man-in-the-middle attack
26 URL
:=http
://www.thoughtcrime.org
/software
/sslsniff
/index.html
30 define Package
/sslsniff
/description
31 sslsniff is designed to MITM
all SSL connections on a LAN
,
32 and dynamically generates certs for the domains that are
33 being accessed on the fly. The new certificates are constructed
34 in a certificate chain that is signed by any certificate that
38 # Take this opportunity to remove the pre-packaged x86 binary
40 $(call Build
/Prepare
/Default
)
41 $(RM
) $(PKG_BUILD_DIR
)/sslsniff
44 MAKE_FLAGS
+= CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)"
46 define Package
/sslsniff
/install
47 $(INSTALL_DIR
) $(1)/usr
/bin
48 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sslsniff
$(1)/usr
/bin
/
51 $(eval
$(call BuildPackage
,sslsniff
))