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.

41 lines
1001 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ptunnel-ng
  3. PKG_VERSION:=1.42
  4. PKG_RELEASE:=2
  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:=5ee6b101e4e252ea98e3337da6542d73b7f33de49a89014276cc98a70142ab10
  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. --with-rngdev=/dev/urandom
  28. define Package/ptunnel-ng/install
  29. $(INSTALL_DIR) $(1)/usr/sbin
  30. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/sbin/$(PKG_NAME)
  31. endef
  32. $(eval $(call BuildPackage,ptunnel-ng))