diff -Nru node-jsbn-1.1.0/debian/changelog node-jsbn-1.1.0+~1.2.29/debian/changelog --- node-jsbn-1.1.0/debian/changelog 2020-12-27 16:30:55.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/changelog 2021-11-16 11:52:34.000000000 +0000 @@ -1,9 +1,47 @@ -node-jsbn (1.1.0-1.1) unstable; urgency=medium +node-jsbn (1.1.0+~1.2.29-1) unstable; urgency=medium - * Non maintainer upload by the Reproducible Builds team. - * No source change upload to rebuild on buildd with .buildinfo files. + * Team upload + * Declare compliance with policy 4.6.0 + * Add "Rules-Requires-Root: no" + * Change section to javascript + * Add debian/gbp.conf + * Modernize debian/watch + * Fix filenamemangle + * Fix GitHub tags regex + * Drop dependency to nodejs + * Use dh-sequence-nodejs auto install + * Add lintian overrides + * Embed typescript definitions and repack - -- Holger Levsen Sun, 27 Dec 2020 17:30:55 +0100 + -- Yadd Tue, 16 Nov 2021 12:52:34 +0100 + +node-jsbn (1.1.0-2) unstable; urgency=medium + + [ Debian Janitor ] + * Trim trailing whitespace. + * Use secure copyright file specification URI. + * Bump debhelper from old 9 to 12. + * Set debhelper-compat version in Build-Depends. + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. + * Update Vcs-* headers from URL redirect. + * Use canonical URL in Vcs-Git. + * Apply multi-arch hints. + + node-jsbn: Add Multi-Arch: foreign. + * Bump debhelper from old 12 to 13. + + [ Yadd ] + * Declare compliance with policy 4.6.0 + * Add "Rules-Requires-Root: no" + * Change section to javascript + * Add debian/gbp.conf + * Modernize debian/watch + * Fix filenamemangle + * Fix GitHub tags regex + * Drop dependency to nodejs + * Use dh-sequence-nodejs auto install + + -- Yadd Tue, 16 Nov 2021 12:47:00 +0100 node-jsbn (1.1.0-1) unstable; urgency=low diff -Nru node-jsbn-1.1.0/debian/compat node-jsbn-1.1.0+~1.2.29/debian/compat --- node-jsbn-1.1.0/debian/compat 2017-04-28 10:21:16.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru node-jsbn-1.1.0/debian/control node-jsbn-1.1.0+~1.2.29/debian/control --- node-jsbn-1.1.0/debian/control 2017-04-28 10:21:16.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/control 2021-11-16 11:50:55.000000000 +0000 @@ -1,22 +1,22 @@ Source: node-jsbn -Section: web +Section: javascript Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Pirate Praveen -Build-Depends: - debhelper (>= 9) - , dh-buildinfo - , nodejs -Standards-Version: 3.9.8 -Homepage: https://github.com/andyperlitch/jsbn#readme -Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-jsbn.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-jsbn.git +Build-Depends: debhelper-compat (= 13) + , dh-sequence-nodejs +Standards-Version: 4.6.0 +Vcs-Browser: https://salsa.debian.org/js-team/node-jsbn +Vcs-Git: https://salsa.debian.org/js-team/node-jsbn.git +Homepage: https://github.com/andyperlitch/jsbn +Testsuite: autopkgtest-pkg-nodejs +Rules-Requires-Root: no Package: node-jsbn Architecture: all -Depends: - ${misc:Depends} - , nodejs +Depends: ${misc:Depends} +Multi-Arch: foreign +Provides: ${nodejs:Provides} Description: fast, portable implementation of large-number math in pure JS The jsbn library is a fast, portable implementation of large-number math in pure JavaScript, enabling public-key crypto and other applications on desktop diff -Nru node-jsbn-1.1.0/debian/copyright node-jsbn-1.1.0+~1.2.29/debian/copyright --- node-jsbn-1.1.0/debian/copyright 2017-04-28 10:21:16.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/copyright 2021-11-16 11:51:17.000000000 +0000 @@ -1,12 +1,17 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: jsbn Upstream-Contact: https://github.com/andyperlitch/jsbn/issues Source: https://github.com/andyperlitch/jsbn#readme + https://registry.npmjs.org/@types/jsbn Files: * Copyright: 2017 Tom Wu License: Expat +Files: types-*/* +Copyright: Microsoft Corporation +License: Expat + Files: debian/* Copyright: 2017 Pirate Praveen License: Expat @@ -31,4 +36,3 @@ 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. - diff -Nru node-jsbn-1.1.0/debian/gbp.conf node-jsbn-1.1.0+~1.2.29/debian/gbp.conf --- node-jsbn-1.1.0/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/gbp.conf 2021-11-16 11:50:14.000000000 +0000 @@ -0,0 +1,6 @@ +[DEFAULT] +pristine-tar=True +component=['types-jsbn'] + +[import-orig] +filter=[ '.gitignore', '.travis.yml', '.git*' ] diff -Nru node-jsbn-1.1.0/debian/install node-jsbn-1.1.0+~1.2.29/debian/install --- node-jsbn-1.1.0/debian/install 2017-04-28 10:21:16.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/install 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -index.js usr/lib/nodejs/jsbn/ -package.json usr/lib/nodejs/jsbn/ diff -Nru node-jsbn-1.1.0/debian/nodejs/root_modules node-jsbn-1.1.0+~1.2.29/debian/nodejs/root_modules --- node-jsbn-1.1.0/debian/nodejs/root_modules 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/nodejs/root_modules 2021-11-16 11:50:33.000000000 +0000 @@ -0,0 +1 @@ +* \ No newline at end of file diff -Nru node-jsbn-1.1.0/debian/patches/fix-excluded-files.patch node-jsbn-1.1.0+~1.2.29/debian/patches/fix-excluded-files.patch --- node-jsbn-1.1.0/debian/patches/fix-excluded-files.patch 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/patches/fix-excluded-files.patch 2021-11-16 11:43:40.000000000 +0000 @@ -0,0 +1,9 @@ +Description: exclude examples from install +Author: Yadd +Forwarded: no +Last-Update: 2021-11-16 + +--- /dev/null ++++ b/.npmignore +@@ -0,0 +1 @@ ++example.* diff -Nru node-jsbn-1.1.0/debian/patches/series node-jsbn-1.1.0+~1.2.29/debian/patches/series --- node-jsbn-1.1.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/patches/series 2021-11-16 11:43:14.000000000 +0000 @@ -0,0 +1 @@ +fix-excluded-files.patch diff -Nru node-jsbn-1.1.0/debian/rules node-jsbn-1.1.0+~1.2.29/debian/rules --- node-jsbn-1.1.0/debian/rules 2017-04-28 10:21:16.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/rules 2021-11-16 11:41:24.000000000 +0000 @@ -6,10 +6,3 @@ %: dh $@ - -#override_dh_auto_build: - -#override_dh_auto_test: - - - diff -Nru node-jsbn-1.1.0/debian/salsa-ci.yml node-jsbn-1.1.0+~1.2.29/debian/salsa-ci.yml --- node-jsbn-1.1.0/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/salsa-ci.yml 2021-11-16 11:40:48.000000000 +0000 @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff -Nru node-jsbn-1.1.0/debian/source/lintian-overrides node-jsbn-1.1.0+~1.2.29/debian/source/lintian-overrides --- node-jsbn-1.1.0/debian/source/lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/source/lintian-overrides 2021-11-16 11:48:36.000000000 +0000 @@ -0,0 +1,5 @@ +# Data +source-is-missing index.js +source-contains-prebuilt-javascript-object index.js +very-long-line-length-in-source-file README.md line 5 is 514 characters long (>512) +very-long-line-length-in-source-file index.js line 1112 is 665 characters long (>512) diff -Nru node-jsbn-1.1.0/debian/tests/control node-jsbn-1.1.0+~1.2.29/debian/tests/control --- node-jsbn-1.1.0/debian/tests/control 2017-04-28 10:21:16.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -Tests: require -Depends: node-jsbn diff -Nru node-jsbn-1.1.0/debian/tests/require node-jsbn-1.1.0+~1.2.29/debian/tests/require --- node-jsbn-1.1.0/debian/tests/require 2017-04-28 10:21:16.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/tests/require 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -#!/bin/sh -set -e -nodejs -e "require('jsbn');" diff -Nru node-jsbn-1.1.0/debian/upstream/metadata node-jsbn-1.1.0+~1.2.29/debian/upstream/metadata --- node-jsbn-1.1.0/debian/upstream/metadata 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/upstream/metadata 2020-02-18 20:41:20.000000000 +0000 @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/andyperlitch/jsbn/issues +Bug-Submit: https://github.com/andyperlitch/jsbn/issues/new +Repository: https://github.com/andyperlitch/jsbn.git +Repository-Browse: https://github.com/andyperlitch/jsbn diff -Nru node-jsbn-1.1.0/debian/watch node-jsbn-1.1.0+~1.2.29/debian/watch --- node-jsbn-1.1.0/debian/watch 2017-04-28 10:21:16.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/debian/watch 2021-11-16 11:51:36.000000000 +0000 @@ -1,5 +1,10 @@ -version=3 +version=4 opts=\ -dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\ -filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-jsbn-$1.tar.gz/ \ - https://github.com/andyperlitch/jsbn/tags .*/archive/v?([\d\.]+).tar.gz +dversionmangle=auto,\ +filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-jsbn-$1/ \ + https://github.com/andyperlitch/jsbn/tags .*/archive/.*/v?([\d\.]+).tar.gz group + +# It is not recommended use npmregistry. Please investigate more. +# Take a look at https://wiki.debian.org/debian/watch/ +opts="searchmode=plain,component=types-jsbn,ctype=nodejs,pgpmode=none,filenamemangle=s/^.*?-(\d[\d\.-]*@ARCHIVE_EXT@)/node-types-jsbn-$1/" \ + https://registry.npmjs.org/@types/jsbn https://registry.npmjs.org/@types/jsbn/-/jsbn-([\d\.]+)@ARCHIVE_EXT@ group diff -Nru node-jsbn-1.1.0/types-jsbn/index.d.ts node-jsbn-1.1.0+~1.2.29/types-jsbn/index.d.ts --- node-jsbn-1.1.0/types-jsbn/index.d.ts 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/types-jsbn/index.d.ts 2017-11-04 05:34:19.000000000 +0000 @@ -0,0 +1,249 @@ +// Type definitions for jsbn v1.2.29 +// Project: http://www-cs-students.stanford.edu/%7Etjw/jsbn/ +// Definitions by: Eugene Chernyshov , Al Tabayoyon +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export interface RandomGenerator { + nextBytes(bytes: number[]): void; +} + +export class BigInteger { + constructor(a: number, c: RandomGenerator); + constructor(a: number, b: number, c: RandomGenerator); + constructor(a: string, b?: number); + constructor(a: number[], b?: number); + constructor(a: BigInteger); + + s: number; + t: number; + data: number[]; // forge specific + + DB: number; + DM: number; + DV: number; + + FV: number; + F1: number; + F2: number; + + // am: Compute w_j += (x*this_i), propagate carries, + am(i: number, x: number, w: BigInteger, j: number, c: number, n: number): number; + + // (protected) copy this to r + copyTo(r: BigInteger): void; + + // (protected) set from integer value x, -DV <= x < DV + fromInt(x: number): void; + + // (protected) set from string and radix + fromString(x: string, b: number): void; + + // (protected) clamp off excess high words + clamp(): void; + + // (public) return string representation in given radix + toString(b?: number): string; + + // (public) -this + negate(): BigInteger; + + // (public) |this| + abs(): BigInteger; + + // (public) return + if this > a, - if this < a, 0 if equal + compareTo(a: BigInteger): number; + + // (public) return the number of bits in "this" + bitLength(): number; + + // (protected) r = this << n*DB + dlShiftTo(n: number, r: BigInteger): void; + + // (protected) r = this >> n*DB + drShiftTo(n: number, r: BigInteger): void; + + // (protected) r = this << n + lShiftTo(n: number, r: BigInteger): void; + + // (protected) r = this >> n + rShiftTo(n: number, r: BigInteger): void; + + // (protected) r = this - a + subTo(a: BigInteger, r: BigInteger): void; + + // (protected) r = this * a, r != this,a (HAC 14.12) + multiplyTo(a: BigInteger, r: BigInteger): void; + + // (protected) r = this^2, r != this (HAC 14.16) + squareTo(r: BigInteger): void; + + // (protected) divide this by m, quotient and remainder to q, r (HAC 14.20) + // r != q, this != m. q or r may be null. + divRemTo(m: BigInteger, q: BigInteger, r: BigInteger): void; + + // (public) this mod a + mod(a: BigInteger): BigInteger; + + // (protected) return "-1/this % 2^DB"; useful for Mont. reduction + invDigit(): number; + + // (protected) true iff this is even + isEven(): boolean; + + // (protected) this^e, e < 2^32, doing sqr and mul with "r" (HAC 14.79) + exp(e: number, z: Reduction): BigInteger; + + // (public) this^e % m, 0 <= e < 2^32 + modPowInt(e: number, m: BigInteger): BigInteger; + + // (public) + clone(): BigInteger; + + // (public) return value as integer + intValue(): number; + + // (public) return value as byte + byteValue(): number; + + // (public) return value as short (assumes DB>=16) + shortValue(): number; + + // (protected) return x s.t. r^x < DV + chunkSize(r: number): number; + + // (public) 0 if this == 0, 1 if this > 0 + signum(): number; + + // (protected) convert to radix string + toRadix(b: number): string; + + // (protected) convert from radix string + fromRadix(s: string, b: number): void; + + // (protected) alternate constructor + fromNumber(a: number, b?: number, c?: number): void; + + // (public) convert to bigendian byte array + toByteArray(): number[]; + + equals(a: BigInteger): boolean; + + min(a: BigInteger): BigInteger; + + max(a: BigInteger): BigInteger; + + // (protected) r = this op a (bitwise) + bitwiseTo(a: BigInteger, op: (x: number, y: number) => number, r: BigInteger): void; + + // (public) this & a + and(a: BigInteger): BigInteger; + + // (public) this | a + or(a: BigInteger): BigInteger; + + // (public) this ^ a + xor(a: BigInteger): BigInteger; + + // (public) this & ~a + andNot(a: BigInteger): BigInteger; + + // (public) ~this + not(): BigInteger; + + // (public) this << n + shiftLeft(n: number): BigInteger; + + // (public) this >> n + shiftRight(n: number): BigInteger; + + // (public) returns index of lowest 1-bit (or -1 if none) + getLowestSetBit(): number; + + // (public) return number of set bits + bitCount(): number; + + // (public) true iff nth bit is set + testBit(n: number): boolean; + + // (protected) this op (1< number): BigInteger; + + // (protected) this op (1<= 0, 1 < n < DV + dMultiply(n: number): void; + + // (protected) this += n << w words, this >= 0 + dAddOffset(n: number, w: number): void; + + // (public) this^e + pow(e: number): BigInteger; + + // (protected) r = lower n words of "this * a", a.t <= n + multiplyLowerTo(a: BigInteger, n: number, r: BigInteger): void; + + // (protected) r = "this * a" without lower n words, n > 0 + multiplyUpperTo(a: BigInteger, n: number, r: BigInteger): void; + + // (public) this^e % m (HAC 14.85) + modPow(e: BigInteger, m: BigInteger): BigInteger; + + // (public) gcd(this,a) (HAC 14.54) + gcd(a: BigInteger): BigInteger; + + // (protected) this % n, n < 2^26 + modInt(n: number): number; + + // (public) 1/this % m (HAC 14.61) + modInverse(m: BigInteger): BigInteger; + + // (public) test primality with certainty >= 1-.5^t + isProbablePrime(t: number): boolean; + + // (protected) true if probably prime (HAC 4.24, Miller-Rabin) + millerRabin(t: number): boolean; + + static ZERO: BigInteger; + static ONE: BigInteger; +} + +export interface Reduction { + convert(x: BigInteger): BigInteger; + revert(x: BigInteger): BigInteger; + reduce(x: BigInteger): void; + mulTo(x: BigInteger, y: BigInteger, r: BigInteger): void; + sqrTo(x: BigInteger, r: BigInteger): void; +} + +export as namespace jsbn; diff -Nru node-jsbn-1.1.0/types-jsbn/LICENSE node-jsbn-1.1.0+~1.2.29/types-jsbn/LICENSE --- node-jsbn-1.1.0/types-jsbn/LICENSE 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/types-jsbn/LICENSE 2017-11-04 05:34:19.000000000 +0000 @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + 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 diff -Nru node-jsbn-1.1.0/types-jsbn/package.json node-jsbn-1.1.0+~1.2.29/types-jsbn/package.json --- node-jsbn-1.1.0/types-jsbn/package.json 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/types-jsbn/package.json 2017-11-04 05:34:19.000000000 +0000 @@ -0,0 +1,27 @@ +{ + "name": "@types/jsbn", + "version": "1.2.29", + "description": "TypeScript definitions for jsbn", + "license": "MIT", + "contributors": [ + { + "name": "Eugene Chernyshov", + "url": "https://github.com/Evgenus", + "githubUsername": "Evgenus" + }, + { + "name": "Al Tabayoyon", + "url": "https://github.com/al2xed", + "githubUsername": "al2xed" + } + ], + "main": "", + "repository": { + "type": "git", + "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "6af56f4e21ce7566c030d805e0c887e9e3c5988f83e860c205f51f0721ae9d5a", + "typeScriptVersion": "2.0" +} \ No newline at end of file diff -Nru node-jsbn-1.1.0/types-jsbn/README.md node-jsbn-1.1.0+~1.2.29/types-jsbn/README.md --- node-jsbn-1.1.0/types-jsbn/README.md 1970-01-01 00:00:00.000000000 +0000 +++ node-jsbn-1.1.0+~1.2.29/types-jsbn/README.md 2017-11-04 05:34:19.000000000 +0000 @@ -0,0 +1,16 @@ +# Installation +> `npm install --save @types/jsbn` + +# Summary +This package contains type definitions for jsbn (http://www-cs-students.stanford.edu/%7Etjw/jsbn/). + +# Details +Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsbn + +Additional Details + * Last updated: Sat, 04 Nov 2017 05:34:19 GMT + * Dependencies: none + * Global values: jsbn + +# Credits +These definitions were written by Eugene Chernyshov , Al Tabayoyon .