svn commit: r462752 - in head/security/pwned-check: . files
Stefan Esser
se at FreeBSD.org
Fri Feb 23 22:50:02 UTC 2018
Author: se
Date: Fri Feb 23 22:50:01 2018
New Revision: 462752
URL: https://svnweb.freebsd.org/changeset/ports/462752
Log:
Revert previous commit. The format of the passwort hash database files
has been changed and entries are no longer sorted.
PORTEPOCH is not incremented, since only a few minutes passed after the
commit of the revoked upate.
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:41:10 2018 (r462751)
+++ head/security/pwned-check/Makefile Fri Feb 23 22:50:01 2018 (r462752)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pwned-check
-PORTVERSION= 2.0
+PORTVERSION= 1.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:41:10 2018 (r462751)
+++ head/security/pwned-check/files/pkg-message.in Fri Feb 23 22:50:01 2018 (r462752)
@@ -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 9 GB of compressed data and will
-temporarily need 40 GB of free space in that directory and 30 GB when
+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 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:41:10 2018 (r462751)
+++ head/security/pwned-check/files/pwned-check.1.in Fri Feb 23 22:50:01 2018 (r462752)
@@ -29,9 +29,8 @@ plain text password corresponding to a given SHA1 hash
.Pp
If the option
.Fl u
-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
+is used, the password hash database is downloaded and initialized.
+This process will temporarily require some 18 GB of free space in the
database directory, which is
.Pa /var/db/pwned-check
by default.
@@ -43,7 +42,7 @@ the download.
Optional configuration file.
.It Pa /var/db/pwned-check
Default location of pwned password hash database.
-Needs up to 40 GB of free space during download, 30 GB when finished.
+Needs 18 GB of free space during download, 13 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:41:10 2018 (r462751)
+++ head/security/pwned-check/files/pwned-check.conf.sample Fri Feb 23 22:50:01 2018 (r462752)
@@ -1,2 +1,2 @@
DBDIR= /var/db/pwned-check
-URLBASE= https://downloads.pwnedpasswords.com/passwords
+URLBASE=i 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:41:10 2018 (r462751)
+++ head/security/pwned-check/files/pwned-check.sh.in Fri Feb 23 22:50:01 2018 (r462752)
@@ -58,11 +58,11 @@ fetchpwfiles ()
fi
rm -f "$f7z"
done <<EOF
-pwned-passwords-2.0.txt 31603121046 9405806974 c267424e7d2bb5b10adff4d776fa14b0967bf0cc
+pwned-passwords-1.0.txt 12862899504 5702869528 90d57d16a2dfe00de6cc58d0fa7882229ace4a53
+pwned-passwords-update-1.txt 574389228 262300582 00fc585efad08a4b6323f8e4196aae9207f8b09f
+pwned-passwords-update-2.txt 16791180 8000810 20318090278bbd196945025bc7bf93e99f261f9a
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-all
mailing list