Import Debian changes 6.0.0-ok1
node-serialize-javascript (6.0.0-ok1) yangtze; urgency=medium * Build for openKylin.
This commit is contained in:
parent
924f2cd5f6
commit
41a436d523
|
@ -0,0 +1,5 @@
|
|||
node-serialize-javascript (6.0.0-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
||||
-- openKylinBot <openKylinBot@openkylin.com> Mon, 25 Apr 2022 22:03:04 +0800
|
|
@ -0,0 +1,29 @@
|
|||
Source: node-serialize-javascript
|
||||
Section: javascript
|
||||
Priority: optional
|
||||
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
|
||||
Uploaders:
|
||||
Jonas Smedegaard <dr@jones.dk>,
|
||||
Build-Depends:
|
||||
debhelper-compat (= 13),
|
||||
mocha <!nocheck>,
|
||||
node-chai,
|
||||
node-randombytes <!nocheck>,
|
||||
pandoc <!nodoc>,
|
||||
Standards-Version: 4.6.0
|
||||
Rules-Requires-Root: no
|
||||
Homepage: https://github.com/yahoo/serialize-javascript
|
||||
Vcs-Git: https://salsa.debian.org/js-team/node-serialize-javascript.git
|
||||
Vcs-Browser: https://salsa.debian.org/js-team/node-serialize-javascript
|
||||
|
||||
Package: node-serialize-javascript
|
||||
Architecture: all
|
||||
Depends:
|
||||
node-randombytes,
|
||||
${misc:Depends},
|
||||
Description: serialize JavaScript to a superset of JSON
|
||||
serialize-javascript is a Nodejs module
|
||||
to serialize JavaScript to a _superset_ of JSON
|
||||
that includes regular expressions, dates and functions.
|
||||
.
|
||||
Nodejs an event-based server-side JavaScript engine.
|
|
@ -0,0 +1,69 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: serialize-javascript
|
||||
Upstream-Contact: https://github.com/yahoo/serialize-javascript/issues/
|
||||
Source: https://github.com/yahoo/serialize-javascript
|
||||
|
||||
Files: *
|
||||
Copyright:
|
||||
2014 Yahoo! Inc.
|
||||
License-Grant:
|
||||
Copyrights licensed under the New BSD License.
|
||||
See the accompanying <LICENSE> file for terms.
|
||||
License: BSD-3-clause~Yahoo
|
||||
Reference: package.json
|
||||
Reference: LICENSE
|
||||
|
||||
Files:
|
||||
debian/*
|
||||
Copyright:
|
||||
2020-2021 Jonas Smedegaard <dr@jones.dk>
|
||||
License-Grant:
|
||||
This packaging 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+
|
||||
Reference: debian/copyright
|
||||
|
||||
License: BSD-3-clause~Yahoo
|
||||
Redistribution and use in source and binary forms,
|
||||
with or without modification,
|
||||
are permitted
|
||||
provided that the following conditions are met:
|
||||
* Redistributions of source code must retain
|
||||
the above copyright notice, this list of conditions
|
||||
and the following disclaimer.
|
||||
* 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.
|
||||
* Neither the name of the Yahoo! Inc.
|
||||
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 YAHOO! INC. 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-3+
|
||||
Reference: /usr/share/common-licenses/GPL-3
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
licensecheck --check '.*' --recursive --copyright --deb-machine --ignore '^(debian/(changelog|copyright(_hints)?))$' --lines 0 -- * > debian/copyright_hints
|
|
@ -0,0 +1,42 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: FIXME
|
||||
Upstream-Contact: FIXME
|
||||
Source: FIXME
|
||||
Disclaimer: Autogenerated by licensecheck
|
||||
|
||||
Files: README.md
|
||||
debian/control
|
||||
debian/copyright-check
|
||||
debian/gbp.conf
|
||||
debian/install
|
||||
debian/patches/2001_privacy.patch
|
||||
debian/patches/series
|
||||
debian/rules
|
||||
debian/source/format
|
||||
debian/tests/control
|
||||
debian/upstream/metadata
|
||||
debian/watch
|
||||
package-lock.json
|
||||
test/benchmark/serialize.js
|
||||
test/unit/serialize.js
|
||||
Copyright: NONE
|
||||
License: UNKNOWN
|
||||
FIXME
|
||||
|
||||
Files: LICENSE
|
||||
index.js
|
||||
Copyright: 2014, Yahoo! Inc.
|
||||
License: BSD-3-clause
|
||||
FIXME
|
||||
|
||||
Files: package.json
|
||||
Copyright: NONE
|
||||
License: BSD-3-clause
|
||||
FIXME
|
||||
|
||||
Files: debian/source/lintian-overrides
|
||||
Copyright: GPL-3+
|
||||
gpl-3+
|
||||
License: UNKNOWN
|
||||
FIXME
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Configuration file for git-buildpackage and friends
|
||||
|
||||
[DEFAULT]
|
||||
pristine-tar = True
|
||||
sign-tags = True
|
||||
filter = */.git*
|
||||
debian-branch = debian/latest
|
||||
upstream-branch = upstream/latest
|
|
@ -0,0 +1 @@
|
|||
package.json index.js usr/share/nodejs/serialize-javascript
|
|
@ -0,0 +1,19 @@
|
|||
Description: Avoid privacy breach in documentation
|
||||
Forwarded: no
|
||||
Author: Jonas Smedegaard <dr@jones.dk>
|
||||
Last-Update: 2020-12-03
|
||||
---
|
||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
||||
--- a/README.md
|
||||
+++ b/README.md
|
||||
@@ -3,10 +3,6 @@
|
||||
|
||||
Serialize JavaScript to a _superset_ of JSON that includes regular expressions, dates and functions.
|
||||
|
||||
-[![npm Version][npm-badge]][npm]
|
||||
-[![Dependency Status][david-badge]][david]
|
||||
-![Test](https://github.com/yahoo/serialize-javascript/workflows/Test/badge.svg)
|
||||
-
|
||||
## Overview
|
||||
|
||||
The code in this package began its life as an internal module to [express-state][]. To expand its usefulness, it now lives as `serialize-javascript` — an independent package on npm.
|
|
@ -0,0 +1 @@
|
|||
2001_privacy.patch
|
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# generate documentation unless nodoc requested
|
||||
ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
|
||||
DOCS = README.html README.txt
|
||||
endif
|
||||
|
||||
# normalize output with TAP where possible unless terse requested
|
||||
MOCHA = mocha --no-timeout
|
||||
ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
|
||||
MOCHA += --reporter tap
|
||||
else
|
||||
MOCHA += --reporter dot --no-colors
|
||||
endif
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
%.html: %.md
|
||||
pandoc --from gfm-raw_html --to html --standalone --output $@ $<
|
||||
|
||||
%.txt: %.md
|
||||
pandoc --from gfm-raw_html --to plain --output $@ $<
|
||||
|
||||
override_dh_clean:
|
||||
dh_clean -- $(DOCS) $(CHANGELOGS)
|
||||
|
||||
override_dh_auto_build: $(DOCS)
|
||||
|
||||
override_dh_auto_test:
|
||||
$(MOCHA) test/unit
|
||||
|
||||
override_dh_installdocs:
|
||||
dh_installdocs --all -- $(DOCS)
|
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
|
@ -0,0 +1,3 @@
|
|||
# License is in Reference field (see bug#786450)
|
||||
missing-license-paragraph-in-dep5-copyright debian/copyright gpl-3\+ *
|
||||
missing-license-text-in-dep5-copyright debian/copyright GPL-3\+ *
|
|
@ -0,0 +1,7 @@
|
|||
Test-Command:
|
||||
sed -i -e 's,\.\./\.\./,serialize-javascript,' test/unit/serialize.js
|
||||
&& mocha --reporter=tap test/unit
|
||||
Depends:
|
||||
node-serialize-javascript,
|
||||
mocha,
|
||||
node-chai,
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
Bug-Database: https://github.com/yahoo/serialize-javascript/issues
|
||||
Bug-Submit: https://github.com/yahoo/serialize-javascript/issues/new
|
||||
Repository: https://github.com/yahoo/serialize-javascript.git
|
||||
Repository-Browse: https://github.com/yahoo/serialize-javascript
|
|
@ -0,0 +1,9 @@
|
|||
version=4
|
||||
# check: uscan --report
|
||||
# update: gbp import-orig --upstream-vcs-tag=vX.Y.Z --uscan
|
||||
|
||||
opts=\
|
||||
filenamemangle=s/.*?(@ANY_VERSION@@ARCHIVE_EXT@)/@PACKAGE@-$1/,\
|
||||
dversionmangle=auto \
|
||||
https://github.com/yahoo/serialize-javascript/tags \
|
||||
.*?@ANY_VERSION@@ARCHIVE_EXT@ group
|
Loading…
Reference in New Issue