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
:=https
://github.com
/xinetd-org
/xinetd
/archive
16 PKG_HASH
:=bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3
18 PKG_MAINTAINER
:=Florian Eckert
<fe@dev.tdt.de
>
20 PKG_LICENSE_FILES
:=COPYRIGHT
21 PKG_CPE_ID
:=cpe
:/a
:xinetd
:xinetd
25 include $(INCLUDE_DIR
)/package.mk
30 TITLE
:=A powerful and secure super-server
31 URL
:=https
://github.com
/xinetd-org
34 define Package
/xinetd
/description
35 xinetd has access control mechanisms
, extensive logging capabilities
,
36 the ability to make services available based on time
, can place limits
37 on the number of servers that can be started
, and has deployable
38 defence mechanisms to protect against port scanners
, among other
42 define Package
/xinetd
/conffiles
47 TARGET_CFLAGS
+= -DNO_RPC
48 TARGET_CPPFLAGS
+= -DHAVE_RLIM_T
55 ac_cv_header_rpc_pmap_clnt_h
=no \
56 ac_cv_header_rpc_rpc_h
=no \
57 ac_cv_header_rpc_rpcent_h
=no
59 define Package
/xinetd
/install
60 $(INSTALL_DIR
) $(1)/usr
/sbin
61 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/xinetd
$(1)/usr
/sbin
/
62 $(INSTALL_DIR
) $(1)/etc
/config
/
63 $(INSTALL_DATA
) .
/files
/xinetd.uci.conf.sample
$(1)/etc
/config
/xinetd
64 $(INSTALL_DIR
) $(1)/etc
/init.d
65 $(INSTALL_BIN
) .
/files
/xinetd.init
$(1)/etc
/init.d
/xinetd
66 $(INSTALL_DIR
) $(1)/etc
/xinetd.d
69 $(eval
$(call BuildPackage
,xinetd
))