48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2016-2018 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=sslsplit
|
|
PKG_VERSION:=0.5.5
|
|
PKG_RELEASE:=1
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
PKG_LICENSE_FILES:=LICENSE LICENSE.contrib LICENSE.third
|
|
|
|
PKG_SOURCE:=sslsplit.tar.gz
|
|
PKG_SOURCE_URL:=https://github.com/droe/sslsplit.git
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=0.5.5
|
|
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_MAINTAINER:=Awais Chishti <chishtiawais511@gmail.com>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/sslsplit
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
DEPENDS:=+libevent2 +libopenssl +libevent2-openssl +libevent2-pthreads +libnet-1.2.x +libpcap +USE_MUSL:musl-fts
|
|
TITLE:=Transparent SSL/TLS interception
|
|
URL:=https://www.roe.ch/SSLsplit
|
|
endef
|
|
|
|
define Package/sslsplit/description
|
|
Transparent SSL/TLS interception
|
|
endef
|
|
|
|
MAKE_FLAGS += prefix=/usr \
|
|
OSNAME=Linux
|
|
|
|
define Package/sslsplit/install
|
|
$(INSTALL_DIR) $(1)/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/sslsplit $(1)/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,sslsplit))
|