]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/tftp-hpa
Added apcupsd.
[people/pmueller/ipfire-2.x.git] / lfs / tftp-hpa
index fbf34d76d46b647dcc424521aadf1adea875cae0..82fbdff09818a3a7b1f70a019e9d695f29fb1e6b 100644 (file)
 
 include Config
 
-VER        = 0.42
+VER        = 0.48
 
 THISAPP    = tftp-hpa-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = tftp-hpa
-PAK_VER    = 1
+PAK_VER    = 2
 
 DEPS       = ""
 
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 98ecf77f8558b4f562794f71e29fed86
+$(DL_FILE)_MD5 = f2e0a1ca0c49ae46ecad26a54df3e887
 
 install : $(TARGET)
 
@@ -76,10 +76,12 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --without-tcpwrappers
-       cd $(DIR_APP) && make
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && ./configure --prefix=/usr --without-tcpwrappers
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
-       -mkdir /var/log/tftpboot
+       mv -fv /usr/sbin/in.tftpd /usr/sbin/tftpd
+       -mkdir -pv /var/tftpboot/pxelinux.cfg
+       cp -vf /usr/lib/syslinux/{pxelinux.0,vesamenu.c32} /var/tftpboot
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)