debian/0000755000000000000000000000000011740305034007163 5ustar debian/rules0000755000000000000000000000445211740305034010250 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright © 2003-2008 Jonas Smedegaard # Description: Main Debian packaging script for HTML::Lint # # 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 . # See debian/README.cdbs-tweaks for info on local overrides include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/debhelper.mk # Put perlmodule.mk after debhelper.mk to dh_clean temp files not in MANIFEST include /usr/share/cdbs/1/class/perl-makemaker.mk # Silence optional build-dependencies to ease backporting CDBS_BUILD_DEPENDS_rules_upstream-tarball = CDBS_BUILD_DEPENDS_rules_utils_copyright-check = DEB_UPSTREAM_PACKAGE = HTML-Lint DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/HTML DEB_UPSTREAM_TARBALL_MD5 = 13e14932f7b63db5e5dc54f608148c34 DEB_INSTALL_MANPAGES_weblint-perl := debian/weblint.1 common-build-indep:: txt2man -p debian/weblint.txt > debian/weblint.1 common-binary-post-install-indep:: mv debian/libhtml-lint-perl/usr/bin debian/weblint-perl/usr clean:: rm -f debian/weblint.1 # Needed both by upstream build process and at runtime #TODO: Automatically include these to debian/control Depends: line dependencies = libhtml-parser-perl (>= 3.47), libhtml-tagset-perl (>= 3.03) # Needed by upstream build process CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), $(dependencies), libtest-pod-perl (>= 0.95), libtest-pod-coverage-perl (>= 1.04) # Needed by pur packaging routines CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), txt2man # Fix double cdbs build-dependencies CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/ *,* *\bcdbs (>= \(0.4.23-1.1\)) *,* */, /g' -e 's/^ *, *//' -e 's/ *, *$$//') debian/weblint.txt0000644000000000000000000000153411740305034011373 0ustar NAME weblint - pick fluff off web pages (HTML) SYNOPSIS weblint [option...] ... DESCRIPTION weblint is a Perl script which picks fluff off HTML pages. Files and URLs to be checked are passed on the command-line. OPTIONS --help This message --context[=n] Show the offending line (and n surrounding lines) Error types: (default: all on) --[no]structure Structural issues, like unclosed tag pairs --[no]helper Helper issues, like missing HEIGHT & WIDTH --[no]fluff Fluff that can be removed, like bad tag attributes --only Turns off all other error types, as in --only --fluff EXAMPLE % weblint foobar.html ./dodgy-files/ index.html http://example.com/ AUTHOR This basic manpage was written by Jonas Smedegaard for Debian GNU systems, but may be freely used elsewhere. debian/control0000644000000000000000000000346211740305034010573 0ustar Source: libhtml-lint-perl Section: perl Priority: optional Build-Depends: cdbs (>= 0.4.39), debhelper (>=7) Build-Depends-Indep: devscripts (>= 2.10.7), perl, libhtml-parser-perl (>= 3.47), libhtml-tagset-perl (>= 3.03), libtest-pod-perl (>= 0.95), libtest-pod-coverage-perl (>= 1.04), txt2man, dh-buildinfo Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard , Antonio Radici , Florian Schlichting Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libhtml-lint-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libhtml-lint-perl/ Homepage: http://search.cpan.org/dist/HTML-Lint/ Package: libhtml-lint-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libhtml-parser-perl (>= 3.47), libhtml-tagset-perl (>= 3.03) Suggests: weblint-perl Description: checker of HTML errors in strings or files HTML::Lint is a pure-Perl HTML parser and checker for syntactic legitmacy. . The "weblint" script - provided in the separate package "weblint-perl" - is a wrapper around the HTML::Lint. . You can also look into Apache::Lint which is a mod_perl wrapper around HTML::Lint. . Finally, for those of you doing automated testing with Test::More and its brethren, Test::HTML::Lint lets you automate HTML checking. Package: weblint-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libhtml-lint-perl Breaks: weblint Replaces: weblint Provides: weblint Description: syntax and minimal style checker for HTML weblint is a perl script which picks fluff off html pages, much in the same way traditional lint picks fluff off C programs. . The script is a complete rewrite of Neil Bowers' original weblint script. It currently supports HTML 4.0 (and only HTML 4.0). debian/README.source0000644000000000000000000000361311740305034011345 0ustar Building this package for Debian -------------------------------- This source package need no special handling for normal package builds. Developing this package for Debian ---------------------------------- The source of this package is developed using git and the helper tool git-buildpackage, with all official releases tagged and signed and binary diffs of tarballs stored using pristine-tar. This is documented below /usr/share/doc/git-buildpackage/manual-html/ . A custom build target shows current upstream and packaging versions: debian/rules print-version Current upstream tarball can be prepared using this other build target: debian/rules get-orig-source To switch to newer upstream source, first add a dummy changelog entry and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: dch -v ${new_upstream_version}-1 "Dummy changelog entry" sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules debian/rules get-orig-source Store new md5sum to help ensure identical source is received later. Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful during development of the package, but unfit for normal builds. This typically includes the CDBS feature of auto-updating debian/control with CDBS-related build-dependencies, which is forbidden by Debian Policy as build environment must not change during automated builds. Maintaining packaging build routines ------------------------------------ This source package wraps debhelper commands and other tedious parts of the build routines using the CDBS framework. Please refer to the actual makefile snippets included from debian/rules for details on their purpose and ways to override defaults. Additionally, makefile snippets included from below /usr/share/cdbs may also be documented in /usr/share/doc/cdbs/cdbs-doc.pdf.gz . -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 debian/gbp.conf0000644000000000000000000000014611740305034010603 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/source/0000755000000000000000000000000011740305034010463 5ustar debian/source/format0000644000000000000000000000001411740305034011671 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000001714711740305034011047 0ustar libhtml-lint-perl (2.20+dfsg-1) unstable; urgency=low * Import Upstream version 2.20+dfsg. * Bump dependency on HTML::Parser to 3.47. * Bump years of upstream copyright. * Bump Standards-Version to 3.9.3 (use copyright-format 1.0). -- Florian Schlichting Sat, 07 Apr 2012 22:51:42 +0200 libhtml-lint-perl (2.10+dfsg-1) unstable; urgency=low [Florian Schlichting] * Imported upstream version 2.10 (closes: #653326). * Bumped Standards-Version to 3.9.2 (no change). * Refreshed debian/copyright. * Added myself to uploaders and copyright. * Switched to perl-makemaker.mk in debian/rules (fixing debian-rules-uses-deprecated-makefile lintian warning). * Added Replaces: weblint to fix breaks-without-version warning. [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). [ gregor herrmann ] * Set Standards-Version to 3.9.1; replace Conflicts with Breaks. -- Florian Schlichting Wed, 11 Jan 2012 22:46:52 +0100 libhtml-lint-perl (2.06+dfsg-1) unstable; urgency=low [ Antonio Radici ] * New upstream release * debian/compat bumped to 7 * debian/control: + adding me to the Uploaders + debhelper compatibility bumped to 7 + Standards-Version to 3.8.1 + moved all deps except debhelper and cdbs to B-D-I + Homepage: s/::/-/ + short description for libhtml-lint-perl is now a noun phrase + short description for weblint-perl: s/A // + long description for weblint-perl: s/This/weblint/ * debian/copyright: + switched to the new format + added the copyright note for repack.sh * debian/watch: + removed "debian svn-upgrade" + added repack.sh to remove a testfile which contains a webpage we cannot redistribute [ gregor herrmann ] * debian/watch: use dist-based URL. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ Nathan Handler ] * debian/watch: Update to ignore development releases. -- Antonio Radici Sun, 14 Jun 2009 20:28:10 +0100 libhtml-lint-perl (2.04-2) unstable; urgency=medium * Update tarball md5sum. * Remove bogus noise from 2.04-1 changelog. * Set urgency=medium as 2.04-1 included a FTBFS bugfix (similar to bug#487066). -- Jonas Smedegaard Sat, 28 Jun 2008 20:10:55 +0200 libhtml-lint-perl (2.04-1) unstable; urgency=low * New upstream release. * Update local cdbs tweaks: + Various updates to copyright-check.mk, most importantly relaxing to only warn by default. + Drop wget options broken with recent versions of wget in update-tarball.mk. + Cosmetic updates to README.cdbs-tweaks. * Update debian/copyright-hints. * Bump debhelper compatibility level to 6. * Semi-auto-update debian/control to update build-dependencies: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean -- Jonas Smedegaard Sat, 28 Jun 2008 19:22:37 +0200 libhtml-lint-perl (2.02-3) unstable; urgency=medium [ Jonas Smedegaard ] * Separate build-only dependencies from build-and-runtime-dependencies in debian/rules build-dependency resolving. [ gregor herrmann ] * Add "-p" to txt2man invocation in debian/rules to get name, section, etc. into the generated manpage; otherwise dh_installman errors out with "Could not determine section for debian/weblint.1" (closes: #479921). * Set urgency to medium because of the FTBFS bug. -- gregor herrmann Wed, 07 May 2008 19:17:21 +0200 libhtml-lint-perl (2.02-2) unstable; urgency=low * Pass over maintenance of the package to the Perl group: Change Maintainer, and add myself to Uploaders. * Change debian/watch to use svn-upgrade (not uupdate). * Move Homepage to own field (from pseudo-field in long description). * Add Vcs-* fields. * Bump up standards-version to 3.7.3 (no changes needed). * Bump dephelper compatibility level to 5. * Fix build-depends-indep -> build-depends. * Update local cdbs tweaks: + Add new snippet update-tarball, implementing get-orig-source and more. + Major improvements to copyright-check, including new versioned build-dependency on devscripts. Update debian/copyright_hints. + Drop auto-update.mk. Set DEB_AUTO_UPDATE_DEBIAN_CONTROL directly instead when needed. + Fix buildinfo.mk invoking dh-buildinfo only once. + Add debian/README.cdbs-tweaks documenting local tweaks. * Fix double cdbs build-dependencies in debian/rules. * Semi-auto-update debian/control to apply changes contained in the above: DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean -- Jonas Smedegaard Thu, 21 Feb 2008 03:57:42 +0100 libhtml-lint-perl (2.02-1) unstable; urgency=low * New upstream release. Closes: bug#338217 (thanks to Florian Ernst ). * Update local cdbs snippet buildinfo.mk to fix namespace. * Add and enable new local cdbs snippets copyright-check.mk and auto-update.mk. * Semi-auto-update debian/control. * Simplify debian/watch (qa.debian.org gets confused by multiple parantheses). * Build-depend on libtest-pod-coverage-perl to complete all tests. -- Jonas Smedegaard Thu, 16 Feb 2006 10:48:50 +0100 libhtml-lint-perl (2.0-1) unstable; urgency=low * New upstream release. Closes: bug#329555 (thanks to Florian Ragwitz ). * Improve watch file (bump up to version 3, allow more suffixes and add comment hinting at its use). * Use cdbs debian/rules auto-update when DEB_BUILD_OPTIONS contains "update". * Auto-update debian/rules (and strip bogus build-essential dependency). * Bump up standards-version to 3.6.2 (no changes needed). -- Jonas Smedegaard Thu, 22 Sep 2005 12:48:44 +0200 libhtml-lint-perl (1.30-1) unstable; urgency=low * New upstream release. * Use local cdbs snippet for dh-buildinfo. -- Jonas Smedegaard Sat, 26 Mar 2005 07:16:39 +0100 libhtml-lint-perl (1.28-1) unstable; urgency=low * New upstream release. * Update debian/copyright: + Update copyright year to 2003 + Cosmetic changes (syntactic sugar). * Correct debian/watch. * Build-depend on libtest-pod-perl to complete more tests (since build-recommends is not supported...). -- Jonas Smedegaard Sun, 28 Mar 2004 18:16:25 +0200 libhtml-lint-perl (1.24-1) unstable; urgency=low * New upstream release. * Fix watch file. * Drop local cdbs hacks (they are included officially now). * Wait moving files till they are actually installed (closes: Bug#208377). * Standards version 3.6.1 (no changes needed). -- Jonas Smedegaard Sat, 13 Sep 2003 15:50:49 +0200 libhtml-lint-perl (1.22-1) unstable; urgency=low * New upstream release. * Switch to packaging using cdbs. * Standards version 3.6.0 (no changes needed). * Include (and build-depend on) dh_buildinfo. * Fix debian/copyright to include URL to upstream source, and not duplicate info in debian/changelog. -- Jonas Smedegaard Thu, 24 Jul 2003 16:04:04 +0200 libhtml-lint-perl (1.21-2) unstable; urgency=low * Build-depend (in addition to depend) on libhtml-parser-perl and libhtml-tags-perl (closes: Bug#190777). -- Jonas Smedegaard Fri, 25 Apr 2003 22:19:18 +0200 libhtml-lint-perl (1.21-1) unstable; urgency=low * Initial Release. * Have package weblint-perl replace and provide old weblint. -- Jonas Smedegaard Sun, 13 Apr 2003 17:44:22 +0200 debian/compat0000644000000000000000000000000211740305034010361 0ustar 7 debian/copyright0000644000000000000000000002516311740305034011125 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Contact: Andy Lester Source: http://search.cpan.org/dist/HTML-Lint/ Upstream-Name: HTML-Lint X-Repackaging-Reasoning: Upstream sources are repackaged to remove a file which contains a webpage that cannot be redistributed + t/embed-extensions.t Additionally, MANIFEST is trimmed from references to this file. . Repackaging is done via debian/repack.sh and can be replayed using "uscan -f" Files: * Copyright: 2003-2012, Andy Lester License: Artistic-2.0 Files: debian/* Copyright: 2003-2008, Jonas Smedegaard 2009, Antonio Radici 2012, Florian Schlichting License: Artistic or GPL-1+ Files: debian/repack.sh Copyright: 2008, Damyan Ivanov License: Artistic or GPL-1+ License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. . On Debian systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. License: Artistic-2.0 Copyright (c) 2000-2006, The Perl Foundation. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. . Preamble . This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software. . You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement. . Definitions . "Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package. . "Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures. . "You" and "your" means any person who would like to copy, distribute, or modify the Package. . "Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version. . "Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization. . "Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees. . "Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder. . "Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder. . "Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future. . "Source" form means the source code, documentation source, and configuration files for the Package. . "Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form. . Permission for Use and Modification Without Distribution . (1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version. . Permissions for Redistribution of the Standard Version . (2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package. . (3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License. . Distribution of Modified Versions of the Package as Source . (4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following: . (a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version. (b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version. (c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under (i) the Original License or (ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed. . Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source . (5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license. . (6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version. . Aggregating or Linking the Package . (7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation. . (8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package. . Items That are Not Considered Part of a Modified Version . (9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license. . General Provisions . (10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license. . (11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license. . (12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder. . (13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed. . (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-1+ 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 1, or (at your option) any later version. . On Debian systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/copyright_hints0000644000000000000000000000135411740305034012326 0ustar *No copyright* UNKNOWN []: Changes MANIFEST META.yml Makefile.PL README bin/weblint lib/HTML/Lint.pm lib/HTML/Lint/Error.pm lib/HTML/Lint/HTML4.pm lib/Test/HTML/Lint.pm t/00-load.t t/01-coverage.t t/02-versions.t t/10-test-html-lint.t t/11-test-html-lint-overload.t t/20-error-types-export.t t/20-error-types-skip.t t/20-error-types.t t/30-test-builder.t t/40-where.t t/50-multiple-files.t t/LintTest.pl t/attr-repeated.t t/attr-unknown.t t/doc-tag-required.t t/elem-empty-but-closed.t t/elem-img-alt-missing.t t/elem-img-sizes-missing.t t/elem-nonrepeatable.t t/elem-unclosed.t t/elem-unknown.t t/elem-unopened.t t/embed-extensions.t t/pod-coverage.t t/pod.t t/random-nobr.t t/text-use-entity.t t/xhtml-html.t debian/repack.local0000644000000000000000000000004311740305034011441 0ustar MANIFEST=1 rm t/embed-extensions.t debian/control.in0000644000000000000000000000302011740305034011166 0ustar Source: libhtml-lint-perl Section: perl Priority: optional Build-Depends: @cdbs@ Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard , Antonio Radici Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libhtml-lint-perl Vcs-Browser: http://git.debian.org/?p=pkg-perl/packages/libhtml-lint-perl.git Homepage: http://search.cpan.org/dist/HTML-Lint/ Package: libhtml-lint-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libhtml-parser-perl (>= 3.47), libhtml-tagset-perl (>= 3.03) Suggests: weblint-perl Description: checker of HTML errors in strings or files HTML::Lint is a pure-Perl HTML parser and checker for syntactic legitmacy. . The "weblint" script - provided in the separate package "weblint-perl" - is a wrapper around the HTML::Lint. . You can also look into Apache::Lint which is a mod_perl wrapper around HTML::Lint. . Finally, for those of you doing automated testing with Test::More and its brethren, Test::HTML::Lint lets you automate HTML checking. Package: weblint-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libhtml-lint-perl Breaks: weblint Provides: weblint Description: syntax and minimal style checker for HTML weblint is a perl script which picks fluff off html pages, much in the same way traditional lint picks fluff off C programs. . The script is a complete rewrite of Neil Bowers' original weblint script. It currently supports HTML 4.0 (and only HTML 4.0). debian/watch0000644000000000000000000000036211740305034010215 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 opts="dversionmangle=s/\+dfsg//" \ http://search.cpan.org/dist/HTML-Lint/ \ .*/HTML-Lint-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ \ debian sh debian/repack.stub debian/repack.stub0000755000000000000000000000325111740305034011333 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sources under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://svn.debian.org/viewsvn/pkg-perl/scripts/repack.sh" exit 1 fi exec "$REPACK_SH" "$@"