Commit Graph

46 Commits

Author SHA1 Message Date
Sergei Trofimovich
4cac65085c procps: fix watchOnly = true; build
Without the change the build fails as:

    $ nix build --impure --expr 'with import ./. {}; procps.override { withSystemd = false; watchOnly = true; }' -L
    ...
    procps> build flags: -j16 SHELL=.../bash usrbin_execdir=\$\(out\)/bin watch PKG_LDFLAGS=
    procps> make: *** No rule to make target 'watch'.  Stop.

While at it dropped unused `PKG_LDFLAGS=` flag.
2024-10-17 10:54:02 +01:00
Thomas Gerbet
8878d5a682 procps: remove typeteris from the maintainers
https://github.com/NixOS/nixpkgs/pull/298505#issuecomment-2198112591
2024-09-30 21:32:11 +02:00
Thomas Gerbet
f978ecc43e procps: 3.3.17 -> 4.0.4
Changes:
https://gitlab.com/procps-ng/procps/-/releases/v4.0.0
https://gitlab.com/procps-ng/procps/-/releases/v4.0.3
https://gitlab.com/procps-ng/procps/-/releases/v4.0.4
2024-09-30 21:32:11 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Travis A. Everett
8f413d8a44 binlore: migrate override lore to package passthru
Lore overrides have been included with binlore's source up to now, but
this hasn't worked very well. (It isn't as easy to self-service for
people working in nixpkgs, and its use of partial pnames for matching
breaks down around some edge cases like version numbers appearing
early in perl pnames, or multiple packages having identical pnames.)
2024-07-04 11:15:05 -05:00
Jussi Kuokkanen
95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
Ingo Blechschmidt
2e223c782a procps: enable 8bit support, thereby fix #275220 2023-12-18 21:06:23 +01:00
Scott Worley
d5938b21cf procps: Backport the CVE-2023-4016 fix
The upstream patch from the 4.x branch: 2c933ecba3.diff
2023-10-28 23:17:06 -07:00
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Yureka
9cbe4d60b1
pkgsMusl.procps: fix build (#204212) 2022-12-03 12:27:39 +01:00
github-actions[bot]
62a63cc986
Merge staging-next into staging 2022-11-18 00:02:41 +00:00
Dmitry Bogatov
aa9bbf6fcf pkgsStatic.procps: disable systemd support on static build 2022-11-17 19:13:54 +01:00
Aaron Jheng
8c7c33237b
procps: 3.3.16 -> 3.3.17 2022-11-04 11:55:46 +00:00
Sandro Jäckel
152114997f procps-ng: cleanup, format, remove ? null from inputs 2021-03-18 00:49:28 +00:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Edward Tjörnhammar
edf43c7c6f
procps-ng: apply sanity check patch of SC_ARG_MAX 2020-12-02 14:46:53 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
c0e0177560 procps: 3.3.15 -> 3.3.16 2019-12-30 16:19:48 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
rnhmjoj
87bfe6e115
procps: lower priority to solve collisions with coreutils 2019-05-08 16:00:18 +02:00
Vladimír Čunát
5ae438a3e7
procps(-ng): drop the bootstrapping hack
On master/staging the bootstrap mistake has been fixed,
and it no longer pulls procps, so such a hack isn't required.
2018-08-30 18:01:07 +02:00
Alexey Lebedeff
86b097432a procps: enable systemd support when available
`ps` can show various systemd-related information, like a unit to
which a process belongs. But when it's not compiled it, it shows only
'?' in such fields.

Can be tested with:

    ps -o unit= ax
2018-07-27 10:41:42 +02:00
Matthew Bauer
b802570fc2 procps: clarify compatibility 2018-07-09 11:59:56 -04:00
Matthew Bauer
f4c4a4cc1b watch: remove
This can be built in the procps-ng/default.nix expression.
2018-07-09 11:59:32 -04:00
xeji
f96c5effd6 procps-ng: 3.3.14 -> 3.3.15 (#41324)
https://nvd.nist.gov/vuln/detail/CVE-2018-1124

Closes #41082
2018-06-01 19:25:27 +00:00
Will Dietz
38ef327aec procps-ng: Use official release tarballs, fix version.
Also no need to re-generate config bits,
which is good since we encountered an error when trying to do so.

Fixes #39538.
2018-04-26 09:23:49 -05:00
Will Dietz
dde9c099e9 procps-ng: switch URL style to (hopefully) fix problems with hash
See:
https://github.com/NixOS/nixpkgs/issues/39154

Not sure why we're seeing that behavior re:fetchFromGitLab,
but for now use a likely-to-be-stable URL instead.

Fixes #39154.

(although the issue warrants some additional investigation IMO)
2018-04-19 13:15:23 -05:00
Will Dietz
54c6a9c710 procps-ng: 3.3.13 -> 3.3.14
* patches were from upstream, merged in this update \o/
* "addressses" incorrect hash by moving to latest version
2018-04-19 13:15:23 -05:00
Will Dietz
c95720ca14 procps-ng: 3.3.12 -> 3.3.13
https://gitlab.com/procps-ng/procps/tags/v3.3.13

Patch to fix new version w/musl.
2018-04-05 12:40:27 -05:00
Eric Wolf
59a9165b9d procps-ng: took maintainership 2018-03-24 14:46:59 +01:00
Eric Wolf
67b23ee0d9 procps-ng: updated project location
- use the real project location and not some sf.net mirror
- the meta attribute shouldn't point users to a website cluttered
  with ads (sf.net) where they probably just follow the link
  to the real project location
- adapted the build to the new archive
2018-03-24 14:42:12 +01:00
Ben Gamari
c3bf521f18 procps: Enable cross-compilation 2018-01-22 20:25:44 -05:00
Matthew Justin Bauer
2eacddf0dc treewide: homepage URL fixes (#28475)
* pgadmin: use https homepage

* msn-pecan: move homepage to github

google code is now unavailable

* pidgin-latex: use https for homepage

* pidgin-opensteamworks: use github for homepage

google code is unavailable

* putty: use https for homepage

* ponylang: use https for homepage

* picolisp: use https for homepage

* phonon: use https for homepage

* pugixml: use https for homepage

* pioneer: use https for homepage

* packer: use https for homepage

* pokerth: usee https for homepage

* procps-ng: use https for homepage

* pycaml: use https for homepage

* proot: move homepage to .github.io

* pius: use https for homepage

* pdfread: use https for homepage

* postgresql: use https for homepage

* ponysay: move homepage to new site

* prometheus: use https for homepage

* powerdns: use https for homepage

* pm-utils: use https for homepage

* patchelf: move homepage to https

* tesseract: move homepage to github

* quodlibet: move homepage from google code

* jbrout: move homepage from google code

* eiskaltdcpp: move homepage to github

* nodejs: use https to homepage

* nix: use https for homepage

* pdf2djvu: move homepage from google code

* game-music-emu: move homepage from google code

* vacuum: move homepae from google code
2017-08-22 20:50:04 +02:00
John Ericson
16be434b0b Merge accepted cross compilation PRs into staging 2017-06-28 23:17:21 -04:00
hsloan
b8ed3c65bb propcps: Rely on cc-wrapper to export this env var 2017-06-28 21:24:25 -04:00
David McFarland
a08024bcb0 procps-ng: allow cygwin 2017-06-26 09:33:09 -03:00
Tuomas Tynkkynen
1ccd871fde procps: 3.3.11 -> 3.3.12 2017-04-11 13:00:56 +03:00
William A. Kennington III
0b907d875c procps-ng: 3.3.10 -> 3.3.11 2015-08-18 11:12:34 -07:00
Eelco Dolstra
fef6141662 Revert "procps-ng: Refactor a bit"
This reverts commit dceff137e1. It was
described as a "refactoring", but actually made procps depend on
systemd (which is a heavy dependency) and changed the name of the
package.
2015-06-19 14:14:52 +02:00
William A. Kennington III
9fc53d95bc procps-ng: Fix license 2015-03-27 11:32:33 -07:00
William A. Kennington III
dceff137e1 procps-ng: Refactor a bit 2015-03-27 11:15:49 -07:00
Aristid Breitkreuz
0ab9b14e17 make top less red 2014-10-22 21:21:01 +02:00
Aristid Breitkreuz
43a5282d08 procps: update from 3.3.9 to 3.3.10 2014-10-07 23:41:21 +02:00
Vladimír Čunát
ca09a878d0 procps-ng: make it the default procps (name and attr) 2014-03-16 19:07:38 +01:00
Nixpkgs Monitor
6fc2d316bb procps-ng: update from 3.3.6 to 3.3.9 2013-12-16 01:36:17 +02:00
Eelco Dolstra
5ebaaeb7f3 procps-ng: Add
This will replace procps eventually.
2013-01-23 17:12:20 +01:00