Package: node-browserify-rsa
Version: 4.1.0
Revision: 1.1
###
BuildDepends: <<
	fink (>= 0.32)
<<
Depends: <<
	node-bn.js,
	node-randombytes
<<
###
Source: mirror:debian:/pool/main/n/%n/%n_%v.orig.tar.gz
Source-Checksum: SHA256(8641b2d17944395b71c659c8d844ee157548d3f25387e9a7e85401ae2340830f)
SourceDirectory: browserify-rsa-%v
Source2: mirror:debian:pool/main/n/%n/%n_%v-1.debian.tar.xz
Source2-Checksum: SHA256(a686262a84a5de8b12808fdf4e45bdb38501e3234d2935d87516efbba30e93d5)
Source2ExtractDir: browserify-rsa-%v
###
DocFiles: README.md LICENSE
###
CompileScript: <<
echo
<<
# For tests to work you need to mod %p/etc/ssl/openssl.cnf
# comment out "providers = provider_sect"
# in the section [openssl_init]
# as per https://askubuntu.com/a/1410124
InfoTest: <<
	TestDepends: <<
		node-parse-asn1,
		node-tape
	<<
	TestScript: <<
tape test/*.js || exit 2
	<<
<<
InstallScript: <<
install -d -m0755 %i/share/nodejs/browserify-rsa
install -m0644 index.js %i/share/nodejs/browserify-rsa/
install -m0644 package.json %i/share/nodejs/browserify-rsa/
<<
###
Description: RSA for browserify
DescDetail: <<
RSA private decryption/signing using Chinese remainder and blinding.
.
Node.js is an event-based server-side JavaScript engine.
<<
###
License: BSD
Homepage: https://github.com/crypto-browserify/browserify-rsa
Maintainer: Justin F. Hallett <thesin@users.sourceforge.net>