--- htcheck-2.0.0~rc1.orig/debian/copyright +++ htcheck-2.0.0~rc1/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Marco Nenciarini on +Wed, 14 Mar 2001 22:09:21 +0100. + +It was downloaded from http://htcheck.sourceforge.net/ + +Upstream Author: Gabriele Bartolini + +Copyright Holder: + + Copyright (c) 1999-2009 Comune di Prato - Prato - Italy + Some Portions Copyright (c) 1995-2003 The ht://Dig Group + Some Portions Copyright (c) 2008-2009 Devise.IT srl + +Copyright: + + This package 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 dated June, 1991. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + --- htcheck-2.0.0~rc1.orig/debian/doc-base.htcheck +++ htcheck-2.0.0~rc1/debian/doc-base.htcheck @@ -0,0 +1,15 @@ +Document: htcheck +Title: ht://Check Manual +Author: Gabriele Bartolini +Abstract: This manual describes what ht://Check is +Section: Web Development + +Format: PDF +Files: /usr/share/doc/htcheck/htcheck.pdf.gz + +Format: Text +Files: /usr/share/doc/htcheck/htcheck.text.gz + +Format: HTML +Index: /usr/share/doc/htcheck/html/htcheck.html +Files: /usr/share/doc/htcheck/html/*.html --- htcheck-2.0.0~rc1.orig/debian/changelog +++ htcheck-2.0.0~rc1/debian/changelog @@ -0,0 +1,194 @@ +htcheck (1:2.0.0~rc1-2build1) precise; urgency=low + + * Rebuild for libmysqlclient transition + + -- Clint Byrum Wed, 23 Nov 2011 23:35:28 -0800 + +htcheck (1:2.0.0~rc1-2) unstable; urgency=low + + * Added patch from Ubuntu (thanks Simon Olofsson) (Closes: #552634) + * debian/patches/300_fix-ftbfs-gcc44-eglibc210.patch: + Fix FTBFS with GCC 4.4 and eglibc 2.10 (LP: #461286). + * debian/control: Added Vcs-* fields + * debian/control: Added Homepage field + + -- Marco Nenciarini Fri, 30 Oct 2009 18:34:16 +0100 + +htcheck (1:2.0.0~rc1-1) unstable; urgency=low + + * New upstream release (Closes: #542320, #542901, #501705) + * Split php interface to a new source package to follow upstream author. + * Update Debian policy to version 3.8.3.0. + * Bump debhelper compat level to 7. + * Updated patches: + - 001_FTBFS-64bit-gcc-4.0.patch (fixed upstream) + - 002_destdir.patch (applied upstream) + - 003_mysql-load-defaults.patch (fixed upstream) + = 004_ducumentation-text.patch (refreshed) + = 200_debian-config.patch (refreshed) + + 005_atoi-require-stdlib.patch + * Updated debian/copyright file to contain copyright notice + * Updated debian/doc-base updated section field + * Updated debian/watch file (Closes: #449998) + + -- Marco Nenciarini Mon, 26 Oct 2009 23:29:46 +0100 + +htcheck (1:1.2.4~rc1-1) unstable; urgency=low + + * New upstream release (Closes: #375898) + * Switch to cdbs and quilt build system. + * Bump debhelper compat level to 5. + * Update Debian policy to version 3.7.2.1. No changes required. + * Updated FSF's address in debian/copyright. + * Added PHP5 dependencies as alternatives. + * Made Apache 2 the preferred web server alternative in dependencies. + * Removed dependencies on php3. + + -- Marco Nenciarini Sat, 9 Sep 2006 16:32:35 +0200 + +htcheck (1:1.2.3-2) unstable; urgency=low + + * Removed useless dependancies against libapache2?-mod-php4 + * Bumped standards version to 3.6.2 + * Rebuilded package with new gcc-3.4/4.0 ABI + * Correct configure.it to handle the correct return type + of MySQL load_defaults() funtion + * Applied patch from Andreas Jochens + * Closes: #286368: FTBFS (amd64/gcc-4.0): cast from 'MYSQL*' to 'int' + loses precision + * Added debian/watch file + + -- Marco Nenciarini Thu, 14 Jul 2005 17:48:33 +0200 + +htcheck (1:1.2.3-1) unstable; urgency=low + + * New upstream release + * GNU config automated update: config.sub (20040105 to 20040312), + config.guess (20040105 to 20040312) + * Closes: #254408: comment for mysql_conf_file_prefix in + /etc/htcheck/htcheck.conf misleads + * Added alternate dependancy to libapache2-mod-php4 + * Modified README.Debian in htcheck-php package to complain apache2 + + -- Marco Nenciarini Tue, 15 Jun 2004 18:09:32 +0200 + +htcheck (1:1.2.2-1) unstable; urgency=low + + * New upstream release (Closes: #189890) + * GNU config automated update: config.sub (20030509 to 20040105), + config.guess (20030519 to 20040105) + + -- Marco Nenciarini Tue, 24 Feb 2004 12:08:26 +0100 + +htcheck (1:1.2.1-1) unstable; urgency=low + + * New upstream release (Closes: #172463, #172467) + * GNU config automated update: config.sub (20030103 to 20030509), + config.guess (20030110 to 20030509) + + -- Marco Nenciarini Mon, 19 May 2003 18:24:51 +0200 + +htcheck (1:1.2.0p1-2) unstable; urgency=low + + * Fixed bug in postrm to remove empty /etc/htcheck on purge + (Closes: #163155) + * Removed dependency from php4-cgi-mysql, that does not exist + + -- Marco Nenciarini Thu, 10 Oct 2002 13:13:22 +0200 + +htcheck (1:1.2.0p1-1) unstable; urgency=low + + * New upstream release (Closes: #162249) + * GNU config automated update: config.sub (20010420 to 20020621), + config.guess (20010420 to 20020529) + + -- Marco Nenciarini Mon, 30 Sep 2002 15:31:51 +0200 + +htcheck (1:1.1-1.2) unstable; urgency=high + + * Non-maintainer upload by security team + * Rebuilt for unstable + + -- Martin Schulze Tue, 24 Sep 2002 17:57:00 +0200 + +htcheck (1:1.1-1.1) stable-security; urgency=high + + * Non-maintainer upload by security team + * Added get_html_entities() to return characters that need to be + replaced in order to avoid a cross site scripting problem + * Added implementation of WriteHTML() by weasel + * Applied upstream patch to avoid unintended code execution through + uninitialized variables + * Applied upstream patch on the use of WriteHTML() + + -- Martin Schulze Tue, 24 Sep 2002 17:54:25 +0200 + +htcheck (1:1.1-1) unstable; urgency=low + + * New upstream release + * GNU config automated update: config.sub (20010420 to 20020201), + config.guess (20010420 to 20020130) + + -- Marco Nenciarini Fri, 22 Feb 2002 17:13:50 +0000 + +htcheck (1.1.0b9-klunk-2) unstable; urgency=low + + * Added constness to URL copy constructor (for GCC 3.0) (Closes: #127156) + * Moved some inline methods from sources to headers (for GCC 3.0) + * Now htcheck suggests mysql-server (more info in README.Debian file) + (Closes: #126788) + * GNU config automated update: config.sub (20011108 to 20020102), + config.guess (20011108 to 20020102) + + -- Marco Nenciarini Fri, 4 Jan 2002 16:49:20 +0000 + +htcheck (1.1.0b9-klunk-1) unstable; urgency=low + + * New upstream release (Closes: #110670) + * Added GNU config automated updater (Closes: #105046) + * GNU config automated update: config.sub (20010420 to 20010907), + config.guess (20010420 to 20010904) + + -- Marco Nenciarini Wed, 10 Oct 2001 15:09:00 +0200 + +htcheck (1.1.0b8-muttley-4) unstable; urgency=low + + * Removed wrong dependency against libmysqlclient6 (Closes: #97610) + + -- Marco Nenciarini Mon, 28 May 2001 07:45:40 +0000 + +htcheck (1.1.0b8-muttley-3) unstable; urgency=low + + * rebuilt against libmysqlclient10 (Closes: #97610) + + -- Marco Nenciarini Wed, 16 May 2001 08:07:53 +0000 + +htcheck (1.1.0b8-muttley-2) unstable; urgency=low + + * Applied patch file regarding the PHP interface (showurl.php file) + + -- Marco Nenciarini Mon, 30 Apr 2001 10:09:09 +0000 + +htcheck (1.1.0b8-muttley-1) unstable; urgency=low + + * New upstream release + + -- Marco Nenciarini Sun, 29 Apr 2001 13:22:29 +0000 + +htcheck (1.1.0b7-anaconda-2) unstable; urgency=low + + * debian/control: Now htcheck suggests the installation of + htcheck-php instead of htcheck-doc, than it does not exist. + In addition htcheck-php recommends htcheck and enhances it. + + -- Marco Nenciarini Sat, 7 Apr 2001 08:50:36 +0000 + +htcheck (1.1.0b7-anaconda-1) unstable; urgency=low + + * Initial Release. (Closes: #91768) + + -- Marco Nenciarini Wed, 14 Mar 2001 22:09:21 +0100 + +Local variables: +mode: debian-changelog +End: --- htcheck-2.0.0~rc1.orig/debian/control +++ htcheck-2.0.0~rc1/debian/control @@ -0,0 +1,19 @@ +Source: htcheck +Section: web +Priority: extra +Maintainer: Marco Nenciarini +Build-Depends: cdbs (>= 0.4.27), autotools-dev, debhelper (>= 7), quilt, patchutils (>= 0.2.25), libmysqlclient-dev, libssl-dev, zlib1g-dev +Standards-Version: 3.8.3.0 +Homepage: http://htcheck.sourceforge.net/ +Vcs-Git: git://git.debian.org/git/users/mnencia/htcheck.git +Vcs-Browser: http://git.debian.org/?p=users/mnencia/htcheck.git + +Package: htcheck +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: mysql-server, htcheck-php +Description: Utility for checking web site for dead/external links + ht://Check is more than a link checker. It's particularly suitable for + checking broken links, anchors and web accessibility barriers, but + retrieved data can also be used for Web structure mining. Uses a MySQL + backend. Derived from ht://Dig. --- htcheck-2.0.0~rc1.orig/debian/rules +++ htcheck-2.0.0~rc1/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +DEB_CONFIGURE_EXTRA_FLAGS := \ + --with-config-dir=/etc/htcheck \ + --with-doc-dir=/usr/share/doc/htcheck \ + --enable-shared=no + +DEB_INSTALL_EXAMPLES_htcheck := \ + $(DEB_DESTDIR)/etc/htcheck/htcheck.conf.default \ + $(DEB_DESTDIR)/etc/htcheck/cookies.txt.default + +binary-post-install/htcheck:: + rm $(DEB_DESTDIR)/etc/htcheck/htcheck.conf.default + rm $(DEB_DESTDIR)/etc/htcheck/cookies.txt.default + rm -fr $(DEB_DESTDIR)/usr/lib + rm -fr $(DEB_DESTDIR)/usr/include --- htcheck-2.0.0~rc1.orig/debian/htcheck.README.Debian +++ htcheck-2.0.0~rc1/debian/htcheck.README.Debian @@ -0,0 +1,8 @@ +htcheck for Debian +--------------- + +ht://Check needs to connect to a MySQL server. If you intend to run +ht://Check locally, you need to install the mysql-server package, otherwise +the application can connect to a remote one. + + -- Marco Nenciarini , Thu, 3 Jan 2002 16:04:58 +0000 --- htcheck-2.0.0~rc1.orig/debian/compat +++ htcheck-2.0.0~rc1/debian/compat @@ -0,0 +1 @@ +7 --- htcheck-2.0.0~rc1.orig/debian/README.source +++ htcheck-2.0.0~rc1/debian/README.source @@ -0,0 +1,5 @@ + +This package uses quilt for the modifications of the upstream source. + +If you want to change something, please read +/usr/share/doc/quilt/README.source --- htcheck-2.0.0~rc1.orig/debian/watch +++ htcheck-2.0.0~rc1/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts="uversionmangle=s/-rc/~rc/" \ + http://sf.net/htcheck/ htcheck-([0-9].*)\.tar\.bz2 + --- htcheck-2.0.0~rc1.orig/debian/docs +++ htcheck-2.0.0~rc1/debian/docs @@ -0,0 +1,5 @@ +README +NEWS +TODO +ChangeLog.old +SQL --- htcheck-2.0.0~rc1.orig/debian/patches/series +++ htcheck-2.0.0~rc1/debian/patches/series @@ -0,0 +1,4 @@ +004_ducumentation-text.patch +005_atoi-require-stdlib.patch +200_debian-config.patch +300_fix-ftbfs-gcc44-eglibc210.patch --- htcheck-2.0.0~rc1.orig/debian/patches/005_atoi-require-stdlib.patch +++ htcheck-2.0.0~rc1/debian/patches/005_atoi-require-stdlib.patch @@ -0,0 +1,20 @@ +Index: htcheck-2.0.0~rc1/htmysql/HtmysqlDB.cc +=================================================================== +--- htcheck-2.0.0~rc1.orig/htmysql/HtmysqlDB.cc 2009-09-12 21:37:30.000000000 +0200 ++++ htcheck-2.0.0~rc1/htmysql/HtmysqlDB.cc 2009-09-12 21:37:46.000000000 +0200 +@@ -27,13 +27,14 @@ + using namespace std; + #endif + #else +-#include + #include + #include + #include + #include + #endif /* HAVE_STD */ + ++#include ++ + #include "HtmysqlDB.h" + #include "StringList.h" + #include "_Url.h" --- htcheck-2.0.0~rc1.orig/debian/patches/300_fix-ftbfs-gcc44-eglibc210.patch +++ htcheck-2.0.0~rc1/debian/patches/300_fix-ftbfs-gcc44-eglibc210.patch @@ -0,0 +1,30 @@ +# +# Ubuntu: https://bugs.launchpad.net/debian/+source/htcheck/+bug/461286 +# Description: Fix FTBFS with GCC 4.4 and eglibc 2.10. +# +Index: htcheck/htnet/Transport.cc +=================================================================== +--- htcheck.orig/htnet/Transport.cc 2009-10-26 17:38:20.868978474 +0100 ++++ htcheck/htnet/Transport.cc 2009-10-26 18:26:20.898963097 +0100 +@@ -426,7 +426,7 @@ + // Recognize the possible date format sent by the server + Transport::DateFormat Transport::RecognizeDateFormat (const char *datestring) + { +- register char *s; ++ register const char *s; + + if((s=strchr(datestring, ','))) + { +Index: htcheck/htnet/HtCookie.cc +=================================================================== +--- htcheck.orig/htnet/HtCookie.cc 2009-10-26 18:26:44.804253955 +0100 ++++ htcheck/htnet/HtCookie.cc 2009-10-26 18:27:21.740908128 +0100 +@@ -474,7 +474,7 @@ + HtCookie::DateFormat HtCookie::RecognizeDateFormat(const char *datestring) + { + +- register char *s; ++ register const char *s; + + if (datestring) + { --- htcheck-2.0.0~rc1.orig/debian/patches/004_ducumentation-text.patch +++ htcheck-2.0.0~rc1/debian/patches/004_ducumentation-text.patch @@ -0,0 +1,12 @@ +Index: htcheck-2.0.0~rc1/doc/htcheck.1 +=================================================================== +--- htcheck-2.0.0~rc1.orig/doc/htcheck.1 2009-08-27 14:41:41.000000000 +0200 ++++ htcheck-2.0.0~rc1/doc/htcheck.1 2009-09-22 18:47:12.000000000 +0200 +@@ -1,6 +1,6 @@ + .TH HTCHECK "1" "September 2009" "ht://Check 2.0.0" FSF + .SH NAME +-ht://Check \- manual page for ht://Check 2.0.0 ++ht://Check \- Web site checker for dead/external links 2.0.0 + .SH SYNOPSIS + .B htcheck + [\fI-isvk\fR] [\fI-c configfile\fR] [\fI-D dbname\fR] --- htcheck-2.0.0~rc1.orig/debian/patches/200_debian-config.patch +++ htcheck-2.0.0~rc1/debian/patches/200_debian-config.patch @@ -0,0 +1,20 @@ +Index: htcheck-2.0.0~rc1/installdirs/htcheck.conf +=================================================================== +--- htcheck-2.0.0~rc1.orig/installdirs/htcheck.conf 2009-08-26 14:16:14.000000000 +0200 ++++ htcheck-2.0.0~rc1/installdirs/htcheck.conf 2009-09-22 18:53:56.000000000 +0200 +@@ -92,10 +92,11 @@ + db_name: htcheck + + # Prefix for the MySQL configuration file to be searched. Default is 'my' and +-# The file searched is usually '~/.my.cnf' (suggested). If it is not found +-# the /etc/.my.cnf file is searched. For its syntax, look at 'Option File' +-# contents inside the MySQL documentation. ht://Check at the moment +-# accept only the host, user, password, port and socket settings. ++# the file searched is usually '~/.my.cnf' (suggested). If it is not found the ++# default system-wide MySQL config file is searched (on Debian, this is ++# /etc/mysql/my.cnf). For its syntax, look at 'Option File' contents inside ++# the MySQL documentation. ht://Check at the moment accept only the host, user, ++# password, port and socket settings. + # IMPORTANT: only for MySQL 3.23, 4.0, 4.1 and 5.0 + #mysql_conf_file_prefix: htcheck +