[Pkg-javascript-commits] [node-browserify-aes] 89/92: First debian package

Bastien Roucariès rouca at moszumanska.debian.org
Sun Jun 4 09:35:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-browserify-aes.

commit 417c29b962afa6f30e69c9e882060e8d5173757a
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Sat May 27 15:17:39 2017 +0200

    First debian package
---
 debian/changelog     |   8 +++
 debian/compat        |   1 +
 debian/control       |  28 ++++++++++
 debian/copyright     | 155 +++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/docs          |   1 +
 debian/install       |  12 ++++
 debian/rules         |  15 +++++
 debian/tests/control |   2 +
 debian/tests/require |   3 +
 debian/watch         |   5 ++
 10 files changed, 230 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4587119
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,8 @@
+node-browserify-aes (1.0.6-1) UNRELEASED; urgency=low
+
+  [ FIX_ME debian author  Sat, 27 May 2017 14:15:18 +0200 ]
+  * Initial release (Closes: #nnnn)
+
+  [ bastien ]
+
+ -- bastien <bastien at portable2015-bastien.roucariès.eu>  Sat, 27 May 2017 14:15:31 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7810be8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,28 @@
+Source: node-browserify-aes
+Section: web
+Priority: optional
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders: FIX_ME debian author
+Build-Depends:
+ debhelper (>= 10)
+ , dh-buildinfo
+ , nodejs
+Standards-Version: 3.9.8
+Homepage: https://github.com/crypto-browserify/browserify-aes
+Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-browserify-aes.git
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-browserify-aes.git
+
+Package: node-browserify-aes
+Architecture: all
+Depends:
+ ${misc:Depends}
+ , nodejs
+ , node-create-hash (>= 1.1.0)
+ , node-evp-bytestokey (>= 1.0.0)
+ , node-cipher-base (>= 1.0.0)
+ , node-inherits (>= 2.0.1)
+ , node-buffer-xor (>= 1.0.2)
+Description: aes, for browserify
+ FIX_ME long description
+ .
+ Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c2ebc1c
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,155 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: browserify-aes
+Upstream-Contact: https://github.com/crypto-browserify/browserify-aes/issues
+Source: https://github.com/crypto-browserify/browserify-aes
+Comment: this package was mainly derivated (see readme.md)
+ from triplesec (https://github.com/keybase/triplesec)
+ that is itself derivated from crypto-js
+ (https://code.google.com/p/crypto-js/ now at
+  https://code.google.com/archive/p/crypto-js/wikis/License.wiki).
+ .
+ crypto-js is distributed under BSD-3.
+ .
+ triplesec is distributed under expat
+ (https://github.com/keybase/triplesec/blob/master/LICENSE)
+ but only for its own modification due to cloning crypto-js.
+ .
+ ghash.js file is derivated see comment in the header from sjcl
+ (https://github.com/bitwiseshiftleft/sjcl/) that is distibuted under
+ BSD-2 or GPL-2 at your choice
+ (see https://github.com/bitwiseshiftleft/sjcl/blob/master/LICENSE.txt).
+ .
+ This package is said upstream to be distributed under expat license
+ but is really under BSD-3.
+
+Files: *
+Copyright:  2009-2013, Jeff Mott
+            2013, Maxwell Krohn
+	    2014-2017, browserify-aes contributors
+License: BSD-3 and Expat
+comment: Jeff Mott is original author of crypto-js see
+ https://github.com/keybase/triplesec/blob/master/LICENSE
+ .
+ Maxwell Krohn is original author of triplesec releasing modification
+ of cypto-js under expat license see
+ https://github.com/keybase/triplesec/blob/master/LICENSE
+ .
+ browserify-aes contributors released modifications under expat license.
+
+Files: ghash.js
+Copyright:  2009-2013, Jeff Mott
+            2013, Maxwell Krohn
+	    2014-2017, browserify-aes contributors
+            2009-2015, Emily Stark, Mike Hamburg and Dan Boneh at Stanford University
+	    2012 Juho Vähä-Herttua
+	    2016 Fedirico Bond
+License: BSD-2 or GPL-2, and BSD-3 and Expat
+comment: Jeff Mott is original author of crypto-js see
+ https://github.com/keybase/triplesec/blob/master/LICENSE
+ .
+ Maxwell Krohn is original author of triplesec releasing modification
+ of cypto-js under expat license see
+ https://github.com/keybase/triplesec/blob/master/LICENSE
+ .
+ browserify-aes contributors released modifications under expat license.
+ .
+ Some functions of this files where copied from sjcl project under
+ BSD-2 or GPL-2 copyright
+ (see https://github.com/bitwiseshiftleft/sjcl/blob/master/LICENSE.txt)
+ .
+ Original author of sjcl project where checked using git history see
+ https://github.com/bitwiseshiftleft/sjcl/commits/master/core/gcm.js
+
+Files: debian/*
+Copyright: 2017, Bastien Roucariès
+License: Expat
+
+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: BSD-3
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions, and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions, and the following disclaimer in the documentation
+ or other materials provided with the distribution.
+ .
+ 3. Neither the name CryptoJS nor the names of its contributors may be used to endorse
+ or promote products derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS," AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED.
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-2
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: GPL-2
+ This package 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 2 of the License.
+ .
+ This package 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 package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..cdb5f04
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+readme.md
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..8e299f9
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,12 @@
+index.js usr/lib/nodejs/browserify-aes/
+browser.js usr/lib/nodejs/browserify-aes/
+encrypter.js usr/lib/nodejs/browserify-aes/
+decrypter.js usr/lib/nodejs/browserify-aes/
+modes usr/lib/nodejs/browserify-aes/
+aes.js usr/lib/nodejs/browserify-aes/
+streamCipher.js usr/lib/nodejs/browserify-aes/
+authCipher.js usr/lib/nodejs/browserify-aes/
+modes.js usr/lib/nodejs/browserify-aes/
+ghash.js usr/lib/nodejs/browserify-aes/
+package.json usr/lib/nodejs/browserify-aes/
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..de57af0
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+#override_dh_auto_build:
+
+#override_dh_auto_test:
+
+
+
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..6357e2f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: require
+Depends: node-browserify-aes
diff --git a/debian/tests/require b/debian/tests/require
new file mode 100644
index 0000000..d45668f
--- /dev/null
+++ b/debian/tests/require
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+nodejs -e "require('browserify-aes');"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..9dc0e8b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-browserify-aes-$1.tar.gz/ \
+ https://github.com/crypto-browserify/browserify-aes/tags .*/archive/v?([\d\.]+).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-browserify-aes.git



More information about the Pkg-javascript-commits mailing list