mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Update: nut to 2.7.4
Signed-off-by: Paul T. Simmons <mbatranch@gmail.com> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
bca53292f1
commit
239e6d78ac
@@ -5,7 +5,7 @@ etc/nut/upsd.conf.sample
|
||||
etc/nut/upsd.users.sample
|
||||
etc/nut/upsmon.conf.sample
|
||||
etc/nut/upssched.conf.sample
|
||||
etc/udev/rules.d/52-nut-usbups.rules
|
||||
etc/udev/rules.d/62-nut-usbups.rules
|
||||
usr/bin/al175
|
||||
usr/bin/apcsmart
|
||||
usr/bin/apcsmart-old
|
||||
|
||||
8
lfs/nut
8
lfs/nut
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.7.2
|
||||
VER = 2.7.4
|
||||
|
||||
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 = 5
|
||||
PAK_VER = 6
|
||||
|
||||
DEPS = ""
|
||||
|
||||
@@ -44,7 +44,7 @@ objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = c3568b42e058cfc385b46d25140dced4
|
||||
$(DL_FILE)_MD5 = 3ba53656933d7471f95140b32a5b8d5c
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
@@ -83,7 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
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
|
||||
mkdir -p /var/state/ups
|
||||
|
||||
#install initscripts
|
||||
$(call INSTALL_INITSCRIPT,nut)
|
||||
|
||||
Reference in New Issue
Block a user