2 # Copyright (C) 2006-2010 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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.thoughtcrime.org
/software
/sslstrip
16 PKG_MD5SUM
:=7fedb46e682c2d8ef3fbc52da5e002da
18 include $(INCLUDE_DIR
)/package.mk
19 $(call include_mk
, python-package.mk
)
21 define Package
/sslstrip
25 URL
:=http
://www.thoughtcrime.org
/software
/sslstrip
/index.html
26 DEPENDS
:=+python
+twisted
+twisted-web
+pyopenssl
29 define Package
/sslstrip
/description
30 sslstrip will transparently hijack HTTP traffic on a network
,
31 watch for HTTPS links and redirects
, then map those links
32 into either look-alike HTTP links or homograph-similar HTTPS
33 links. It also supports modes for supplying a favicon which
34 looks like a lock icon
, selective logging
, and session denial.
38 $(call Build
/Compile
/PyMod
,,install --prefix="$(PKG_INSTALL_DIR)/usr")
41 define Package
/sslstrip
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(PKG_INSTALL_DIR
)/usr
/bin
/sslstrip \
46 $(INSTALL_DIR
) $(1)/usr
/share
/sslstrip
48 $(PKG_INSTALL_DIR
)/usr
/share
/sslstrip
/* \
49 $(1)/usr
/share
/sslstrip
50 $(INSTALL_DIR
) $(1)$(PYTHON_PKG_DIR
)
52 $(PKG_INSTALL_DIR
)$(PYTHON_PKG_DIR
)/* \
56 $(eval
$(call BuildPackage
,sslstrip
))