PKG_NAME:=zabbix
PKG_VERSION:=2.2.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/zabbix
define Package/zabbix/install/zabbix.conf.d
$(INSTALL_DIR) \
- $(1)/etc/zabbix_$(2).conf.d
+ $(1)/etc/zabbix_agentd.conf.d
$(INSTALL_BIN) \
- ./files/$(3) \
- $(1)/etc/zabbix_$(2).conf.d/$(3)
+ ./files/$(2) \
+ $(1)/etc/zabbix_agentd.conf.d/$(2)
endef
define Package/zabbix-agent/conffiles
endef
define Package/zabbix-agentd/install
+ $(INSTALL_DIR) $(1)/etc/zabbix_agentd.conf.d
$(call Package/zabbix/install/sbin,$(1),agentd)
$(call Package/zabbix/install/etc,$(1),agentd)
$(call Package/zabbix/install/init.d,$(1),agentd)
endef
define Package/zabbix-extra-mac80211/install
- $(call Package/zabbix/install/zabbix.conf.d,$(1),agentd,mac80211)
+ $(call Package/zabbix/install/zabbix.conf.d,$(1),mac80211)
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/zabbix-extra-mac80211/zabbix_helper_mac80211 $(1)/usr/bin/
chmod 4755 $(1)/usr/bin/zabbix_helper_mac80211
endef
define Package/zabbix-extra-network/install
- $(call Package/zabbix/install/zabbix.conf.d,$(1),agentd,network)
+ $(call Package/zabbix/install/zabbix.conf.d,$(1),network)
endef
define Package/zabbix-extra-wifi/install
- $(call Package/zabbix/install/zabbix.conf.d,$(1),agentd,wifi)
+ $(call Package/zabbix/install/zabbix.conf.d,$(1),wifi)
endef
define Package/zabbix-sender/install