X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fnut;h=10e146c63c87e47984f431b843159ad8368a5230;hb=a6c298b540787fa0feffbe5191855a54f6c8a178;hp=0a5f84779ea70446263dbb1e8ef0a465677c2a02;hpb=d7a3254acedb43995d6a6e769562576cc7ff8639;p=ipfire-2.x.git diff --git a/lfs/nut b/lfs/nut index 0a5f84779e..10e146c63c 100644 --- a/lfs/nut +++ b/lfs/nut @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2009 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007-2018 IPFire Team # # # # 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 # @@ -24,7 +24,7 @@ include Config -VER = 2.6.3 +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 = 4 +PAK_VER = 7 DEPS = "" @@ -44,7 +44,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 8db00c21f8bc03add6e14d15f634ec6a +$(DL_FILE)_MD5 = 3ba53656933d7471f95140b32a5b8d5c install : $(TARGET) @@ -83,7 +83,11 @@ $(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) + install -v -m 644 $(DIR_SRC)/config/backup/includes/nut \ /var/ipfire/backup/addons/includes/nut @rm -rf $(DIR_APP)