Commit Graph

74 Commits

Author SHA1 Message Date
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
Stanisław Pitucha
c3a453e548 bftpd: fix darwin build
Explicitly set the C standard to fix builds on new compilers.
2024-06-16 08:15:43 +10:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Jussi Kuokkanen
8064d28a4f pkgs/servers: remove licenses.gpl2 2024-05-23 11:49:42 +03:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
b5d9d93291 bftpd: 6.1 -> 6.2 2023-11-16 13:40:53 +00:00
Adrian Pistol
a9fea43703 uftpd: init at 2.15 2023-09-04 17:42:10 +00:00
Nikolay Korotkiy
7cb7cac6a5
kamid: fix cross-compilation 2022-11-27 21:40:02 +03:00
Weijia Wang
3c6ec39333 bftpd: fix build on aarch64-darwin 2022-11-03 12:08:23 +01:00
Franz Pletz
993839aab5
bftpd: fix build with libxcrypt 2022-10-09 18:12:56 +02:00
Franz Pletz
24bc4540bf
pure-ftpd: fix build with libxcrypt 2022-10-09 18:10:42 +02:00
Franz Pletz
52f2785e67
vsftpd: fix build with libxcrypt 2022-10-09 18:09:43 +02:00
Jonas Heinrich
947266b25e
Merge pull request #183408 from r-ryantm/auto-update/kamid
kamid: 0.1 -> 0.2
2022-08-22 08:56:02 +02:00
R. Ryantm
25df1de334 pure-ftpd: 1.0.50 -> 1.0.51 2022-08-01 05:41:59 +00:00
R. Ryantm
838487b081 kamid: 0.1 -> 0.2 2022-07-28 17:37:58 +00:00
heph2
2796dcfbdf
kamid: init at 0.1 (#162739) 2022-04-08 17:28:58 +01:00
ajs124
8289e6478b
vsftpd: enable seccomp (#158974)
* vsftpd: enable seccomp

* nixos/tests/vsftpd: add basic test

* vsftpd: add test to passthru
2022-03-01 11:03:47 +08:00
R. Ryantm
17257b3387 bftpd: 6.0 -> 6.1 2022-02-10 19:15:57 +00:00
Robert Scott
7ed01d754e pure-ftpd: enable for darwin 2021-12-05 12:32:39 +00:00
Robert Scott
b32487deda pure-ftpd: 1.0.49 -> 1.0.50 2021-12-04 23:45:05 +00:00
figsoda
3afdd0c724
Merge pull request #134543 from r-ryantm/auto-update/vsftpd
vsftpd: 3.0.3 -> 3.0.5
2021-09-16 22:03:25 -04:00
R. RyanTM
36e05dbeb2 bftpd: 5.9 -> 6.0 2021-08-20 16:23:58 +00:00
R. RyanTM
3e4fd842e6 vsftpd: 3.0.3 -> 3.0.5 2021-08-17 21:01:21 +00:00
Felix Buehler
a56d117bdb servers: replace name with pname&version 2021-07-26 20:15:46 +02:00
R. RyanTM
cf7232d88a bftpd: 5.7 -> 5.9 2021-07-23 12:06:58 +00:00
Felix Buehler
82cb33a0ae treewide: remove meta.version 2021-07-18 00:07:38 +02:00
Rick van Schijndel
bd67ccabff vsftpd: fix cross-compilation, remove -Werror 2021-06-21 23:18:16 +02:00
R. RyanTM
ed59957954 bftpd: 5.6 -> 5.7 2021-05-13 14:09:40 +00:00
Robert Schütz
8926311238 vsftpd: fix build with gcc9
We still use that version on aarch64.
2021-05-12 14:06:35 +02:00
Vladimír Čunát
73e17a3594
treewide: remove lethalman from meta.maintainers
He hasn't been heard of for years.
2021-05-07 15:36:40 +02:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
luc65r
decbe0dc9c vsftpd: fix build with gcc10 2020-12-28 08:43:32 +01:00
Martin Weinelt
cee1971dfd
Merge pull request #95280 from risicle/ris-pure-ftpd-CVE-2020-9274
pure-ftpd: add patches for CVE-2020-9274, CVE-2020-9365
2020-08-14 21:49:16 +02:00
Mario Rodas
c31f704424
bftpd: enable on darwin 2020-08-13 04:20:00 +00:00
R. RyanTM
ecbad9338c bftpd: 5.4 -> 5.6 2020-08-13 01:21:51 +00:00
Robert Scott
5b072a4fc0 pure-ftpd: add patches for CVE-2020-9274, CVE-2020-9365
Fixes merged to upstream's master but no release yet.
2020-08-12 22:19:13 +01:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
841a5b9965 bftpd: 5.2 -> 5.4 2020-01-15 05:41:38 +00:00
R. RyanTM
45332a59a9 bftpd: 5.1 -> 5.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bftpd/versions
2019-07-18 22:05:23 -07:00
R. RyanTM
96137dda97 bftpd: 5.0 -> 5.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bftpd/versions
2019-06-01 00:05:28 -07:00
R. RyanTM
c8ddb306db pure-ftpd: 1.0.48 -> 1.0.49
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pure-ftpd/versions
2019-05-01 19:42:19 -07:00
R. RyanTM
18ea86b576 pure-ftpd: 1.0.47 -> 1.0.48
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/pure-ftpd/versions
2019-04-02 02:40:00 -07:00
Peter Hoeg
078b742a01 vsftpd: compile with OpenSSL for SSL support
SSL support was selectable via a flag, but as we are bound to have OpenSSL on
the machine anyway, it really doesn't make sense to not compile in support.

Did a bunch of cleanups too.
2018-12-06 17:53:53 +08:00
R. RyanTM
1e17b4b2dc bftpd: 4.9 -> 5.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bftpd/versions
2018-11-10 08:19:17 -08:00
Pascal Wittmann
e5ef637fc2
vsftpd: add license
see issue #43716
2018-08-04 16:09:40 +02:00
Peter Hoeg
23ccc6904a bftpd: minor cleanups 2018-04-23 11:00:49 +08:00
Daiderd Jordan
32227af3a6
pure-ftpd: mark linux only 2018-04-05 20:06:05 +02:00
R. RyanTM
2cf5fe97d0 bftpd: 4.8 -> 4.9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/bftpd/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd -h` got 0 exit code
- ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd --help` got 0 exit code
- ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd -v` and found version 4.9
- ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd --version` and found version 4.9
- ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd -h` and found version 4.9
- ran `/nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9/bin/bftpd --help` and found version 4.9
- found 4.9 with grep in /nix/store/22swhqg3b1j8jxnlnndb9d4rhx5ajaam-bftpd-4.9
- directory tree listing: https://gist.github.com/f0a3568c5073cae5ff7e99964b767161
2018-03-31 15:33:46 -07:00
Ryan Mulligan
dbeb64eb2b bftpd: 4.4 -> 4.8
Semi-automatic update. These checks were done:

- built on NixOS
- ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd -h` got 0 exit code
- ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd --help` got 0 exit code
- ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd -v` and found version 4.8
- ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd --version` and found version 4.8
- ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd -h` and found version 4.8
- ran `/nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8/bin/bftpd --help` and found version 4.8
- found 4.8 with grep in /nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8
- found 4.8 in filename of file in /nix/store/jl7d3l14s4p2f7r9mm9pij1ifpszkziv-bftpd-4.8
2018-03-07 18:08:42 -08:00
Ryan Mulligan
4848cfcacf pure-ftpd: 1.0.46 -> 1.0.47
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-statsdecode help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw -h` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw --help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw -V` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw -v` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw --version` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw version` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw -h` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw --help` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pw help` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pwconvert -h` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pwconvert --help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-pwconvert help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-authd -h` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-authd --help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-authd help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpd -h` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpd --help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpd help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpd -V` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpd -v` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpd --version` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpwho -h` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpwho --help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-ftpwho help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-mrtginfo -h` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-mrtginfo --help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-mrtginfo help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-quotacheck -h` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-quotacheck --help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-quotacheck -V` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-quotacheck -v` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-quotacheck --version` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-quotacheck --help` and found version 1.0.47
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-uploadscript -h` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-uploadscript --help` got 0 exit code
- ran `/nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47/bin/pure-uploadscript help` got 0 exit code
- found 1.0.47 with grep in /nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47
- found 1.0.47 in filename of file in /nix/store/w574k17jp6zx54xy328z4c143lpzv87k-pure-ftpd-1.0.47

cc "@lethalman"
2018-02-28 14:23:04 +00:00