|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=nut |
|
|
PKG_NAME:=nut |
|
|
PKG_VERSION:=2.7.4 |
|
|
PKG_VERSION:=2.7.4 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/ |
|
|
PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/ |
|
@ -66,12 +66,12 @@ define Package/nut/config |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/nut/conffiles |
|
|
define Package/nut/conffiles |
|
|
/etc/nut/nut.conf |
|
|
|
|
|
$(if $(CONFIG_NUT_CLIENTS_UPSMON),/etc/nut/upsmon.conf) |
|
|
|
|
|
$(if $(CONFIG_NUT_CLIENTS_UPSSCHED),/etc/nut/upssched.conf) |
|
|
|
|
|
$(if $(CONFIG_NUT_SERVER),/etc/nut/ups.conf) |
|
|
|
|
|
$(if $(CONFIG_NUT_SERVER),/etc/nut/upsd.conf) |
|
|
|
|
|
$(if $(CONFIG_NUT_SERVER),/etc/nut/upsd.users) |
|
|
|
|
|
|
|
|
/etc/nut/nut.conf |
|
|
|
|
|
$(if $(CONFIG_NUT_CLIENTS_UPSMON),/etc/nut/upsmon.conf) |
|
|
|
|
|
$(if $(CONFIG_NUT_CLIENTS_UPSSCHED),/etc/nut/upssched.conf) |
|
|
|
|
|
$(if $(CONFIG_NUT_SERVER),/etc/nut/ups.conf) |
|
|
|
|
|
$(if $(CONFIG_NUT_SERVER),/etc/nut/upsd.conf) |
|
|
|
|
|
$(if $(CONFIG_NUT_SERVER),/etc/nut/upsd.users) |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/nut/install |
|
|
define Package/nut/install |
|
@ -123,10 +123,10 @@ commands from any web browser. Javascript and cookies are not required. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/nut-web-cgi/conffiles |
|
|
define Package/nut-web-cgi/conffiles |
|
|
/etc/nut/hosts.conf |
|
|
|
|
|
/etc/nut/upsset.conf |
|
|
|
|
|
/etc/nut/upsstats.html |
|
|
|
|
|
/etc/nut/upsstats-single.html |
|
|
|
|
|
|
|
|
/etc/nut/hosts.conf |
|
|
|
|
|
/etc/nut/upsset.conf |
|
|
|
|
|
/etc/nut/upsstats.html |
|
|
|
|
|
/etc/nut/upsstats-single.html |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/nut-web-cgi/install |
|
|
define Package/nut-web-cgi/install |
|
@ -152,7 +152,7 @@ attached UPS via mDNS/DNS-SD. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/nut-avahi-service/conffiles |
|
|
define Package/nut-avahi-service/conffiles |
|
|
/etc/avahi/services/nut.service |
|
|
|
|
|
|
|
|
/etc/avahi/services/nut.service |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/nut-avahi-service/install |
|
|
define Package/nut-avahi-service/install |
|
|