X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Ffireinfo;h=97b5a87056ba33301eae841166be42cb2c0b98da;hp=a785eec68a0e4353e17f50203ef574842cbe9e8d;hb=090e421172e56743af36a4f3e734b8b60e4e0b0c;hpb=902c53c7fa0184639516eef1a93111c213dd4102 diff --git a/lfs/fireinfo b/lfs/fireinfo index a785eec68a..97b5a87056 100644 --- a/lfs/fireinfo +++ b/lfs/fireinfo @@ -24,7 +24,7 @@ include Config -VER = 0.10 +VER = 2.0.2 THISAPP = fireinfo-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 3d2510dd92d28439d9b313570143bb3e +$(DL_FILE)_MD5 = ed29f591ccfeeb6386a61eafcc5dc398 install : $(TARGET) @@ -70,14 +70,15 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + + # Fix for braindead board vendors. + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fireinfo-invalid-id.patch + cd $(DIR_APP) && python setup.py build cd $(DIR_APP) && python setup.py install # Remove egg-info rm -rvf /usr/lib/python*/site-packages/fireinfo*.egg-info - # XXX Set flag to send profile. - touch /var/ipfire/main/send_profile - @rm -rf $(DIR_APP) @$(POSTBUILD)