Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox_decrypt www/firefox_decrypt: import firefo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0cac546325c5
branches:  trunk
changeset: 434795:0cac546325c5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 21 20:25:45 2020 +0000

description:
www/firefox_decrypt: import firefox_decrypt-0.7.0

Firefox Decrypt is a tool to extract passwords from profiles of
Mozilla (Fire/Water)fox, Thunderbird, SeaMonkey, and some derivates.

It can be used to recover passwords from a profile protected by a
Master Password as long as the latter is known. If a profile is
not protected by a Master Password, a password will still be
requested but can be left blank.

This tool does not try to crack or brute-force the Master Password
in any way. If the Master Password is not known it will simply fail
to recover any data.

diffstat:

 www/firefox_decrypt/DESCR                             |  11 +++++++
 www/firefox_decrypt/Makefile                          |  27 +++++++++++++++++++
 www/firefox_decrypt/PLIST                             |   2 +
 www/firefox_decrypt/distinfo                          |   7 ++++
 www/firefox_decrypt/patches/patch-firefox__decrypt.py |  15 ++++++++++
 5 files changed, 62 insertions(+), 0 deletions(-)

diffs (82 lines):

diff -r 90d11caa629e -r 0cac546325c5 www/firefox_decrypt/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox_decrypt/DESCR Sun Jun 21 20:25:45 2020 +0000
@@ -0,0 +1,11 @@
+Firefox Decrypt is a tool to extract passwords from profiles of
+Mozilla (Fire/Water)fox, Thunderbird, SeaMonkey, and some derivates.
+
+It can be used to recover passwords from a profile protected by a
+Master Password as long as the latter is known. If a profile is
+not protected by a Master Password, a password will still be
+requested but can be left blank.
+
+This tool does not try to crack or brute-force the Master Password
+in any way. If the Master Password is not known it will simply fail
+to recover any data.
diff -r 90d11caa629e -r 0cac546325c5 www/firefox_decrypt/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox_decrypt/Makefile      Sun Jun 21 20:25:45 2020 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2020/06/21 20:25:45 wiz Exp $
+
+DISTNAME=      firefox_decrypt-0.7.0
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=unode/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/unode/firefox_decrypt/
+COMMENT=       Extract passwords from Mozilla Firefox profiles
+LICENSE=       gnu-gpl-v3
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+REPLACE_PYTHON=                        firefox_decrypt.py
+INSTALLATION_DIRS=             bin
+
+SUBST_CLASSES+=                        nss
+SUBST_FILES.nss+=              ${REPLACE_PYTHON}
+SUBST_STAGE.nss=               pre-configure
+SUBST_VARS.nss+=               PREFIX
+
+do-build:
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/firefox_decrypt.py ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 90d11caa629e -r 0cac546325c5 www/firefox_decrypt/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox_decrypt/PLIST Sun Jun 21 20:25:45 2020 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/21 20:25:45 wiz Exp $
+bin/firefox_decrypt.py
diff -r 90d11caa629e -r 0cac546325c5 www/firefox_decrypt/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox_decrypt/distinfo      Sun Jun 21 20:25:45 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/06/21 20:25:45 wiz Exp $
+
+SHA1 (firefox_decrypt-0.7.0.tar.gz) = d4e83c500f4afc0f814096dc501d5aafb18cddc4
+RMD160 (firefox_decrypt-0.7.0.tar.gz) = f9f22345a3589ed9180b2913e7a0094ae7da88da
+SHA512 (firefox_decrypt-0.7.0.tar.gz) = a719820e1934f38b7f2a22f6946d1f3738281473381b346eec3a1904827aa5f6b7fff2147cbb9c411276232bacc32ec7a09d597d30ba2f72a93a8482e7737e7f
+Size (firefox_decrypt-0.7.0.tar.gz) = 62639 bytes
+SHA1 (patch-firefox__decrypt.py) = 2b27605f255cf8f45db6f827ded04f2e424a4941
diff -r 90d11caa629e -r 0cac546325c5 www/firefox_decrypt/patches/patch-firefox__decrypt.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/firefox_decrypt/patches/patch-firefox__decrypt.py     Sun Jun 21 20:25:45 2020 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-firefox__decrypt.py,v 1.1 2020/06/21 20:25:45 wiz Exp $
+
+Help it find libnss3.
+
+--- firefox_decrypt.py.orig    2018-01-25 20:30:09.000000000 +0000
++++ firefox_decrypt.py
+@@ -278,7 +278,7 @@ class NSSDecoder(object):
+             firefox = self.find_nss(locations, nssname)
+         else:
+             nssname = "libnss3.so"
+-            firefox = ""  # Current directory or system lib finder
++            firefox = "@PREFIX@/lib/nss"
+ 
+         try:
+             nsslib = os.path.join(firefox, nssname)



Home | Main Index | Thread Index | Old Index