X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fnut;h=2045dce6cb4fcfd1470053a66bf7f420d9bb5774;hb=3d5c499e0ca73c9a787815b8894d6cfcb0416a1b;hp=c0b7c57e8a2f2d18f404ef6efec6eb857dc6578b;hpb=ee8a12b6998e7b169b61bf2148386ba4fa9990bb;p=ipfire-2.x.git diff --git a/lfs/nut b/lfs/nut index c0b7c57e8a..2045dce6cb 100644 --- a/lfs/nut +++ b/lfs/nut @@ -24,7 +24,7 @@ include Config -VER = 2.4.3 +VER = 2.7.2 THISAPP = nut-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = nut -PAK_VER = 2 +PAK_VER = 5 DEPS = "" @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 6f893b61b07915e7a139324fa3f79121 +$(DL_FILE)_MD5 = c3568b42e058cfc385b46d25140dced4 install : $(TARGET) @@ -80,10 +80,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc/nut \ --with-usb --with-user=root --with-group=nut \ --with-wrap=no --with-udev-dir=/etc/udev - cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make cd $(DIR_APP) && make install # sed -i -e "s|ATTR{|SYSFS{|g" /etc/udev/rules.d/52-nut-usbups.rules -mkdir -p /var/state/ups + + #install initscripts + $(call INSTALL_INITSCRIPT,nut) + install -v -m 644 $(DIR_SRC)/config/backup/includes/nut \ /var/ipfire/backup/addons/includes/nut @rm -rf $(DIR_APP)