diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-06-19 10:59:47 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-24 12:43:40 +0100 |
| commit | 304fb08db1c88a5163ab67f9793ca7d5365f4bee (patch) | |
| tree | d38133720bd33a0d343bd9cc729311bae69334eb /meta/recipes-extended | |
| parent | cb963a04146cb01c2b6b8b44d38a53ae759f1442 (diff) | |
| download | poky-304fb08db1c88a5163ab67f9793ca7d5365f4bee.tar.gz | |
psmisc: merge .inc into .bb
(From OE-Core rev: 219508fe9c7f85bb4e03d30b42d0f893967fe2e9)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
| -rw-r--r-- | meta/recipes-extended/psmisc/psmisc.inc | 59 | ||||
| -rw-r--r-- | meta/recipes-extended/psmisc/psmisc_23.7.bb | 60 |
2 files changed, 59 insertions, 60 deletions
diff --git a/meta/recipes-extended/psmisc/psmisc.inc b/meta/recipes-extended/psmisc/psmisc.inc deleted file mode 100644 index 23e98d21be..0000000000 --- a/meta/recipes-extended/psmisc/psmisc.inc +++ /dev/null | |||
| @@ -1,59 +0,0 @@ | |||
| 1 | SUMMARY = "Utilities for managing processes on your system" | ||
| 2 | HOMEPAGE = "http://psmisc.sf.net/" | ||
| 3 | DESCRIPTION = "The psmisc package contains utilities for managing processes on your \ | ||
| 4 | system: pstree, killall and fuser. The pstree command displays a tree \ | ||
| 5 | structure of all of the running processes on your system. The killall \ | ||
| 6 | command sends a specified signal (SIGTERM if nothing is specified) to \ | ||
| 7 | processes identified by name. The fuser command identifies the PIDs \ | ||
| 8 | of processes that are using specified files or filesystems." | ||
| 9 | SECTION = "base" | ||
| 10 | DEPENDS = "ncurses virtual/libintl" | ||
| 11 | LICENSE = "GPL-2.0-only" | ||
| 12 | |||
| 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/psmisc-${PV}" | ||
| 16 | |||
| 17 | inherit autotools gettext | ||
| 18 | |||
| 19 | # Upstream has a custom autogen.sh which invokes po/update-potfiles as they | ||
| 20 | # don't ship a po/POTFILES.in (which is silly). Without that file gettext | ||
| 21 | # doesn't believe po/ is a gettext directory and won't generate po/Makefile. | ||
| 22 | do_configure:prepend() { | ||
| 23 | ( cd ${S} && po/update-potfiles ) | ||
| 24 | } | ||
| 25 | |||
| 26 | |||
| 27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
| 28 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
| 29 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
| 30 | |||
| 31 | ALLOW_EMPTY:${PN} = "1" | ||
| 32 | |||
| 33 | PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc" | ||
| 34 | PACKAGES += "psmisc-extras" | ||
| 35 | |||
| 36 | FILES:${PN} = "" | ||
| 37 | RDEPENDS:${PN} = "fuser killall pstree" | ||
| 38 | |||
| 39 | FILES:fuser = "${bindir}/fuser.${BPN}" | ||
| 40 | FILES:fuser-doc = "${mandir}/man1/fuser*" | ||
| 41 | |||
| 42 | FILES:killall = "${bindir}/killall.${BPN}" | ||
| 43 | FILES:killall-doc = "${mandir}/man1/killall*" | ||
| 44 | |||
| 45 | FILES:pstree = "${bindir}/pstree" | ||
| 46 | FILES:pstree-doc = "${mandir}/man1/pstree*" | ||
| 47 | |||
| 48 | FILES:psmisc-extras = "${bindir}" | ||
| 49 | FILES:psmisc-extras-doc = "${mandir}" | ||
| 50 | |||
| 51 | inherit update-alternatives | ||
| 52 | |||
| 53 | ALTERNATIVE_PRIORITY = "90" | ||
| 54 | |||
| 55 | ALTERNATIVE:killall = "killall" | ||
| 56 | |||
| 57 | ALTERNATIVE:fuser = "fuser" | ||
| 58 | |||
| 59 | ALTERNATIVE:pstree = "pstree" | ||
diff --git a/meta/recipes-extended/psmisc/psmisc_23.7.bb b/meta/recipes-extended/psmisc/psmisc_23.7.bb index ea272cd92d..e1dde7dafb 100644 --- a/meta/recipes-extended/psmisc/psmisc_23.7.bb +++ b/meta/recipes-extended/psmisc/psmisc_23.7.bb | |||
| @@ -1,4 +1,62 @@ | |||
| 1 | require psmisc.inc | 1 | SUMMARY = "Utilities for managing processes on your system" |
| 2 | HOMEPAGE = "http://psmisc.sf.net/" | ||
| 3 | DESCRIPTION = "The psmisc package contains utilities for managing processes on your \ | ||
| 4 | system: pstree, killall and fuser. The pstree command displays a tree \ | ||
| 5 | structure of all of the running processes on your system. The killall \ | ||
| 6 | command sends a specified signal (SIGTERM if nothing is specified) to \ | ||
| 7 | processes identified by name. The fuser command identifies the PIDs \ | ||
| 8 | of processes that are using specified files or filesystems." | ||
| 9 | SECTION = "base" | ||
| 10 | DEPENDS = "ncurses virtual/libintl" | ||
| 11 | LICENSE = "GPL-2.0-only" | ||
| 12 | |||
| 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/psmisc-${PV}" | ||
| 16 | |||
| 17 | inherit autotools gettext | ||
| 18 | |||
| 19 | # Upstream has a custom autogen.sh which invokes po/update-potfiles as they | ||
| 20 | # don't ship a po/POTFILES.in (which is silly). Without that file gettext | ||
| 21 | # doesn't believe po/ is a gettext directory and won't generate po/Makefile. | ||
| 22 | do_configure:prepend() { | ||
| 23 | ( cd ${S} && po/update-potfiles ) | ||
| 24 | } | ||
| 25 | |||
| 26 | |||
| 27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
| 28 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
| 29 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
| 30 | |||
| 31 | ALLOW_EMPTY:${PN} = "1" | ||
| 32 | |||
| 33 | PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc" | ||
| 34 | PACKAGES += "psmisc-extras" | ||
| 35 | |||
| 36 | FILES:${PN} = "" | ||
| 37 | RDEPENDS:${PN} = "fuser killall pstree" | ||
| 38 | |||
| 39 | FILES:fuser = "${bindir}/fuser.${BPN}" | ||
| 40 | FILES:fuser-doc = "${mandir}/man1/fuser*" | ||
| 41 | |||
| 42 | FILES:killall = "${bindir}/killall.${BPN}" | ||
| 43 | FILES:killall-doc = "${mandir}/man1/killall*" | ||
| 44 | |||
| 45 | FILES:pstree = "${bindir}/pstree" | ||
| 46 | FILES:pstree-doc = "${mandir}/man1/pstree*" | ||
| 47 | |||
| 48 | FILES:psmisc-extras = "${bindir}" | ||
| 49 | FILES:psmisc-extras-doc = "${mandir}" | ||
| 50 | |||
| 51 | inherit update-alternatives | ||
| 52 | |||
| 53 | ALTERNATIVE_PRIORITY = "90" | ||
| 54 | |||
| 55 | ALTERNATIVE:killall = "killall" | ||
| 56 | |||
| 57 | ALTERNATIVE:fuser = "fuser" | ||
| 58 | |||
| 59 | ALTERNATIVE:pstree = "pstree" | ||
| 2 | LICENSE = "GPL-2.0-only" | 60 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 61 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
| 4 | 62 | ||
