From 27accc2226776af1b494bc72693f74bc2ad78750 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 25 Nov 2009 14:22:43 +0000 Subject: [PATCH] update acpupsd to 3.14.7 (#2157), enable usb support (#5877) SVN-Revision: 18536 --- net/apcupsd/Makefile | 7 ++++--- net/apcupsd/patches/100-dont_nuke_prepared.patch | 11 ----------- 2 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 net/apcupsd/patches/100-dont_nuke_prepared.patch diff --git a/net/apcupsd/Makefile b/net/apcupsd/Makefile index c0c99d17c..ae32e2591 100644 --- a/net/apcupsd/Makefile +++ b/net/apcupsd/Makefile @@ -8,19 +8,19 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apcupsd -PKG_VERSION:=3.14.2 +PKG_VERSION:=3.14.7 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/apcupsd -PKG_MD5SUM:=fd8785e7607d20cefa68dc20e44eebc4 +PKG_MD5SUM:=bb2f8e4fc6b2f5d7b3e236eb57b81640 include $(INCLUDE_DIR)/package.mk define Package/apcupsd SECTION:=utils CATEGORY:=Utilities - DEPENDS:=+libpthread + DEPENDS:=+libpthread +libusb TITLE:=UPS control software URL:=http://www.apcupsd.org/ endef @@ -30,6 +30,7 @@ define Build/Configure $(call Build/Configure/Default, \ --with-distname=unknown \ --sysconfdir=/etc/apcupsd \ + --enable-usb \ ) endef diff --git a/net/apcupsd/patches/100-dont_nuke_prepared.patch b/net/apcupsd/patches/100-dont_nuke_prepared.patch deleted file mode 100644 index 4fdabc3c6..000000000 --- a/net/apcupsd/patches/100-dont_nuke_prepared.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- apcupsd-3.14.2/Makefile.in-orig 2008-11-29 00:54:14.000000000 -0800 -+++ apcupsd-3.14.2/Makefile.in 2008-11-29 00:59:59.000000000 -0800 -@@ -372,7 +372,7 @@ - (cd examples; $(MAKE) clean) - - clean: example_clean targetclean -- find . -type f -size 0 -exec $(RMF) {} \; -+ find . -type f -size 0 ! -name '.prepared_*' -exec $(RMF) {} \; - - example_distclean: example_clean - (cd examples; $(MAKE) distclean) -- 2.30.2