diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2018-05-04 15:32:40 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-08 16:14:14 +0100 |
commit | 4c52e22689c7d53349f5eff46afe693af978e7a4 (patch) | |
tree | 839c05c14bb298fa88bf53c50f83b0c12c1ffe1f /meta/recipes-extended/procps/procps_3.3.12.bb | |
parent | 23320a2c9a516cc15e8e9d740a4693486396986b (diff) | |
download | poky-4c52e22689c7d53349f5eff46afe693af978e7a4.tar.gz |
procps: update to 3.3.14
(From OE-Core rev: c699a519c708bb7ab3035dfeb7ab8c1b4ecd349d)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/procps/procps_3.3.12.bb')
-rw-r--r-- | meta/recipes-extended/procps/procps_3.3.12.bb | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/meta/recipes-extended/procps/procps_3.3.12.bb b/meta/recipes-extended/procps/procps_3.3.12.bb deleted file mode 100644 index ecf215fecf..0000000000 --- a/meta/recipes-extended/procps/procps_3.3.12.bb +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | SUMMARY = "System and process monitoring utilities" | ||
2 | DESCRIPTION = "Procps contains a set of system utilities that provide system information about processes using \ | ||
3 | the /proc filesystem. The package includes the programs ps, top, vmstat, w, kill, and skill." | ||
4 | HOMEPAGE = "https://gitlab.com/procps-ng/procps" | ||
5 | SECTION = "base" | ||
6 | LICENSE = "GPLv2+ & LGPLv2+" | ||
7 | LIC_FILES_CHKSUM="file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
8 | file://COPYING.LIB;md5=4cf66a4984120007c9881cc871cf49db \ | ||
9 | " | ||
10 | |||
11 | DEPENDS = "ncurses" | ||
12 | |||
13 | inherit autotools gettext pkgconfig update-alternatives | ||
14 | |||
15 | SRC_URI = "http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-${PV}.tar.xz \ | ||
16 | file://sysctl.conf \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[md5sum] = "957e42e8b193490b2111252e4a2b443c" | ||
20 | SRC_URI[sha256sum] = "6ed65ab86318f37904e8f9014415a098bec5bc53653e5d9ab404f95ca5e1a7d4" | ||
21 | |||
22 | S = "${WORKDIR}/procps-ng-${PV}" | ||
23 | |||
24 | EXTRA_OECONF = "--enable-skill --disable-modern-top" | ||
25 | |||
26 | do_install_append () { | ||
27 | install -d ${D}${base_bindir} | ||
28 | [ "${bindir}" != "${base_bindir}" ] && for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i; done | ||
29 | install -d ${D}${base_sbindir} | ||
30 | [ "${sbindir}" != "${base_sbindir}" ] && for i in ${base_sbindir_progs}; do mv ${D}${sbindir}/$i ${D}${base_sbindir}/$i; done | ||
31 | if [ "${base_sbindir}" != "${sbindir}" ]; then | ||
32 | rmdir ${D}${sbindir} | ||
33 | fi | ||
34 | |||
35 | install -d ${D}${sysconfdir} | ||
36 | install -m 0644 ${WORKDIR}/sysctl.conf ${D}${sysconfdir}/sysctl.conf | ||
37 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
38 | install -d ${D}${sysconfdir}/sysctl.d | ||
39 | ln -sf ../sysctl.conf ${D}${sysconfdir}/sysctl.d/99-sysctl.conf | ||
40 | fi | ||
41 | } | ||
42 | |||
43 | CONFFILES_${PN} = "${sysconfdir}/sysctl.conf" | ||
44 | |||
45 | bindir_progs = "free pkill pmap pgrep pwdx skill snice top uptime w" | ||
46 | base_bindir_progs += "kill pidof ps watch" | ||
47 | base_sbindir_progs += "sysctl" | ||
48 | |||
49 | ALTERNATIVE_PRIORITY = "200" | ||
50 | ALTERNATIVE_PRIORITY[pidof] = "150" | ||
51 | |||
52 | ALTERNATIVE_${PN} = "${bindir_progs} ${base_bindir_progs} ${base_sbindir_progs}" | ||
53 | |||
54 | ALTERNATIVE_${PN}-doc = "kill.1 uptime.1" | ||
55 | ALTERNATIVE_LINK_NAME[kill.1] = "${mandir}/man1/kill.1" | ||
56 | ALTERNATIVE_LINK_NAME[uptime.1] = "${mandir}/man1/uptime.1" | ||
57 | |||
58 | python __anonymous() { | ||
59 | for prog in d.getVar('base_bindir_progs').split(): | ||
60 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_bindir'), prog)) | ||
61 | |||
62 | for prog in d.getVar('base_sbindir_progs').split(): | ||
63 | d.setVarFlag('ALTERNATIVE_LINK_NAME', prog, '%s/%s' % (d.getVar('base_sbindir'), prog)) | ||
64 | } | ||
65 | |||