From owner-freebsd-questions@freebsd.org Wed Mar 29 10:42:37 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 D30F4D22018; Wed, 29 Mar 2017 10:42:37 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 99A3C69083; Wed, 29 Mar 2017 10:42:37 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [82.113.121.62] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1ctB3c-0005NT-NA; Wed, 29 Mar 2017 12:42:28 +0200 Received: from localhost.my.domain (c720-r314251 [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id v2TAgOca003167 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 29 Mar 2017 12:42:24 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id v2TAgNx5003166; Wed, 29 Mar 2017 12:42:23 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 29 Mar 2017 12:42:23 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: Re: port of nss-passwords Message-ID: <20170329104223.GA3132@c720-r314251> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org, freebsd-ports@freebsd.org References: <20170328083242.GA26303@sh4-5.1blu.de> <6208b8c0-3660-b005-b7cb-16f8b86bbe3a@abinet.ru> <20170328103001.GA3310@c720-r314251> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170328103001.GA3310@c720-r314251> X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.62 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: Wed, 29 Mar 2017 10:42:37 -0000 El día martes, marzo 28, 2017 a las 12:30:01p. m. +0200, Matthias Apitz escribió: > Yes, thank you. It is even in the head of our ports. > This brings it on step further: > > $ gmake > ocamlfind ocamlc -g -package fileutils.str,sqlite3 -c main.ml > ocamlfind: Package `fileutils.str' not found > gmake: *** [Makefile:20: main.cmo] Error 2+ > > (the 'sqlite3' can be installed with the port databases/ocaml-sqlite3). > > Something like ports/*/ocaml-file* we do not have. I manged to compile and install ocaml-fileutils directly from its source and could gmake the tool nss-passwords. It works nicely but only on the old signons.sqlite database, not on the logins.json file of Mozilla. Perhaps one could write a script to insert the records from logins.json into the old (now unused) signons.sqlite db. matthias -- Matthias Apitz, ✉ guru@unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045