[Pkg-javascript-commits] [node-security] 02/10: initial packaging

Mike Gabriel sunweaver at debian.org
Thu Dec 15 10:22:46 UTC 2016


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

sunweaver pushed a commit to branch master
in repository node-security.

commit a8050a3f6a669ee39a3d6c4315b2f129ef1d02c5
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed May 15 08:01:49 2013 +0200

    initial packaging
---
 debian/changelog     |  6 ++++++
 debian/compat        |  1 +
 debian/control       | 23 +++++++++++++++++++++++
 debian/copyright     | 33 +++++++++++++++++++++++++++++++++
 debian/docs          |  2 ++
 debian/install       |  1 +
 debian/rules         | 19 +++++++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  4 ++++
 9 files changed, 90 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6560688
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+node-security (1.0.0~git20130515-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #707640). Obtained from upstream Git,
+    corresponding to commit: 199356533633216ffa47981b8ccf132b9fa074aa.    
+
+ -- Mike Gabriel <sunweaver at debian.org>  Tue, 07 May 2013 18:25:42 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..90383cb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: node-security
+Section: web
+Priority: extra
+Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
+Uploaders:
+ Mike Gabriel <sunweaver at debian.org>,
+Build-Depends:
+ debhelper (>= 8.0.0),
+ dh-buildinfo,
+ nodejs (>= 0.6.19~dfsg-1-3~),
+Standards-Version: 3.9.4
+Homepage: https://github.com/cweider/js-security
+Vcs-Git: git://git.debian.org/collab-maint/node-security.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/node-security.git
+
+Package: node-security
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: Safely encoding and decoding methods for Node.js
+ Safely encode/decode HTML, Javascript and CSS data compliant to the standard
+ as demanded by the OWASP (Open Web Application Security Project) when using
+ Node.js.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..f46cbef
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: js-security
+Upstream-Contact: Chad Weider <cweider at oofn.net>
+Source: https://github.com/cweider/js-security
+
+Files: *
+Copyright:
+ 2011, Chad Weider <cweider at oofn.net>
+License: Expat
+
+Files: debian/*
+Copyright:
+ 2013, Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
+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.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..c45dab0
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README.md
+test
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..cd6e5f4
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+security.js usr/lib/nodejs/
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..220de78
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+	dh $@
+
+override_dh_auto_install:
+	cp -a index.js security.js
+	dh_auto_install
+
+override_dh_auto_clean:
+	rm -f security.js
+	dh_auto_clean
+
+override_dh_auto_test:
+	nodejs test/test.js
\ No newline at end of file
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f8b0464
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-security-$1.tar.gz/ \
+https://github.com/cweider/js-security/tags .*/archive/v?([\d\.]+).tar.gz
+

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



More information about the Pkg-javascript-commits mailing list