debian/0000755000000000000000000000000011544356630007175 5ustar debian/copyright0000644000000000000000000000376111543206061011126 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173 Upstream-Name: google-sitemapgen Upstream-Contact: Ed Falk Source: http://goog-sitemapgen.sourceforge.net/ Files: * Copyright: 2005 Google Inc License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted under the terms of the BSD License. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2007, Kumar Appaiah , 2011, Charlie Smotherman Licence: GPL-3+ 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 3 of the License, 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 . On Debian systems, the GNU General Public License version 3 can be found in /usr/share/common-licenses/GPL-3. debian/README.source0000644000000000000000000000034111306077205011344 0ustar google-sitemapgen for Debian ============================ Since the original upstream tarball did not possess a subdirectory, I repackaged it to do so. -- Kumar Appaiah , Thu, 3 Dec 2009 20:59:20 -0600 debian/changelog0000644000000000000000000000523411544356610011051 0ustar google-sitemapgen (1.5-3) unstable; urgency=low * Team upload. * debian/rules: - switch to using dh7 tiny rules. * debian/control: - removed python from B-D-I. - made package Depend: on python (>=2.6). - removed XS-P-V, not needed. - removed Build-Depends-Indep not needed. - bumped debhelper to (>= 7.0.50~). - bumped Standard Version to 3.9.1 no changes needed. * Bumped debian/compat to 7. * Removed debian/dirs not needed. * Switched to using source format 3.0 quilt. * Added 01_typo_fix to correct for an upstream typo in sitemap_gen.py. This was taken from launchpad bug #670186. * Added 02_md5hashlib_fix to fix depreciated md5 module. Closes: #591488 * Updated debian/copyright to DEP5 Machine readable format. -- Charlie Smotherman Tue, 29 Mar 2011 08:24:24 -0500 google-sitemapgen (1.5-2) unstable; urgency=low [ Jonathan Wiltshire ] * Change Build-Depends-Indep to python, not python-dev and increase minimum python-support version to 0.90 * XS-Python-Version: Allow all supported versions (Closes: #570563) * Add ${misc:Depends} to binary package dependencies -- Python Applications Packaging Team Mon, 22 Feb 2010 22:49:21 +0000 google-sitemapgen (1.5-1) unstable; urgency=low * New upstream release. (Closes: #545994) * Update watch file, home page location. * Add README.source to explain repacking. -- Kumar Appaiah Thu, 03 Dec 2009 21:08:21 -0600 google-sitemapgen (1.4-4) unstable; urgency=low [ Sandro Tosi ] * debian/control - switch Vcs-Browser field to viewsvn [ Kumar Appaiah ] * Use python-support instead of python-central. * Change uploader's e-mail address. * Standards Version updated (no changes needed). -- Kumar Appaiah Thu, 03 Dec 2009 20:29:04 -0600 google-sitemapgen (1.4-3) unstable; urgency=low * Remove unnecessary MANIFEST file. * debian/control: + Make Debian Python Applications team the maintainer. + Add Vcs-Svn and Vcs-Browser. + Add Homepage field to debian/control. + Standards version is now 3.7.3 (no changes needed). * debian/rules: + Remove unnecessary /usr/lib. * debian/google-sitemapgen.1: + Fix application's mini-description. -- Kumar Appaiah Mon, 11 Feb 2008 22:11:17 +0100 google-sitemapgen (1.4-2) unstable; urgency=low * Change section to utils. -- Kumar Appaiah Tue, 07 Aug 2007 20:10:28 +0530 google-sitemapgen (1.4-1) unstable; urgency=low * Initial release (Closes: #410567) -- Kumar Appaiah Tue, 31 Jul 2007 10:00:51 +0530 debian/rules0000755000000000000000000000040311543077621010251 0ustar #!/usr/bin/make -f # -*- makefile -*- #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: override_dh_auto_clean: override_dh_auto_install: dh_install sitemap_gen.py /usr/bin cd debian/google-sitemapgen/usr/bin && mv sitemap_gen.py google-sitemapgen debian/docs0000644000000000000000000000000711543077621010044 0ustar README debian/watch0000644000000000000000000000021611306077205010217 0ustar version=3 http://code.google.com/p/sitemap-generators/downloads/list \ http://sitemap-generators.googlecode.com/files/sitemap_gen_(.*).tar.gz debian/examples0000644000000000000000000000004710672627017010740 0ustar example_config.xml example_urllist.txt debian/google-sitemapgen.10000644000000000000000000000346411544351132012664 0ustar .TH "GOOGLE-SITEMAPGEN" "1" .SH "NAME" google-sitemapgen \(em simple script to automate production of sitemaps for a webserver .SH "SYNOPSIS" .PP \fBgoogle-sitemapgen\fR [\fB\-\-testing\fP] [\fB\-\-help\fP] [\fB\-\-config=\fP\fIconfig.xml\fP] .SH "DESCRIPTION" .PP This manual page documents briefly the \fBgoogle-sitemapgen\fR command. .PP This manual page was written for the \fBDebian\fP distribution because the original program does not have a manual page. .PP \fBgoogle-sitemapgen\fR is a program that automatically produces sitemaps for a webserver, in the Google Sitemap Protocol (GSP). Sitemap files are XML listings of content you make available on your web server. The files can be directly submitted to search engines as hints for the search engine web crawlers as they index your web site. This can result in better coverage of your web content in search engine indices, and less of your bandwidth spent doing it. .SH "OPTIONS" .IP "\fB\-\-config=\fIconfig.xml\fR\fP " 10 Specify the location of the configuration \fIconfig.xml\fR .IP "\fB\-\-testing\fP " 10 Used to test the sitemap generator configuration. .IP "\fB\-\-help\fP " 10 Display a summary of options and exit. .SH "SEE ALSO" .PP .BR /usr/share/doc/google-sitemapgen/examples/example_config.xml.gz .SH "AUTHOR" .PP Google Sitemap was originally written by Google Code . .PP This manual page was written by Kumar Appaiah for the \fBDebian\fP system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/control0000644000000000000000000000203011543206061010562 0ustar Source: google-sitemapgen Section: utils Priority: optional Maintainer: Python Applications Packaging Team Uploaders: Kumar Appaiah Build-Depends: debhelper (>= 7.0.50~) Standards-Version: 3.9.1 Vcs-Svn: svn://svn.debian.org/python-apps/packages/google-sitemapgen/trunk Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/google-sitemapgen/trunk/ Homepage: http://code.google.com/p/sitemap-generators/ Package: google-sitemapgen Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python (>=2.6) Description: sitemap generator for Google Sitemap This script analyzes your web server and generates one or more sitemap files. These files are XML listings of content you make available on your web server. The files can be directly submitted to search engines as hints for the search engine web crawlers as they index your web site. This can result in better coverage of your web content in search engine indices, and less of your bandwidth spent doing it. debian/README.Debian0000644000000000000000000000075110672627017011242 0ustar Google Sitemap Generator for Debian ----------------------------------- The sitemap generator is installed as google-sitemapgen in /usr/bin. So, just run google-sitemapgen with your command line options. The man page and the README file document it's usage. Detailed information on usage is available at the Google Webmaster Tools page at: https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html -- Kumar Appaiah , Tue, 31 Jul 2007 14:51:07 +0530 debian/compat0000644000000000000000000000000211533351442010365 0ustar 7 debian/manpages0000644000000000000000000000003510672627017010712 0ustar ./debian/google-sitemapgen.1 debian/source/0000755000000000000000000000000011544356627010503 5ustar debian/source/format0000644000000000000000000000001411533351442011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011544356627010632 5ustar debian/patches/02_md5hashlib_fix0000644000000000000000000000311411533351442013727 0ustar Description: This fixes the depreciated md5 module Author: Charlie Smotherman Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591488 Last-Update: 2011-03-01 Index: google-sitemapgen-1.5/sitemap_gen.py =================================================================== --- google-sitemapgen-1.5.orig/sitemap_gen.py 2011-03-01 15:06:43.000000000 -0600 +++ google-sitemapgen-1.5/sitemap_gen.py 2011-03-01 15:08:23.000000000 -0600 @@ -62,7 +62,7 @@ import fnmatch import glob import gzip -import md5 +import hashlib import os import re import stat @@ -425,7 +425,7 @@ """ Output and count a warning. Suppress duplicate warnings. """ if text: text = encoder.NarrowText(text, None) - hash = md5.new(text).digest() + hash = hashlib.md5(text).digest() if not self._warns_shown.has_key(hash): self._warns_shown[hash] = 1 print '[WARNING] ' + text @@ -438,7 +438,7 @@ """ Output and count an error. Suppress duplicate errors. """ if text: text = encoder.NarrowText(text, None) - hash = md5.new(text).digest() + hash = hashlib.md5(text).digest() if not self._errors_shown.has_key(hash): self._errors_shown[hash] = 1 print '[ERROR] ' + text @@ -648,8 +648,8 @@ if not self.loc: return None if self.loc.endswith('/'): - return md5.new(self.loc[:-1]).digest() - return md5.new(self.loc).digest() + return hashlib.md5(self.loc[:-1]).digest() + return hashlib.md5(self.loc).digest() #end def MakeHash def Log(self, prefix='URL', level=3): debian/patches/01_typo_fix0000644000000000000000000000140011533351442012675 0ustar Description: correct minor upstream typo Author: Charlie Smotherman Origin: https://bugs.launchpad.net/ubuntu/+source/google-sitemapgen/+bug/670186 Last-Update: 2011-03-01 Index: google-sitemapgen-1.5/sitemap_gen.py =================================================================== --- google-sitemapgen-1.5.orig/sitemap_gen.py 2011-03-01 15:04:04.000000000 -0600 +++ google-sitemapgen-1.5/sitemap_gen.py 2011-03-01 15:04:41.000000000 -0600 @@ -1799,7 +1799,7 @@ if self._sitemap_type == 'news': sitemap_index_header = NEWS_SITEMAP_HEADER else: - sitemap__index_header = GENERAL_SITEMAP_HEADER + sitemap_index_header = GENERAL_SITEMAP_HEADER # Make a lastmod time lastmod = TimestampISO8601(time.time()) debian/patches/series0000644000000000000000000000003611533351442012032 0ustar 02_md5hashlib_fix 01_typo_fix