pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/firefox_decrypt



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Jun 21 20:25:45 UTC 2020

Added Files:
        pkgsrc/www/firefox_decrypt: DESCR Makefile PLIST distinfo
        pkgsrc/www/firefox_decrypt/patches: patch-firefox__decrypt.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/firefox_decrypt/DESCR \
    pkgsrc/www/firefox_decrypt/Makefile pkgsrc/www/firefox_decrypt/PLIST \
    pkgsrc/www/firefox_decrypt/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/firefox_decrypt/patches/patch-firefox__decrypt.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/firefox_decrypt/DESCR
diff -u /dev/null pkgsrc/www/firefox_decrypt/DESCR:1.1
--- /dev/null   Sun Jun 21 20:25:45 2020
+++ pkgsrc/www/firefox_decrypt/DESCR    Sun Jun 21 20:25:45 2020
@@ -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.
Index: pkgsrc/www/firefox_decrypt/Makefile
diff -u /dev/null pkgsrc/www/firefox_decrypt/Makefile:1.1
--- /dev/null   Sun Jun 21 20:25:45 2020
+++ pkgsrc/www/firefox_decrypt/Makefile Sun Jun 21 20:25:45 2020
@@ -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"
Index: pkgsrc/www/firefox_decrypt/PLIST
diff -u /dev/null pkgsrc/www/firefox_decrypt/PLIST:1.1
--- /dev/null   Sun Jun 21 20:25:45 2020
+++ pkgsrc/www/firefox_decrypt/PLIST    Sun Jun 21 20:25:45 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/21 20:25:45 wiz Exp $
+bin/firefox_decrypt.py
Index: pkgsrc/www/firefox_decrypt/distinfo
diff -u /dev/null pkgsrc/www/firefox_decrypt/distinfo:1.1
--- /dev/null   Sun Jun 21 20:25:45 2020
+++ pkgsrc/www/firefox_decrypt/distinfo Sun Jun 21 20:25:45 2020
@@ -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

Index: pkgsrc/www/firefox_decrypt/patches/patch-firefox__decrypt.py
diff -u /dev/null pkgsrc/www/firefox_decrypt/patches/patch-firefox__decrypt.py:1.1
--- /dev/null   Sun Jun 21 20:25:45 2020
+++ pkgsrc/www/firefox_decrypt/patches/patch-firefox__decrypt.py        Sun Jun 21 20:25:45 2020
@@ -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