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