diff --git a/utils/acpid/Makefile b/utils/acpid/Makefile index 8e0538001..c327aa848 100644 --- a/utils/acpid/Makefile +++ b/utils/acpid/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=acpid -PKG_VERSION:=2.0.29 +PKG_VERSION:=2.0.30 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@SF/acpid2 -PKG_HASH:=58503b27975c466e627eb741c5453dd662f97edef1a3d0aac822fd03a84203ff +PKG_HASH:=28b77b62d3f64ebd1c2a3d16bccc6d4333b4e24a86aeacebec255fad223cf4cb PKG_MAINTAINER:=Thomas Heil PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING @@ -24,8 +24,8 @@ define Package/acpid SECTION:=utils CATEGORY:=Utilities TITLE:=The ACPI Daemon (acpid) With Netlink Support - URL:=http://tedfelix.com/linux/acpid-netlink.html - DEPENDS:=+kmod-input-evdev + URL:=https://sourceforge.net/projects/acpid2/ + DEPENDS:=+kmod-input-evdev endef define Package/acpid/description diff --git a/utils/acpid/patches/002-dont-use-isfdtype.patch b/utils/acpid/patches/002-dont-use-isfdtype.patch deleted file mode 100644 index cd4e062c8..000000000 --- a/utils/acpid/patches/002-dont-use-isfdtype.patch +++ /dev/null @@ -1,21 +0,0 @@ -Partially roll back upstream commit 4711119089e1ad08dad206f4fded68f1972fdeed -since released versions of uClibc don't support isfdtype(). - -Signed-off-by: Gustavo Zaarias - -Index: acpid-2.0.23/sock.c -=================================================================== ---- acpid-2.0.23.orig/sock.c -+++ acpid-2.0.23/sock.c -@@ -53,7 +53,10 @@ int non_root_clients; - int - is_socket(int fd) - { -- return (isfdtype(fd, S_IFSOCK) == 1); -+ int v; -+ socklen_t l = sizeof(int); -+ -+ return (getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&v, &l) == 0); - } - - /* accept a new client connection */