svn commit: r462749 - in head/security/pwned-check: . files
Stefan Esser
se at FreeBSD.org
Fri Feb 23 22:10:35 UTC 2018
Author: se
Date: Fri Feb 23 22:10:33 2018
New Revision: 462749
URL: https://svnweb.freebsd.org/changeset/ports/462749
Log:
Update to use newly released database of pawned passwords (2.5 times the
number of passwords covered, compared to the previous version).
Approved by: antoine (implicit)
Modified:
head/security/pwned-check/Makefile
head/security/pwned-check/files/pkg-message.in
head/security/pwned-check/files/pwned-check.1.in
head/security/pwned-check/files/pwned-check.conf.sample
head/security/pwned-check/files/pwned-check.sh.in
Modified: head/security/pwned-check/Makefile
==============================================================================
--- head/security/pwned-check/Makefile Fri Feb 23 22:00:38 2018 (r462748)
+++ head/security/pwned-check/Makefile Fri Feb 23 22:10:33 2018 (r462749)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pwned-check
-PORTVERSION= 1.0
+PORTVERSION= 2.0
CATEGORIES= security
MASTER_SITES= #
DISTFILES= #
Modified: head/security/pwned-check/files/pkg-message.in
==============================================================================
--- head/security/pwned-check/files/pkg-message.in Fri Feb 23 22:00:38 2018 (r462748)
+++ head/security/pwned-check/files/pkg-message.in Fri Feb 23 22:10:33 2018 (r462749)
@@ -7,7 +7,7 @@ the following command:
The database files will be installed into /var/db/pwned-check by default.
This directory can be changed in %%PREFIX%%/etc/pwned-check.conf.
-The installation procedure will fetch 6 GB of compressed data and will
-temporarily need 18 GB of free space in that directory and 13 GB when
+The installation procedure will fetch 9 GB of compressed data and will
+temporarily need 40 GB of free space in that directory and 30 GB when
the installation is complete.
-------------------------------------------------------------------------
Modified: head/security/pwned-check/files/pwned-check.1.in
==============================================================================
--- head/security/pwned-check/files/pwned-check.1.in Fri Feb 23 22:00:38 2018 (r462748)
+++ head/security/pwned-check/files/pwned-check.1.in Fri Feb 23 22:10:33 2018 (r462749)
@@ -29,8 +29,9 @@ plain text password corresponding to a given SHA1 hash
.Pp
If the option
.Fl u
-is used, the password hash database is downloaded and initialized.
-This process will temporarily require some 18 GB of free space in the
+is used, the password hash database (9 GB compressed) is downloaded and
+initialized.
+This process will temporarily require some 40 GB of free space in the
database directory, which is
.Pa /var/db/pwned-check
by default.
@@ -42,7 +43,7 @@ the download.
Optional configuration file.
.It Pa /var/db/pwned-check
Default location of pwned password hash database.
-Needs 18 GB of free space during download, 13 GB when finished.
+Needs up to 40 GB of free space during download, 30 GB when finished.
.El
.Sh EXIT STATUS
.Nm
Modified: head/security/pwned-check/files/pwned-check.conf.sample
==============================================================================
--- head/security/pwned-check/files/pwned-check.conf.sample Fri Feb 23 22:00:38 2018 (r462748)
+++ head/security/pwned-check/files/pwned-check.conf.sample Fri Feb 23 22:10:33 2018 (r462749)
@@ -1,2 +1,2 @@
DBDIR= /var/db/pwned-check
-URLBASE=i https://downloads.pwnedpasswords.com/passwords
+URLBASE= https://downloads.pwnedpasswords.com/passwords
Modified: head/security/pwned-check/files/pwned-check.sh.in
==============================================================================
--- head/security/pwned-check/files/pwned-check.sh.in Fri Feb 23 22:00:38 2018 (r462748)
+++ head/security/pwned-check/files/pwned-check.sh.in Fri Feb 23 22:10:33 2018 (r462749)
@@ -58,11 +58,11 @@ fetchpwfiles ()
fi
rm -f "$f7z"
done <<EOF
-pwned-passwords-1.0.txt 12862899504 5702869528 90d57d16a2dfe00de6cc58d0fa7882229ace4a53
-pwned-passwords-update-1.txt 574389228 262300582 00fc585efad08a4b6323f8e4196aae9207f8b09f
-pwned-passwords-update-2.txt 16791180 8000810 20318090278bbd196945025bc7bf93e99f261f9a
+pwned-passwords-2.0.txt 31603121046 9405806974 c267424e7d2bb5b10adff4d776fa14b0967bf0cc
EOF
echo "All data files have been successfully downloaded and extracted."
+ rm -f "$DBDIR/pwned-passwords-1.0.txt*"
+ rm -f "$DBDIR/pwned-passwords-update-?.txt*"
}
# Password lookup
More information about the svn-ports-head
mailing list