Commit d0fa845a authored by Jonas Smedegaard's avatar Jonas Smedegaard

Initial packaging.

parent 1f863cd4
* Check test/KeyChainSpec.js
when node-chai-dirty is in Debian.
node-solid-keychain (0.1.3-1) unstable; urgency=low
* Initial release.
Closes: Bug#921313.
-- Jonas Smedegaard <dr@jones.dk> Mon, 04 Feb 2019 06:59:03 +0100
README.html
README.txt
Source: node-solid-keychain
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders:
Jonas Smedegaard <dr@jones.dk>,
Build-Depends:
debhelper,
mocha <!nocheck>,
node-base64url <!nocheck>,
node-chai <!nocheck>,
node-trust-webcrypto <!nocheck>,
pandoc <!nodoc>,
perl <!nocheck>,
Standards-Version: 4.3.0
Homepage: https://github.com/solid/keychain
Vcs-Browser: https://salsa.debian.org/js-team/node-solid-keychain
Vcs-Git: https://salsa.debian.org/js-team/node-solid-keychain.git
Rules-Requires-Root: no
Package: node-solid-keychain
Architecture: all
Depends:
node-base64url,
node-trust-webcrypto,
nodejs,
${misc:Depends},
Description: keychain for use with Web Cryptography API in Node.js
This package provides KeyChain
for use with Web Cryptography API in Node.js.
.
The Web Cryptography API
is the World Wide Web Consortium’s (W3C) recommendation
for a low-level interface
that would increase the security of web applications
by allowing them to perform cryptographic functions
without having to access raw keying material.
.
Node.js is an event-based server-side JavaScript engine.
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: KeyChain
Upstream-Contact: https://github.com/solid/keychain/issues
Source: https://github.com/solid/keychain
Files: *
Copyright:
2016, Anvil Research, Inc. <http://anvil.io/>
2017, MIT Connection Science
License: Expat
Comment:
File <README.md> mentions only MIT as copyright holder,
and file <LICENSE> mentions only Anvil as copyright holder.
Copyright holders assumed to be both Anvil and MIT.
Files: debian/*
Copyright: 2016-2019, Jonas Smedegaard <dr@jones.dk>
License-Grant:
This program is free software;
you can redistribute it and/or modify it
under the terms of the GNU General Public License
as published by the Free Software Foundation;
either version 3, or (at your option) any later version.
License: GPL-3+
License: Expat
Permission is hereby granted, free of charge,
to any person obtaining a copy
of this software and associated documentation files (the "Software"),
to deal in the Software without restriction,
including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS",
WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License: GPL-3+
License-Reference: /usr/share/common-licenses/GPL-3
#!/bin/sh
# Copyright 2016-2019, Jonas Smedegaard <dr@jones.dk>
# Description: helper script to update copyright_hints
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set -eu
# extract metadata from graphics files before copyright check
# - and skip data files unlikely to contain copyright/licensing info.
export DEB_COPYRIGHT_EXTRACT_EXTS="gif jpg png"
export DEB_COPYRIGHT_CHECK_IGNORE_EXTS="epgz ico"
make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
# unconditionally merge changes - safe to do with git-tracked package
[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: FIXME
Upstream-Contact: FIXME
Source: FIXME
Disclaimer: Autogenerated by CDBS
Files: debian/TODO
debian/clean
debian/compat
debian/control
debian/examples
debian/gbp.conf
debian/install
debian/rules
debian/source/format
debian/tests/control
debian/watch
examples/generate.js
examples/restore.js
jsdoc.json
package-lock.json
package.json
src/KeyChain.js
src/algorithms/RsaKeyPair.js
src/algorithms/SupportedAlgorithms.js
src/algorithms/index.js
src/errors/NotSupportedError.js
src/errors/index.js
src/index.js
test/KeyChainSpec.js
test/NotSupportedErrorSpec.js
test/RsaKeyPairSpec.js
test/SupportedAlgorithmsSpec.js
test/resources/keys.json
Copyright: NONE
License: UNKNOWN
FIXME
Files: LICENSE
Copyright: 2016, Anvil Research, Inc. http:anvil.io
License: Expat
FIXME
Files: debian/copyright-check
Copyright: 2016-2019, Jonas Smedegaard <dr@jones.dk>
check
License: GPL-3+
FIXME
Files: README.md
Copyright: 2016, Anvil Research, Inc.
License: UNKNOWN
FIXME
Files: debian/source/lintian-overrides
Copyright: GPL-3+
gpl-3+
License: UNKNOWN
FIXME
# Configuration file for git-buildpackage and friends
[DEFAULT]
pristine-tar = True
sign-tags = True
filter = */.git*
debian-branch = debian/master
package.json src /usr/lib/nodejs/@solid/keychain
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
# detect if build targets experimental suite (or is a draft)
DEB_SUITE_EXP = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION))
# generate documentation unless nodoc requested
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
DOCS = README.html README.txt
endif
override_dh_auto_build: $(DOCS)
# build and run testsuite
# * wrap with perl TAP harness
override_dh_auto_test:
NODE_ENV=test prove \
--exec "mocha --reporter=tap" \
$(filter-out test/KeyChainSpec.js,\
$(wildcard test/*.js)) \
$(if $(DEB_SUITE_EXP),|| true)
override_dh_installdocs:
dh_installdocs --all -- $(DOCS)
%.html: %.md
pandoc --from gfm-raw_html --to html --standalone --output $@ $<
%.txt: %.md
pandoc --from gfm-raw_html --to plain --output $@ $<
%:
dh $@
# License is in License-Reference field (see bug#786450)
missing-license-paragraph-in-dep5-copyright gpl-3\+ *
missing-license-text-in-dep5-copyright GPL-3\+ *
Test-Command: node -e "require('@solid/keychain');"
version=4
# check: uscan --report
# update: gbp import-orig --upstream-vcs-tag=vX.Y.Z --uscan
opts=\
filenamemangle=s/.*?v(@ANY_VERSION@@ARCHIVE_EXT@)/@PACKAGE@-$1/ \
https://github.com/solid/keychain/tags \
.*?v@ANY_VERSION@@ARCHIVE_EXT@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment