From owner-freebsd-questions@FreeBSD.ORG Thu Jul 30 09:01:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B0E1106564A for ; Thu, 30 Jul 2009 09:01:54 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7DD7E8FC1C for ; Thu, 30 Jul 2009 09:01:53 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 7A4D536BC4; Thu, 30 Jul 2009 11:01:50 +0200 (CEST) Date: Thu, 30 Jul 2009 11:01:49 +0200 From: cpghost To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Message-ID: <20090730090149.GA36296@phenom.cordula.ws> References: <20090522223129.GA4918@phenom.cordula.ws> <20090523145353.GC1325@phenom.cordula.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090523145353.GC1325@phenom.cordula.ws> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: contact@getfiregpg.org Subject: Re: A port for FireGPG? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2009 09:01:54 -0000 On Sat, May 23, 2009 at 04:53:53PM +0200, cpghost wrote: > On Sat, May 23, 2009 at 12:31:29AM +0200, cpghost wrote: > > Hi, > > > > I'd like to use GnuPG with Webmail (e.g. with gmail or other > > webmails). AFAICS, the following Firefox add-on would help: > > > > http://www.getfiregpg.org/ > > > > Unfortunately, according to http://www.getfiregpg.org/install.html > > one needs to compile an IPC library (?) out of the firefox3 sources, > > like this: > > > > http://blog.getfiregpg.org/2008/10/17/how-to-compile-the-ipc-library/ > > > > Is there a port to automate this task, or could someone with the > > necessary skills please create such a port? That would be great! > > Just a little follow-up. > > Those are the (manual) steps to get libipc compiled on FreeBSD/amd64, > assuming www/firefox3 is already installed: Hi, this is an update for www/firefox35 # cd /usr/ports/www/firefox35 # make configure # make build (Be patient, it takes some time) # cd work/mozilla-1.9.1/extensions # (source of ipc-latest.tar.gz is https://bugzilla.mozilla.org/attachment.cgi?id=299132) # tar -xvpf /path/to/ipc-latest.zip # chown -R root:wheel ipc (We now have /usr/ports/www/firefox35/work/mozilla-1.9.1/extensions/ipc) # cd ipc # ./makemake -r -o . Here, you need to manually edit (like this): Makefile (topsrcdir = ../..) build/Makefile (topsrcdir = ../../..) public/Makefile (topsrcdir = ../../..) src/Makefile (topsrcdir = ../../..) # gmake (This will create libipc.so, ipc.xpt in: /usr/ports/www/firefox35/work/mozilla-1.9.1/dist/bin/components) # cd /usr/ports/www/firefox35/work/mozilla-1.9.1/dist/bin/components # cp -i libipc.so /usr/local/lib/firefox3/components/ # cp -i ipc.xpt /usr/local/lib/firefox3/components/ (There is no need to install firefox3 again. Only libipc.so and ipc.xpt count) $ cd ~/.mozilla/firefox/ $ touch .autoreg (And restart firefox3). With that, firegpg add-on works flawlessly. All this can probably be automated with a slave port of www/firefox35. IMPORTANT: you don't want to use the port www/xpi-firegpg. It is extremely outdated (firegpg-0.5.2). Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/