2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-29 09:04:17 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Adam Joseph
17ceaffab1 dante: disable getaddrinfo() checks if cross
Prior to this commit, dante's configure-time getaddrinfo() checks
were disabled only if stdenv.hostPlatform.isMips64.

These checks must also be disabled if the buildPlatform cannot
execute hostPlatform binaries.  This commit factors out the control
of this disablement as a flag and adds an additional situation in
which that flag is enabled.
2023-04-22 16:16:02 +03:00
Adam Joseph
491667f8a9 dante: autoreconfHook unconditionally 2023-04-05 19:21:23 -07:00
Artturin
7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
Franz Pletz
71dad513b3
dante: fix build with libxcrypt 2022-10-09 18:10:33 +02:00
Adam Joseph
6f1dbeb35f dante: remove hardwired PATH= from redefgen.sh script
Let's remove the hardwired PATH= setting from the redefgen.sh script
which is executed when autoreconfHook is enabled.  This resolves the
following failure:

  build flags: SHELL=/nix/store/i2k8pqqzrmaafz2lf1dly1w96n4xpf2w-bash-5.1-p16/bin/bash
  Making all in include
  make[1]: Entering directory '/build/dante-1.4.3/include'
  make  all-am
  make[2]: Entering directory '/build/dante-1.4.3/include'
  sh ../include/redefgen.sh ../include
  ../include/redefgen.sh: line 13: egrep: command not found
  ../include/redefgen.sh: line 13: egrep: command not found
  ../include/redefgen.sh: line 13: awk: command not found
2022-04-27 17:25:46 -07:00
Adam Joseph
aeb47faee2 dante: skip configure-time getaddrinfo-too-low check on mips64
This patch allows dante to be compiled (and cross-compiled) for mips64el.

Co-authored-by: John Ericson <git@JohnEricson.me>
2022-03-31 16:04:49 -07:00
Alexei Robyn
03af7d6ac4 dante: 1.4.2 -> 1.4.3 2021-05-01 11:47:23 +10: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
Ben Siraphob
683a87dbeb treewide: remove periods from end of package descriptions 2020-10-17 08:22:31 -07:00
Alexei Robyn
a2169c31fe dante: fix package under Linux 2019-11-19 20:23:17 +11:00
Arnar Gauti Ingason
d376787bef dante: add darwin support 2019-09-23 12:30:34 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) ()
treewide replacement of

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

to pname
2019-08-15 13:41:18 +01:00
Nikolay Amiantov
1f1124859d dante: add extra build inputs
Add PAM, SASL and UPnP support.
2018-04-26 13:57:11 +03:00
Ryan Mulligan
cd95173502 dante: 1.4.1 -> 1.4.2
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/3z75x46yp38ckpdvadhdk2mnvj1dz79s-dante-1.4.2/bin/sockd -h` got 0 exit code
- ran `/nix/store/3z75x46yp38ckpdvadhdk2mnvj1dz79s-dante-1.4.2/bin/sockd -v` and found version 1.4.2
- ran `/nix/store/3z75x46yp38ckpdvadhdk2mnvj1dz79s-dante-1.4.2/bin/sockd -h` and found version 1.4.2
- found 1.4.2 with grep in /nix/store/3z75x46yp38ckpdvadhdk2mnvj1dz79s-dante-1.4.2
- found 1.4.2 in filename of file in /nix/store/3z75x46yp38ckpdvadhdk2mnvj1dz79s-dante-1.4.2
2018-02-25 18:48:49 -08:00
Alexei Robyn
efec7d9787 dante: init at 1.4.1 2016-11-22 21:33:46 +11:00