]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/xinetd
glib: Update to 2.68.3
[people/pmueller/ipfire-2.x.git] / lfs / xinetd
index 62f34eabba3bd50ad9456337de59971ebe8a09dd..d3196beef0e8b700be8fd0c3deb63d7ca39cef4c 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        #
@@ -32,7 +32,11 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = xinetd
-PAK_VER    = 1
+PAK_VER    = 2
+
+DEPS       = libtirpc
+
+CFLAGS    += -fcommon -I/usr/include/tirpc -Wl,-ltirpc
 
 ###############################################################################
 # Top-level Rules
@@ -76,10 +80,15 @@ $(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
        -mkdir -pv /etc/xinetd.d
        cp -f $(DIR_SRC)/config/xinetd/xinetd.conf /etc/xinetd.conf
+
+       #install initscripts
+       $(call INSTALL_INITSCRIPT,xinetd)
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)