Packages: Update sslstrip makefile

foxtrot
Foxtrot 2019-08-20 19:00:31 +01:00
parent fa267a48fe
commit 47ad6363be
1 changed files with 12 additions and 15 deletions

View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=sslstrip PKG_NAME:=sslstrip
PKG_VERSION:=0.7 PKG_VERSION:=0.9
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.thoughtcrime.org/software/sslstrip PKG_SOURCE_URL:=http://www.moxie.org/software/sslstrip
PKG_MD5SUM:=7fedb46e682c2d8ef3fbc52da5e002da PKG_MD5SUM:=944020144e4f5528888b3dfbb107dd78
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
$(call include_mk, python-package.mk) $(call include_mk, python-package.mk)
@ -22,8 +22,8 @@ define Package/sslstrip
SECTION:=net SECTION:=net
CATEGORY:=Network CATEGORY:=Network
TITLE:=sslstrip TITLE:=sslstrip
URL:=http://www.thoughtcrime.org/software/sslstrip/index.html URL:=http://www.moxie.org/software/sslstrip/index.html
DEPENDS:=+python +twisted +twisted-web +pyopenssl DEPENDS:=+python +python-twisted +python-openssl
endef endef
define Package/sslstrip/description define Package/sslstrip/description
@ -40,17 +40,14 @@ endef
define Package/sslstrip/install define Package/sslstrip/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin
$(CP) \ $(CP) $(PKG_BUILD_DIR)/sslstrip.py $(1)/usr/bin
$(PKG_INSTALL_DIR)/usr/bin/sslstrip \
$(1)/usr/bin # $(INSTALL_DIR) $(1)/usr/share/sslstrip
$(INSTALL_DIR) $(1)/usr/share/sslstrip # $(CP) $(PKG_INSTALL_DIR)/usr/share/sslstrip/* $(1)/usr/share/sslstrip
$(CP) \
$(PKG_INSTALL_DIR)/usr/share/sslstrip/* \
$(1)/usr/share/sslstrip
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR) $(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \ $(CP) $(PKG_BUILD_DIR)/sslstrip/* $(1)$(PYTHON_PKG_DIR)
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
$(1)$(PYTHON_PKG_DIR)
endef endef
$(eval $(call BuildPackage,sslstrip)) $(eval $(call BuildPackage,sslstrip))