[package] update muninlite to 1.0.2, fix xined dependency (#5291)
[openwrt.org/packages.git] / admin / muninlite / Makefile
blob:a/admin/muninlite/Makefile -> blob:b/admin/muninlite/Makefile
--- a/admin/muninlite/Makefile
+++ b/admin/muninlite/Makefile
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=muninlite
-PKG_VERSION:=1.0.2
-PKG_RELEASE:=1
+PKG_VERSION:=1.0.4
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
-PKG_MD5SUM:=67fe45999fbd29f7d91fe342889e3dcb
+PKG_MD5SUM:=a8cc86f0cc536a6c22dc298f4ed55339
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -30,18 +30,15 @@
 	Munin is a monitoring system for Unix networks.
 endef
 
-define Package/muninlite/postinst
-#!/bin/sh
-grep -q '^munin[[:space:]]*4949/tcp' $${IPKG_INSTROOT}/etc/services 2>/dev/null
-[ $$? -ne 0 ] && echo "munin       4949/tcp" >> $${IPKG_INSTROOT}/etc/services
-exit 0
-endef
-
 define Package/muninlite/install
 	$(INSTALL_DIR) $(1)/usr/sbin/
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/munin-node $(1)/usr/sbin/
 	$(INSTALL_DIR) $(1)/etc/xinetd.d
 	$(INSTALL_DATA) ./files/etc/xinetd.d/munin $(1)/etc/xinetd.d/
+endef
+
+define Package/muninlite/conffiles
+/etc/xinetd.d/munin
 endef
 
 define Build/Configure

comments