1. 19 May, 2018 1 commit
  2. 12 Mar, 2018 2 commits
    • Craig Small's avatar
      3.3.13 release candidate 1 · e22a5087
      Craig Small authored
      Update NEWS with the version
      Add library API change into NEWS
      Update c:r:a for library to 7:0:1
      This means the current and age are incremented, so old programs can
      use new library but not vice-versa as they won't have the numa*
    • Craig Small's avatar
      sysctl: fixup build system · f46865ea
      Craig Small authored
      Remove the external definition of the procio function.
  3. 01 Mar, 2018 1 commit
    • Craig Small's avatar
      sysctl: Bring procio functions out of library · c9be22a8
      Craig Small authored
      The procio functions that were in the library have been
      moved into sysctl. sysctl is not linked to libprocps in
      newlib and none of the other procps binaries would need
      to read/write large data to the procfs.
  4. 28 Feb, 2018 2 commits
  5. 29 Dec, 2017 1 commit
  6. 03 Sep, 2017 1 commit
  7. 22 May, 2017 1 commit
    • jim warner's avatar
      library: set stage for NUMA node field display support · 1a2ec039
      jim warner authored
      In response to that suggestion referenced below, these
      changes allow display of task/thread level NUMA nodes.
      Currently, only the 'top' program offers any NUMA type
      support and it is limited to the Summary Area display.
      With this commit both the 'top' and 'ps' programs will
      be able to display NUMA nodes associated with threads.
      [ this patch has been adapted from the newlib branch ]
      [ and implemented so as to preserve the existing ABI ]
      #58Signed-off-by: jim warner's avatarJim Warner <james.warner@comcast.net>
  8. 07 Aug, 2016 1 commit
  9. 13 Jul, 2016 1 commit
  10. 10 Jul, 2016 1 commit
    • Craig Small's avatar
      misc: Remove strtod tests · 100afbc1
      Craig Small authored
      Due to the interesting properties of floating points, the strtod
      tests have been removed. One day I may bother enabling them again.
  11. 09 Jul, 2016 3 commits
    • Craig Small's avatar
      6:0:0 lbirary API bump · 96f151a4
      Craig Small authored
    • Craig Small's avatar
      build-sys: Re vert noinst and check programs · ab0b00a2
      Craig Small authored
      Previously there was a commit to change all noinst_PROGRAMS into
      check_PROGRAMS. This was not a good idea.
      check_PROGRAMS are built before TESTS are run. However they are
      NOT build before the dejagnu tests are run, causing those tests
      to fail.
      If the program is required for dejagnu, it needs to go into
      If the program is required for TESTS or is one of those TESTS,
      it needs to go into check_PROGRAMS
    • Craig Small's avatar
      build-sys: Make check programs before check · cf132605
      Craig Small authored
      For some unknown reason, check_PROGRAMS are not built before check.
      They are built before recheck and after check, which isn't very
      This means any tests by dejagnu that need those programs will fail.
      On my console I get a build error, the CI merrily reports the error
      but considers the build OK; go figure.
      The kludge adds check_PROGRAMS to be a dependency to check.
      Note, TESTS don't need to be included in this, because they are
      properly compliled after the dejagnu tests but before they are
  12. 10 Mar, 2016 3 commits
  13. 03 Mar, 2016 1 commit
    • Craig Small's avatar
      A locale-independent strtod · 32e1b2e2
      Craig Small authored
      There is a need in some utilities to have a way of accepting both
      types of decimal points "." and ",". The only way seems to be to
      rebuild strtod().
      This new function will accept "123.456" and "123,456" as 123.456
      and considers them the same number. It means we lose thousands
      separator, but this is rarely used.
      test scripts are added to check the function returns the proper
      values. There was simpler predecessor that got stuck on negative
      0 or -0.123 which these tests flushed out.
  14. 01 Sep, 2015 1 commit
  15. 09 Aug, 2015 2 commits
  16. 24 Jun, 2015 1 commit
    • Craig Small's avatar
      pwdx: Do not link to libprocps · 6a0850be
      Craig Small authored
      pwdx doesn't actually use any of the libprocps functions but
      it is linked because it is the default.  This specific LDADD
      removes that unrequired linking.
  17. 19 Jun, 2015 3 commits
  18. 13 Jun, 2015 2 commits
    • Craig Small's avatar
      Do not link test process to libprocps · eb6190e6
      Craig Small authored
      The test process introduced at 420cd9c7 incorrectly linked to
      libprocps which made the CI runner fail.
    • Craig Small's avatar
      Create test process · 420cd9c7
      Craig Small authored
      For the test suite, procps used to use sleep which would just
      create a process or two to test the tools against.  Some setups
      coreutils creates all programs including sleep into one blob which
      means a lot of the tests fail, see issue #2
      procps has its own sleep program now.
  19. 12 May, 2015 1 commit
    • Filipe Brandenburger's avatar
      build-sys: use proper dependencies on libproc.la · 5cabea84
      Filipe Brandenburger authored
      Use LDADD or *_LDADD instead of AM_LDFLAGS to refer to libproc.la.
      Otherwise, parallel builds will break as there is no explicit dependency
      to ensure the library is built before the binaries that try to link to
      v2: Added empty rules lib_test_*_LDADD to remove the dependency on
      libproc which is not used by the lib/test_* binaries.
      Tested by running `make -jNN` repeatedly for different levels of
      parallelism to ensure the build works. Also checked that `make check`
      and `make distcheck` still work as expected. Also made sure that a
      parallel make invocation works with `make -j distcheck`.
      Reported-by: jim warner's avatarJim Warner <james.warner@comcast.net>
      Signed-off-by: Filipe Brandenburger's avatarFilipe Brandenburger <filbranden@google.com>
  20. 10 May, 2015 1 commit
  21. 02 May, 2015 5 commits
    • Filipe Brandenburger's avatar
      build-sys: install binaries in bindir (get rid of usrbin_execdir) · 430b559b
      Filipe Brandenburger authored
      The "usrbin_execdir" hack meant to install some binaries in /bin and
      others in /usr/bin. However:
      - It is very inflexible: not much control on the final directory name
        and it is not possible to get rid of the usr/bin suffix without
        patching the build system.
      - It is hard to use: it requires configure to receive --exec_prefix=/
        and other settings do not make much sense. It is not very obvious that
        that setting needs to be passed and it takes a while to figure it out.
      - It produces garbage with the default setup: the default prefix of
        /usr/local ends up installing the binaries under /usr/local/usr/bin
        which does not make any sense.
      Furthermore, the requirement to split binaries in /bin and /usr/bin is
      not that strong since some distributions adopted the /usr merge and so
      would agree to just deploy all binaries to /usr/bin directly.
      Distributions that would still like to split /bin from /usr/bin should
      actually move binaries such as `ps` and `kill` to /bin after the install
      of procps-ng is complete. After all, they are the ones responsible for
      determining what are the binaries that need to be in the root partition
      and that list depends on their early boot init scripts, so it is
      possible that the list must be augmented with other binaries from this
      Therefore, I propose here to get rid of that hack and simply install all
      the binaries to bindir instead, which solves the problems described
      above and simplifies the build and install of procps-ng.
      Tested that it builds and both `make check` and `make distcheck` work.
      Tested that `make install` works and produces the expected tree, the
      only difference being the absence of the bogus /usr/local/usr/bin
      directory and now all binaries are merged into /usr/local/bin as
      Signed-off-by: Filipe Brandenburger's avatarFilipe Brandenburger <filbranden@google.com>
    • Filipe Brandenburger's avatar
      build-sys: enable "subdir-objects" automake option · edd66515
      Filipe Brandenburger authored
      Otherwise, automake 1.14 will warn that this option will become the
      default in an upcoming release, which will cause problems for the
      procps-ng build.
      Now that the automake rules were merged in the top level Makefile.am,
      it is possible to enable "subdir-objects" without breaking the build or
      the dist.
      Tested that it builds and both `make check` and `make distcheck` work.
      Tested that `make install` works and produces the same tree before and
      after this change. Confirmed that binaries are also placed in the same
      locations in the build tree.
      Signed-off-by: Filipe Brandenburger's avatarFilipe Brandenburger <filbranden@google.com>
    • Filipe Brandenburger's avatar
      build-sys: merge automake subdirs into toplevel · c1c73c0d
      Filipe Brandenburger authored
      This will be required for subdir-objects, otherwise automake will have
      problems with more than one Makefile.am having rules to build the same
      Tested that it builds and both `make check` and `make distcheck` work.
      Tested `make install` and compared the tree with the one installed
      before this commit, both installed the binaries to the same locations.
      The binaries are also in the same location in the build tree (for
      instance, ps/pscommand is still there.)
      Checked the binaries for the correct libraries linked into them. Binary
      sizes matched before and after this change.
      Signed-off-by: Filipe Brandenburger's avatarFilipe Brandenburger <filbranden@google.com>
    • Filipe Brandenburger's avatar
      build-sys: drop unneeded $(top_srcdir) from source paths · 0e7fe5ad
      Filipe Brandenburger authored
      This is cleaner and we need to match paths exactly when we enable the
      subdir-objects automake option.
      Out-of-tree builds still work since automake is smart to know these are
      source files and that it needs to look for them in $(top_srcdir), so
      there is no need to make this explicit.
      Tested that it builds and both `make check` and `make distcheck` work.
      Signed-off-by: Filipe Brandenburger's avatarFilipe Brandenburger <filbranden@google.com>
    • Filipe Brandenburger's avatar
      build-sys: add $(top_srcdir) to include search dir · 90cc5460
      Filipe Brandenburger authored
      This is required for out-of-tree build to work, since many source files
      include e.g. proc/*.h which is not under the include/ directory.
      Tested that `make distcheck` starts working after this patch.
      Signed-off-by: Filipe Brandenburger's avatarFilipe Brandenburger <filbranden@google.com>
  22. 15 Sep, 2014 2 commits
  23. 28 Jun, 2014 1 commit
    • Craig Small's avatar
      Manpage translations in Makefiles · 0f8f7603
      Craig Small authored
      The translated manpage generation has moved from scripts to
      Makefiles. This asists with conditional building as well, no
      need to regenerate the German pgrep man page if both
      the original pgrep.1 and man-po/de.po is not changed.
      My Makefile-fu fails me on producing a cross-product or double
      iteration for languages and man pages. Until that is solved
      each man page is explicitly built. No big deal but it doesn't
      look elegant in the Makefile. Languages will be picked
      up automatically if they are found in man-po, man-po/top or
      The README describes the three-step process for translating
      the files, incase I forget or someone else wants to update them.
  24. 25 Jun, 2014 1 commit
    • Craig Small's avatar
      Moved man-po pot file creation into Makefile · 889ad238
      Craig Small authored
      The pot files for man-po are part of the extra_dist target so are
      built at dist time. These used to be created as part of the dist-hook.
      However it is better to control their builds in the Makefile so they
      are conditionally built. It also means distcheck doesn't complain when
      they are added to the CLEANFILES.
  25. 24 Jun, 2014 1 commit
    • Craig Small's avatar
      Fix some man-po stuff for distcheck · 62dcbe31
      Craig Small authored
      distcheck failed because the man-po scripts weren't sourcing or
      escaping the directories correctly.
      This is a partial fix, but at least distcheck is happy.