diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:31:53 +0000 |
| commit | 8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch) | |
| tree | efdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-bsp/acpid | |
| parent | d412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff) | |
| download | poky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz | |
The poky repository master branch is no longer being updated.
You can either:
a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs
b) use the new bitbake-setup
You can find information about either approach in our documentation:
https://docs.yoctoproject.org/
Note that "poky" the distro setting is still available in meta-yocto as
before and we continue to use and maintain that.
Long live Poky!
Some further information on the background of this change can be found
in: https://lists.openembedded.org/g/openembedded-architecture/message/2179
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/acpid')
| -rw-r--r-- | meta/recipes-bsp/acpid/acpid.inc | 40 | ||||
| -rw-r--r-- | meta/recipes-bsp/acpid/acpid/0001-Replace-stat64-with-stat.patch | 31 | ||||
| -rw-r--r-- | meta/recipes-bsp/acpid/acpid/acpid.service | 10 | ||||
| -rwxr-xr-x | meta/recipes-bsp/acpid/acpid/init | 31 | ||||
| -rw-r--r-- | meta/recipes-bsp/acpid/acpid_2.0.34.bb | 6 |
5 files changed, 0 insertions, 118 deletions
diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc deleted file mode 100644 index ba954563b6..0000000000 --- a/meta/recipes-bsp/acpid/acpid.inc +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | SUMMARY = "A daemon for delivering ACPI events" | ||
| 2 | DESCRIPTION = "ACPID is a completely flexible, totally extensible daemon for \ | ||
| 3 | delivering ACPI events. It listens on netlink interface (or on the \ | ||
| 4 | deprecated file /proc/acpi/event), and when an event occurs, executes programs \ | ||
| 5 | to handle the event. The programs it executes are configured through a set of \ | ||
| 6 | configuration files, which can be dropped into place by packages or by the \ | ||
| 7 | admin." | ||
| 8 | HOMEPAGE = "http://sourceforge.net/projects/acpid2" | ||
| 9 | BUGTRACKER = "http://sourceforge.net/p/acpid2/tickets/?source=navbar" | ||
| 10 | SECTION = "base" | ||
| 11 | LICENSE = "GPL-2.0-or-later" | ||
| 12 | |||
| 13 | SOURCEFORGE_PROJECT = "acpid2" | ||
| 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/${SOURCEFORGE_PROJECT}/acpid-${PV}.tar.xz \ | ||
| 15 | file://init \ | ||
| 16 | file://acpid.service \ | ||
| 17 | file://0001-Replace-stat64-with-stat.patch \ | ||
| 18 | " | ||
| 19 | |||
| 20 | CVE_PRODUCT = "acpid2" | ||
| 21 | |||
| 22 | inherit autotools update-rc.d systemd sourceforge-releases | ||
| 23 | |||
| 24 | INITSCRIPT_NAME = "acpid" | ||
| 25 | INITSCRIPT_PARAMS = "defaults" | ||
| 26 | |||
| 27 | SYSTEMD_SERVICE:${PN} = "acpid.service" | ||
| 28 | |||
| 29 | do_install:append () { | ||
| 30 | install -d ${D}${sysconfdir}/init.d | ||
| 31 | sed -e 's,/usr/sbin,${sbindir},g' ${UNPACKDIR}/init > ${D}${sysconfdir}/init.d/acpid | ||
| 32 | chmod 755 ${D}${sysconfdir}/init.d/acpid | ||
| 33 | |||
| 34 | install -d ${D}${sysconfdir}/acpi | ||
| 35 | install -d ${D}${sysconfdir}/acpi/events | ||
| 36 | |||
| 37 | install -d ${D}${systemd_system_unitdir} | ||
| 38 | install -m 0644 ${UNPACKDIR}/acpid.service ${D}${systemd_system_unitdir} | ||
| 39 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/acpid.service | ||
| 40 | } | ||
diff --git a/meta/recipes-bsp/acpid/acpid/0001-Replace-stat64-with-stat.patch b/meta/recipes-bsp/acpid/acpid/0001-Replace-stat64-with-stat.patch deleted file mode 100644 index 10abfc8388..0000000000 --- a/meta/recipes-bsp/acpid/acpid/0001-Replace-stat64-with-stat.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 4b729235a9e96f120feee7e3746818aad0f3b924 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 14 Dec 2022 15:04:30 -0800 | ||
| 4 | Subject: [PATCH] Replace stat64 with stat | ||
| 5 | |||
| 6 | It already checks for largefile support in configure.ac via | ||
| 7 | AC_SYS_LARGEFILE macro, which will ensure that 64bit elements | ||
| 8 | are correctly setup for stat APIs on platforms needing large | ||
| 9 | file support. | ||
| 10 | |||
| 11 | Upstream-Status: Submitted [https://sourceforge.net/p/acpid2/code/merge-requests/5/] | ||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | --- | ||
| 14 | sock.c | 4 ++-- | ||
| 15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/sock.c b/sock.c | ||
| 18 | index 9e04501..3121fb7 100644 | ||
| 19 | --- a/sock.c | ||
| 20 | +++ b/sock.c | ||
| 21 | @@ -54,8 +54,8 @@ int non_root_clients; | ||
| 22 | static int | ||
| 23 | isfdtype(int fd, int fdtype) | ||
| 24 | { | ||
| 25 | - struct stat64 st; | ||
| 26 | - if (fstat64(fd, &st) != 0) | ||
| 27 | + struct stat st; | ||
| 28 | + if (fstat(fd, &st) != 0) | ||
| 29 | return -1; | ||
| 30 | return ((st.st_mode & S_IFMT) == (mode_t)fdtype); | ||
| 31 | } | ||
diff --git a/meta/recipes-bsp/acpid/acpid/acpid.service b/meta/recipes-bsp/acpid/acpid/acpid.service deleted file mode 100644 index f70e740965..0000000000 --- a/meta/recipes-bsp/acpid/acpid/acpid.service +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=ACPI Event Daemon | ||
| 3 | After=syslog.target | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | Type=forking | ||
| 7 | ExecStart=@SBINDIR@/acpid | ||
| 8 | |||
| 9 | [Install] | ||
| 10 | WantedBy=multi-user.target | ||
diff --git a/meta/recipes-bsp/acpid/acpid/init b/meta/recipes-bsp/acpid/acpid/init deleted file mode 100755 index 40ff385c10..0000000000 --- a/meta/recipes-bsp/acpid/acpid/init +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | #! /bin/sh -e | ||
| 2 | |||
| 3 | test -x /usr/sbin/acpid || exit 0 | ||
| 4 | test -d /proc/acpi || exit 0 | ||
| 5 | mkdir -p /etc/acpi/events | ||
| 6 | |||
| 7 | case "$1" in | ||
| 8 | start) | ||
| 9 | echo -n "Starting Advanced Configuration and Power Interface daemon: " | ||
| 10 | if [ ! -d /etc/acpi/events ]; then | ||
| 11 | echo "There is not any rule configuration file." | ||
| 12 | else | ||
| 13 | start-stop-daemon -o -S -x /usr/sbin/acpid -- -c /etc/acpi/events | ||
| 14 | echo "acpid." | ||
| 15 | fi | ||
| 16 | ;; | ||
| 17 | stop) | ||
| 18 | echo -n "Stopping Advanced Configuration and Power Interface daemon: " | ||
| 19 | start-stop-daemon -o -K -x /usr/sbin/acpid | ||
| 20 | echo "acpid." | ||
| 21 | ;; | ||
| 22 | restart|force-reload) | ||
| 23 | $0 stop | ||
| 24 | $0 start | ||
| 25 | ;; | ||
| 26 | *) | ||
| 27 | echo "Usage: /etc/init.d/acpid {start|stop|restart|force-reload}" | ||
| 28 | exit 1 | ||
| 29 | esac | ||
| 30 | |||
| 31 | exit 0 | ||
diff --git a/meta/recipes-bsp/acpid/acpid_2.0.34.bb b/meta/recipes-bsp/acpid/acpid_2.0.34.bb deleted file mode 100644 index 1e0a6d5f24..0000000000 --- a/meta/recipes-bsp/acpid/acpid_2.0.34.bb +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | require acpid.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ | ||
| 4 | file://acpid.h;endline=24;md5=324a9cf225ae69ddaad1bf9d942115b5" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "2d095c8cfcbc847caec746d62cdc8d0bff1ec1bc72ef7c674c721e04da6ab333" | ||
