[package] fix zabbix dependencies, remove whitespaces

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18993 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2010-01-02 12:14:14 +00:00
parent 48a0b2056c
commit 38cea02224

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2006 OpenWrt.org # Copyright (C) 2006-2009 OpenWrt.org
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=zabbix PKG_NAME:=zabbix
PKG_VERSION:=1.6 PKG_VERSION:=1.6
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_MD5SUM:=39d4c871439b1b4f0429964b4abbfc45 PKG_MD5SUM:=39d4c871439b1b4f0429964b4abbfc45
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
@ -25,7 +25,7 @@ define Package/zabbix/Default
TITLE:=Zabbix TITLE:=Zabbix
URL:=http://www.zabbix.com/ URL:=http://www.zabbix.com/
SUBMENU:=zabbix SUBMENU:=zabbix
DEPENDS:=libcurl DEPENDS:=+libcurl
endef endef
define Package/zabbix-agent define Package/zabbix-agent
@ -41,7 +41,7 @@ endef
define Package/zabbix-server define Package/zabbix-server
$(call Package/zabbix/Default) $(call Package/zabbix/Default)
TITLE+= server TITLE+= server
DEPENDS:=+libsqlite3 DEPENDS += +libsqlite3
endef endef
@ -118,6 +118,8 @@ if [ -z "$$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/passwd)" ]; then
echo "$${name}:x:$${id}:$${id}:$${name}:/tmp/.$${name}:/bin/false" >> $${IPKG_INSTROOT}/etc/passwd echo "$${name}:x:$${id}:$${id}:$${name}:/tmp/.$${name}:/bin/false" >> $${IPKG_INSTROOT}/etc/passwd
fi fi
chown $${name} $${IPKG_INSTROOT}/etc/zabbix/zabbix_agentd.conf
endef endef
define Package/zabbix-sender/install define Package/zabbix-sender/install