unfs3 is not parallel build safe
[openwrt/svn-archive/archive.git] / net / sslsniff / Makefile
1 #
2 # Copyright (C) 2009 David Cooper <dave@kupesoft.com>
3 # Copyright (C) 2009 OpenWrt.org
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=sslsniff
12 PKG_VERSION:=0.5
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=http://www.thoughtcrime.org/software/sslsniff
17 PKG_MD5SUM:=24653e2c4f1ca94328520667eb756369
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/sslsniff
22 SECTION:=net
23 CATEGORY:=Network
24 TITLE:=SSL man-in-the-middle attack
25 URL:=http://www.thoughtcrime.org/software/sslsniff/index.html
26 DEPENDS:=+libopenssl
27 endef
28
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
34 you provide.
35 endef
36
37 # Take this opportunity to remove the pre-packaged x86 binary
38 define Build/Prepare
39 $(call Build/Prepare/Default)
40 $(RM) $(PKG_BUILD_DIR)/sslsniff
41 endef
42
43 MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) $(TARGET_LDFLAGS)"
44
45 define Package/sslsniff/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sslsniff $(1)/usr/bin/
48 endef
49
50 $(eval $(call BuildPackage,sslsniff))
51