--- libhtml-tagfilter-perl-1.03.orig/debian/control +++ libhtml-tagfilter-perl-1.03/debian/control @@ -0,0 +1,29 @@ +Source: libhtml-tagfilter-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 6) +Build-Depends-Indep: perl (>= 5.6.0-16), liburi-perl, libhtml-parser-perl +Maintainer: Debian Perl Group +Uploaders: Ernesto Hernández-Novich (USB) +Homepage: http://search.cpan.org/dist/HTML-TagFilter/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhtml-tagfilter-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libhtml-tagfilter-perl/ +Standards-Version: 3.7.3 + +Package: libhtml-tagfilter-perl +Architecture: all +Depends: ${perl:Depends}, liburi-perl, libhtml-parser-perl +Description: A fine-grained HTML-filter, XSS-blocker and mailto-obfuscator + HTML::TagFilter is a subclass of HTML::Parser with a single purpose: it + will remove unwanted HTML tags and attributes from a piece of text. It can + act in a more or less fine-grained way: you can specify permitted tags, + permitted attributes of each tag, and permitted values for each attribute + in as much detail as you like. + . + Tags which are not allowed are removed. Tags which are allowed are trimmed + down to only the attributes which are allowed for each tag. It is possible + to allow all or no attributes from a tag, or to allow all or no values for + an attribute, and so on. + . + The filter will also guard against cross-site scripting attacks and + obfuscate any mailto:email addresses, unless you tell it not to. --- libhtml-tagfilter-perl-1.03.orig/debian/docs +++ libhtml-tagfilter-perl-1.03/debian/docs @@ -0,0 +1,2 @@ +Changes +README --- libhtml-tagfilter-perl-1.03.orig/debian/rules +++ libhtml-tagfilter-perl-1.03/debian/rules @@ -0,0 +1,66 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) + $(MAKE) test + touch build-stamp + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs README + dh_installchangelogs Changes + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libhtml-tagfilter-perl-1.03.orig/debian/watch +++ libhtml-tagfilter-perl-1.03/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 2; this line is compulsory! +version=3 +http://www.cpan.org/modules/by-module/HTML/HTML-TagFilter-([\d\.]+)\.(?:tar\.gz|tar|tgz) --- libhtml-tagfilter-perl-1.03.orig/debian/copyright +++ libhtml-tagfilter-perl-1.03/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Ernesto Hernández-Novich +on Wed, 03 May 2006 11:14:33 -0400 + +It was downloaded from http://search.cpan.org/dist/HTML-TagFilter/ + +Upstream Authors: + +William Ross + +Copyright: + +Copyright (c) 2001-2003 William Ross. + +This library is free software; you can redistribute it and/or modify it +under the same terms as Perl itself. + +Perl is distributed under your choice of the GNU General Public License or +the Artistic License. + +The complete text of the GNU General Public License can be found in +/usr/share/common-licenses/GPL and the Artistic License can be found +in /usr/share/common-licenses/Artistic. --- libhtml-tagfilter-perl-1.03.orig/debian/compat +++ libhtml-tagfilter-perl-1.03/debian/compat @@ -0,0 +1 @@ +6 --- libhtml-tagfilter-perl-1.03.orig/debian/changelog +++ libhtml-tagfilter-perl-1.03/debian/changelog @@ -0,0 +1,27 @@ +libhtml-tagfilter-perl (1.03-3) unstable; urgency=low + + [ gregor herrmann ] + * debian/rules: delete /usr/lib/perl5 only if it exists (Closes: #467953). + + [ Ernesto Hernández-Novich (USB) ] + * Upgraded to debhelper 6 + + -- Ernesto Hernández-Novich (USB) Mon, 14 Jan 2008 10:49:54 -0430 + +libhtml-tagfilter-perl (1.03-2) unstable; urgency=low + + * Updated Standards Version. + * Cleanup debian/rules. + * Moved package into Debian Pkg Perl Project SVN. + * Fixed watch file. + * Fixed Maintainer field in control file. + * Fixed copyright and control file with a better URL. + + -- Ernesto Hernández-Novich (USB) Fri, 23 Nov 2007 14:47:31 -0400 + +libhtml-tagfilter-perl (1.03-1) unstable; urgency=low + + * Initial Release. + + -- Ernesto Hernández-Novich Wed, 03 May 2006 11:10:37 -0400 +