[DRE-commits] [ruby-sanitize] 01/01: initial checkin of debian/
Jonas Genannt
jonas at brachium-system.net
Sat Feb 15 22:58:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
hggh-guest pushed a commit to branch master
in repository ruby-sanitize.
commit 066b341dd956fddfb7adc103a81c7853c7913dcc
Author: Jonas Genannt <jonas at brachium-system.net>
Date: Sat Feb 15 23:58:35 2014 +0100
initial checkin of debian/
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 29 +++++++++++++++++++++++++++++
debian/copyright | 32 ++++++++++++++++++++++++++++++++
debian/ruby-sanitize.docs | 1 +
debian/ruby-test-files.yaml | 2 ++
debian/rules | 15 +++++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
9 files changed, 88 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2330b95
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-sanitize (2.1.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #739114)
+
+ -- Jonas Genannt <jonas.genannt at capi2name.de> Sat, 15 Feb 2014 23:39:50 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..158bbcf
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,29 @@
+Source: ruby-sanitize
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Genannt <jonas.genannt at capi2name.de>
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.6.1~), ruby-minitest, ruby-nokogiri
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-sanitize.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-sanitize.git;a=summary
+Homepage: https://github.com/rgrove/sanitize/
+XS-Ruby-Versions: all
+
+Package: ruby-sanitize
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-nokogiri
+Description: whitelist-based HTML sanitizer
+ Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable
+ elements and attributes, Sanitize will remove all unacceptable HTML from a
+ string.
+ .
+ Using a simple configuration syntax, you can tell Sanitize to allow certain
+ elements, certain attributes within those elements, and even certain URL
+ protocols within attributes that contain URLs. Any HTML elements or attributes
+ that you don't explicitly allow will be removed.
+ .
+ Because it's based on Nokogiri, a full-fledged HTML parser, rather than a bunch
+ of fragile regular expressions, Sanitize has no trouble dealing with malformed
+ or maliciously-formed HTML and returning safe output.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..219dfd2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sanitize
+Source: https://github.com/rgrove/sanitize/
+Upstream-Contact: Ryan Grove <ryan at wonko.com>
+
+Files: *
+Copyright: 2013-2014 Ryan Grove <ryan at wonko.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2014 Jonas Genannt <jonas.genannt at capi2name.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/ruby-sanitize.docs b/debian/ruby-sanitize.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-sanitize.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
new file mode 100644
index 0000000..cbf00bd
--- /dev/null
+++ b/debian/ruby-test-files.yaml
@@ -0,0 +1,2 @@
+---
+- test/test_sanitize.rb
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..82ddc0c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.9.1 ruby2.0 require-rubygems
+#
+# If you need to specify the .gemspec (eg there is more than one)
+#export DH_RUBY_GEMSPEC=gem.gemspec
+
+%:
+ dh $@ --buildsystem=ruby --with ruby
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..0495c4b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/sanitize .*/sanitize-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-sanitize.git
More information about the Pkg-ruby-extras-commits
mailing list