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.

40 lines
971 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ptunnel-ng
  3. PKG_VERSION:=1.40
  4. PKG_RELEASE:=1
  5. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://codeload.github.com/lnslbrty/ptunnel-ng/tar.gz/v$(PKG_VERSION)?
  7. PKG_HASH:=ad2f2032a79ad41e871c00d28c94670c10ed74920de54d977fe0a33a65fcac76
  8. PKG_LICENSE:=BSD-3
  9. PKG_LICENSE_FILES:=COPYING
  10. PKG_FIXUP:=autoreconf
  11. PKG_INSTALL:=1
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/ptunnel-ng
  14. SECTION:=net
  15. CATEGORY:=Network
  16. DEPENDS:=+libpthread
  17. TITLE:=PingTunnel [N]ew[G]eneration
  18. MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
  19. URL:=https://github.com/lnslbrty/ptunnel-ng
  20. endef
  21. define Package/ptunnel-ng/description
  22. Tunnel TCP connections through ICMP.
  23. endef
  24. CONFIGURE_ARGS += \
  25. --disable-pcap \
  26. --disable-selinux
  27. define Package/ptunnel-ng/install
  28. $(INSTALL_DIR) $(1)/usr/sbin
  29. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/sbin/$(PKG_NAME)
  30. endef
  31. $(eval $(call BuildPackage,ptunnel-ng))