debian/0000755000000000000000000000000012002055177007165 5ustar debian/control0000644000000000000000000000257012002055265010572 0ustar Source: libhtml-defang-perl Section: perl Priority: optional Build-Depends: cdbs, devscripts, perl, debhelper, dh-buildinfo Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libhtml-defang-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libhtml-defang-perl.git Homepage: http://search.cpan.org/dist/HTML-Defang/ Package: libhtml-defang-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends} Description: cleans HTML and CSS of scripting, executable contents and XSS attacks HTML::Defang accepts an input HTML and/or CSS string and removes any executable code including scripting, embedded objects, applets, etc., and neutralises any XSS attacks. A whitelist based approach is used which means only HTML known to be safe is allowed through. . HTML::Defang uses a custom html tag parser. The parser has been designed and tested to work with nasty real world html and to try and emulate as close as possible what browsers actually do with strange looking constructs. The test suite has been built based on examples from a range of sources such as and to ensure that as many as possible XSS attack scenarios have been dealt with. debian/source/0000755000000000000000000000000011752604267010500 5ustar debian/source/format0000644000000000000000000000001411373262460011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000155712002054145011041 0ustar libhtml-defang-perl (1.04-1) unstable; urgency=low * Friendly takeover (via Debian Perl Group). Thanks to Ivan for past contributions. * Repackage using CDBS. Build-depend on cdbs, devscripts and dh-buildinfo. Relax to build-depend unversioned on debhelper. * Bump standards-version to 3.9.3. * Bump debhelper compatibility level to 8. * Use dpkg source format 3.0 (quilt). * Add git-buildpackage config enabling pristine-tar and signed tags. Git-ignore quilt .pc subdir. * Shorten short description, and rewrap long description at 72 chars. * Add Vcs-* paragraphs. * Rewrite copyright file using format 1.0. -- Jonas Smedegaard Thu, 19 Jul 2012 20:55:11 +0200 libhtml-defang-perl (1.02-1) unstable; urgency=low * Initial Release (closes: Bug#575285). -- Ivan Kohler Wed, 24 Mar 2010 13:29:07 -0700 debian/compat0000644000000000000000000000000212001756442010365 0ustar 8 debian/watch0000644000000000000000000000016311770056260010223 0ustar version=3 http://search.cpan.org/dist/HTML-Defang/ .*/HTML-Defang-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/copyright_hints0000644000000000000000000000123312002051600012307 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Changes MANIFEST META.yml Makefile.PL debian/compat debian/control debian/control.in debian/gbp.conf debian/source/format debian/watch t/01_basic.t t/02_xss.t t/03_styles.t t/04_imports.t t/05_callbacks.t t/06_unicode.t Copyright: *No copyright* License: UNKNOWN FIXME Files: README lib/HTML/Defang.pm Copyright: 2003-2010, Opera Software Australia Pty Ltd License: UNKNOWN FIXME Files: debian/rules Copyright: 2012, Jonas Smedegaard License: GPL-2+ FIXME debian/copyright0000644000000000000000000000327512002055177011127 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: HTML::Defang Upstream-Contact: Kurian Jose Aerthail Source: http://search.cpan.org/dist/HTML-Defang/ Files: * Copyright: 2003-2010, Opera Software Australia Pty Ltd License: Artistic or GPL-1+ Comment: License: . This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. . Comment: . Perl 5 is licensed under either the 'Artistic license' or the 'GNU General Public License' version 1 or later. Files: debian/* Copyright: 2010, Ivan Kohler 2012, Jonas Smedegaard License: GPL-2+ License: Artistic Comment: . On Debian systems the 'Artistic License' is located in '/usr/share/common-licenses/Artistic'. License: GPL-1+ Comment: . On Debian systems the 'GNU General Public License' version 1 is located in '/usr/share/common-licenses/GPL-1'. License: GPL-2+ This program 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, or (at your option) any later version. . This program 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. . Comment: . On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611373262460010612 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000216112002051167010240 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2012, Jonas Smedegaard # Description: Main Debian packaging script for HTML::Defang # # This program 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, or (at your option) # any later version. # # This program 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 program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-makemaker.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_UPSTREAM_PACKAGE = HTML-Defang DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML DEB_UPSTREAM_TARBALL_MD5 = c26fb25f458a913447e584e8fe97af9c debian/control.in0000644000000000000000000000251312002053537011174 0ustar Source: libhtml-defang-perl Section: perl Priority: optional Build-Depends: @cdbs@ Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libhtml-defang-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libhtml-defang-perl.git Homepage: http://search.cpan.org/dist/HTML-Defang/ Package: libhtml-defang-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends} Description: cleans HTML and CSS of scripting, executable contents and XSS attacks HTML::Defang accepts an input HTML and/or CSS string and removes any executable code including scripting, embedded objects, applets, etc., and neutralises any XSS attacks. A whitelist based approach is used which means only HTML known to be safe is allowed through. . HTML::Defang uses a custom html tag parser. The parser has been designed and tested to work with nasty real world html and to try and emulate as close as possible what browsers actually do with strange looking constructs. The test suite has been built based on examples from a range of sources such as and to ensure that as many as possible XSS attack scenarios have been dealt with.