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.

46 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=dnstap
  9. PKG_VERSION:=0.2.2
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=golang-dnstap-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://github.com/dnstap/golang-dnstap/archive/v$(PKG_VERSION)/
  13. PKG_HASH:=c7eb42f1f0ca7247b22b774dd78d9874b9db776fa9072f92a5f3a945000b7a60
  14. PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec@nic.cz>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_LICENSE_FILES:=LICENSE
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/golang-dnstap-$(PKG_VERSION)
  18. PKG_BUILD_DEPENDS:=golang/host
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_USE_MIPS16:=0
  21. GO_PKG:=github.com/dnstap/golang-dnstap
  22. include $(INCLUDE_DIR)/package.mk
  23. include ../../lang/golang/golang-package.mk
  24. define Package/dnstap
  25. SECTION:=net
  26. CATEGORY:=Network
  27. TITLE:=dnstap command-line tool
  28. URL:=https://dnstap.info
  29. DEPENDS:=$(GO_ARCH_DEPENDS)
  30. endef
  31. define Package/dnstap/description
  32. The dnstap command-line tool can read, write, and decode
  33. dnstap data from a running name server or a previously-saved file.
  34. endef
  35. $(eval $(call GoBinPackage,dnstap))
  36. $(eval $(call BuildPackage,dnstap))