[Pkg-javascript-devel] Looking for help Re: Bug#787774: RFP: libjs-openpgp -- OpenPGP JavaScript Implementation (OpenPGP.js)

Jérémy Lal kapouer at melix.org
Wed Jan 31 22:05:56 UTC 2018


2018-01-31 21:51 GMT+01:00 Daniel Kahn Gillmor <dkg at debian.org>:

> Over on https://bugs.debian.org/787774, On Fri 2015-06-05 00:43:14 +0200,
> W. Martin Borgert wrote:
> > Package: wnpp
> > Severity: wishlist
> >
> > Package name    : libjs-openpgp
> > Version         : v0.10.1
> > Upstream Author : OpenPGP Development Team <list at openpgpjs.org>
> > URL             : http://openpgpjs.org/
> > License         : LGPL3+
> > Programming Lang: JavaScript
> > Description     : OpenPGP JavaScript Implementation
>
> OpenPGP.js is in even better shape today when this bug was filed, but it
> hasn't been included in debian yet.  This is an e-mail asking about the
> best next steps to get it into Debian.
>
> (btw, URL should be https://openpgpjs.org/ these days)
>
> I need OpenPGP.js in debian in order for me to upload the upcoming
> enigmail 2.0 release, because enigmail 2.0 includes OpenPGP.js, and
> upstream only has the minified versions available, which clearly isn't
> DFSG-free.
>
> I'm not very skilled with the node/grunt toolchain in debian, or with
> the current debian javascript packaging policy but i'd be happy to learn
> if someone wants to give me pointers.
>
> the upstream documentation looks like it can prepare everything for
> publication with:
>
>     npm install
>     npm test
>
> but that itself looks likely to use network access which is something we
> can't depend on during the debian build.
>

Indeed.


> Should i try to follow the npm2deb guidance here:
>
>    https://wiki.debian.org/Javascript/Nodejs/Npm2Deb
>
> or is there a better approach?
>

Not really.
npm2deb can help you setting up things more quickly.
For example it will tell there's a missing dependency on node-localstorage,
which in turn luckily depends on a package already in debian.
The build system (using grunt) might be missing some packages too.


> Also, is libjs-openpgp still the best-practice name for the debian
> package for OpenPGP.js?  I'd be happy to take over this RFP if i can get
> guidance from wiser javascript people about this.
>

Since it's distributed with a package.json and it is built using nodejs,
the source package should be node-openpgp
and built packages should be node-openpgp and libjs-openpgp.

Hope that helps,
Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20180131/397ec48c/attachment.html>


More information about the Pkg-javascript-devel mailing list