pyblosxom (1.4.3-1) debian-dir only changes

Summary

 debian/README.Debian                                |   82 ++++++
 debian/changelog                                    |  262 ++++++++++++++++++++
 debian/compat                                       |    1 
 debian/control                                      |   20 +
 debian/copyright                                    |   35 ++
 debian/patches/00list                               |    2 
 debian/patches/pyblosxom.cgi-path-config-fix.dpatch |   15 +
 debian/patches/remove_poweredby.dpatch              |   13 
 debian/pyblosxom.docs                               |    1 
 debian/pyblosxom.install                            |    2 
 debian/pyblosxom.postinst                           |   13 
 debian/rules                                        |   23 +
 debian/watch                                        |    2 
 13 files changed, 471 insertions(+)

    
download this patch

Patch contents

--- pyblosxom-1.4.3.orig/debian/pyblosxom.postinst
+++ pyblosxom-1.4.3/debian/pyblosxom.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+if [ "$1" != "configure" ]; then
+	exit 0
+fi
+
+if [ -f /etc/pyblosxom/config.py ]; then
+	chown root:www-data /etc/pyblosxom/config.py
+	chmod 644 /etc/pyblosxom/config.py
+fi
+
+#DEBHELPER#
--- pyblosxom-1.4.3.orig/debian/copyright
+++ pyblosxom-1.4.3/debian/copyright
@@ -0,0 +1,35 @@
+This package was debianized by Colin Walters <walters@debian.org> on
+Sat, 24 May 2003 01:56:38 -0400.  Work to update it to the 1.4 series was
+done by Daniel Watkins <daniel@daniel-watkins.co.uk>.
+
+Packaging copyright (C) 2008  Daniel Watkins <daniel@daniel-watkins.co.uk>
+
+It was downloaded from ftp://ftp3.sourceforge.net/pub/sourceforge/pyblosxom/
+
+Upstream Author: Wari Wahab <wari@home.wari.org>
+
+License:
+
+The MIT License
+
+   Copyright (c) 2003, 2004, 2005 Wari Wahab
+
+   Permission is hereby granted, free of charge, to any person obtaining
+   a copy of this software and associated documentation files (the
+   "Software"), to deal in the Software without restriction, including
+   without limitation the rights to use, copy, modify, merge, publish,
+   distribute, sublicense, and/or sell copies of the Software, and to
+   permit persons to whom the Software is furnished to do so, subject to
+   the following conditions:
+
+   The above copyright notice and this permission notice shall be
+   included in all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+   NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+   BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+   SOFTWARE.
--- pyblosxom-1.4.3.orig/debian/watch
+++ pyblosxom-1.4.3/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/pyblosxom/pyblosxom-(.+)\.tar\.gz debian uupdate
--- pyblosxom-1.4.3.orig/debian/control
+++ pyblosxom-1.4.3/debian/control
@@ -0,0 +1,20 @@
+Source: pyblosxom
+Section: web
+Priority: optional
+Build-Depends: cdbs (>= 0.2), debhelper (>= 5.0), dpatch
+Build-Depends-Indep: python, python-dev, python-support (>= 0.4)
+Maintainer: Daniel Watkins <daniel@daniel-watkins.co.uk>
+Standards-Version: 3.8.0
+Homepage: http://pyblosxom.sourceforge.net/
+
+Package: pyblosxom
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Suggests: apache2 | httpd
+Description: a lightweight file-based weblog system
+ PyBlosxom is a blog, which allows you to keep an online journal.
+ It acts as an extension for a web server such as Apache. It is
+ very easy to set up and use. Entries are stored in simple text
+ files and can be categorized using directories.
+ .
+ PyBlosxom is so-called because it was inspired by Blosxom.
--- pyblosxom-1.4.3.orig/debian/changelog
+++ pyblosxom-1.4.3/debian/changelog
@@ -0,0 +1,262 @@
+pyblosxom (1.4.3-1) unstable; urgency=low
+
+  * New upstream release: (Closes: #443998)
+    + Correct self link in Atom feeds. (Closes: #403008)
+    + 'flavourdir' variable now documented. (Closes: #486551)
+    + Number of items on front page minimised to avoid Planet-spamming.
+      (Closes: #373658)
+  * Removed patches:
+    + lookat_local_config.py.dpatch as it has been merged upstream.
+      (Closes: #367127)
+    + config.py-path.dpatch as we shouldn't be encouraging people to use
+      /var/www/ for their pybloxsom files.
+    + build_offline.dpatch as it was obsoleted by the move away from docbook.
+    + fix_nt_positive_values.dpatch as Windows is not a supported Debian
+      platform.
+  * Removed creation of empty /usr/share/doc/pyblosxom/pluginwriting/.
+  * Removed NEWS.Debian, as it was several versions old.
+  * Added packaging copyright to debian/copyright.
+  * debian/control
+    + Changed Maintainer to Daniel Watkins. (Closes: #461246)
+    + Moved cdbs, debhelper, dpatch and python from Build-Depends-Indep to
+      Build-Depends as they are required to run the clean target of
+      debian/rules.
+    + Changed cdbs and debhelper dependencies to be less needlessly precise.
+    + Updated the Description to remove needless commas and give a slightly more
+      accurate summary.
+    + Updated Standards-Version to 3.8.0, no changes required.
+    + Added Homepage field.
+    + Documentation has moved from using docbook to using ReST, so removed
+      Build-Depends on openjade and docbook-dsssl.
+    + Added '${misc:Depends}' to Depends.
+  * debian/rules
+    + Removed commented-out lines as they were not adding any value.
+    + Switched to using pyversions to find the Python version.
+    + Excluded .txt files from being compressed, as documentation files too
+      small to need it were being compressed.
+  * Removed installation of welcome.txt to /var/www, as it's contents were
+    duplicating existing documentation and not entirely correct.
+  * Added debian/watch.
+
+ -- Daniel Watkins <daniel@daniel-watkins.co.uk>  Tue, 29 Jul 2008 16:24:36 +0100
+
+pyblosxom (1.3.2-7) unstable; urgency=low
+
+  * Orphaning package.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Sat, 16 Feb 2008 23:17:47 +0100
+
+pyblosxom (1.3.2-6) unstable; urgency=low
+
+  * Don't depend on apache2 | httpd, just suggest them. (closes: #409751)
+
+ -- Norbert Tretkowski <nobse@debian.org>  Mon, 26 Mar 2007 21:18:46 +0200
+
+pyblosxom (1.3.2-5) unstable; urgency=low
+
+  * Use python-support for python transition. (closes: #380900)
+
+ -- Norbert Tretkowski <nobse@debian.org>  Fri, 11 Aug 2006 20:02:41 +0200
+
+pyblosxom (1.3.2-4) unstable; urgency=low
+
+  * Added explicit build-dependency on openjade. (closes: #366825)
+  * Updated Standards-Version to 3.7.2.0, no changes required.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Thu, 11 May 2006 08:27:44 -0500
+
+pyblosxom (1.3.2-3) unstable; urgency=low
+
+  * Added a new patch which allows building the package when offline.
+    (closes: #360230)
+
+ -- Norbert Tretkowski <nobse@debian.org>  Thu, 13 Apr 2006 21:28:08 +0200
+
+pyblosxom (1.3.2-2) unstable; urgency=low
+
+  * Oops, accidentally uploaded 1.3.2-1 as native package.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Sat, 18 Feb 2006 10:22:01 +0100
+
+pyblosxom (1.3.2-1) unstable; urgency=high
+
+  * New upstream release.
+    + Fixed a security issue that probably allows people to see arbitrary
+      files (such as those in /etc).
+
+ -- Norbert Tretkowski <nobse@debian.org>  Mon, 13 Feb 2006 18:30:02 +0100
+
+pyblosxom (1.3.1-1) unstable; urgency=low
+
+  * New upstream release.
+    + Fixed static rendering. (closes: #351616)
+  * Removed patches merged upstream:
+    + fix_rss_flavour.dpatch
+    + fix_rss_link.dpatch
+    + no_limits_year.dpatch
+
+ -- Norbert Tretkowski <nobse@debian.org>  Wed,  8 Feb 2006 06:38:56 +0100
+
+pyblosxom (1.3-2) unstable; urgency=low
+
+  * Added HTML documentation.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Fri,  3 Feb 2006 19:38:53 +0100
+
+pyblosxom (1.3-1) unstable; urgency=low
+
+  * New upstream release. (closes: #349508)
+  * Updated patches for new release:
+    + config.py-path.dpatch
+    + remove_poweredby.dpatch
+  * Removed patches merged patches:
+    + pyblosxom_work_with_get.dpatch
+  * New maintainer, thanks Tollef for your work!
+  * Added a new patch to use $base_url instead $url for link in rss1.0 feed.
+    (closes: #350269)
+  * Added a new patch to display all entries for archive pages, even when
+    num_entries is set. (closes: #331250)
+  * Added a new patch to fix rss flavour.
+  * Fixed permissions of /etc/pyblosxom/config.py via postinst.
+  * Removed contrib/* from pyblosxom.install.
+  * Added upstream changelog file.
+  * Bumped up standards-version, no changes needed.
+  * Switched to debhelper 5.
+
+ -- Norbert Tretkowski <nobse@debian.org>  Mon, 30 Jan 2006 19:57:05 +0100
+
+pyblosxom (1.2.1-3) unstable; urgency=low
+
+  * Apply patch from Kaloian Doganov to only read CONTENT_LENGTH bytes
+    from STDIN when getting a POST request.  (closes #332866)
+  * Remove note about where contributes plugins are installed, since they
+    no longer are. (closes: #318709)
+  * Twiddle the description somewhat.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Sun,  6 Nov 2005 15:21:30 +0100
+
+pyblosxom (1.2.1-2) unstable; urgency=low
+
+  * Rebuild, since the previous version apparently wasn't built in a
+    proper chroot.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Sun,  5 Jun 2005 14:47:57 +0200
+
+pyblosxom (1.2.1-1) unstable; urgency=low
+
+  * New upstream release, minor changes only.
+  * Remove "powered by" image, since some people feel it may be a privacy
+    concern.  (closes: #274224)
+  * Only read from stdin if we're getting a POST, not if it's a GET.
+    (closes: #303942)
+  * Add L to bigger-than-int constants in Pyblosxom/tools.py.  This is
+    just to get python2.3 to shut up about it returning a positive value,
+    the code is just used on windows so we won't have to care about
+    whether it works or not.  (closes: #310499)
+  * Apply patch to look for config in same directory as the file exists
+    in.  This makes it a lot easier to use packaged pyblosxom on vhosts
+    with multiple users and customised installations. (closes: #298587)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Fri,  3 Jun 2005 08:58:51 +0200
+
+pyblosxom (1.2-2) unstable; urgency=low
+
+  * Make sure we don't ship files owned by uid 502 (closes: #305896)
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Sun, 24 Apr 2005 04:22:44 +0200
+
+pyblosxom (1.2-1) unstable; urgency=low
+
+  * New upstream release (closes: #291726)
+    - no contributed plugins any more.  License issues and upstream
+      splitting it out of the upstream tarball.
+    - No more xmlrpc.py (closes: #227080, #229342)
+    - Now actually uses ignore_directories correctly (closes: #271655)
+    - Corrected use of hex constants (closes: #274830)
+    - Uses $pyblosxom_version in default renderer (closes: #282603)
+    - No longer has version number in default config file (closes: #231621)
+  
+  * Update new upstream URL in welcome.txt
+  * Update license to the MIT license.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Wed,  6 Apr 2005 18:56:44 +0200
+
+pyblosxom (1.0.0-3) unstable; urgency=low
+
+  * Merge Ubuntu and Debian versions, making a package which does the
+    right thing depending on what system you build it on.  (With regards
+    to python version.)
+  * New maintainer.
+
+ -- Tollef Fog Heen <tfheen@debian.org>  Fri,  4 Mar 2005 17:18:21 +0100
+
+pyblosxom (1.0.0-2ubuntu1) hoary; urgency=low
+
+  * Rebuild for python2.4
+  * Fixed patches also 2.3 -> 2.4 
+  * Standards Version 3.6.1.1 
+
+ -- Charles Majola <charles@ubuntu.com>  Mon, 21 Feb 2005 14:38:10 +0200
+
+pyblosxom (1.0.0-2) unstable; urgency=low
+
+  * Fixed depends (python2.3 doesn't depend anymore on python) 
+    Closes: #262419
+  * Replaced config.py-path-fix.patch with new fixed Closes: #261692 
+  * Fixed python paths in contrib section.
+
+ -- Fredrik Steen <stone@debian.org>  Mon,  2 Aug 2004 20:57:03 +0200
+
+pyblosxom (1.0.0-1) unstable; urgency=low
+
+  * New upstream release
+    Closes: #208836
+    Closes: #240727
+    Closes: #257300
+
+ -- Fredrik Steen <stone@debian.org>  Wed, 16 Jun 2004 11:30:30 +0200
+
+pyblosxom (0.9.1-1) unstable; urgency=low
+
+  * New upstream release (Closes:#208836) (Closes:#240727)
+  * Removed doc in README.Debian of xmlrpc.cgi not needed anymore 
+    (Closes:#238297).
+
+ -- Fredrik Steen <stone@debian.org>  Tue, 13 Apr 2004 10:34:16 +0200
+
+pyblosxom (0.8.1-1) experimental; urgency=low
+
+  * New upstream release (Closes:#208836)
+  * This version is uploaded to experimental because of lots of
+    changes in the structure of the upstream source. Please test
+    and submit bugs on the findings.
+
+ -- Fredrik Steen <stone@debian.org>  Mon,  8 Dec 2003 13:22:27 +0100
+
+pyblosxom (0.7beta1-1.3) unstable; urgency=low
+
+  * Changed the welcome.txt to include link to pyblosxom packages
+  * Included contrib modules (Closes:#215221)
+  * Included xmlrpc interface (Closes:#212475)
+
+ -- Fredrik Steen <stone@debian.org>  Mon, 20 Oct 2003 10:39:10 +0200
+
+pyblosxom (0.7beta1-1.2) unstable; urgency=low
+
+  * Adopted package from Colin Walters.
+
+ -- Fredrik Steen <stone@debian.org>  Mon, 15 Sep 2003 08:01:46 +0200
+
+pyblosxom (0.7beta1-1.1) unstable; urgency=low
+
+  * NMU.
+  * Tighten dependency on debhelper (closes: #207308).
+
+ -- Matthias Klose <doko@debian.org>  Fri,  5 Sep 2003 23:32:00 +0200
+
+pyblosxom (0.7beta1-1) unstable; urgency=low
+
+  * Initial Release (Closes: #194409).
+
+ -- Colin Walters <walters@debian.org>  Sat, 24 May 2003 01:56:38 -0400
+
--- pyblosxom-1.4.3.orig/debian/compat
+++ pyblosxom-1.4.3/debian/compat
@@ -0,0 +1 @@
+5
--- pyblosxom-1.4.3.orig/debian/pyblosxom.install
+++ pyblosxom-1.4.3/debian/pyblosxom.install
@@ -0,0 +1,2 @@
+web/pyblosxom.cgi usr/lib/cgi-bin/
+web/config.py etc/pyblosxom/
--- pyblosxom-1.4.3.orig/debian/pyblosxom.docs
+++ pyblosxom-1.4.3/debian/pyblosxom.docs
@@ -0,0 +1 @@
+docs/
--- pyblosxom-1.4.3.orig/debian/README.Debian
+++ pyblosxom-1.4.3/debian/README.Debian
@@ -0,0 +1,82 @@
+Pyblosxom configuration
+---------------------------------------------------------------------------
+Using .htaccess
+
+   (taken from pyblosxom INSTALL documentation)
+   Using .htaccess allows you to customise your installation so that your
+   URL will not look like this:
+	http://www.example.com/cgi-bin/pyblosxom.cgi
+
+   This  does  not make the site url easily accessible. You might want to
+   access your site with URLs like:
+	http://www.example.com/blog
+
+   Which  looks nicer for people to type it. If you are allowed .htaccess
+   modifications  by  your  hosting  provider,  and  they  allow  Options
+   overriding, this is what you can do with your PyBlosxom installation.
+
+   Rename pyblosxom.cgi to blog (ensure that pyblosxom.cgi works first in
+   your normal installation).
+
+   Add these lines to your .htaccess file:
+
+	Options ExecCGI
+
+	<Files blog>
+	  ForceType application/cgi-script
+	  SetHandler cgi-script
+	</Files>
+
+   This  will  ensure  that  blog will be executed instead of viewed with
+   text/plain.
+
+   If  you  want  to  access  blosxom  as  your  main  page, without even
+   accessing the /blog url, you can point blog to a directory index. This
+   will allow you to access your blog as:
+	http://www.example.com
+
+   Your  blog  will  work as per normal. For this type of installation to
+   work, you need to add one more line in your .htaccess:
+
+	DirectoryIndex blog
+
+
+Installing pyblosxom for single user with own configuration file
+-----------------------------------------------------------------
+ 1. Copy /usr/lib/cgi-bin/pyblosxom.cgi and /etc/pyblosxom/config.py to
+    your cgi-bin directory.
+ 2. Open config.py in your favorite text editor, the config file should
+    be self documenting, but make shure that the datadir property is the
+    full path to where you will store your blog entries.
+ 3. Test the installation by running ./pyblosxom.cgi on the commandline.
+ 4. Open up a text file in your datadir called firstpost.txt and write
+    something and save. Now test the url
+
+
+Personalizing/Customizing PyBlosxom
+------------------------------------
+
+After all that works you'll want to customize your blog:
+
+   1. copy flavour templates from contrib/flavour_examples into your datadir
+      and edit them to your liking
+   2. create a plugins directory to hold your PyBlosxom plugins
+   3. add the new plugins directory to the plugin_dirs property in your
+      config.py file
+   4. copy plugins from contrib/plugins into your plugins directory
+   5. for each plugin
+         1. open up the plugin file in any text editor and read the top of
+            the file
+         2. configure the plugin according to the directions you see there
+         3. add the plugin to the load_plugins property in your config.py file
+   6. run ./pyblosxom.cgi to verify the installation and configuration of
+      your blog and plugins
+
+
+Plugins
+-------
+You can find additional plugins in the PyBlosxom plugin registry on the
+http://pyblosxom.sourceforge.net/ site.
+
+
+-- Fredrik Steen <stone@debian.org>
--- pyblosxom-1.4.3.orig/debian/rules
+++ pyblosxom-1.4.3/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Colin Walters <walters@verbum.org>
+
+include /usr/share/cdbs/1/rules/buildcore.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+PYTHONVERSION=$(shell pyversions -dv)
+DEB_COMPRESS_EXCLUDE := .txt
+
+clean::
+	find . -type f -name "*.pyc" -delete
+
+install/pyblosxom::
+	dh_installchangelogs -ppyblosxom CHANGELOG
+
+binary-fixup/pyblosxom::
+	find . -type f -name "*.pyc" -delete
+	find debian/pyblosxom -type f -name \*.py -print0 | xargs -0 sed -i -e 's|#!.*python.*|#! /usr/bin/python$(PYTHONVERSION)|g'
+	dh_install -ppyblosxom Pyblosxom usr/lib/python$(PYTHONVERSION)/site-packages/
+	dh_pysupport -ppyblosxom -V$(PYTHONVERSION)
+	dh_fixperms -ppyblosxom
--- pyblosxom-1.4.3.orig/debian/patches/pyblosxom.cgi-path-config-fix.dpatch
+++ pyblosxom-1.4.3/debian/patches/pyblosxom.cgi-path-config-fix.dpatch
@@ -0,0 +1,15 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Add /etc/pyblosxom/ as a location to look for configuration.
+@DPATCH@
+--- pyblosxom-1.2.1/web/pyblosxom.cgi	2004-02-20 00:54:36.000000000 +0100
++++ pyblosxom-1.2.1/web/pyblosxom.cgi	2004-04-13 10:46:49.000000000 +0200
+@@ -8,6 +8,9 @@ Blosxom details.
+ 
+ # Settings are now in config.py, you should disable access to it by htaccess
+ # (make it executable or deny access)
++# Modified for Debian by Fredrik Steen <stone@debian.org>
++import sys
++sys.path.append('/etc/pyblosxom/')
+ from config import py as cfg
+ 
+ # If the user defined a "codebase" property in their config file,
--- pyblosxom-1.4.3.orig/debian/patches/00list
+++ pyblosxom-1.4.3/debian/patches/00list
@@ -0,0 +1,2 @@
+pyblosxom.cgi-path-config-fix
+remove_poweredby
--- pyblosxom-1.4.3.orig/debian/patches/remove_poweredby.dpatch
+++ pyblosxom-1.4.3/debian/patches/remove_poweredby.dpatch
@@ -0,0 +1,13 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## DP: Remove default reference to a remote 'Powered By' image.
+@DPATCH@
+diff -Nur pyblosxom-1.3.orig/Pyblosxom/flavours/html.flav/foot.html pyblosxom-1.3/Pyblosxom/flavours/html.flav/foot.html
+--- pyblosxom-1.3.orig/Pyblosxom/flavours/html.flav/foot.html	2005-09-17 23:58:25.000000000 +0200
++++ pyblosxom-1.3/Pyblosxom/flavours/html.flav/foot.html	2006-01-28 20:29:46.000000000 +0100
+@@ -1,5 +1,5 @@
+ <p>
+-  <a href="http://pyblosxom.sourceforge.net/"><img src="http://pyblosxom.sourceforge.net/images/pb_pyblosxom.gif" alt="Made with PyBlosxom" border="0" /></a>
++  <a href="http://pyblosxom.sourceforge.net/">Powered by PyBlosxom</a>
+ </p>
+ </body>
+ </html>