debian/0000755000000000000000000000000012201403014007151 5ustar debian/source/0000755000000000000000000000000012201246546010470 5ustar debian/source/format0000644000000000000000000000001412201246546011676 0ustar 3.0 (quilt) debian/control0000644000000000000000000000242712201246546010600 0ustar Source: pyblosxom Section: web Priority: optional Build-Depends: debhelper (>= 9) Build-Depends-Indep: python, python-setuptools, python-sphinx (>= 1.0.7+dfsg) Maintainer: Markus Koschany Standards-Version: 3.9.4 Homepage: http://pyblosxom.github.io/ Vcs-Git: git://anonscm.debian.org/collab-maint/pyblosxom.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/pyblosxom.git Package: pyblosxom Architecture: all Depends: ${misc:Depends}, ${python:Depends}, ${sphinxdoc:Depends} Suggests: apache2 | nginx | lighttpd | httpd Description: lightweight file-based weblog system written in Python Pyblosxom is a blog which allows you to keep an online journal. It acts as an extension for a web server such as Apache and can be run as a CGI script or a WSGI application. Another common purpose of Pyblosxom is to statically compile your website into HTML/XML files. . It is very easy to set up and use. Entries are stored in simple text files and can be categorized using directories. Pyblosxom has a plugin framework enabling you to augment and enhance Pyblosxom's default behaviour as well as a template engine to make it easy to design your own themes with a minimum of development knowledge. . Pyblosxom also supports RSS 2.0 and Atom syndication feeds. debian/compat0000644000000000000000000000000212201246546010366 0ustar 9 debian/doc-base0000644000000000000000000000043212201246546010567 0ustar Document: pyblosxom Title: Debian Pyblosxom Manual Author: The Pyblosxom authors Abstract: This manual describes usage and configuration of pyblosxom. Section: Web Development Format: HTML Index: /usr/share/doc/pyblosxom/html/index.html Files: /usr/share/doc/pyblosxom/html/*.html debian/rules0000755000000000000000000000102212201246546010243 0ustar #!/usr/bin/make -f %: dh $@ --parallel --with python2,sphinxdoc --buildsystem=python_distutils override_dh_installdocs: python setup.py build_sphinx dh_installdocs build/sphinx/html override_dh_sphinxdoc: dh_sphinxdoc $(RM) $(CURDIR)/debian/pyblosxom/usr/share/doc/pyblosxom/html/_sources/license.txt override_dh_installchangelogs: dh_installchangelogs WHATSNEW override_dh_auto_test: python setup.py test override_dh_auto_clean: dh_auto_clean $(RM) -r $(CURDIR)/build/sphinx $(RM) -r $(CURDIR)/pyblosxom.egg-info debian/patches/0000755000000000000000000000000012201246546010617 5ustar debian/patches/remove-poweredby.patch0000644000000000000000000000146212201246546015136 0ustar From: Markus Koschany Date: Fri, 2 Aug 2013 15:45:06 +0200 Subject: remove poweredby Some people felt in the past, that loading an external image in the html flavour could be a privacy concern. Bug: http://bugs.debian.org/274224 Forwarded: not-needed --- Pyblosxom/flavours/html.flav/foot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pyblosxom/flavours/html.flav/foot b/Pyblosxom/flavours/html.flav/foot index 5e391fa..048e641 100644 --- a/Pyblosxom/flavours/html.flav/foot +++ b/Pyblosxom/flavours/html.flav/foot @@ -1,5 +1,5 @@

- Made with Pyblosxom + Made with Pyblosxom

