Commit graph

27 commits

Author SHA1 Message Date
Vladimír Čunát 9b766dd41b
libxcrypt: add -legacy variant 2023-03-25 10:44:21 +01:00
Martin Weinelt 4e300e071b
libxcrypt: Build only with strong hashes
Effectively removes support for the following hashing algorithms
as announced in the NixOS 22.11 release notes:

- bcrypt_x ($2x$)
- sha256crypt ($5$)
- sha1crypt ($sha1$)
- sunmd5 ($md5$)
- md5crypt ($1$)
- nt ($3$)
- bdiscrypt (_)
- bigcrypt (:)
- descrypt (:)

And exposes the crypt scheme ids for enabled algorithms, so they can be
reused for validation in the users-groups module.
2023-03-13 07:54:27 +01:00
github-actions[bot] 66da6215fb
Merge staging-next into staging 2022-11-22 00:03:02 +00:00
Jean-Paul Calderone edf1f46af8 libxcrypt: Fix the build on Android by allowing warnings
This fixes:

```
lib/util-xbzero.c:61:3: error: extension used [-Werror,-Wlanguage-extension-token]
  OBSERVE_MEM (s, len);
  ^
lib/util-xbzero.c:45:3: note: expanded from macro 'OBSERVE_MEM'
  asm volatile ("" : : "m" (*(const char (*)[len]) s))
  ^
```
2022-11-21 10:33:06 -05:00
Jörg Thalheim c0374c59e0
libxcrypt: 4.4.31 -> 4.4.33
https://github.com/besser82/libxcrypt/releases/tag/v4.4.32
https://github.com/besser82/libxcrypt/releases/tag/v4.4.33
2022-11-18 21:58:19 +01:00
Martin Weinelt d456674f58
libxcrypt: 4.4.30 -> 4.4.31
https://github.com/besser82/libxcrypt/releases/tag/v4.4.31
2022-11-13 20:02:03 +01:00
Martin Weinelt fb505678ed
libxcrypt: 4.4.29 -> 4.4.30
https://github.com/besser82/libxcrypt/releases/tag/v4.4.30

Also enables tests on musl, which now pass.
2022-11-01 23:57:30 +01:00
Martin Weinelt 7765dd12f1
libxcrypt: 4.4.28 -> 4.4.29
https://github.com/besser82/libxcrypt/releases/tag/v4.4.29
2022-10-31 22:44:46 +01:00
Martin Weinelt 5f7f739887
libxcrypt: adopt 2022-10-11 03:41:51 +02:00
Martin Weinelt 9c6406d20f
libxcrypt: add passthru tests
The shadow test uses a password that is hashed with libxcrypt and the
login test uses the passwd command.
2022-10-11 03:41:51 +02:00
Martin Weinelt 8918d77d24
libxcrypt: divert manpages into man output 2022-10-11 03:41:50 +02:00
Franz Pletz f9090d5862
libxcrypt: fix build with musl 2022-10-09 18:09:41 +02:00
Martin Weinelt 7c29dcb80b
libxcrypt: use tarball src, prune dependencies 2022-10-09 18:07:53 +02:00
Yureka ff8794f1b5 pkgsMusl.libxcrypt: fix build 2022-10-01 16:40:27 +02:00
Mikaela Allan 50aea6ef03 libxcrypt: prevent build failure on warnings
The upstream autoconf build system has a default setting that treats
compiler warnings as errors. While this can be useful for development
and maintenance it's not ideal for packaging and distribution: newer
versions of compilers may detect warnings that previous versions of the
compilers failed to detect and cause this package to fail to build.
2022-05-01 15:32:16 +00:00
R. Ryantm e3ccf7d41b libxcrypt: 4.4.18 -> 4.4.28 2022-03-21 11:38:19 +00:00
Misha Gusarov 4d67868912 libxcrypt: init at 4.4.18
Closes #114632
Related to #112371
2021-02-28 12:44:53 +00:00
Eelco Dolstra 5200c92aa0 libxcrypt: Remove 2013-01-28 17:19:03 +01:00
Nicolas Pierron 82b308bf11 Add armv7l support.
svn path=/nixpkgs/trunk/; revision=33798
2012-04-15 23:41:25 +00:00
Yury G. Kudryashov 5b132f6e96 svn merge ^/nixpkgs/trunk
Conflicts: cups, all-packages.nix (gcc45_debug)

svn path=/nixpkgs/branches/stdenv-updates/; revision=31863
2012-01-26 15:27:03 +00:00
Lluís Batlle i Rossell 4a1c721c01 Changing every reference from mips64-linux to mips64el-linux. That's
what the new nix thinks the fuloong is.

Anyone having the old nix should use a nixpkgs previous to this change to build
the new nix. And then, with the new nix, he can use any newer nixpkgs revision.

svn path=/nixpkgs/trunk/; revision=31751
2012-01-21 00:34:51 +00:00
Lluís Batlle i Rossell 006c7c854a Adding a patch for libxcrypt that could make it build for gcc 4.6. Untested; I
only looked at the hydra log.


svn path=/nixpkgs/branches/stdenv-updates/; revision=28961
2011-09-01 17:38:55 +00:00
Lluís Batlle i Rossell 641f956581 Setting any stdenv.system references for the loongson2f system to 'mips64-linux'.
(my git-svn info:)
Merge branch 'mips64' into stdenv-updates

Conflicts:
	pkgs/applications/networking/browsers/firefox/3.6.nix
	pkgs/top-level/all-packages.nix

svn path=/nixpkgs/branches/stdenv-updates/; revision=23588
2010-09-01 09:50:12 +00:00
Lluís Batlle i Rossell b368b4b199 Making more packages build on the Fuloong2f.
I still can't build the kernel because it requires binutils yet to be released.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23132
2010-08-11 20:16:09 +00:00
Lluís Batlle i Rossell 4b27d28701 Porting changes from stdenv-updates into this branch.
This comes from:
svn diff  ^/nixpkgs/trunk/@18255 ^/nixpkgs/branches/stdenv-updates/ > diff
patch -p0 < diff
and then adding into svn all files new from the patch.

trunk@18255 comes from the last time I updated stdenv-updates from trunk.


svn path=/nixpkgs/stdenv-updates2/; revision=18272
2009-11-08 00:32:12 +00:00
Eelco Dolstra bd124ec21a * Various PAM updates.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14109
2009-02-18 11:40:32 +00:00
Eelco Dolstra 5b262e235e * Add libxcrypt for Blowfish support in pam_unix2.
svn path=/nixpkgs/trunk/; revision=7305
2006-12-11 02:35:05 +00:00