]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/xinetd
Revert "python-six: Removal of python2 & 3 addon versions of six"
[people/pmueller/ipfire-2.x.git] / lfs / xinetd
index d3b577b5c83702d13d7e907c9f2bdc38df0fddd3..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,6 +80,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 +88,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cp -f $(DIR_SRC)/config/xinetd/xinetd.conf /etc/xinetd.conf
 
        #install initscripts
-       $(call INSTALL_INITSCRIPT,nfs-server)
+       $(call INSTALL_INITSCRIPT,xinetd)
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)