From: Gerfried Fuchs Date: Thu, 24 Jul 2008 21:52:13 +0000 (+0200) Subject: Initial import of debian package files X-Git-Tag: debian/2.1.2-2~29 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=3b896187a911d5f5f89027dee73421dbedc5a700;p=pkg%2Fblosxom.git Initial import of debian package files --- diff --git a/debian/NEWS.Debian b/debian/NEWS.Debian new file mode 100644 index 0000000..569bcbf --- /dev/null +++ b/debian/NEWS.Debian @@ -0,0 +1,24 @@ +blosxom (2.1.0-1) unstable; urgency=low + + * This update is a major switch, all local patches have been incorporated + into upstream version again. Furthermore, html and rss flavours are now + included in the blosxom script directly and the old 1993 and index + flavours are not included anymore, to get rid of some further historical + annoyances with the packaging. + * The plugin timezone got disabled and gets only installed into a new + /etc/blosxom/plugins-available directory which is the first step to the + planned blosxom-plugins package. If you found it useful and made use of it + just symlink it from the plugins directory. + + -- Gerfried Fuchs Thu, 24 Jul 2008 21:14:56 +0200 + +blosxom (2.0-15) unstable; urgency=low + + * The parameter -f for specifying a different configuration file was dropped + due to security concerns. It was an illuse of the CGI.pm function. + It got replaced by a more flexible option: set the environment variable + BLOSXOM_CONFIG_FILE to an alternative configuration file you want to use. + This is especially useful in server contexts where one can use e.g. + apache's SetEnv directive. + + -- Gerfried Fuchs Fri, 27 Jul 2007 16:49:43 +0200 diff --git a/debian/README b/debian/README new file mode 100644 index 0000000..850ed5d --- /dev/null +++ b/debian/README @@ -0,0 +1,55 @@ +blosxom is... + +Blosxom (pronounced "Blossom") is a lightweight yet feature-packed +weblog application designed from the ground up with simplicity, +usability, and interoperability in mind. + +Fundamental is its reliance upon the file system, folders and files as +its content database. Blosxom's weblog entries are plain text files +like any other. Write from the comfort of your favorite text editor +and hit the Save button. Create, edit, rename, and delete entries on +the command-line, via FTP, WebDAV, or anything else you might use to +manipulate your files. There's no import or export; entries are +nothing more complex than title on the first line, body being +everything thereafter. + +Despite its tiny footprint, Blosxom doesn't skimp on features, +sporting the majority of features one would find in any other Weblog +application. + +Blosxom is simple, straightforward, minimalist Perl affording even the +dabbler an opportunity for experimentation and customization. And +last, but not least, Blosxom is open source and free for the taking +and altering. + +features... + + * Absolutely FREE for the taking! + * Weblogging in under 15 minutes or your money back ;-) + * Minimal requirements means Blosxom runs just about anywhere. + * Write from the comfort of your favourite text editor -- be it + BBEdit, vi, emacs, notepad, ... + * Makes use of all the operating system and Web server beneath its + feet have to offer -- whether Mac OS X and Apache or Windows XP + and IIS. + * Multiple Weblogs with only one Blosxom installation. + * Permalinks point to (aka bookmark) a particular story in the + context of its posting day. + * By-day, by-month, and by-year "archives". + * Flavour via a customizable template system. + * RSS syndication and aggregation. + * Small (<= 91 lines of actual code ;-) and lightweight. + * Intelligent defaults. + * Minimalist in terms of requirements and know-how, yet + feature-packed and infinitely extensible. + +philosophy... + +The design philosophy underpinning Blosxom is a focus on the nexus of +simplicity, usability, and interoperability. Blogging should be as +simple as typing away in your text editor of choice and hitting +Save. Blogging should be as intuitive and second nature as working +with files and directories. A blogging system should be extensible +without requiring much in the way of specific know-how; it should +interoperate with and make full use of all the operating system and +Web server beneath its feet have to offer. diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..7feee3d --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,32 @@ +blosxom for Debian +------------------- + +The setup of blosxom has been recently revised to support more flexible +setups. The plugins should now be stored below /etc/blosxom/plugins. If you +want to disable a plugin you don't have to remove it but can just rename it to +a filename that ends in "_" (e.g. "mv timezone timezone_"). + +The data files has to be placed in /var/lib/blosxom/data including the flavours +in subdirectories below the appropriate blog level. The default flavours are +symlinked to their corresponding /etc/blosxom/flavours files -- if you want to +change them you have to change them there. + + -- Gerfried Fuchs Fri, 01 Apr 2005 07:45:57 +0200 + +This is blosxom 2.0, the plugin-enhanced version of blosxom for Debian. +Included are (for now) just two plugins in the package itself, but it +is easy to install more of the by now over 100 plugins: simply store them +in the (Debian) default location /etc/blosxom/plugins/ though plugin-specific +configuration variables may need to be set. + +The plugins included are: + +http://raelity.org/apps/blosxom/downloads/plugins/config +http://raelity.org/apps/blosxom/downloads/plugins/flavourdir + +For more plugins, check out: + +http://raelity.org/apps/blosxom/plugins +http://www.blosxom.com/plugins/ + + -- Dirk Eddelbuettel , Wed Jul 23 22:51:16 2003 diff --git a/debian/blosxom.7 b/debian/blosxom.7 new file mode 100644 index 0000000..9610ef5 --- /dev/null +++ b/debian/blosxom.7 @@ -0,0 +1,103 @@ +.\" Man page for blosxom in debian's distribution. +.\" Marc Nozell +.\" Further changed +.TH BLOSXOM 7 "February 5, 2003" Blosxom "7" +.SH NAME +blosxom \- A lightweight yet feature-packed weblog +.SH SYNOPSIS +.B blosxom +is a simple web log (blog) CGI script written in perl. +.SH DESCRIPTION +.PP +\fBBlosxom\fP (pronounced "\fIblossom\fR") is a lightweight yet +feature-packed weblog application designed from the ground up with +simplicity, usability, and interoperability in mind. + +Fundamental is its reliance upon the file system, folders and files as +its content database. Blosxom's weblog entries are plain text files +like any other. Write from the comfort of your favorite text editor +and hit the Save button. Create, edit, rename, and delete entries on +the command-line, via FTP, WebDAV, or anything else you might use to +manipulate your files. There's no import or export; entries are +nothing more complex than title on the first line, body being +everything thereafter. + +Despite its tiny footprint, Blosxom doesn't skimp on features, +sporting the majority of features one would find in any other Weblog +application. + +Blosxom is simple, straightforward, minimalist Perl affording even the +dabbler an opportunity for experimentation and customization. And +last, but not least, Blosxom is open source and free for the taking +and altering. + +.SH USAGE +Write a weblog entry, and place it into the main data directory. Place the +the title is on the first line; the body is everything afterwards. For +example, create a file named \fIfirst.txt\fR and put in it something like +this. +.nf + + First Blosxom Post! + + I have successfully installed blosxom on this system. For more + information on blosxom, see the author's blosxom site. + +.fi +Place the file in the directory under the \fI$datadir\fR points to. Be sure +to change the default location to be somewhere accessable by the web +server that runs blosxom as a CGI program. On Debian systems, this location +default to \fI/var/lib/blosxom/data\fR. + + +.SH OPTIONS + +Configuration of the \fBblosxom\fR can be controlled via the configuration +file \fI/etc/blosxom/blosxom.conf\fR. Some of the possible configuration +variables are: + +.TP +.B $blog_title +Title of this blog. (default: "Blosxom") + +.TP +.B $blog_description +Description of the blog used for RSS generation. (default "Yet another Blosxom blog") + +.TP +.B $blog_language +This blog's primary language used for outgoing RSS feed. (default "en") + +.TP +.B $datadir +Where are this blog's entries kept? (default on Debian: +"/var/lib/blosxom/data") + +.TP +.B $url +Preferred base URL for this blog (leave blank for automatic) (default: "") + +.TP +.B $file_extension +Preferred ending of blog entry files (default: "txt"). Other files are ignored. + +.TP +.B $default_flavour +Blog style can be controlled via templates, or flavours. (default: "html"). + +.SH FILES +.br +.nf +\fI/usr/lib/cgi-bin/blosxom\fR the CGI script +\fI/etc/blosxom/blosxom.conf\fR the configuration on Debian systems + +.SH AUTHOR + +Rael Dornfest is the author of blosxom See +\fIhttp://www.blosxom.com\fR and \fIhttp://www.raelity.org\fR for more +information. + +This manual page was written by Marc Nozell and Dirk +Eddelbuettel for the Debian GNU/Linux distribution but may +be used by others. diff --git a/debian/blosxom.conf b/debian/blosxom.conf new file mode 100644 index 0000000..ee0136b --- /dev/null +++ b/debian/blosxom.conf @@ -0,0 +1,81 @@ +# blosxom -- resource file for the Debian GNU/Linux package +# of the blosxom weblog application +# +# This file is sourced by /usr/lib/cgi-bin/blosxom. +# +# Storing values here instead of directly in the Perl code permits +# easier upgrades of the package without risks of losing these very +# configuration settings. +# +# Whichever variable ought to get adjusted can be set here. Values in +# cgi script act as default which may be overwritten from here. +# +# The Debian GNU/Linux extensions to blosxom are +# Copyright 2003 Dirk Eddelbuettel and GPL'ed + +# Blosxom +# Author: Rael Dornfest +# Version: 2.0 +# Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/ + +# --- Configurable variables ----- + +# What's this blog's title? +# $blog_title = "My (Debian) Blosxom"; + +# What's this blog's description (for outgoing RSS feed)? +# $blog_description = "Yet another (Debian based) Blosxom blog."; + +# What's this blog's primary language (for outgoing RSS feed)? +# $blog_language = "en"; + +# Where are this blog's entries kept? +# $datadir = "/Library/WebServer/Documents/blosxom"; +$datadir = "/var/lib/blosxom/data"; + +# What's my preferred base URL for this blog (leave blank for automatic)? +# $url = ""; + +# Should I stick only to the datadir for items or travel down the +# directory hierarchy looking for items? If so, to what depth? +# 0 = infinite depth (aka grab everything), 1 = datadir only, n = n levels down +# $depth = 0; + +# How many entries should I show on the home page? +# $num_entries = 40; + +# What file extension signifies a blosxom entry? +# $file_extension = "txt"; + +# What is the default flavour? +# $default_flavour = "html"; + +# --- Plugins (Optional) ----- + +# Where are my plugins kept? +$plugin_dir = "/etc/blosxom/plugins"; + +# Where should my modules keep their state information? +$plugin_state_dir = "/var/lib/blosxom/state"; + + +# --- Static Rendering ----- + +# Where are this blog's static files to be created? +# $static_dir = "/Library/WebServer/Documents/blog"; +$static_dir = "/var/lib/blosxom/static"; + +# What's my administrative password (you must set this for static rendering)? +# $static_password = ""; + +# What flavours should I generate statically? +# @static_flavours = qw/html rss/; + +# Should I statically generate individual entries? +# 0 = no, 1 = yes +# $static_entries = 0; + +# ------------ leave this last line + +1; + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..c326cc7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,278 @@ +blosxom (2.1.0-1) unstable; urgency=low + + * New upstream release which did incorporate all patches and in parts also + improved them. Wooh. + * Added NEWS.Debian entry about the most important changes triggered by + that. + * Fixed/Updated copyright informations. + * Install now available upstream ChangeLog. + * Added watch file. + * Moved timezone plugin to /etc/blosxom/plugins-available so people can + symlink if they like but are not forced to use it (closes: #237018) + * Added new 00RssLimit plugin, enabled by default, with limited to 10 + entries in RSS flavours, no change for others (closes: #373570) + * Generate conffiles file automatically to not miss anything + * Changed postrm symlink cleanup to cleaning every symlink in the flavours + dir (Closes: #454942, #486924) + * Changed postinst script to also cleanup flavour symlinks which aren't + shipped anymore. + * Changed postrm to only do the cleanup when the directory still exists, + thanks to Carsten Hey for pointing it out. + * Bumped Standards-Version to 3.8.0: + - Added Homepage: to control file. + * Removed debian/compat which wasn't used anymore anyway. + * Fixed a typo in the former changelog entry. + + -- Gerfried Fuchs Thu, 24 Jul 2008 21:14:56 +0200 + +blosxom (2.0-15) unstable; urgency=low + + * The "is it this time of the year again..." release. + * Set myself as lone maintainer. + * Remove debhelper stuff. + * Remove debconf handling for upgrades since before sarge release + (closes: #388830, #313164, #422247, #420956) + * Fixed image URL in cgi script (closes: #406445) + * Pulled fix for xml breakage from new sf.net upstream release + (closes: #280912) + * Fixed postrm (closes: #372480) + * debian/rules: Removed some cruft. + * Use ctime from POSIX instead of Time::localtime which seems to break + localtime()'s $isdst which is needed to fix the timezone handling for + nice_date (closes: #233403) + * Get rid of param("-f") and replace it by more flexible usable + $ENV{BLOSXOM_CONFIG_FILE} (closes: #423441, #234309) + * Add a NEWS.Debian file about these changes. + + -- Gerfried Fuchs Fri, 27 Jul 2007 16:53:14 +0200 + +blosxom (2.0-14) unstable; urgency=low + + alfie: + * Added debconf translations: + Czech by Miroslav Kure (closes: #315832) + Vietnamese by Clytie Siddall (closes: #313163) + Swedish by Daniel Nylander (closes: #339787) + Spanish by César Gómez Martín (closes: #333890) + * Updated URLs in copyright file, noticed by Alexander Schmehl + (closes: #366326) + * Added | debconf-2.0 alternative (closes: #331763) + * Set debhelper compat to 5 and bumped standards version to 3.7.2. + + -- Gerfried Fuchs Thu, 25 May 2006 02:10:23 -0500 + +blosxom (2.0-13) unstable; urgency=medium + + * The "last minute flight to sarge" release + alfie: + * Updated ja debconf translation from Hideki Yamane (closes: #311173) + + -- Gerfried Fuchs Tue, 31 May 2005 14:49:17 +0200 + +blosxom (2.0-12) unstable; urgency=high + + * The "... and some other parts" release + alfie: + * Don't make the flavour symlinks symlinks to themselves but instead to the + real files (closes: #303963) + * Remove /var/www/blosxom/flavours from the package, it isn't used + anymore. + * Changed dpkg --compare-versions from lt-nl to lt in postinst. We want to + create the symlinks on new installs, too. + * Remove flavour symlinks again on purge. + + -- Gerfried Fuchs Fri, 15 Apr 2005 08:31:46 +0200 + +blosxom (2.0-11) unstable; urgency=low + + * The "you'll always miss some part of testing" release + alfie: + * Added /var/lib/blosxom/data/flavours directory to package and use the + correct path in postinst to let the postinst symlink stuff actually work + *sighs* (closes: #302168) + * Make the backup of old data not fail (closes: #302277) + * Changed /var/lib/blosxom/static to www-data too, to allow the cgi script + be triggering static rendering. + * Added an entry about the new setup to README.Debian. + * Updated fr debconf translation from Nicolas Bertolissio (closes: #302243) + + -- Gerfried Fuchs Fri, 01 Apr 2005 07:51:51 +0200 + +blosxom (2.0-10) unstable; urgency=low + + alfie: + * Really break blosxom, for the sake of a clean package for the release: + - Changed datadir to /var/lib/blosxom/data (closes: #230797) + - Changed plugin_dir to /etc/blosxom/plugins (closes: #265021) + - Save old plugins to /root/blosxom.XXXXXX to not loose them. + - Changed plugin_state_dir to /var/lib/blosxom/state + - Changed static_dir to /var/lib/blosxom/static + - Added critical debconf note about this all. + - Updated manual page with that information. + * Move DH_COMPAT level to debian/compat. + * Lowercased first letter of short description. + * Added pt_BR debconf translation from André Luís Lopes (closes: #297061) + * Fixed the most annoying flavour flaws, updated the URL. + + -- Gerfried Fuchs Tue, 29 Mar 2005 13:34:49 +0200 + +blosxom (2.0-9) unstable; urgency=high + + alfie: + * Added debconf translations: + French by Nicolas Bertolissio (Closes: #266941) + Japanese by Hideki Yamane (Closes: #270469) + Thanks! + * Fix generated HTML, reported by Mattia Monga (Closes: #270780) + * Sorry for the delayed upload -- I thought I had done this in ages... This + is the timestamp for when I've done it: Thu, 18 Nov 2004 19:32:53 +0100 + *blushes* + + -- Gerfried Fuchs Wed, 02 Feb 2005 13:26:28 +0100 + +blosxom (2.0-8) unstable; urgency=low + + alfie: + * New co-maintainer: me, myself and I. + * Moved dependency on httpd to Recommends (Closes: #260932) + * Switched to po-debconf (Closes: #239866) + * Added German debconf translation done by myself. + + -- Gerfried Fuchs Tue, 10 Aug 2004 12:46:25 +0200 + +blosxom (2.0-7) unstable; urgency=low + + * New maintainer. Thanks to Dirk Eddelbuettel for maintaining it before + me. + * pb_blosxom.gif: Moved out of /usr/share/apache/icons, into + /var/www/blosxom/images in case apache is not the webserver. + (Closes: #229284) + + -- Pascal Hakim Sat, 31 Jan 2004 16:59:08 +1100 + +blosxom (2.0-6) unstable; urgency=low + + * blosxom.cgi: Undo blunder created manually applying last patch + + -- Dirk Eddelbuettel Fri, 16 Jan 2004 20:43:56 -0600 + +blosxom (2.0-5) unstable; urgency=low + + * blosxom.cgi: Applied patch by Alexander Zangerl to support an new + command-line option '-f conffile' (Closes: #227891) + + -- Dirk Eddelbuettel Thu, 15 Jan 2004 21:50:07 -0600 + +blosxom (2.0-4) unstable; urgency=low + + * plugins/timezone: Version 0.0.1 by Raffi Krikorian added from + Blosxom's plugin registry; this sets the $ENV{TZ} variable to a + configurable string + * blosxom.cgi: Added POSIX::tzset() call and assignment of POSIX::tzname() + to get the timezone name into the $tz variable + * blosxom.cgi: Modify rss expression for story to show $tz instead of GMT + + -- Dirk Eddelbuettel Wed, 7 Jan 2004 19:27:32 -0600 + +blosxom (2.0-3) unstable; urgency=low + + * debian/blosxom.7: Correct location of configuration file in the + contributed manual page. (Closes: #226189) + * blosxom.cgi: Applied patch by Ivo Timmerman and Mark Howard posted on + http://people.debian.org/~keybuk/planetdebian/ to add timestamps to the + the rss feed + + -- Dirk Eddelbuettel Wed, 7 Jan 2004 15:19:40 -0600 + +blosxom (2.0-2) unstable; urgency=low + + * debian/blosxom.conf: Change $plugin_state_dir to /var/lib/blosxom + as the /usr/ partition could potentially be mounted read-only + * debian/rules: Fix $plugin_state_dir owner/group/mode (Closes: #210667) + + -- Dirk Eddelbuettel Fri, 12 Sep 2003 20:35:06 -0500 + +blosxom (2.0-1) unstable; urgency=low + + * Upgraded to new major release + * Derek Laventure provided help with the 2.0 release : + - Added 'config' and 'flavourdir' plugins to main package + - plugin/flavourdir: Set $fallback_to_datadir=1 + - debian/control: Updated Description for blosxom 2.0 series + - debian/control: Build-Depends for debhelper now >>4.0.0 + - debian/README.Debian: Provide some info on plugins + * Dirk Eddelbuettel + - Build blosxom_2.0.orig.tar.gz from the upstream files blosxom.zip and + blosxom_flavour_sampler.zip as well as the two included plugins + - blosxom.cgi: Re-applied small patches for configuration in /etc/ + as well as source URL for pb_blosxom.gif in the local /icons dir + - debian/rules: Also install flavours/ examples + - debian/README.Debian: Updated + - debian/copyright: Added short comment re upstream locations + - debian/control: Upgraded Standards-Versuin to 3.6.0 + + -- Dirk Eddelbuettel Wed, 23 Jul 2003 23:01:00 -0500 + +blosxom (1.2-2) unstable; urgency=low + + * blosxom.cgi: Read configuration file from /etc/blosxom/blosxom.conf, + and not from /etc/default/blosxom (Closes: #192947) + * debian/rules: Use /etc/blosxom/blosxom.conf, not /etc/default/blosxom + * debian/preinst: If found, preserve previous config file as backup copy + * debian/template: Update location entry for config directory + + * As the previous entries indicate, a config file has moved its location + from 1.2-1. Previous copies are preserved, but settings will have to + be transferred manually. + + -- Dirk Eddelbuettel Sun, 11 May 2003 17:30:25 -0500 + +blosxom (1.2-1) unstable; urgency=low + + * New maintainer -- thanks to Mark Nozell for the prior work on blosxom. + * Updated to latest stable blosxom version 1.2 (Closes: #181892) + * Created proper orig.tar.gz containing blosxom.cgi and pb_blosxom.gif + * blosxom.cgi: Added small patch to read configuration from files + /etc/default/blosxom and /etc/blosxom.conf, if found (Closes: #179431) + * blosxom.cgi: Re-applied change to load pb_blosxom.gif from local copy + * /etc/default/blosxom: New conffile (implicitly via debhelper) + * debian/{preinst,template}: Save old script to /tmp if we're upgrading from + an earlier version which will have stored config info in the cgi script + * debian/rules: Create /var/www/blosxom (Closes: #182516) + * debian/rules: Rewritten based on current debhelper stanza + * debian/copyright: Edited slightly to personal conventions + * debian/control: Updated maintainer, and edited Description + * debian/*: Delete a bunch of unused files generated by debmake + * debian/README.Debian: Deleted, moved note about upstream to copyright. + * debian/README: New location of README derived from blosxom webpage + * debian/blosxom.7: Corrected nroff markup. + + -- Dirk Eddelbuettel Sat, 15 Mar 2003 02:17:05 -0600 + +blosxom (0.5i-4) unstable; urgency=low + + * Added man page for blosxom. (closes: Bug#179432) + + * Changed to depend on httpd instead of specifically apache. (closes: + Bug#176359) + + -- Marc Nozell Thu, 20 Feb 2003 12:35:02 -0500 + +blosxom (0.5i-3) unstable; urgency=low + + * Addressed lamont's packaging comments. (closes: Bug#157439) + + -- Marc Nozell Mon, 11 Nov 2002 12:55:02 -0500 + +blosxom (0.5i-2) unstable; urgency=low + + * At upstream author's request, included 'powered by blosxom' icon + and changed blosxom.cgi to use the local copy. + + -- Marc Nozell Mon, 11 Nov 2002 09:55:02 -0500 + +blosxom (0.5i-1) unstable; urgency=low + + * Initial Release. + + -- Marc Nozell Sat, 9 Nov 2002 20:42:02 -0500 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e28840d --- /dev/null +++ b/debian/control @@ -0,0 +1,35 @@ +Source: blosxom +Section: web +Priority: optional +Maintainer: Gerfried Fuchs +Uploaders: Axel Beckert +Standards-Version: 3.8.0 +Homepage: http://blosxom.sourceforge.net/ + +Package: blosxom +Architecture: all +Depends: perl +Recommends: apache | httpd +Description: light, feature-packed weblog app with plugin extensibility + Blosxom (pronounced "Blossom") is a lightweight yet feature-packed + weblog application designed from the ground up with simplicity, + usability, and interoperability in mind. + . + Fundamental is its reliance upon the file system, folders and files as + its content database. Blosxom's weblog entries are plain text files + like any other. Write from the comfort of your favorite text editor + and hit the Save button. Create, edit, rename, and delete entries on + the command-line, via FTP, WebDAV, or anything else you might use to + manipulate your files. There's no import or export; entries are + nothing more complex than title on the first line, body being + everything thereafter. + . + Despite its tiny footprint, Blosxom doesn't skimp on features, + sporting the majority of features one would find in any other Weblog + application. Additionally, Blosxom 2 includes support for plugins, and + thus much more extensive customization. + . + Blosxom is simple, straightforward, minimalist Perl affording even the + dabbler an opportunity for experimentation and customization. And + last, but not least, Blosxom is open source and free for the taking + and altering. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..8cc8430 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,50 @@ +This is the Debian GNU/Linux blosxom package containing the bloxsom cgi +script written by Rael Dornfest . + +This package was first debianized by Marc Nozell on +Sat, 9 Nov 2002 20:42:02 -0500. Release 1.2 was maintained by +Dirk Eddelbuettel , and release 2.0 has been prepared by +Derek Laventure and Dirk Eddelbuettel . +It is currently maintained by Gerfried Fuchs + +It was downloaded from + http://sourceforge.net/project/showfiles.php?group_id=148044 + +Upstream Authors: The Blosxom Development Team (2005-2008) + + +Copyright: +========== + blosxom.cgi: + Copyright 2003, Rael Dornfest + Copyright 2005-2008 The Blosxom Development Team + + plugins/00RssLimit: + Copyright 2004 Gerfried Fuchs + + plugins/config, plugins/flavourdir: + Copyright 2003, Rael Dornfest + + plugins-available/timezone: + Copyright 2003, Raffi Krikorian + + 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. + +The debianization is licensed likewise. diff --git a/debian/plugins-available/timezone b/debian/plugins-available/timezone new file mode 100644 index 0000000..66172d1 --- /dev/null +++ b/debian/plugins-available/timezone @@ -0,0 +1,74 @@ +# Blosxom Plugin: timezone +# Author(s): Raffi Krikorian +# Version: 0.0.1 +# Documentation: See the bottom of this file or type: perldoc timezone + +package timezone; + +# --- Configurable variables ----- + +# what timezone is the blog author in +my $blog_timezone = "EST5EDT"; + +# -------------------------------- + +sub start { + $ENV{TZ} = $blog_timezone; + 1; + +} + +1; + +__END__ + +=head1 NAME + +Blosxom Plug-in: timezone + +=head1 SYNOPSIS + +Causes the Blosxom timestamps to reflect a specific timezone that is +not necessarily the timezone of the machine the blog is hosted on. + +=head1 VERSION + +0.0.1 + +=head1 AUTHOR + +Raffi Krikorian , http://www.bitwaste.com/ + +=head1 SEE ALSO + +Blosxom Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/ + +Blosxom Plugin Docs: http://www.raelity.org/apps/blosxom/plugin.shtml + +=head1 BUGS + +Address bug reports and comments to the Blosxom mailing list +[http://www.yahoogroups.com/group/blosxom]. + +=head1 LICENSE + +timezone Blosxom plugin +Copyright 2003, Raffi Krikorian + +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. diff --git a/debian/plugins/00RssLimit b/debian/plugins/00RssLimit new file mode 100644 index 0000000..ae84ba5 --- /dev/null +++ b/debian/plugins/00RssLimit @@ -0,0 +1,94 @@ +# Blosxom Plugin: RssLimit # vim:ft=perl:fdm=marker: +# Author: Gerfried Fuchs +# Version: 0.2.0 +# Documentation: See the bottom of this file or type: perldoc RssLimit + +package RssLimit; + +use strict; + +use CGI qw(param); + +use vars qw( + $rss_num_entries +); + +# --- Configurable variables ----- + +# how many entries for rss feeds? +$rss_num_entries = 10; + +# -------------------------------- + +sub start { # set num_entries {{{ + if ($blosxom::flavour eq 'rss') { + $blosxom::num_entries = $RssLimit::rss_num_entries; + } + 1; +} # }}} + +1; + +__END__ +{{{ + +=head1 NAME + +RssLimit - blosxom plugin to limit RSS feeds tighter than others + +=head1 DESCRIPTION + +RssLimit allows you to limit your RSS feed tigher (or wider, if you so +like) than what's displayed usual on your webpage version of your blog. + +=head1 CONFIGURATION + +The following package variables can be configured: + +=over 4 + +=item C<$RssLimit:rss_num_entries> + +Number of entries in the RSS feed. Default is 10. + +=back + +=head1 USAGE + +RssLimit should propably be loaded early to not confuse other plugins +that make use of $num_entries, like paging plugins. + +=head1 SEE ALSO + +Blosxom: L + +=head1 BUGS + +Please address bug reports and comments to the Author. + +=head1 AUTHOR + +Gerfried Fuchs L, +L + +=head1 LICENSE + +Copyright (c) 2004 Gerfried Fuchs + +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. diff --git a/debian/plugins/config b/debian/plugins/config new file mode 100644 index 0000000..87a8cdc --- /dev/null +++ b/debian/plugins/config @@ -0,0 +1,87 @@ +# Blosxom Plugin: config +# Author(s): Rael Dornfest +# Version: 2003-07-16 +# Documentation: See the bottom of this file or type: perldoc config + +package config; + +# --- Configurable variables ----- + +# -------------------------------- + +sub start { + 1; +} + +sub head { + + my $path = $blosxom::path_info; + $path &&= "/$path"; + + for (;;) { + do { + $blosxom::others{"$blosxom::datadir$path/config.$blosxom::flavour"} and eval { require "$blosxom::datadir$path/config.$blosxom::flavour" } and ( $@ ? warn $@ : last ); + $blosxom::others{"$blosxom::datadir$path/config"} and eval { require "$blosxom::datadir$path/config" } and ( $@ ? warn $@ : last ); + } while ($path =~ s/(\/*[^\/]*)$// and $1); + last; + } + + +} + +1; + +__END__ + +=head1 NAME + +Blosxom Plug-in: config + +=head1 SYNOPSIS + +Override Blosxom's inline configuration settings on a per-directory, per-flavour, and per-directory-per-flavour basis. + +=head1 VERSION + +2003-07-16 + +=head1 AUTHOR + +Rael Dornfest , http://www.raelity.org/ + +This plugin is now maintained by the Blosxom Sourceforge Team, +. + +=head1 SEE ALSO + +Blosxom Home/Docs/Licensing: http://blosxom.sourceforge.net/ + +Blosxom Plugin Docs: http://blosxom.sourceforge.net/documentation/users/plugins.html + +=head1 BUGS + +None known; please send bug reports and feedback to the Blosxom +development mailing list . + +=head1 LICENSE + +Blosxom and this Blosxom Plug-in +Copyright 2003, Rael Dornfest + +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. diff --git a/debian/plugins/flavourdir b/debian/plugins/flavourdir new file mode 100644 index 0000000..324406d --- /dev/null +++ b/debian/plugins/flavourdir @@ -0,0 +1,114 @@ +# Blosxom Plugin: flavourdir +# Author(s): Rael Dornfest +# Version: 2003-03-13 +# Documentation: See the bottom of this file or type: perldoc flavourdir + +package flavourdir; + +# --- Configurable variables ----- + +# Where might I find your flavours? +my $flavour_dir = "$blosxom::datadir/flavours"; + +# Should I fall back to looking in your Blosxom datadir before using the +# default built-in templates? +# 0 = no; 1 = yes +my $fallback_to_datadir = 0; + +# -------------------------------- + +use FileHandle; +my $fh = new FileHandle; + +sub start { + 1; +} + +sub template { + return sub { + my ($path, $chunk, $flavour) = @_; + + $path =~ s!^/*!!; $path = "/$path"; + + my $p = $path; + do { + return join '', <$fh> if $fh->open("< $flavour_dir/$p/$chunk.$flavour"); + } while ($p =~ s/(\/*[^\/]*)$// and $1); + + $p = $path; + $fallback_to_datadir and do { + return join '', <$fh> if $fh->open("< $blosxom::datadir/$p/$chunk.$flavour"); + } while ($p =~ s/(\/*[^\/]*)$// and $1); + + return join '', ($blosxom::template{$flavour}{$chunk} || $blosxom::template{error}{$chunk} || ''); + }; +} + +1; + +__END__ + +=head1 NAME + +Blosxom Plug-in: flavourdir + +=head1 SYNOPSIS + +Keep your flavours in a separate flavour directory rather than alongside all of your weblog entries. Optionally falls back to the default of looking in your Blosxom datadir. + +Overrides Blosxom's default template() subroutine. + +Respects the Blosxom concept of finding flavours along specific paths, expecting to find these paths echoed in your flavour directory. + +=head1 INSTALLATION AND CONFIGURATION + +Drop the flavourdir plug-in into your Blosxom plugins folder. + +The plug-in is preconfigured to assume a flavour directory beneath your Blosxom data directory. Alter the $flavour_dir configurable variable to move it elsewhere. + +If you'd like the plug-in to fall back to looking in your Blosxom data directory if it doesn't find the appropriate flavour in your flavour directory, set the $fallback_to_datadir configurable variable to 1. Note: This results in additional processing and isn't a particularly efficient use of a plug-in's time. + +=head1 VERSION + +2003-03-13 + +=head1 AUTHOR + +Rael Dornfest , http://www.raelity.org/ + +This plugin is now maintained by the Blosxom Sourceforge Team, +. + +=head1 SEE ALSO + +Blosxom Home/Docs/Licensing: http://blosxom.sourceforge.net/ + +Blosxom Plugin Docs: http://blosxom.sourceforge.net/documentation/users/plugins.html + +=head1 BUGS + +None known; please send bug reports and feedback to the Blosxom +development mailing list . + +=head1 LICENSE + +Blosxom and this Blosxom Plug-in +Copyright 2003, Rael Dornfest + +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. diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..fb6d298 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,22 @@ +#!/bin/sh -e +# postrm script for blosxom +# copyright 2007-2008 by Gerfried Fuchs +# Licenced in the same way as blosxom itself + +# cleanup for old flavors that got installed by packages prior to 2.1.0 +case "$1" in + purge) + if [ -d /var/lib/blosxom/data/flavours ] ; then + cd /var/lib/blosxom/data/flavours + for i in content_type.1993 content_type.html content_type.index \ + date.1993 date.html date.index \ + foot.1993 foot.html foot.index \ + head.1993 head.html head.index \ + story.1993 story.html story.index ; do + test ! -L $i || test ! -f $i || rm $i + done + fi + ;; +esac + +exit 0 diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..67ae3bc --- /dev/null +++ b/debian/postrm @@ -0,0 +1,22 @@ +#!/bin/sh -e +# postrm script for blosxom +# copyright 2007-2008 by Gerfried Fuchs +# Licenced in the same way as blosxom itself + +# cleanup for old flavors that got installed by packages prior to 2.1.0 +case "$1" in + purge) + if [ -d /var/lib/blosxom/data/flavours ] ; then + cd /var/lib/blosxom/data/flavours + for i in content_type.1993 content_type.html content_type.index \ + date.1993 date.html date.index \ + foot.1993 foot.html foot.index \ + head.1993 head.html head.index \ + story.1993 story.html story.index ; do + test ! -L $i || rm $i + done + fi + ;; +esac + +exit 0 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bf77d33 --- /dev/null +++ b/debian/rules @@ -0,0 +1,93 @@ +#!/usr/bin/make -f +# debian/rules for the blosxom package +# copyright 2007-2008 by Gerfried Fuchs +# Licenced in the same way as blosxom itself + +PKG = blosxom +TMP = $(CURDIR)/debian/$(PKG) + +INSTALL = install +INSTALL_FILE = $(INSTALL) -p -oroot -groot -m644 +INSTALL_PROGRAM = $(INSTALL) -p -oroot -groot -m755 +INSTALL_SCRIPT = $(INSTALL) -p -oroot -groot -m755 +INSTALL_DIR = $(INSTALL) -p -d -oroot -groot -m755 + + + +clean: + $(checkdir) + $(checkroot) + -rm -rf $(TMP) debian/files + + +build: + # uhm, build for a binary-indep package? Don't try to be funny ;) + + +install: + $(checkdir) + $(checkroot) + -rm -rf $(TMP) + + $(INSTALL_DIR) $(TMP) + cd $(TMP) && $(INSTALL_DIR) usr/lib/cgi-bin \ + var/lib/blosxom/data/flavours \ + etc/blosxom/plugins etc/blosxom/plugins-available \ + var/lib/blosxom/state var/lib/blosxom/static \ + usr/share/doc/$(PKG) usr/share/man/man7 + + $(INSTALL_SCRIPT) blosxom.cgi $(TMP)/usr/lib/cgi-bin/$(PKG) + $(INSTALL_FILE) debian/blosxom.conf $(TMP)/etc/blosxom + $(INSTALL_FILE) debian/blosxom.7 $(TMP)/usr/share/man/man7 + $(INSTALL_FILE) debian/README $(TMP)/usr/share/doc/$(PKG) + $(INSTALL_FILE) ChangeLog $(TMP)/usr/share/doc/$(PKG)/changelog + + $(INSTALL_FILE) debian/plugins/* $(TMP)/etc/blosxom/plugins + $(INSTALL_FILE) debian/plugins-available/* \ + $(TMP)/etc/blosxom/plugins-available + + cd $(TMP)/usr/share && gzip -9 doc/$(PKG)/changelog \ + man/man7/blosxom.7 + + chown www-data:www-data $(TMP)/var/lib/blosxom/state + chown www-data:www-data $(TMP)/var/lib/blosxom/static + + +binary-indep: install + $(checkdir) + $(checkroot) + + $(INSTALL_DIR) $(TMP)/DEBIAN + + $(INSTALL_FILE) debian/copyright debian/README.Debian \ + debian/NEWS.Debian $(TMP)/usr/share/doc/$(PKG) + $(INSTALL_FILE) debian/changelog \ + $(TMP)/usr/share/doc/$(PKG)/changelog.Debian + cd $(TMP)/usr/share/doc/$(PKG) && gzip -9 changelog.Debian NEWS.Debian + + $(INSTALL_SCRIPT) debian/postinst debian/postrm $(TMP)/DEBIAN + + find $(TMP)/etc -type f | sed -e 's#$(TMP)##' > $(TMP)/DEBIAN/conffiles + + dpkg-gencontrol -ldebian/changelog -isp -p$(PKG) -P$(TMP) + cd $(TMP) && find * -type f ! -regex '^DEBIAN/.*' -print0 | \ + xargs -r0 md5sum > DEBIAN/md5sums + dpkg --build $(TMP) .. + + +binary-arch: + # We have nothing to do here. + + +binary: binary-indep binary-arch + + +define checkdir + test -f debian/rules +endef + +define checkroot + test root = "`whoami`" +endef + +.PHONY: clean build install binary binary-arch binary-indep diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..810750f --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/blosxom/blosxom-([\d.]+)\.tar\.gz