<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-01-31 21:51 GMT+01:00 Daniel Kahn Gillmor <span dir="ltr"><<a href="mailto:dkg@debian.org" target="_blank">dkg@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Over on <a href="https://bugs.debian.org/787774" rel="noreferrer" target="_blank">https://bugs.debian.org/787774</a><wbr>, On Fri 2015-06-05 00:43:14 +0200, W. Martin Borgert wrote:<br>
> Package: wnpp<br>
> Severity: wishlist<br>
><br>
> Package name    : libjs-openpgp<br>
> Version         : v0.10.1<br>
> Upstream Author : OpenPGP Development Team <<a href="mailto:list@openpgpjs.org" target="_blank">list@openpgpjs.org</a>><br>
> URL             : <a href="http://openpgpjs.org/" rel="noreferrer" target="_blank">http://openpgpjs.org/</a><br>
> License         : LGPL3+<br>
> Programming Lang: JavaScript<br>
> Description     : OpenPGP JavaScript Implementation<br>
<br>
OpenPGP.js is in even better shape today when this bug was filed, but it<br>
hasn't been included in debian yet.  This is an e-mail asking about the<br>
best next steps to get it into Debian.<br>
<br>
(btw, URL should be <a href="https://openpgpjs.org/" rel="noreferrer" target="_blank">https://openpgpjs.org/</a> these days)<br>
<br>
I need OpenPGP.js in debian in order for me to upload the upcoming<br>
enigmail 2.0 release, because enigmail 2.0 includes OpenPGP.js, and<br>
upstream only has the minified versions available, which clearly isn't<br>
DFSG-free.<br>
<br>
I'm not very skilled with the node/grunt toolchain in debian, or with<br>
the current debian javascript packaging policy but i'd be happy to learn<br>
if someone wants to give me pointers.<br>
<br>
the upstream documentation looks like it can prepare everything for<br>
publication with:<br>
<br>
    npm install<br>
    npm test<br>
<br>
but that itself looks likely to use network access which is something we<br>
can't depend on during the debian build.<br></blockquote><div><br></div><div>Indeed.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Should i try to follow the npm2deb guidance here:<br>
<br>
   <a href="https://wiki.debian.org/Javascript/Nodejs/Npm2Deb" rel="noreferrer" target="_blank">https://wiki.debian.org/Javas<wbr>cript/Nodejs/Npm2Deb</a><br>
<br>
or is there a better approach?<br></blockquote><div><br></div><div>Not really.</div><div>npm2deb can help you setting up things more quickly.</div><div>For example it will tell there's a missing dependency on node-localstorage,</div><div>which in turn luckily depends on a package already in debian.</div><div>The build system (using grunt) might be missing some packages too.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, is libjs-openpgp still the best-practice name for the debian<br>
package for OpenPGP.js?  I'd be happy to take over this RFP if i can get<br>
guidance from wiser javascript people about this.<br></blockquote><div><br></div><div>Since it's distributed with a package.json and it is built using nodejs,</div><div>the source package should be node-openpgp</div><div>and built packages should be node-openpgp and libjs-openpgp.</div><div><br></div><div>Hope that helps,</div><div>Jérémy</div></div></div></div>