debian/0000755000000000000000000000000011550034736007172 5ustar debian/watch0000644000000000000000000000012311157023005010205 0ustar version=2 http://tidy-proxy.freesources.org/tidy-proxy_(.*)\.tar.gz debian uupdate debian/control0000644000000000000000000000144411550034315010571 0ustar Source: tidy-proxy Section: net Priority: optional Maintainer: Jonas Meurer Build-Depends: debhelper (>= 7.0.0) Build-Depends-Indep: xsltproc, docbook-xml, docbook-xsl Standards-Version: 3.9.2 Homepage: http://tidy-proxy.freesources.org/ Package: tidy-proxy Architecture: all Depends: tidy | wdg-html-validator, libhttp-daemon-perl | libwww-perl (<<6), libhtml-tree-perl, ${misc:Depends} Suggests: libemail-simple-perl (>= 2.100) | libemail-simple-creator-perl Description: small http proxy which tidies html Tidy-proxy is a small http proxy server written in perl. Using this proxy web-pages are checked for HTML errors with Tidy or Validate while they are downloaded. The results are displayed on top of that page. Tidy-Proxy is mainly intended for developing dynamic web-pages. debian/tidy-proxy.init0000644000000000000000000000307711550034245012211 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: tidy-proxy # Required-Start: $remote_fs $network $named # Required-Stop: $remote_fs $network $named # Default-Start: # Default-Stop: 0 1 6 # Short-Description: Start/stop tidy-proxy html validating proxy ### END INIT INFO DAEMON=/usr/bin/tidy-proxy NAME=tidy-proxy DESC="html validating proxy" PIDFILE=/var/run/$NAME.pid DAEMON_ARGS="--pid $PIDFILE" SCRIPTNAME=/etc/init.d/$NAME test -x $DAEMON || exit 0 . /lib/lsb/init-functions do_start() { start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON \ --test > /dev/null || return 1 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ $DAEMON_ARGS || return 2 } do_stop() { start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON [ "$?" = 2 ] && return 2 return "$RETVAL" } case "$1" in start) log_daemon_msg "Starting $DESC" "$NAME" do_start case "$?" in 0|1) log_end_msg 0 ;; 2) log_end_msg 1 ;; esac ;; stop) log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) log_end_msg 0 ;; 2) log_end_msg 1 ;; esac ;; restart|force-reload) log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; *) log_end_msg 1 ;; esac ;; *) log_end_msg 1 ;; esac ;; *) echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2 exit 3 ;; esac : debian/doc/0000755000000000000000000000000011043205002007716 5ustar debian/doc/tidy-proxy.xml0000644000000000000000000001316411043205002012575 0ustar tidy-proxy 1 tidy-proxy small http proxy which tidies html tidy-proxy hostname port {1|2} {t|v} tidy-command validate-command pid-file DESCRIPTION tidy-proxy is a small proxy server written in perl. using this proxy web-pages are checked for HTML errors with tidy or validate while they are downloaded. The results are displayed on top of that page. tidy-proxy is mainly intended for developing dynamic web-pages. OPTIONS *host* the host parameter sets the listening address for tidy-proxy. [default: localhost] *port* port sets the listening port for tidy-proxy. [default: 9090] run tidy-proxy in foreground *level* level sets the filtering level for tidy-proxy 1: Warnings 2: Errors *t|v* set if to use *t*idy or *v*alidate. [default: tidy] *cmd* Command to use for tidy. [default: /usr/bin/tidy] *cmd* Command to use for validate. [default: /usr/bin/validate] *pid-file* Create a pid file. Works only in daemon mode. *destination host* run tidy-proxy in reverse-proxy mode. tidy-proxy acts as normal webserver and forwards every request to *destination host*. rewrite the Location and the Host header in reverse-proxy mode. Prints help message. SEE ALSO tidy(1) validate(1) AUTHOR This manual page was written by Jonas Meurer jonas@freesources.org for the Debian distribution of tidy-proxy. COPYRIGHT Copyright (C) 2003-2008: Jonas Meurer jonas@freesources.org This manual page 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; version 2. 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, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. debian/doc/manpages.xml0000644000000000000000000000050211043176620012245 0ustar Manual Pages debian/doc/variables.xml.in0000644000000000000000000000065511043176736013050 0ustar VERSION tidy-proxy tidy-proxy manual DATE debian/rules0000755000000000000000000000302411157023470010245 0ustar #!/usr/bin/make -f # debian/rules for tidy-proxy # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 DEB_VERSION := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ egrep '^Version:' | head -n1 | cut -f2 -d ' ' )) DEB_DATE := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ egrep '^Date:' | head -n1 | cut -f2- -d ' ' | \ LC_ALL=C date --file=- +%F )) build: build-stamp build-stamp: dh_testdir sed 's/VERSION/$(DEB_VERSION)/;s/DATE/$(DEB_DATE)/' \ debian/doc/variables.xml.in > debian/doc/variables.xml xsltproc --nonet --xinclude -o debian/doc/ \ /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \ debian/doc/manpages.xml touch $@ clean: dh_testdir dh_testroot rm -f debian/doc/*.[0-9] debian/doc/variables.xml dh_clean build-stamp install-stamp install: install-stamp install-stamp: build-stamp dh_testdir dh_testroot dh_clean dh_installdirs # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_install dh_installdocs dh_installchangelogs ChangeLog dh_installman debian/doc/tidy-proxy.1 dh_installinit --no-start --update-rcd-params="stop 20 0 1 6 ." dh_compress dh_fixperms dh_installdeb dh_gencontrol dh_md5sums dh_builddeb binary-arch: build install # We have nothing to do by default. binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/tidy-proxy.install0000644000000000000000000000002310216564312012701 0ustar tidy-proxy usr/bin debian/changelog0000644000000000000000000000671611550034736011056 0ustar tidy-proxy (0.97-4) unstable; urgency=low * starting with version 6.1, libwww-perl doesn't provide HTTP::Daemon anymore. change dependencies to libhttp-daemon-perl | libwww-perl (<< 6). thanks to Nicholas Bamber. (closes: #620522) * update debian/copyright to current DEP5 machine readable syntax. * migrate to '3.0 (quilt)' source format * update short description to not start with article. * fix initscript LSB headers. * bump standards-version to 3.9.2, no changes required. -- Jonas Meurer Sat, 09 Apr 2011 12:50:02 +0200 tidy-proxy (0.97-3) unstable; urgency=low * fix dependencies in debian/control to suggest libemail-simple-perl instead of libemail-simple-creator-perl. thanks to gregor herrmann. (closes: #559459) -- Jonas Meurer Fri, 04 Dec 2009 16:17:34 +0100 tidy-proxy (0.97-2) unstable; urgency=low * update debian/watch to use tidy-proxy.freesources.org * bump standards-version to 3.8.1, no changes needed * fix xsltproc invocation in debian/rules * update debian/copyright to use the proposed machine-readable format from http://wiki.debian.org/Proposals/CopyrightFormat -- Jonas Meurer Sat, 14 Mar 2009 23:14:26 +0100 tidy-proxy (0.97-1) unstable; urgency=low * new upstream release * bump debhelper dependency and debian/compat to 6. * update homepage to http://tidy-proxy.freesources.org -- Jonas Meurer Sun, 07 Dec 2008 23:35:23 +0100 tidy-proxy (0.95-1) unstable; urgency=low * new upstream release * bump standards-version to 3.8.0, no changes needed * move tidy-proxy.1 manpage to xml format, add build-depends-indep on xsltproc, docbook-xml and docbook-xsl. -- Jonas Meurer Mon, 28 Jul 2008 02:01:22 +0200 tidy-proxy (0.94-5) unstable; urgency=low * add libwww-perl to depends, thanks to (closes: #372803) * bump standards-version to 3.7.2, no changes needed * bump debhelper compat to 5, update build-depends -- Jonas Meurer Mon, 12 Jun 2006 00:16:03 +0200 tidy-proxy (0.94-4) unstable; urgency=low * bump standards-version to 3.6.2 * update the long description in debian/control * update 'SEE AlSO' section in manpage * relicense manpage from GFDL to GPL * rewrite the initscript -- Jonas Meurer Tue, 28 Feb 2006 16:45:46 +0100 tidy-proxy (0.94-3) unstable; urgency=low * Fixed debian/watch file -- Jonas Meurer Mon, 11 Apr 2005 15:51:09 +0200 tidy-proxy (0.94-2) unstable; urgency=low * Added debian/watch file * Fixed hyphens in manpage -- Jonas Meurer Sat, 25 Sep 2004 20:08:23 +0200 tidy-proxy (0.94-1) unstable; urgency=low * New Upstream Version. * Added init script. * Updated Standards-Version (no changes needed) -- Jonas Meurer Sat, 13 Mar 2004 19:46:01 +0100 tidy-proxy (0.92-2) unstable; urgency=low * Fixed License Problems. -- Jonas Meurer Wed, 22 Jan 2003 23:06:18 +0100 tidy-proxy (0.92-1) unstable; urgency=low * New Upstream Version. * First Debian Upload. (closes: #176452) -- Jonas Meurer Tue, 21 Jan 2003 20:27:38 +0100 tidy-proxy (0.91-1) unstable; urgency=low * New Upstream Version. -- Jonas Meurer Thu, 16 Jan 2003 16:13:54 +0100 tidy-proxy (0.9-1) unstable; urgency=low * Initial Release. -- Jonas Meurer Fri, 10 Jan 2003 15:41:55 +0100 debian/source/0000755000000000000000000000000011550033637010471 5ustar debian/source/format0000644000000000000000000000001411550033637011677 0ustar 3.0 (quilt) debian/dirs0000644000000000000000000000001010216564312010041 0ustar usr/bin debian/compat0000644000000000000000000000000211157023631010363 0ustar 7 debian/tidy-proxy.sgml0000644000000000000000000001572011117050174012204 0ustar tidy-proxy.1'. You may view the manual page with: `docbook-to-man tidy-proxy.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: tidy-proxy.1: tidy-proxy.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Jonas"> Meurer"> January 13, 2003"> 1"> jonas@freesources.org"> TIDY-PROXY"> Debian"> GNU"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2001 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; small http proxy which tidies html &dhpackage; hostname port {1|2} {t|v} tidy\-command validate command pid\-file DESCRIPTION &dhpackage; is a small proxy server written in perl. using this proxy web-pages are checked for HTML errors with tidy or validate while they are downloaded. The results are displayed on top of that page. &dhpackage; is mainly intended for developing dynamic web-pages. This manual page was written for the &debian; distribution because the original program does not have a manual page. OPTIONS *host* the host parameter sets the listening address for tidy-proxy. [default: localhost] *port* port sets the listening port for tidy-proxy. [default: 9090] run tidy-proxy in foreground *level* level sets the filtering level for tidy-proxy 1: Warnings 2: Errors *t|v* set if to use *t*idy or *v*alidate. [default: tidy] *cmd* Command to use for tidy. [default: /usr/bin/tidy] *cmd* Command to use for validate. [default: /usr/bin/validate] *pid\-file* Create a pid file. Works only in daemon mode. *destination host* run tidy-proxy in reverse-proxy mode. tidy-proxy acts as normal webserver and forwards every request to *destination host*. If you use this option, you probably want to enable --loc-rewrite. rewrite the Location and the Host header in reverse-proxy mode. *email@adr.org* Send email report, if invalid page is found (instead of reporting it). This option requires Email::Simple, Email::Simple::Creator and Email::Send. Prints help message. SEE ALSO tidy(1), validate(1) COPYRIGHT Copyright (C) 2003-2006: &dhusername; <&dhemail;> 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; version 2. 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, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
debian/copyright0000644000000000000000000000176011550034016011120 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file?rev=173 Upstream-Name: tidy-proxy Source: http://tidy-proxy.freesources.org/ Files: * Copyright: © 2002-2003,2008 Alexander Kreuzer License: GPL-1+ | Artistic This program is free software; you may copy or redistribute it under the same terms as Perl itself. Perl is dual-licensed under a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with Perl. On Debian GNU/Linux systems, the full text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1' and the Artistic Licence in `/usr/share/common-licenses/Artistic'. . Files: debian/* Copyright: © Jonas Meurer License: GPL-2 On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.