You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ratched
  3. PKG_VERSION:=1.0.0
  4. PKG_RELEASE:=1
  5. PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
  6. PKG_LICENSE:=GPL-3.0-only
  7. PKG_SOURCE_URL:=https://github.com/johndoe31415/ratched.git
  8. PKG_SOURCE_VERSION:=091d000ba91c5ebc41148cb9b511a4b527c1ea44
  9. PKG_SOURCE_PROTO:=git
  10. PKG_MIRROR_HASH:=67c8ff1a54af34181d8467803e18c709d06fd20929b6fdbba68700af88de71aa
  11. include $(INCLUDE_DIR)/package.mk
  12. MAKE_FLAGS+=CFLAGS='$(TARGET_CFLAGS) -DBUILD_TIMESTAMP_UTC="\"unknown\"" -DBUILD_REVISION="\"$(PKG_VERSION)-$(PKG_RELEASE)\""'
  13. MAKE_FLAGS+=LDFLAGS='$(TARGET_LDFLAGS) -lssl -lcrypto $(if $(CONFIG_USE_GLIBC),-lpthread)'
  14. define Package/ratched
  15. SECTION:=net
  16. CATEGORY:=Network
  17. TITLE:=ratched
  18. URL:=https://github.com/johndoe31415/ratched
  19. DEPENDS:=+libopenssl +libpthread
  20. endef
  21. define Package/ratched/description
  22. Ratched is a transparent Man-in-the-Middle TLS proxy intended for penetration testing.
  23. endef
  24. define Package/ratched/install
  25. $(INSTALL_DIR) $(1)/usr/bin
  26. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ratched $(1)/usr/bin/ratched
  27. endef
  28. $(eval $(call BuildPackage,ratched))