Commit Graph

15 Commits

Author SHA1 Message Date
Sandro Jäckel
375493e227
mkpasswd: minor cleanup 2021-11-11 17:36:54 +01:00
Andrew Marshall
365f3a5918 mkpasswd: Prefer inherit 2021-10-29 12:39:48 -04:00
Andrew Marshall
bbf70ca393 mkpasswd: Include support for more hash methods
(Before) Available methods:
sha512crypt     SHA-512
sha256crypt     SHA-256
md5crypt        MD5
descrypt        standard 56 bit DES-based crypt(3)

(After) Available methods:
yescrypt        Yescrypt
gost-yescrypt   GOST Yescrypt
scrypt          scrypt
bcrypt          bcrypt
bcrypt-a        bcrypt (obsolete $2a$ version)
sha512crypt     SHA-512
sha256crypt     SHA-256
sunmd5          SunMD5
md5crypt        MD5
bsdicrypt       BSDI extended DES-based crypt(3)
descrypt        standard 56 bit DES-based crypt(3)
nt              NT-Hash
2021-10-29 12:39:48 -04:00
Andrew Marshall
2fedb9734d mkpasswd: Fix complaining about missing pkg-config
Before, when building, would output multiple times:

> sh: line 1: pkg-config: command not found
2021-10-29 09:45:27 -04: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Benno Fünfstück
468d1595f8 mkpasswd: fix cross compilation 2018-11-27 17:04:40 +01:00
Samuel Dionne-Riel
7b97c8c0c8 treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
Franz Pletz
03959d4616 whois: init at 5.2.10 and share with mkpasswd
Close #7979.
This commit adds a much more usable whois tool compared to the ones in
busybox and inetutils.

The sources for whois and mkpasswd from Debian are both located in the whois
git repository for historical reasons.
2015-11-11 15:26:10 +01:00
Eelco Dolstra
f43d9f0164 mkpasswd: Add to channel 2014-05-21 15:55:49 +02:00
Charles Strahan
e5eed8f664 fix mkpasswd: use the git repository
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-05-20 23:07:15 -05:00
Rickard Nilsson
48fb891646 mkpasswd: Update to 5.1.1 2014-01-30 12:28:57 +01:00
bbenoist
b39debe886 mkpasswd: Update to 5.0.26
The previous version (5.0.26) has been removed from the debian ftp.
As the source URL is now down, our own hydra (not hydra.nixos.org) failed
to build the package.
This problem will occur again in the future since I only updated the URL
without relying on a "more stable" alternative (this merits a specific
discussion).
2013-09-20 10:43:50 +02:00
Rickard Nilsson
9e85628fb9 mkpasswd: Update to 5.0.25 2013-06-25 12:20:11 +02:00
Rickard Nilsson
ad76386ff7 Add mkpasswd, an overfeatured front end to crypt 2013-02-27 12:14:09 +01:00