###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
+SUMMARY = An 'inetd' with Expanded Functionality
+
VER = 2.3.15
THISAPP = xinetd-$(VER)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = xinetd
-PAK_VER = 1
+PAK_VER = 2
+
+DEPS = libtirpc
+
+SERVICES = xinetd
+
+CFLAGS += -fcommon -I/usr/include/tirpc -Wl,-ltirpc
###############################################################################
# Top-level Rules
md5 : $(subst %,%_MD5,$(objects))
-dist:
+dist:
@$(PAK)
###############################################################################
cp -f $(DIR_SRC)/config/xinetd/xinetd.conf /etc/xinetd.conf
#install initscripts
- $(call INSTALL_INITSCRIPT,xinetd)
+ $(call INSTALL_INITSCRIPTS,$(SERVICES))
@rm -rf $(DIR_APP)
@$(POSTBUILD)