summaryrefslogtreecommitdiffstats
path: root/package/procps-ng
Commit message (Collapse)AuthorAgeFilesLines
* package/busybox: invert dependency with procps-ngYann E. MORIN2018-07-081-8/+2
| | | | | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* procps-ng: security bump to version 3.3.15Baruch Siach2018-05-243-48/+5
| | | | | | | | | | | | | | | | | | | Drop upstream patch. This release fixes the issues listed below. CVE-2018-1122: Local privilege escalation in top CVE-2018-1123: Denial of service in ps CVE-2018-1124: Local privilege escalation in libprocps CVE-2018-1125: Stack buffer overflow in pgrep CVE-2018-1126: Integer overflow in proc/alloc Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* procps-ng: fix build for sparcBaruch Siach2018-04-271-0/+43
| | | | | | | | | | | Add a patch taken from upstream bug report to fix wrong signal undefined in sparc. Fixes: http://autobuild.buildroot.net/results/b02/b02bd2e4032287d3c5c58255d621ef785c5d1380/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* procps-ng: fix build without wide character supportBaruch Siach2018-04-271-0/+4
| | | | | | | | | | | Define OFF_XTRAWIDE to disable use of wchar API when the toolchain does not support that. Fixes: http://autobuild.buildroot.net/results/b96/b96d29d64f455726a53a7adcfd3edd546346201c/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* procps-ng: bump to version 3.3.14Baruch Siach2018-04-255-111/+8
| | | | | | | | | | | Drop upstream patches. Add secure SHA256 hash. Add license files hash. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* procps-ng: use the new gettext logicThomas Petazzoni2017-07-052-7/+2
| | | | | | | | | | | | | This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - using TARGET_NLS_LIBS to force linking against libintl - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: use SPDX short identifier for LGPLv2/LGPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2/LGPLv2+ is LGPL-2.0/LGPL-2.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2(\+)?/LGPL-2.0\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: improve license type listsDanomi Manchego2017-02-201-1/+1
| | | | | | | | | | | | | | | Make license type lists more uniform: * put content license applies to in parenthesis; ex: "GPLv2+ (programs)" * use commas to separate types listed without conjuction; ex: "GPLv2, LGPLv2" No attempt was made to validate the claimed licenses. This is just a tweak to increase uniformity of the _LICENSE variables. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: replace semi-colons by commas in LIBURCU_LICENSE.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2016-09-023-4/+4
|\ | | | | | | | | | | Quite some conflicts, so here goes .. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/procps-ng: Bump to version 3.3.12Jeroen Roovers2016-08-313-4/+4
| | | | | | | | | | Signed-off-by: Jeroen Roovers <jer@airfi.aero> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | procps-ng: fix BR2_STATIC_LIBS=y buildThomas Petazzoni2016-08-092-0/+38
|/ | | | | | | | | | | | | | | | | | The procps-ng package currently fails to build on BR2_STATIC_LIBS=y configurations. Indeed, by default NUMA support is enabled, and it requires dlopen(). As hinted by the configure script, passing --disable-numa allows to disable NUMA support. However, once this is done, another issue pops up: dlopen() is also used by the SELinux support. But even when SELinux support is disabled, the procps-ng code incorrectly includes <dlfcn.h>. This is addressed by the addition of a patch. Fixes: http://autobuild.buildroot.net/results/b385bf435085728aece6323a5006ba9fa6631744/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: move busybox show others dependency to per-packageThomas Petazzoni2016-07-041-0/+1
| | | | | | | | | | | Having the BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependencies in package/Config.in is not very practical: it makes this file not very readable, and puts the dependency away from the package itself, which can sometimes be confusing. Therefore, this commit moves the dependency in each package Config.in file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/procps-ng: install libprocps.pc in staging/usr/lib/pkgconfig/Romain Naour2016-03-261-1/+5
| | | | | | | | | | | | | | | Since 834893a965a993e8a73e30b448426f626419f3c8, pkg-config --libs libprocps doesn't work anymore because libprocps.pc is installed in STAGING_DIR/lib/pkgconfig/ instead of STAGING_DIR/usr/lib/pkgconfig/. Add --libdir=/usr/lib in PROCPS_NG_CONF_OPTS to fixes the issue. Note that libprocps.so is now installed in /usr/lib/ instead of /lib/. Fixes: http://autobuild.buildroot.net/results/2e5/2e5100ccf1ed336c26b83930e7149941c97fc4d2/ Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/procps-ng: Fix install, procps-ng does not use /usr/bin anymoreBernd Kuhls2016-02-071-21/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not need to move binaries around anymore since this commit: https://gitlab.com/procps-ng/procps/commit/430b559ba2826f80dffa840622ae0fc744000b13 Removing PROCPS_NG_CONF_OPTS completely leads to binaries being installed to /usr/bin, we still have to define a custom --exec-prefix to get binaries in /bin: libtool: install: /usr/bin/install -c free /home/bernd/buildroot/output/target/bin/free libtool: install: /usr/bin/install -c pgrep /home/bernd/buildroot/output/target/bin/pgrep libtool: install: /usr/bin/install -c pkill /home/bernd/buildroot/output/target/bin/pkill libtool: install: /usr/bin/install -c pmap /home/bernd/buildroot/output/target/bin/pmap libtool: install: /usr/bin/install -c pwdx /home/bernd/buildroot/output/target/bin/pwdx libtool: install: /usr/bin/install -c tload /home/bernd/buildroot/output/target/bin/tload libtool: install: /usr/bin/install -c uptime /home/bernd/buildroot/output/target/bin/uptime libtool: install: /usr/bin/install -c vmstat /home/bernd/buildroot/output/target/bin/vmstat libtool: install: /usr/bin/install -c w /home/bernd/buildroot/output/target/bin/w libtool: install: /usr/bin/install -c pidof /home/bernd/buildroot/output/target/bin/pidof libtool: install: /usr/bin/install -c kill /home/bernd/buildroot/output/target/bin/kill libtool: install: /usr/bin/install -c slabtop /home/bernd/buildroot/output/target/bin/slabtop libtool: install: /usr/bin/install -c watch /home/bernd/buildroot/output/target/bin/watch libtool: install: /usr/bin/install -c top/top /home/bernd/buildroot/output/target/bin/top Fixes: http://autobuild.buildroot.net/results/ab7/ab7ed83d60823c1b023c7b76fcbe9c20d537ed4c// Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> [Thomas: pass --exec-prefix=/ instead of an empty prefix.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/procps-ng: bump version to 3.3.11 to fix musl buildBernd Kuhls2016-01-313-10/+11
| | | | | | | | | | | | | | | Rebased 0002-use-pkgconfig-for-ncursesw-cflags.patch The build error has not yet been found by the autobuilders: watch.c:564:37: error: request for member ‘chars’ in something not a structure or union exit_early = (wchar_t) c != oldc.chars[0]; ^ watch.c:573:5: error: unknown type name ‘cchar_t’ cchar_t oldc; Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* procps-ng: install binaries in /bin and /sbinVicente Olivert Riera2016-01-141-2/+14
| | | | | | | | | This way the busybox counterparts are overwritten and we will not end up with procps-ng binaries in /usr/bin and /usr/sbin, and busybox symlinks for the same tools in /bin and /sbin. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* procps-ng: needs gettextizeGustavo Zacarias2015-04-101-0/+1
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/904/90401cdb471f9e9582e2ca2ad07fb3db148420d7/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* procps-ng: fix/patch wrong ncursesw headers assumptionGustavo Zacarias2015-04-082-1/+58
| | | | | | | | | | | | | | | | The configure script/code assumes ncursesw headers live in /usr/include/ncursesw. That's a distribution-ism where they want to have both versions for ABI/API compatibility, but not the case for embedded where that's not a concern. Hence kill the hard-coding and use pkg-config to find this out instead of the half-made effort about it. Fixes: http://autobuild.buildroot.net/results/97d/97dc7f238457609c861c24f81b556973f5dec9c1/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/procps-ng: enable UTF-8 supportSteven Noonan2015-04-041-0/+6
| | | | | | | For an example of why to enable this: https://bugs.archlinux.org/task/38614 Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/procps-ng: use more complete installation prefixSteven Noonan2015-04-041-1/+7
| | | | | | | Otherwise we get a /lib/pkgconfig/libprocps.pc for example. Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/procps-ng: if building with systemd, enable systemd-specific featuresSteven Noonan2015-04-041-0/+7
| | | | | | | | [Thomas: add explicit --without-systemd option when systemd is not available.] Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* procps-ng: add dependency on host-pkgconfThomas Petazzoni2015-04-041-1/+1
| | | | | | | | | | | | procps-ng configure.ac script uses PKG_CHECK_MODULES(), which needs pkg-config. Until now, it wasn't mandatory since for the ncurses check it tries PKG_CHECK_MODULES() and then falls back to AC_CHECK_LIB(), but for the upcoming systemd support, pkg-config is really needed. Since pkg-config is used both for the ncurses and systemd checks, we make it a mandatory dependency. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/*: rename patches according to the new policyPeter Korsgaard2015-02-031-0/+0
| | | | | | | Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* procps-ng: bump to version 3.3.10Gustavo Zacarias2014-10-082-1/+4
| | | | | | | Also add hash file. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-2/+2
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* procps-ng: Fix installation and take precedence over busyboxVicente Olivert Riera2014-09-131-0/+10
| | | | | | | | | | | | | | | | | Currently procps-ng binaries are installed under $(TARGET_DIR)/usr/usr instead of $(TARGET_DIR)/usr, which would be the expected. This is caused because the default value of the --exec-prefix configure option is /usr, and Buildroot always adds --prefix=/usr to the configure option. We fix this by setting --exec-prefix to an empty value. At the same time we make sure the procps-ng binaries have precedence over the busybox ones. Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Reviewed-by: Markos.Chandras <Markos.Chandras@imgtec.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* procps-ng: add INSTALL_STAGING=YESKaroly Kasza2014-09-051-0/+1
| | | | | | | | | Procps-ng libraries needed in the staging directory by the new package openvmtools. Signed-off-by: Karoly Kasza <kaszak@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/procps-ng: fix linking with intlRomain Naour2014-08-251-1/+1
| | | | | | | | | | | | | | | | | | procps-ng doesn't build with (e)glibc toolchain when gettext package is selected. With (e)glibc libintl is provided by the libc whereas with uClibc it's provided by gettext. Linking with intl is only needed if the toolchain needs gettext and locale is set. Fixes: http://autobuild.buildroot.net/results/3e8/3e8464e0b00ce22fa02a6337159fca250d86425c/build-end.log Signed-off-by: Romain Naour <romain.naour@openwide.fr> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* procps-ng: Depends on MMUYuvaraj Patil2014-08-141-0/+1
| | | | | | | | | | This package needs MMU. Hence added dependency on BR2_USE_MMU Fixes: http://autobuild.buildroot.net/results/f24/f24aa16857e91fb6b03f9ac7ab0442fedcab8546// Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: fix the header package nameJerzy Grzegorek2014-06-241-1/+1
| | | | | | | | | | | | According to the documentation: "Header: The file starts with a header. It contains the module name, preferably in lowercase, enclosed between separators made of 80 hashes." This patch makes the appropriate changes. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/procps-ng: needs gettext if localesYann E. MORIN2014-06-032-0/+6
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/88a/88a2c8907dce0e5abe0d544ce9a2875dfdcc9e7c/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/procps: bump version and rename to procps-ngYann E. MORIN2014-06-023-0/+39
procps is getting replaced by procps-ng, and there are new versions available! procps-ng is now an autotools package, so get rid of our custom build/install rules. Remove most patches, except for one that still half-applies, so update and rename it. procps is dead, long live procps-ng! Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud