parent
4dec0ddaab
commit
834e74f9c6
|
@ -0,0 +1,8 @@
|
|||
[submodule "net/sslsplit/sslsplit"]
|
||||
path = net/sslsplit/sslsplit
|
||||
url = git@github.com:droe/sslsplit.git
|
||||
branch = develop
|
||||
[submodule "net/sslsplit/src"]
|
||||
path = net/sslsplit/src
|
||||
url = git@github.com:droe/sslsplit.git
|
||||
branch = develop
|
|
@ -0,0 +1,53 @@
|
|||
#
|
||||
# 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-tls13
|
||||
PKG_RELEASE:=1
|
||||
PKG_LICENSE:=BSD-2-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE LICENSE.contrib LICENSE.third
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
# Thanks to Adde88 (github.com/adde88)
|
||||
PKG_MAINTAINER:=Andreas Nilsen <adde88@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 Build/Prepare
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
$(CP) -rf ./src/* $(PKG_BUILD_DIR)/
|
||||
endef
|
||||
|
||||
define Package/sslsplit/install
|
||||
$(INSTALL_DIR) $(1)/bin
|
||||
$(INSTALL_DIR) $(1)/etc/sslsplit
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/local/bin/sslsplit $(1)/bin/
|
||||
$(INSTALL_CONF) $(PKG_INSTALL_DIR)/usr/local/etc/sslsplit/sslsplit.conf.sample $(1)/etc/sslsplit/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,sslsplit))
|
|
@ -0,0 +1 @@
|
|||
Subproject commit dcce1abea1eea3d74d3c8cae3f426c9373f6189e
|
Loading…
Reference in New Issue