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.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
16 PKG_SOURCE_URL
:=http
://www.thoughtcrime.org
/software
/sslsniff
17 PKG_MD5SUM
:=24653e2c4f1ca94328520667eb756369
19 include $(INCLUDE_DIR
)/package.mk
21 define Package
/sslsniff
24 TITLE
:=SSL man-in-the-middle attack
25 URL
:=http
://www.thoughtcrime.org
/software
/sslsniff
/index.html
29 define Package
/sslsniff
/description
30 sslsniff is designed to MITM
all SSL connections on a LAN
,
31 and dynamically generates certs for the domains that are
32 being accessed on the fly. The new certificates are constructed
33 in a certificate chain that is signed by any certificate that
37 # Take this opportunity to remove the pre-packaged x86 binary
39 $(call Build
/Prepare
/Default
)
40 $(RM
) $(PKG_BUILD_DIR
)/sslsniff
43 MAKE_FLAGS
+= CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)"
45 define Package
/sslsniff
/install
46 $(INSTALL_DIR
) $(1)/usr
/bin
47 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sslsniff
$(1)/usr
/bin
/
50 $(eval
$(call BuildPackage
,sslsniff
))