firmware/src/packages/fff/fff-alfred-monitoring-proxy/Makefile
Fabian Blaese 9d000c96e0 alfred-proxy: Make curl silent
As we now log output of cron scripts to syslog, the debug
output of curl spams the rather short-lived syslog. As this
debug output is unessesary most of the time, it now is disabled.

Instead, curl's silent option is used, together with '-S', which
reenables error output.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
Reviewed-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
[bump PKG_RELEASE]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-06-18 12:22:22 +02:00

33 lines
793 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-alfred-monitoring-proxy
PKG_RELEASE:=4
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-alfred-monitoring-proxy
include $(INCLUDE_DIR)/package.mk
define Package/fff-alfred-monitoring-proxy
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken Alfred-Monitoring-Proxy
URL:=https://www.freifunk-franken.de/
DEPENDS:=+curl +micrond +alfred-json +fff-alfred +fff-random
endef
define Package/fff-alfred-monitoring-proxy/description
The Alfred-Monitoring-Proxy is used
to send node status information to
https://monitoring.freifunk-franken.de/
endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Package/fff-alfred-monitoring-proxy/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fff-alfred-monitoring-proxy))