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.

50 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2016-2017 Mauro Mozzarelli
  3. #
  4. # This is free software, licensed under the GNU General Public License
  5. # See /LICENSE for more information.
  6. #
  7. # AUTHOR: Mauro Mozzarelli <mauro@ezplanet.org>
  8. #
  9. include $(TOPDIR)/rules.mk
  10. PKG_NAME:=ipvsadm
  11. PKG_VERSION:=1.30
  12. PKG_MAINTAINER:=Mauro Mozzarelli <mauro@ezplanet.org>, \
  13. Florian Eckert <fe@dev.tdt.de>
  14. PKG_LICENSE:=GPL-2.0-or-later
  15. PKG_RELEASE:=1
  16. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  17. PKG_SOURCE_URL:=@KERNEL/linux/utils/kernel/ipvsadm/
  18. PKG_HASH:=95573d70df473c9f63fc4ac496c044c69e3a6de7ccac119922210c0b44cd7a0c
  19. PKG_BUILD_PARALLEL:=1
  20. PKG_INSTALL:=1
  21. include $(INCLUDE_DIR)/package.mk
  22. define Package/ipvsadm
  23. SECTION:=net
  24. CATEGORY:=Network
  25. TITLE:=IP Virtual Server Configuration Manager
  26. URL:=http://www.linuxvirtualserver.org
  27. DEPENDS:= +kmod-nf-ipvs +libnl-genl +libpopt
  28. endef
  29. define Package/ipvsadm/description
  30. IPVS (IP Virtual Server) implements transport-layer load balancing
  31. inside the Linux kernel, so called Layer-4 switching. The command line tool
  32. ipvsadm is used to set up, maintain or inspect the virtual server table
  33. in the Linux kernel. The Linux Virtual Server can be used to build scalable
  34. network services based on a cluster of two or more nodes.
  35. endef
  36. define Package/ipvsadm/install
  37. $(INSTALL_DIR) $(1)/sbin
  38. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ipvsadm $(1)/sbin/
  39. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ipvsadm-save $(1)/sbin/
  40. $(INSTALL_BIN) $(PKG_BUILD_DIR)/ipvsadm-restore $(1)/sbin/
  41. endef
  42. $(eval $(call BuildPackage,ipvsadm))