debian/0000755000000000000000000000000011675636465007211 5ustar debian/copyright0000644000000000000000000000127411675636465011150 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: whitewash Source: http://samizdat.nongnu.org/ Files: * Copyright: 2002-2009 Dmitry Borodaenko License: GPL-3+ Files: debian/* Copyright: 2005-2011 Dmitry Borodaenko License: GPL-3+ License: GPL-3+ The files hereby included are 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 of the License, or (at your option) any later version. . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. debian/control0000644000000000000000000000163311675636465010617 0ustar Source: ruby-whitewash Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Dmitry Borodaenko DM-Upload-Allowed: yes Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.8~), ruby-rspec, ruby-nokogiri Standards-Version: 3.9.2 Vcs-Git: git://github.com/angdraug/whitewash.git Vcs-Browser: https://github.com/angdraug/whitewash Homepage: http://samizdat.nongnu.org/ XS-Ruby-Versions: all Package: ruby-whitewash Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-nokogiri Description: Whitelist-based HTML filter for Ruby This module allows Ruby programs to clean up any HTML document or fragment coming from an untrusted source and to remove all dangerous constructs that could be used for cross-site scripting or request forgery. debian/compat0000644000000000000000000000000211675636465010407 0ustar 7 debian/ruby-whitewash.install0000644000000000000000000000005411675636465013562 0ustar data/whitewash/* /usr/share/ruby-whitewash/ debian/watch0000644000000000000000000000012211675636465010235 0ustar version=3 http://savannah.nongnu.org/download/samizdat whitewash-([\d\.]*).tar.gz debian/patches/0000755000000000000000000000000011675636465010640 5ustar debian/patches/0001-rename-data-dir-to-ruby-whitewash.patch0000644000000000000000000000134711675636465020576 0ustar From: Dmitry Borodaenko Date: Wed, 14 Sep 2011 18:10:46 +0300 Subject: rename data dir to ruby-whitewash --- lib/whitewash.rb | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/whitewash.rb b/lib/whitewash.rb index 1446894..45e383e 100644 --- a/lib/whitewash.rb +++ b/lib/whitewash.rb @@ -120,9 +120,9 @@ class Whitewash private - PATH = [ '/etc/whitewash', - File.join(RbConfig::CONFIG['datadir'].untaint, 'whitewash'), - '/usr/local/share/whitewash/' ] + PATH = [ '/etc/ruby-whitewash', + File.join(RbConfig::CONFIG['datadir'].untaint, 'ruby-whitewash'), + '/usr/local/share/ruby-whitewash/' ] WHITELIST = 'whitelist.yaml' end -- debian/patches/series0000644000000000000000000000005511675636465012055 0ustar 0001-rename-data-dir-to-ruby-whitewash.patch debian/rules0000755000000000000000000000070111675636465010267 0ustar #!/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.8 ruby1.9.1 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 debian/ruby-tests.rb0000644000000000000000000000012211675636465011652 0ustar $: << 'lib' << '.' require 'rspec' Dir['spec/**/*_spec.rb'].each {|f| require f } debian/changelog0000644000000000000000000000107111675636465011062 0ustar ruby-whitewash (2.0-1) unstable; urgency=low * New upstream release: - use Nokogiri instead of REXML and Tidy - compatibility fixes for Ruby 1.9.3 - RSpec tests added. * Depends updated: tidy dropped, ruby-nokogiri added. * Run RSpec tests during build. * require-yaml.patch dropped, merged upstream. -- Dmitry Borodaenko Sun, 25 Dec 2011 17:32:34 +0300 ruby-whitewash (1.0-1) unstable; urgency=low * Initial release. Closes: #573967 (ITP). -- Dmitry Borodaenko Wed, 14 Sep 2011 17:23:05 +0300 debian/source/0000755000000000000000000000000011675636465010511 5ustar debian/source/format0000644000000000000000000000001411675636465011717 0ustar 3.0 (quilt) debian/ruby-whitewash.docs0000644000000000000000000000001411675636465013040 0ustar README.rdoc