2 # Copyright (C) 2006-2015 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_HASH
:=bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3
18 PKG_LICENSE_FILES
:=COPYRIGHT
22 include $(INCLUDE_DIR
)/package.mk
27 TITLE
:=A powerful and secure super-server
28 URL
:=http
://www.xinetd.org
/
29 PKG_MAINTAINER
:=Jonathan McCrohan
<jmccrohan@gmail.com
>
32 define Package
/xinetd
/description
33 xinetd has access control mechanisms
, extensive logging capabilities
,
34 the ability to make services available based on time
, can place limits
35 on the number of servers that can be started
, and has deployable
36 defence mechanisms to protect against port scanners
, among other
40 define Package
/xinetd
/conffiles
45 TARGET_CFLAGS
+= -DNO_RPC
46 TARGET_CPPFLAGS
+= -DHAVE_RLIM_T
53 ac_cv_header_rpc_pmap_clnt_h
=no \
54 ac_cv_header_rpc_rpc_h
=no \
55 ac_cv_header_rpc_rpcent_h
=no
57 define Package
/xinetd
/install
58 $(INSTALL_DIR
) $(1)/usr
/sbin
59 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/xinetd
$(1)/usr
/sbin
/
60 $(INSTALL_DIR
) $(1)/etc
61 $(INSTALL_DATA
) .
/files
/xinetd.conf
$(1)/etc
/xinetd.conf
62 $(INSTALL_DIR
) $(1)/etc
/xinetd.d
63 $(INSTALL_DIR
) $(1)/etc
/init.d
64 $(INSTALL_BIN
) .
/files
/xinetd.init
$(1)/etc
/init.d
/xinetd
67 $(eval
$(call BuildPackage
,xinetd
))