mirror of
https://git.openwrt.org/feed/packages.git
synced 2024-06-26 17:47:55 +02:00
272f55e87f
With the recent move to using ZSTD as the default compression format for packaging git repo clones we must refresh all of the hashes for the packages feed as well. Signed-off-by: Robert Marko <robimarko@gmail.com>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ratched
|
|
PKG_VERSION:=1.0.0
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
|
|
PKG_LICENSE:=GPL-3.0-only
|
|
|
|
PKG_SOURCE_URL:=https://github.com/johndoe31415/ratched.git
|
|
PKG_SOURCE_VERSION:=091d000ba91c5ebc41148cb9b511a4b527c1ea44
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_MIRROR_HASH:=079c4e8a5c7b58409c4cee9ba29a0da3d71a72a6693e04835a4973893be05a73
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
MAKE_FLAGS+=CFLAGS='$(TARGET_CFLAGS) -DBUILD_TIMESTAMP_UTC="\"unknown\"" -DBUILD_REVISION="\"$(PKG_VERSION)-$(PKG_RELEASE)\""'
|
|
MAKE_FLAGS+=LDFLAGS='$(TARGET_LDFLAGS) -lssl -lcrypto $(if $(CONFIG_USE_GLIBC),-lpthread)'
|
|
|
|
define Package/ratched
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=ratched
|
|
URL:=https://github.com/johndoe31415/ratched
|
|
DEPENDS:=+libopenssl +libpthread
|
|
endef
|
|
|
|
define Package/ratched/description
|
|
Ratched is a transparent Man-in-the-Middle TLS proxy intended for penetration testing.
|
|
endef
|
|
|
|
define Package/ratched/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ratched $(1)/usr/bin/ratched
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ratched))
|