debian/patches/series0000644000000000000000000000015312201246546012033 0ustar use-recommended-shebang-for-pyblosxom.cgi.patch pyblosxom.cgi-path-config-fix.patch remove-poweredby.patch debian/patches/pyblosxom.cgi-path-config-fix.patch0000644000000000000000000000120012201246546017407 0ustar From: Markus Koschany Date: Thu, 30 May 2013 00:09:10 +0200 Subject: pyblosxom.cgi path config fix Add /etc/pyblosxom as a location to look for configuration. --- Pyblosxom/data/pyblosxom.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pyblosxom/data/pyblosxom.cgi b/Pyblosxom/data/pyblosxom.cgi index 4ad153f..20c7db8 100755 --- a/Pyblosxom/data/pyblosxom.cgi +++ b/Pyblosxom/data/pyblosxom.cgi @@ -8,7 +8,7 @@ import os, sys # Uncomment this line to add the directory your config.py file is in to the # python path: -#sys.path.append("%(basedir)s") +sys.path.append("/etc/pyblosxom/") debian/patches/use-recommended-shebang-for-pyblosxom.cgi.patch0000644000000000000000000000122712201246546021702 0ustar From: Markus Koschany Date: Wed, 29 May 2013 19:03:15 +0200 Subject: use recommended shebang for pyblosxom.cgi Refer to Debian Python Policy section 1.4.2 (Interpreter Location) for details Forwarded: not-needed --- Pyblosxom/data/pyblosxom.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pyblosxom/data/pyblosxom.cgi b/Pyblosxom/data/pyblosxom.cgi index 566aab0..4ad153f 100755 --- a/Pyblosxom/data/pyblosxom.cgi +++ b/Pyblosxom/data/pyblosxom.cgi @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python # -u turns off character translation to allow transmission # of gzip compressed content on Windows and OS/2 debian/watch0000644000000000000000000000015512201246546010222 0ustar version=3 http://pyblosxom.github.com/download/pyblosxom-(.+)\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) debian/README.Debian0000644000000000000000000000444012201246546011233 0ustar Pyblosxom for Debian ==================== Pyblosxom comes with extensive sphinx documentation. Please refer to /usr/share/doc/pyblosxom/html for further information how to setup your weblog as a CGI or WSGI application or how to compile it statically. For the impatient ================= If you are unsure whether pyblosxom is the right weblog system for you, here are 5 simple steps to create your first blog with Pyblosxom. 1. pyblosxom-cmd create ~/blog This will create an initial blog directory structure with all required files and subdirectories in your home directory under /blog. 2. Configure config.py. Modify all variables and configuration options in config.py as you wish. Enable "static rendering" by uncommenting py["static_flavours"] = ["html"]. Point py["static_dir"] to your output directory for your new blog, e.g. /home/joe/static. 3. Load additional global plugins like yeararchives or pyfilenametime with py["load_plugins"] = ["Pyblosxom.plugins.yeararchives", "Pyblosxom.plugins.pyfilenamemtime"] This ensures that your plugins stay up-to-date after new upstream releases. Of course you can use and modify your plugins on a per user basis, too. Just copy them from /usr/share/pyshared/Pyblosxom/plugins to your blog directory in ~/blog/plugins and use them like this: py["load_plugins"] = ["yeararchives", "pyfilenametime"] 4. Write your first blog entry. Modify ~/blog/entries/firstpost.txt or create a second entry in a subdirectory ~/blog/entries/news with a new text file named my-first-news-post-2013-06-12.txt. Pyblosxom automatically recognizes subdirectories in your entries folder as new categories. The timestamp is important for your pyfilenametime plugin because from now on it will assume that the post was published on the 12th of June 2013. Usually Pyblosxom will use the mtime of your file to determine when the blog post has been published for the first time. 5. Compile your blog. pyblosxom staticrender This will render your whole blog in your output directory in /home/joe/static. Please visit http://pyblosxom.github.io/ for additional information and links to new plugins, flavours or help. -- Markus Koschany Fri, 02 Aug 2013 16:03:49 +0200 debian/copyright0000644000000000000000000000527212201246546011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Pyblosxom Source: http://pyblosxom.github.io/ Files: * Copyright: 2003-2011, The Pyblosxom team License: Expat Comment: Please refer to the AUTHORS file in the source package for a complete list of contributors for Pyblosxom. Files: Pyblosxom/plugins/check_javascript.py Pyblosxom/plugins/akismetcomments.py Copyright: 2006, Ryan Barrett 2006, Benjamin Mako Hill 2006, Blake Winton 2011, Will Kahn-Greene License: GPL-2+ On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". Files: Pyblosxom/plugins/markdown_parser.py Copyright: 2005, 2011 Benjamin Mako Hill 2009, 2010, seanh 2011, Blake Winton 2011, Will Kahn-Greene License: GPL-3+ On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Files: Pyblosxom/plugins/no_old_comments.py Copyright: 2006, Blake Winton License: public-domain Released into the Public Domain. Files: debian/* Copyright: 2003, Colin Walters 2003, Matthias Klose 2003-2004, Fredrik Steen 2005, Charles Majola 2005, Tollef Fog Heen 2006-2008, Norbert Tretkowski 2008, Daniel Watkins 2013, Markus Koschany License: Expat License: Expat 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. debian/install0000644000000000000000000000013612201246546010561 0ustar Pyblosxom/data/config.py etc/pyblosxom Pyblosxom/data/pyblosxom.cgi usr/lib/cgi-bin debian/changelog0000644000000000000000000002763312201246546011055 0ustar pyblosxom (1.5.3-1) unstable; urgency=low * [3f67e35] Imported Upstream version 1.5.3 * [233493d] Remove dh_fixperms override. Set permissions for config.py to system defaults. Group ownership by www-data is not required to read the file. * [85607bb] debian/control: Add ${sphinxdoc:Depends}. Add missing substvar to avoid broken symlinks for required javascript files of the sphinx documentation. * [4f94451] Refresh remove-poweredby.patch -- Markus Koschany Fri, 09 Aug 2013 22:07:39 +0200 pyblosxom (1.5.2-1) unstable; urgency=low * New maintainer. (Closes: #705151) * New upstream release. (Closes: #611443) - Pyblosxom 1.5.2 ships a new command-line tool, pyblosxom-cmd. You can easily generate and test an initial blog setup and render static pages with it. (Closes: #569844) - The new release provides extensive sphinx-documentation in /usr/share/doc/pyblosxom/html. Many different ways of setting up pyblosxom are described including the deployment of the software as a CGI application for normal users. (Closes: #319219) * Switch to source format 3.0 (quilt). Thanks Jari Aalto for the patch. (Closes: #664340) * Bump compat level to 9 and require debhelper >=9. * debian/rules: - Use dh sequencer to simplify debian/rules. Drop cdbs. - Build with --python2 and sphinxdoc. - Install WHATSNEW as upstream changelog. - Activate the test suite during build time. * debian/control: - Remove cdbs and dpatch from Build-Depends. - Remove deprecated python-support and drop python-dev. - Add python-setuptools and python-sphinx (>= 1.0.7+dfsg) to Build-Depends-Indep. - Bump Standards-Version to 3.9.4., no changes. - Update the homepage field to pyblosxom's new address. (Closes: #607676) - Suggest also nginx and lighttpd as possible webservers. - Improve the package description. * Update debian/copyright to copyright format 1.0. - Document GPL-2+, GPL-3+ and Public Domain licenses. * Register the documentation with doc-base. * Create a new man page for pyblosxom-cmd and install it with the manpages file. * Update the watch file for the new homepage address. * Drop pyblosxom.postinst. Fix file permissions in debian/rules. * Refresh all patches, convert them to quilt format and add DEP-3 headers. * Add use-recommended-shebang-for-pyblosxom.cgi.patch to comply with the Debian Python policy. * Update README.Debian. Describe the creation of a new weblog with pyblosxom in five easy steps. -- Markus Koschany Wed, 12 Jun 2013 16:35:45 +0200 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 Tue, 29 Jul 2008 16:24:36 +0100 pyblosxom (1.3.2-7) unstable; urgency=low * Orphaning package. -- Norbert Tretkowski 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 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 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 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 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 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 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 Wed, 8 Feb 2006 06:38:56 +0100 pyblosxom (1.3-2) unstable; urgency=low * Added HTML documentation. -- Norbert Tretkowski 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 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 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 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 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 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 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 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 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 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 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 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 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 Mon, 20 Oct 2003 10:39:10 +0200 pyblosxom (0.7beta1-1.2) unstable; urgency=low * Adopted package from Colin Walters. -- Fredrik Steen 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 Fri, 5 Sep 2003 23:32:00 +0200 pyblosxom (0.7beta1-1) unstable; urgency=low * Initial Release (Closes: #194409). -- Colin Walters Sat, 24 May 2003 01:56:38 -0400 debian/manpages0000644000000000000000000000001312201246546010700 0ustar debian/*.1 debian/pyblosxom-cmd.10000644000000000000000000000256412201246546012056 0ustar .\" This man page was written by Markus Koschany with the help of help2man 1.41.2. .TH PYBLOSXOM-CMD "1" "May 2013" "pyblosxom-cmd" "User Commands" .SH NAME pyblosxom-cmd \- lightweight file-based weblog system written in Python .SH SYNOPSIS .B pyblosxom-cmd \fI[command]\fR .SH DESCRIPTION Pyblosxom comes with a command line tool called \fBpyblosxom-cmd\fR. It allows you to create new blogs, verify your configuration, run static rendering, render single urls, and run command line functions implemented in plugins. .SH OPTIONS .TP \fB\-\-version\fR show program's version number and exit .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-q\fR, \fB\-\-quiet\fR If the quiet flag is specified, then Pyblosxom will run quietly. .TP \fB\-\-config\fR=\fICONFIG\fR This specifies the directory that the config.py for the blog you want to work with is in. If the config.py file is in the current directory, then you don't need to specify this. All commands except the 'create' command need a config.py file. .SS "Commands:" .TP \fB test .br \fRTests installation and configuration for a blog. .TP \fB generate .br \fRGenerates random entries and helps with your blog setup. .TP \fB create .br \fRCreates directory structure for a new blog. .TP \fB staticrender .br \fRStatically renders your blog into a HTML site. .TP \fB renderurl .br \fRRenders a single url of your blog.