Browse Source

acpid: Update to 2.0.30

Remove obsolete patch. Also update the website.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
fb0426e91a
2 changed files with 4 additions and 25 deletions
  1. +4
    -4
      utils/acpid/Makefile
  2. +0
    -21
      utils/acpid/patches/002-dont-use-isfdtype.patch

+ 4
- 4
utils/acpid/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=acpid PKG_NAME:=acpid
PKG_VERSION:=2.0.29
PKG_VERSION:=2.0.30
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@SF/acpid2 PKG_SOURCE_URL:=@SF/acpid2
PKG_HASH:=58503b27975c466e627eb741c5453dd662f97edef1a3d0aac822fd03a84203ff
PKG_HASH:=28b77b62d3f64ebd1c2a3d16bccc6d4333b4e24a86aeacebec255fad223cf4cb
PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de> PKG_MAINTAINER:=Thomas Heil <heil@terminal-consulting.de>
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILES:=COPYING PKG_LICENSE_FILES:=COPYING
@ -24,8 +24,8 @@ define Package/acpid
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=The ACPI Daemon (acpid) With Netlink Support 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 endef
define Package/acpid/description define Package/acpid/description


+ 0
- 21
utils/acpid/patches/002-dont-use-isfdtype.patch View File

@ -1,21 +0,0 @@
Partially roll back upstream commit 4711119089e1ad08dad206f4fded68f1972fdeed
since released versions of uClibc don't support isfdtype().
Signed-off-by: Gustavo Zaarias <gustavo@zacarias.com.ar>
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 */

Loading…
Cancel
Save