From owner-freebsd-questions@freebsd.org Tue Mar 28 08:57:59 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9E5FD22172; Tue, 28 Mar 2017 08:57:59 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 99B29831; Tue, 28 Mar 2017 08:57:59 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.76) (envelope-from ) id 1csmYV-0001XX-8G; Tue, 28 Mar 2017 10:32:43 +0200 Date: Tue, 28 Mar 2017 10:32:43 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Cc: freebsd-ports@freebsd.org Subject: port of nss-passwords Message-ID: <20170328083242.GA26303@sh4-5.1blu.de> Reply-To: Matthias Apitz MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2017 08:57:59 -0000 Hello, I was searching for some cmd line tool to extract the 'saved logins' from my firefox; I know that there is some mozilla add-on, but I do not want to use this. I came across this little piece of software https://github.com/glondu/nss-passwords which seems to do exactly this, following the README: ... This program reads passwords from a Mozilla keyring. It can run entirely in text mode. It is merely a higher level version of pwdecrypt, which is no longer convenient for direct use with SQLite-based and JSON-based keyrings of recent versions of Firefox. ... The problem is that I do not understand, what the Makefile is doing (in Debian), for example: OCAMLC = ocamlfind ocamlc -g -package fileutils.str,sqlite3,atdgen OCAMLOPT = ocamlfind ocamlopt -g -package fileutils.str,sqlite3,atdgen ML_CFLAGS = $(foreach u,$(shell pkg-config --cflags nss),-ccopt $(u)) ML_LFLAGS = $(foreach u,$(shell pkg-config --libs nss),-cclib $(u)) ... %.cmo: %.ml $(OCAMLC) -c $< ... Anybody out here who knows what ports could bring the required infrastructure ocamlfind...? I have installed ocaml-4.02.3, but this has no 'ocamlfind'. Thanks matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-176-38902045 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign