]> git.pld-linux.org Git - packages/whois.git/blame - whois-mkpwdhash.patch
- updated to 5.5.22
[packages/whois.git] / whois-mkpwdhash.patch
CommitLineData
8f52e605
JB
1--- whois-5.5.18/Makefile.orig 2023-07-22 17:56:56.000000000 +0200
2+++ whois-5.5.18/Makefile 2023-10-05 21:31:00.451699851 +0200
3@@ -137,15 +137,15 @@ install-whois: whois
36a5fbe5
MK
4 install-mkpasswd: mkpasswd
5 $(INSTALL) -d $(BASEDIR)$(prefix)/bin/
6 $(INSTALL) -d $(BASEDIR)$(prefix)/share/man/man1/
7- $(INSTALL) -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/
8- $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/
9+ $(INSTALL) -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/mkpwdhash
10+ $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/mkpwdhash.1
11
12 install-pos:
13 cd po && $(MAKE) install
8f52e605
JB
14
15 install-bashcomp:
16 $(INSTALL) -d $(BASEDIR)$(BASHCOMPDIR)
17- $(INSTALL) -m 0644 mkpasswd.bash $(BASEDIR)$(BASHCOMPDIR)/mkpasswd
18+ $(INSTALL) -m 0644 mkpasswd.bash $(BASEDIR)$(BASHCOMPDIR)/mkpwdhash
19 $(INSTALL) -m 0644 whois.bash $(BASEDIR)$(BASHCOMPDIR)/whois
20
21 distclean: clean
36a5fbe5
MK
22diff -ur whois-5.3.0.orig/mkpasswd.1 whois-5.3.0/mkpasswd.1
23--- whois-5.3.0.orig/mkpasswd.1 2013-03-30 01:31:39.000000000 +0000
24+++ whois-5.3.0/mkpasswd.1 2018-04-16 16:51:17.853233430 +0000
f9849c01
AM
25@@ -1,12 +1,12 @@
26 .TH MKPASSWD 1 "2019-12-30" "Marco d'Itri" "Debian GNU/Linux"
36a5fbe5
MK
27 .SH NAME
28-mkpasswd \- Overfeatured front end to crypt(3)
29+mkpwdhash \- Overfeatured front end to crypt(3)
30 .SH SYNOPSIS
31-.B mkpasswd
32+.B mkpwdhash
f9849c01
AM
33 .I PASSWORD
34 .RI [ SALT ]
36a5fbe5
MK
35 .SH DESCRIPTION
36-.B mkpasswd
37+.B mkpwdhash
38 encrypts the given password with the
f9849c01
AM
39 .BR crypt (3)
40 libc function, using the given salt.
41@@ -86,7 +86,7 @@ This programs suffers of a bad case of f
42 .IR crypt_gensalt (3),
43 .IR getpass (3).
36a5fbe5
MK
44 .SH AUTHOR
45-.B mkpasswd
46+.B mkpwdhash
f9849c01
AM
47 and this man page were written by Marco d'Itri
48 .RI < md@linux.it >
36a5fbe5 49 and are licensed under the terms of the GNU General Public License,
f9849c01 50
8f52e605
JB
51--- whois-5.5.18/mkpasswd.bash.orig 2023-02-28 01:11:47.000000000 +0100
52+++ whois-5.5.18/mkpasswd.bash 2023-10-05 21:30:19.288589517 +0200
53@@ -1,4 +1,4 @@
54-_mkpasswd() {
55+_mkpwdhash() {
56
57 case $3 in
58 --help | --version | --salt | --rounds | --password-fd | -[hVSRP])
59@@ -30,4 +30,4 @@ _mkpasswd() {
60 return 0
61 fi
62
63-} && complete -F _mkpasswd mkpasswd
64+} && complete -F _mkpwdhash mkpwdhash
This page took 0.083049 seconds and 5 git commands to generate.