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.

63 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  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:=xinetd
  9. PKG_VERSION:=2.3.15
  10. PKG_RELEASE:=2
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=http://www.xinetd.org
  13. PKG_MD5SUM:=77358478fd58efa6366accae99b8b04c
  14. PKG_INSTALL:=1
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/xinetd
  17. SECTION:=net
  18. CATEGORY:=Network
  19. TITLE:=A powerful and secure super-server
  20. URL:=http://www.xinetd.org/
  21. MAINTAINER:=Jonathan McCrohan <jmccrohan@gmail.com>
  22. endef
  23. define Package/xinetd/description
  24. xinetd has access control mechanisms, extensive logging capabilities,
  25. the ability to make services available based on time, can place limits
  26. on the number of servers that can be started, and has deployable
  27. defence mechanisms to protect against port scanners, among other
  28. things.
  29. endef
  30. define Package/xinetd/conffiles
  31. /etc/xinetd.conf
  32. endef
  33. TARGET_CFLAGS += -DNO_RPC
  34. CONFIGURE_ARGS += \
  35. --without-libwrap \
  36. --with-loadavg
  37. CONFIGURE_VARS += \
  38. ac_cv_header_rpc_pmap_clnt_h=no \
  39. ac_cv_header_rpc_rpc_h=no \
  40. ac_cv_header_rpc_rpcent_h=no
  41. define Package/xinetd/install
  42. $(INSTALL_DIR) $(1)/usr/sbin
  43. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xinetd $(1)/usr/sbin/
  44. $(INSTALL_DIR) $(1)/etc
  45. $(INSTALL_DATA) ./files/xinetd.conf $(1)/etc/xinetd.conf
  46. $(INSTALL_DIR) $(1)/etc/xinetd.d
  47. $(INSTALL_DIR) $(1)/etc/init.d
  48. $(INSTALL_BIN) ./files/xinetd.init $(1)/etc/init.d/xinetd
  49. endef
  50. $(eval $(call BuildPackage,xinetd))