]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/xinetd
buildprocess: Add extra metadata to pak lfs files
[people/pmueller/ipfire-2.x.git] / lfs / xinetd
index 42d9288abcf6b98865865c3974072ac9752e757f..5ba90ea42eb9018dd5d6a2e0e3e232ec9c2a373a 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # 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        #
@@ -24,6 +24,8 @@
 
 include Config
 
+SUMMARY    = An 'inetd' with Expanded Functionality
+
 VER        = 2.3.15
 
 THISAPP    = xinetd-$(VER)
@@ -32,7 +34,13 @@ DL_FROM    = $(URL_IPFIRE)
 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
@@ -76,6 +84,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
+       $(UPDATE_AUTOMAKE)
        cd $(DIR_APP) && ./configure --prefix=/usr
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
@@ -83,7 +92,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        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)