debian/0000755000000000000000000000000011457345070007174 5ustar debian/nanoblogger.doc-base0000644000000000000000000000041511317631673013072 0ustar Document: nanoblogger Title: NanoBlogger User Manual. Author: Kevin Wood Abstract: This manual describes how to use NanoBloger. Section: Web Development Format: HTML Index: /usr/share/doc/nanoblogger/nanoblogger.html Files: /usr/share/doc/nanoblogger/nanoblogger.html debian/manpages0000644000000000000000000000001411132613133010671 0ustar debian/nb.1 debian/changelog0000644000000000000000000001257511454571552011063 0ustar nanoblogger (3.4.2-3) unstable; urgency=low * New maintainer (Closes: #599288). * Bump standards to 3.9.1. * Removed SVN headers from control file. -- William Vera Fri, 08 Oct 2010 12:32:17 -0500 nanoblogger (3.4.2-2) unstable; urgency=low * Recommend markdown for markdown plugin (Closes: #582121). -- Michal Čihař Mon, 14 Jun 2010 14:11:12 +0200 nanoblogger (3.4.2-1) unstable; urgency=low * New upstream release. * Bump standards to 3.8.4. * Reformat NEWS.Debian to match preferred style. -- Michal Čihař Tue, 16 Feb 2010 10:31:02 +0100 nanoblogger (3.4.1-2) unstable; urgency=low * Convert to 3.0 (quilt) source format. * Bump standards to 3.8.3. * Register documentation in doc-base. * Fix typo in manpage (found by lintian). -- Michal Čihař Sat, 02 Jan 2010 12:53:54 +0100 nanoblogger (3.4.1-1) unstable; urgency=low * New upstream version. * Drop not needed parts from debian/rules. * Update policy to 3.8.2. -- Michal Čihař Wed, 05 Aug 2009 14:08:20 +0200 nanoblogger (3.4-1) unstable; urgency=low * New upstream version. * Convert patches to quilt and adjust them. * Migrate to dh 7. * Bump policy to 3.8.1. * Adjusted lintian overrides for empty directories. * Update copyright information. * Make use of dh_lintian. -- Michal Čihař Mon, 15 Jun 2009 12:09:33 +0200 nanoblogger (3.3-4) unstable; urgency=low * Update policy to 3.7.3 (no changes needed). * Add lintian override for empty directories in blog template. * Adjusted Vcs-* headers to point to trunk. * Add dependency on bsdmainutils, needed for cal. -- Michal Čihař Thu, 31 Jan 2008 14:15:49 +0900 nanoblogger (3.3-3) unstable; urgency=low * Add watch file. * Use new Homepage field. * Convert XS-Vcs fields to Vcs. * Include missing welcome-to-nb.txt (Closes: #450871). -- Michal Čihař Mon, 12 Nov 2007 14:22:07 +0900 nanoblogger (3.3-2) unstable; urgency=low * Use dpatch for patching sources. * Cleanup debian/rules. * Use my Debian email address. * Add XS-Vcs headers. * Improve description. -- Michal Čihař Mon, 16 Apr 2007 12:10:25 +0200 nanoblogger (3.3-1) unstable; urgency=low * New upstream version. * Properly handles BROWSER variable via sensible-browser (Closes: #403809). * Suggest new package nanoblogger-extra, which contains some additional plugins and templates. * Updated NEWS to mention package split. -- Michal Čihař Wed, 14 Mar 2007 11:27:19 +0100 nanoblogger (3.3~rc5-3) unstable; urgency=low * Fix atom feed generating (Closes: #394645). * Fix calendar in archive (Closes: #351596). -- Michal Čihař Wed, 1 Nov 2006 13:27:25 +0100 nanoblogger (3.3~rc5-2) unstable; urgency=low * Add NEWS.Debian which mentiones that upgrade of blog is needed, this should be included in previous upload, sorry (Closes: #391599). -- Michal Čihař Thu, 12 Oct 2006 11:56:47 +0200 nanoblogger (3.3~rc5-1) unstable; urgency=low * New maintainer (Closes: #387476). * New upstream release: - Default date format wrong (Closes: #366868). - BODY is described in documentation (Closes: #351694). - Documentation no longer mentions trap as requirement (Closes: #366866). - Updates entry pages on -u (Closes: #352374). * Fix calendar plugin output (Closes: #351596). * Updated to policy 3.7.2 (no changes needed). * Cleanup debian/rules. - Removed not needed CFLAGS. - Removed commented out commands. - Moved all rules to binary-indep as we are completely noarch. * Update man page with little help of help2man. * Removed unused man page in debian directory. * Include README and TODO as documentation. * Added tidy to recommends as it is used by default. * Added fortune and lynx to suggests as they might be optionally used. -- Michal Čihař Mon, 18 Sep 2006 10:27:02 +0200 nanoblogger (3.2.3-3) unstable; urgency=low * Fixed the fortune path in the plugin (Closes: #331675). * Fixed the encoding problem for the tidy plugin (Closes: #329681). -- William Vera Sat, 22 Oct 2005 16:37:26 -0500 nanoblogger (3.2.3-2) unstable; urgency=low * Fixed the bug in the variable $BLOG_CHARSET (Closes: #327418). * Fixed the path to the manpage in html (Closes: #326812). * Fixed missing archive links (Closes: #327864). * Added the variable for the shortcut icon in the blog.conf (Closes: #325688). -- William Vera Sun, 18 Sep 2005 15:28:31 -0500 nanoblogger (3.2.3-1) unstable; urgency=low * New upstream release (Closes: #315564). * New path to the documentation (Closes: #315037). -- William Vera Tue, 21 Jun 2005 23:12:10 -0500 nanoblogger (3.1-3) unstable; urgency=low * Fixed typographical error in the user manual (Closes: #304742). -- William Vera Fri, 15 Apr 2005 12:39:55 -0500 nanoblogger (3.1-2) unstable; urgency=low * Fixed a bug in the nb script (nb.conf variable) * Some changes in the manpage -- William Vera Fri, 18 Mar 2005 21:23:13 -0600 nanoblogger (3.1-1) unstable; urgency=low * Initial Release (Closes:#299754). -- William Vera Thu, 10 Mar 2005 14:01:19 -0600 debian/patches/0000755000000000000000000000000011405416160010613 5ustar debian/patches/series0000644000000000000000000000005111317631716012034 0ustar default-browser.patch adjust-paths.patch debian/patches/adjust-paths.patch0000644000000000000000000000104611336462501014247 0ustar changes paths to match debian installation --- a/nb +++ b/nb @@ -11,11 +11,11 @@ # -- hardcoded paths -- # where to expect nanoblogger's base -NB_BASE_DIR=`dirname $0` +NB_BASE_DIR="/usr/share/nanoblogger" # where to expect nanoblogger's documentation -NB_DOC_DIR="$NB_BASE_DIR/docs" +NB_DOC_DIR="/usr/share/doc/nanoblogger" # where to expect nanoblogger's conf file -NB_CFG_DIR="$NB_BASE_DIR" +NB_CFG_DIR="/etc/nanoblogger" # nanoblogger's language definitions directory. NB_LANG_DIR="${NB_BASE_DIR}/lang" # nanoblogger's module directory. debian/patches/default-browser.patch0000644000000000000000000000106511215414427014746 0ustar changes default browser to use sensible-browser --- a/lib/config.sh +++ b/lib/config.sh @@ -89,10 +89,10 @@ : ${BLOG_AUTHOR:=$USER} # allow user specified author names [ ! -z "$USR_AUTHOR" ] && BLOG_AUTHOR="$USR_AUTHOR" -# default to $BROWSER then lynx for browser +# default to $BROWSER then sensible-browser for browser [ -z "$NB_BROWSER" ] && [ ! -z "$BROWSER" ] && NB_BROWSER="$BROWSER" -: ${NB_BROWSER:=lynx} +: ${NB_BROWSER:=sensible-browser} # export NB_BROWSER for the benefit of other components export NB_BROWSER # smart defaults for date locale debian/copyright0000644000000000000000000000234411215414532011122 0ustar This package was debianized by Michal Čihař on Fri, 09 Mar 2007 13:24:06 +0100. It was downloaded from Copyright: Copyright (C) 2003-2009 Kevin Wood Upstream Author: n1xt3r (Kevin Wood) License: This package 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 2 of the License, or (at your option) any later version. This package 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. The Debian packaging is Copyright © 2007 - 2009, Michal Čihař and is licensed under the GPL, see above. debian/nb.10000644000000000000000000001543411317632056007662 0ustar .\" with GNOME Manpages Editor Wizard .\" .\" Rua .\" .\" .TH NANOBLOGGER "1" "September 2006" "NanoBlogger 3.3" "User Commands" .SH "NAME" NanoBlogger \- small weblog engine for the UNIX command line .SH "SYPNOSIS" .B nb .RI "[\-b blog_dir]" .RI [options] .br .SH "DESCRIPTION" \fBNanoBlogger\fB User's manual. .PP \fBNanoBlogger\fP is a small weblog engine written in Bash for the command line. It uses common unix tools, such as cat, grep and sed. It's free to use and modify under the GNU General Public License. .SH OPTIONS .TP \fB\-a\fR, \fB\-\-add\fR create new entry, category, or weblog (directory). .TP \fB\-b\fR, \fB\-\-blogdir\fR specify weblog directory. .TP \fB\-B\fR, \fB\-\-body\fR deprecated, please use '\-T' or '\-\-text' instead. .TP \fB\-c\fR, \fB\-\-category\fR specify category (for '\-\-add', \&'\-\-delete', '\-\-edit', '\-\-list', \&'\-\-update', and '\-\-update\-cache'). .TP \fB\-\-cfgfile\fR specify an alternate configuration file. .TP \fB\-\-configure\fR configure weblog (for '\-\-update'). .TP \fB\-\-datadir\fR specify weblog's data directory. .TP \fB\-d\fR, \fB\-\-delete\fR delete an entry or category. .TP \fB\-D\fR, \fB\-\-desc\fR set text of description (for '\-\-add', \&'\-\-draft', '\-\-makefile' and \&'\-\-makepage'). .TP \fB\-e\fR, \fB\-\-edit\fR edit an entry or category. .TP \fB\-E\fR, \fB\-\-draft\fR edit or create metafile. .TP \fB\-f\fR, \fB\-\-file\fR specify metafile to import as entry (for '\-\-add'). .TP \fB\-h\fR, \fB\-\-help\fR show this help message. .TP \fB\-i\fR, \fB\-\-interactive\fR <1=on/0=off> toggle interactive mode (for '\-\-add', \&'\-\-delete', '\-\-preview', '\-\-publish', and '\-\-update'). .TP \fB\-l\fR, \fB\-\-list\fR list entries or categories (defaults to max). .TP \fB\-\-manual\fR view the manual. .TP \fB\-m\fR, \fB\-\-move\fR move an entry to a specified category (for '\-\-category'). .TP \fB\-M\fR, \fB\-\-makepage\fR create new weblog page (file2) from metafile (file1). .TP \fB\-\-makefile\fR create new metafile. .TP \fB\-n\fR, \fB\-\-author\fR set text of author (for '\-\-add', \&'\-\-draft', '\-\-makefile' and \&'\-\-makepage'). .TP \fB\-\-plugindir\fR specify weblog's plugin directory. .TP \fB\-p\fR, \fB\-\-preview\fR run command to preview weblog. .TP \fB\-P\fR, \fB\-\-publish\fR run command to publish weblog. .TP \fB\-\-template\fR specify file to load as template (for \&'\-\-draft', '\-\-makepage' and \&'\-\-makefile'). .TP \fB\-\-template\-dir\fR specify weblog's template directory. .TP \fB\-t\fR, \fB\-\-title\fR set text of title (for '\-\-add', \&'\-\-category', '\-\-draft', \&'\-\-makefile' and '\-\-makepage'). .TP \fB\-\-tag\fR specify tag (for '\-\-add', '\-\-draft', \&'\-\-edit', '\-\-makefile' and .IP \&'\-\-makepage'). .TP \fB\-\-tag\-text\fR set text of tag (for '\-\-tag'). .TP \fB\-T\fR, \fB\-\-text\fR set text of body (for '\-\-add', \&'\-\-draft', '\-\-makefile' and \&'\-\-makepage'). .TP \fB\-U\fR, \fB\-\-update\-cache\fR force update of weblog's cache removing specified cached data (defaults to \&'expired'). .TP \fB\-u\fR, \fB\-\-update\fR force update of weblog's files updating specified weblog data (defaults to \&'max'). .TP \fB\-v\fR, \fB\-\-verbose\fR <1=on/0=off> toggle level of verbosity. .TP \fB\-V\fR, \fB\-\-version\fR display version information. .HP \fB\-c\fR,\-d,\-e,\-m accepts multiple ID numbers separated by commas (e.g. 1,2,3). .HP \fB\-\-list\fR and \fB\-\-update\fR can match entries by date (irrelevant of entry id(s)). .IP date = YYYY\-MM\-DD, YYYY\-MM, YYYY .SH "EXAMPLES" .IP "\fB\-\-blogdir [myblog_dir] \--add\fP" 10 Where myblog_dir is a nonexistent directory. This will create a new directory, copy the default files over, and then let you edit the weblog's configuration. Multiple weblogs can be created this way. Running the same command again on an existing weblog directory will add a new entry. .IP "\fB\-\-blogdir [myblog_dir] \-\-configure \-u all\fP" 10 This opens blog.conf from the weblog directory for editing and updates the entire weblog. .IP "\fB[\-b blog_dir] \-a\fP" 10 Add a new entry .IP "\fB[\-b blog_dir] \-c 1 \-a\fP" 10 Add a new entry to a category .IP "\fB [\-b blog_dir] \-t \*(lqNew Entry\*(rq \-n [entry_author] \-a\fP" Set title and author for new entry .IP "\fB[\-b blog_dir] \-t \*(lqNew Entry\*(rq \-n [entry_author] \-M \*(lqMy message.\*(rq \-a\fP" 10 Set title, author, and body for new entry .IP "\fB[\-b blog_dir] \-l\fP" 10 List current entries .IP "\fB[\-b blog_dir] \-l all\fP" 10 List all entries .IP "\fB[\-b blog_dir] \-c 1 \-l\fP" 10 List entries for a category .IP "\fB[\-b blog_dir] \-e 1\fP" 10 Edit the last entry created .IP "\fB[\-b blog_dir] \-c 1 \-e 1\fP" 10 Edit an entry from a category .IP "\fB[\-b blog_dir] \-e 1,2,3\fP" 10 Edit multiple entries .IP "\fB[\-b blog_dir] \-c 1 \-m 1\fP" 10 Move an entry to a category .IP "\fB[\-b blog_dir] \-c 1,2,3 \-m 1\fP" 10 Move an entry to multiple categories .IP "\fB[\-b blog_dir] \-c 1 \-m 1,2,3\fP" 10 Move multiple entries to a category .IP "\fB[\-b blog_dir] \-d 1\fP" 10 Permanently delete an entry .IP "\fB[\-b blog_dir] \-d 1,2,3\fP" 10 Permanently delete multiple entries .IP "\fB[\-b blog_dir] \-c 1 \-d 1\fP" 10 Delete an entry from a category .IP "\fB[\-b blog_dir] \-c new \-a\fP" 10 Create a new category .IP "\fB[\-b blog_dir] \-t \*(lqNew Category\*(rq \-c new \-a\fP" 10 Set the title for a new category .IP "\fB[\-b blog_dir] \-l cat\fP" 10 List available categories .IP "\fB[\-b blog_dir] \-c 1 \-t \*(lqNews\*(rq \-e cat\fP" 10 Edit a category's title .IP "\fB[\-b blog_dir] \-c 1 \-d cat\fP" 10 Delete a category .IP "\fB[\-b blog_dir] \-u all\fP" 10 Update the Weblog's Data Directory .SH "NOTES" .PP The articles plugin provides a simple way for NanoBlogger to automatically generate and update articles for your weblog. Creating a new article is easy, create a new file in the \fBarticles\fP directory and save it with the suffix, "txt". To remove an article simply rename it's suffix to something other than "txt" or remove it from the articles directory. .PP Edit \fBtemplates/main_links.htm\fP to add new links. .SH "FILES" .IR /etc/nanoblogger/nb.conf .SH "AUTHOR" .PP NanoBlogger written by Kevin Wood (n1xt3r) .br This manual page was originally written by William Vera and then updated by Michal Cihar for the \fBDebian\fP system (but may be used by others). .br Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation .SH "SEE ALSO" .IR /usr/share/doc/nanoblogger/nanoblogger.html .IR http://nanoblogger.sourceforge.net/ debian/nanoblogger.lintian-overrides0000644000000000000000000000100211215414671015036 0ustar # This is template dir for user blog, we want to create all directories in it. nanoblogger: package-contains-empty-directory usr/share/nanoblogger/default/plugins/ nanoblogger: package-contains-empty-directory usr/share/nanoblogger/default/cache/ nanoblogger: package-contains-empty-directory usr/share/nanoblogger/plugins/archive/category/ nanoblogger: package-contains-empty-directory usr/share/nanoblogger/plugins/entry/mod/ nanoblogger: package-contains-empty-directory usr/share/nanoblogger/plugins/page/mod/ debian/control0000644000000000000000000000131511454571453010602 0ustar Source: nanoblogger Section: web Priority: optional Maintainer: William Vera Build-Depends: debhelper (>= 7.0.50) Standards-Version: 3.9.1 Homepage: http://nanoblogger.sourceforge.net/ Package: nanoblogger Architecture: all Depends: bsdmainutils, ${misc:Depends} Recommends: tidy, markdown Suggests: www-browser, nanoblogger-extra Description: Small weblog engine for the command line NanoBlogger is a small Weblog engine written in bash. It uses common Unix tools such as cat, grep, and sed to create static HTML content. It's command line driven and supports archiving by category, year, month, day, and entry. It's designed to be modular, flexible, and independent of external databases. debian/watch0000644000000000000000000000012511132613133010207 0ustar version=3 http://nanoblogger.sourceforge.net/downloads/ nanoblogger-([0-9.]*).tar.gz debian/compat0000644000000000000000000000000211215414427010365 0ustar 7 debian/install0000644000000000000000000000041611215414671010562 0ustar nb usr/bin nb.conf etc/nanoblogger default/ usr/share/nanoblogger lang/ usr/share/nanoblogger lib/ usr/share/nanoblogger moods/ usr/share/nanoblogger plugins/ usr/share/nanoblogger welcome-to-nb.txt usr/share/nanoblogger debian/docs0000644000000000000000000000004211132613133010027 0ustar docs/nanoblogger.html TODO README debian/rules0000755000000000000000000000016111317631153010245 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ debian/source/0000755000000000000000000000000011405416160010464 5ustar debian/source/format0000644000000000000000000000001411317631440011674 0ustar 3.0 (quilt) debian/NEWS0000644000000000000000000000144311336462646007702 0ustar nanoblogger (3.3-1) unstable; urgency=low This release brings split to two packages. Some plugins (like RSS 1.0) were moved to nanoblogger-extra package, if you want to still use them, install this package and follow README.Debian in this package. You may miss some templates in your webblog after update, please copy them from /usr/share/nanoblogger/default/templates/. -- Michal Čihař Wed, 14 Mar 2007 11:25:45 +0100 nanoblogger (3.3~rc5-1) unstable; urgency=low If you have used previous versions of nanoblogger, you should follow upgrade instructions in /usr/share/doc/nanoblogger/README.gz as too much has been changed in this release and you need to preform manual conversion. -- Michal Čihař Wed, 11 Oct 2006 09:58:55 +0200