mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
Make password work again on recent 9-STABLE and later.
This commit is contained in:
parent
b34caa2874
commit
a620bbe799
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355587
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= tiarra
|
||||
PORTVERSION= 20100212
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= japanese irc ipv6
|
||||
MASTER_SITES= http://www.clovery.jp/tiarra/archive/2010/02/
|
||||
|
||||
|
13
japanese/tiarra/files/patch-main__Crypt.pm
Normal file
13
japanese/tiarra/files/patch-main__Crypt.pm
Normal file
@ -0,0 +1,13 @@
|
||||
Index: main/Crypt.pm
|
||||
diff -u main/Crypt.pm.orig main/Crypt.pm
|
||||
--- main/Crypt.pm.orig 2010-02-12 03:34:31.000000000 +0900
|
||||
+++ main/Crypt.pm 2014-05-28 10:25:14.117593425 +0900
|
||||
@@ -25,7 +25,7 @@
|
||||
# encryptedのsaltでrawをcrypt()してみて、一致したかどうかを真偽値で返す。
|
||||
my ($raw,$encrypted) = @_;
|
||||
|
||||
- return crypt($raw,substr($encrypted,0,2)) eq $encrypted;
|
||||
+ return crypt($raw,$encrypted) eq $encrypted;
|
||||
}
|
||||
|
||||
sub gen_salt {
|
Loading…
Reference in New Issue
Block a user