2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://www.xinetd.org/
17 PKG_MD5SUM:=567382d7972613090215c6c54f9b82d9
19 include $(INCLUDE_DIR)/package.mk
24 TITLE:=A powerful and secure super-server
25 URL:=http://www.xinetd.org/
28 define Package/xinetd/description
29 xinetd has access control mechanisms, extensive logging capabilities,
30 the ability to make services available based on time, can place limits
31 on the number of servers that can be started, and has deployable
32 defence mechanisms to protect against port scanners, among other
36 define Package/xinetd/conffiles
40 define Build/Configure
41 $(call Build/Configure/Default, \
48 $(MAKE) -C $(PKG_BUILD_DIR) \
49 DESTDIR="$(PKG_INSTALL_DIR)" \
53 define Package/xinetd/install
54 $(INSTALL_DIR) $(1)/usr/sbin
55 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/xinetd $(1)/usr/sbin/
56 $(INSTALL_DIR) $(1)/etc
57 $(INSTALL_DATA) ./files/xinetd.conf $(1)/etc/xinetd.conf
58 $(INSTALL_DIR) $(1)/etc/xinetd.d
59 $(INSTALL_DIR) $(1)/etc/init.d
60 $(INSTALL_BIN) ./files/xinetd.init $(1)/etc/init.d/xinetd
63 $(eval $(call BuildPackage,xinetd))