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