debian/0000755000000000000000000000000011733672567007207 5ustar debian/changelog0000644000000000000000000001046211733672567011064 0ustar visitors (0.7-9) unstable; urgency=low * Make build system pay attention to CPPFLAGS and LDFLAGS, bug report and patch by Simon Ruderich (closes: #665486). * Bump Standards-Versions to 3.9.3. -- Romain Francoise Sun, 25 Mar 2012 21:43:51 +0200 visitors (0.7-8) unstable; urgency=low * Switch to debhelper compat level 9. * Enable all hardening options. * Pass CFLAGS via DEB_CFLAGS_MAINT_APPEND. * Bump Standards-Versions to 3.9.2. -- Romain Francoise Sun, 18 Dec 2011 15:12:53 +0100 visitors (0.7-7) unstable; urgency=low * Switch to 3.0 (quilt) source format: + Drop build-depends on quilt. + Remove patch/unpatch logic from debian/rules. + Remove README.source. + Refresh all patches. * Use dh(1): + debian/compat: Bump to 7. + debian/control: Build-depend on debhelper (>= 7.0.50~). + debian/rules: Simplify. + debian/visitors.{install,manpages}: New files. -- Romain Francoise Sun, 08 Nov 2009 14:02:08 +0100 visitors (0.7-6) unstable; urgency=low * debian/control: + Add depends on ${misc:Depends}. + Bump Standards-Version to 3.8.3; no changes needed. * Add debian/README.source. * debian/patches/browsers-update.diff: Update with more browsers, contributed by Guido Günther (closes: #548748). -- Romain Francoise Sun, 04 Oct 2009 15:11:33 +0200 visitors (0.7-5) unstable; urgency=low * debian/copyright: Clarify applicable GPL version. * debian/control: Bump Standards-Version to 3.8.2; no changes needed. -- Romain Francoise Sun, 21 Jun 2009 20:17:56 +0200 visitors (0.7-4) unstable; urgency=low * debian/patches/debian-man-fixes.diff: New patch, fixes typo in visitors.1, thanks to Noah Slater (closes: #460515). * debian/patches/combined-maps.diff: New patch, adds a value tooltip in combined maps, thanks to Alexander Schier (closes: #415235). * debian/patches/browsers-update.diff: New patch, updates the built-in browser list, adding MSIE 7.x. Thanks to max . * debian/control: Bump Standards-Version to 3.7.3; no changes needed. -- Romain Francoise Sat, 09 Feb 2008 21:22:35 +0100 visitors (0.7-3) unstable; urgency=low * debian/control: + Add Vcs-Browser and Vcs-Git fields. + Move upstream URL to the Homepage field. -- Romain Francoise Sun, 04 Nov 2007 11:44:51 +0100 visitors (0.7-2) unstable; urgency=low * debian/control: + Bump Standards-Version to 3.7.2, no changes needed. + Build-depend on quilt, not dpatch. + Build-depend on debhelper (>= 5). + Tweak short description. * debian/compat: Bump to 5. * debian/rules: Various cleanups. -- Romain Francoise Sat, 01 Sep 2007 11:32:25 +0200 visitors (0.7-1) unstable; urgency=low * New upstream release: + The man page now correctly lists -S as shortcut for --robots (closes: #356401). + HTML is now correctly documented as the default output format in the man page (closes: #339594). * debian/rules: Don't gunzip man page. -- Romain Francoise Mon, 3 Apr 2006 19:57:59 +0200 visitors (0.6.1-1) unstable; urgency=low * New upstream release: + Text output is now split in lines to make it easier to send reports by email (closes: #312345). + The list of recognized User-Agents is now up-to-date (closes: #312346). + User-Agent parsing is now more robust (closes: #312347). * debian/control: Bump Standards-Version to 3.6.2, no changes needed. -- Romain Francoise Sat, 29 Oct 2005 16:35:23 +0200 visitors (0.5-1) unstable; urgency=low * New upstream release. * debian/visitors.1: Removed (included upstream). * debian/rules: + Update man page location in call to dh_installman. + gunzip man page before installing it, it's not compressed with gzip -9 so we can't use it as-is (Policy 12.1). -- Romain Francoise Fri, 29 Apr 2005 19:04:20 +0200 visitors (0.4a-1) unstable; urgency=low * Initial release (closes: #303924). -- Romain Francoise Sat, 9 Apr 2005 20:31:28 +0200 debian/visitors.install0000644000000000000000000000002111275530216012433 0ustar visitors usr/bin debian/visitors.docs0000644000000000000000000000001410771475002011720 0ustar README TODO debian/visitors.dirs0000644000000000000000000000003210771475002011731 0ustar usr/bin usr/share/pixmaps debian/source/0000755000000000000000000000000011673372022010471 5ustar debian/source/format0000644000000000000000000000001411275525730011703 0ustar 3.0 (quilt) debian/source/lintian-overrides0000644000000000000000000000006211673372022014050 0ustar package-needs-versioned-debhelper-build-depends 9 debian/control0000644000000000000000000000160211733672375010606 0ustar Source: visitors Section: web Priority: optional Maintainer: Romain Francoise Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 8.9.4~), Standards-Version: 3.9.3 Homepage: http://www.hping.org/visitors/ Vcs-Browser: http://git.debian.org/?p=users/rfrancoise/visitors.git Vcs-Git: git://git.debian.org/git/users/rfrancoise/visitors.git Package: visitors Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: graphviz Description: fast web server log analyzer Visitors is a very fast web server log analyzer designed to be run from the command line, with support for text or html output and real-time statistics generation. It can handle most web server logs including Apache access logs and is very easy to use: no configuration file and no database are required. It can also generate visual path analysis graphs using Graphviz. debian/copyright0000644000000000000000000000111111217470022011107 0ustar This package was debianized by Romain Francoise on Sat, 09 Apr 2005 20:42:00 +0200 It was downloaded from http://www.hping.org/visitors/visitors-0.4a.tar.gz Upstream Authors: Salvatore Sanfilippo Copyright: Copyright (C) 2004 by Salvatore Sanfilippo All Rights Reserved. This software is released under the terms of the GPL license version 2. On Debian GNU/Linux systems, the complete text of the GNU General Public License (version 2) can be found in `/usr/share/common-licenses/GPL-2'. debian/rules0000755000000000000000000000040511673371614010256 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -D_FILE_OFFSET_BITS=64 %: dh $@ override_dh_install: dh_install install -m 0644 powered-by-visitors.png \ debian/visitors/usr/share/pixmaps/visitors.png debian/visitors.manpages0000644000000000000000000000001311275526351012566 0ustar visitors.1 debian/compat0000644000000000000000000000000211673371473010400 0ustar 9 debian/patches/0000755000000000000000000000000011733672076010631 5ustar debian/patches/combined-maps.diff0000644000000000000000000000105611275525754014204 0ustar Add the number of requests as a title value in combined maps, by Alexander Schier (#415235). --- visitors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/visitors.c +++ b/visitors.c @@ -2291,7 +2291,7 @@ r = (0xAA*val)/max; g = (0xBB*val)/max; b = (0xFF*val)/max; - fprintf(fp, " \n", r, g, b); + fprintf(fp, " \n", r, g, b, val); } fprintf(fp, "\n"); } debian/patches/use-dpkg-buildflags.diff0000600000000000000000000000120011733671543015273 0ustar Description: Use build flags from environment (dpkg-buildflags). Necessary for hardening flags. Author: Simon Ruderich Last-Update: 2012-03-24 --- visitors-0.7.orig/Makefile +++ visitors-0.7/Makefile @@ -5,7 +5,7 @@ DEBUG?= -g CFLAGS?= -O2 -Wall -W -CCOPT= $(CFLAGS) +CCOPT= $(CFLAGS) $(CPPFLAGS) OBJ = visitors.o aht.o antigetopt.o tail.o PRGNAME = visitors @@ -14,7 +14,7 @@ all: visitors visitors.o: visitors.c blacklist.h visitors: $(OBJ) - $(CC) -o $(PRGNAME) $(CCOPT) $(DEBUG) $(OBJ) + $(CC) -o $(PRGNAME) $(LDFLAGS) $(CCOPT) $(DEBUG) $(OBJ) .c.o: $(CC) -c $(CCOPT) $(DEBUG) $(COMPILE_TIME) $< debian/patches/series0000644000000000000000000000012711733672076012046 0ustar browsers-update.diff debian-man-fixes.diff combined-maps.diff use-dpkg-buildflags.diff debian/patches/browsers-update.diff0000644000000000000000000000205311262116635014600 0ustar Update the built-in browser list with newer browsers. --- visitors.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) --- a/visitors.c +++ b/visitors.c @@ -1435,10 +1435,12 @@ "MSIE 4", "Explorer 4.x", "MSIE 5", "Explorer 5.x", "MSIE 6", "Explorer 6.x", + "MSIE 7", "Explorer 7.x", "MSIE", "Explorer unknown version", "Safari", NULL, "Konqueror", NULL, "Galeon", NULL, + "Iceweasel", NULL, "Firefox", NULL, "MultiZilla", NULL, "Gecko", "Other Mozilla based", @@ -1447,6 +1449,7 @@ "Links ", "Links", "ELinks ", "Links", "Elinks ", "Links", + "Liferea", NULL, "w3m", "W3M", "NATSU-MICAN", NULL, "msnbot", "MSNbot", @@ -1460,6 +1463,15 @@ "NSPlayer", NULL, "Googlebot", "GoogleBot", "googlebot", "GoogleBot", + "yacybot", "YaCy-Bot", + "Sogou", "Sogou.com Bot", + "psbot", "Picsearch.com Bot", + "sosospider", "Soso.com Bot", + "Baiduspider+", "Baidu.com Bot", + "Yandex", "Yandex.com Bot", + "Yeti", "Nava.com Bot", + "APT-HTTP", "Apt", + "git", "Git", "", "Unknown", NULL, NULL, }; debian/patches/debian-man-fixes.diff0000644000000000000000000000065711275525754014603 0ustar Misc. fixes to the man page. --- visitors.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/visitors.1 +++ b/visitors.1 @@ -291,7 +291,7 @@ Set the max number of entries in the domains report. .PP .TP 8 -.BI "\-P \-\-prefix" " number" +.BI "\-P \-\-prefix" " string" Prefixes specify to visitors how a link should look like to be classified as internal to your site. This option is required for .B --trails