mirror of
https://github.com/hak5/nano-tetra-packages-community.git
synced 2025-10-29 16:59:28 +00:00
Packages: Add sslsplit package
This commit is contained in:
parent
791ddf0d88
commit
6a6aeae4a9
47
network/sslsplit/Makefile
Normal file
47
network/sslsplit/Makefile
Normal file
@ -0,0 +1,47 @@
|
||||
#
|
||||
# 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.4
|
||||
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.4
|
||||
|
||||
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 +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))
|
||||
12
network/sslsplit/patches/GNUmakefile.patch
Normal file
12
network/sslsplit/patches/GNUmakefile.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -r -u sslsplit/GNUmakefile sslsplit_new/GNUmakefile
|
||||
--- sslsplit/GNUmakefile 2018-06-15 16:31:26.206724177 +0500
|
||||
+++ sslsplit_new/GNUmakefile 2018-06-15 17:13:47.900160437 +0500
|
||||
@@ -304,6 +304,8 @@
|
||||
TPKG_LDFLAGS+= -L$(CHECK_FOUND)/lib
|
||||
TPKG_LIBS+= -lcheck
|
||||
endif
|
||||
+# Additional flags for compilation with musl-fts
|
||||
+PKG_LIBS+= -lfts
|
||||
|
||||
ifneq (,$(strip $(PKGS)))
|
||||
PKG_CFLAGS+= $(shell $(PKGCONFIG) $(PCFLAGS) --cflags-only-other $(PKGS))
|
||||
Loading…
x
Reference in New Issue
Block a user