summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-18 19:33:38 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-18 19:33:38 +0100
commitca8551c30092bf884c105ebfd287dce35e2ceecb (patch)
tree804ba81665cfa064a4062419f88b35539a1ce37c /base
parent9de538438171924e7c6473253688f7c53abdb552 (diff)
downloadnutyx-extra-ca8551c30092bf884c105ebfd287dce35e2ceecb.tar.gz
nutyx-extra-ca8551c30092bf884c105ebfd287dce35e2ceecb.tar.bz2
nutyx-extra-ca8551c30092bf884c105ebfd287dce35e2ceecb.tar.xz
nutyx-extra-ca8551c30092bf884c105ebfd287dce35e2ceecb.zip
nanoblogger, déplacé dans base
Diffstat (limited to 'base')
-rw-r--r--base/nanoblogger/.footprint164
-rw-r--r--base/nanoblogger/.md5sum4
-rw-r--r--base/nanoblogger/Pkgfile26
-rw-r--r--base/nanoblogger/nb3
-rw-r--r--base/nanoblogger/nb.conf42
5 files changed, 239 insertions, 0 deletions
diff --git a/base/nanoblogger/.footprint b/base/nanoblogger/.footprint
new file mode 100644
index 000000000..ecd033c03
--- /dev/null
+++ b/base/nanoblogger/.footprint
@@ -0,0 +1,164 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rw-r--r-- root/root usr/bin/nb
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/nanoblogger/
+-rw-r--r-- root/root usr/share/nanoblogger/COPYING
+-rw-r--r-- root/root usr/share/nanoblogger/ChangeLog
+-rw-r--r-- root/root usr/share/nanoblogger/README
+-rw-r--r-- root/root usr/share/nanoblogger/TODO
+-rw-r--r-- root/root usr/share/nanoblogger/copyright
+drwxr-xr-x root/root usr/share/nanoblogger/default/
+drwxr-xr-x root/root usr/share/nanoblogger/default/articles/
+-rw-r--r-- root/root usr/share/nanoblogger/default/articles/example.txt
+-rw-r--r-- root/root usr/share/nanoblogger/default/blog.conf
+drwxr-xr-x root/root usr/share/nanoblogger/default/cache/
+drwxr-xr-x root/root usr/share/nanoblogger/default/data/
+-rw-r--r-- root/root usr/share/nanoblogger/default/data/cat_1.db
+drwxr-xr-x root/root usr/share/nanoblogger/default/images/
+-rw-r--r-- root/root usr/share/nanoblogger/default/images/favicon.ico
+-rw-r--r-- root/root usr/share/nanoblogger/default/images/feed-icon-14x14.png
+drwxr-xr-x root/root usr/share/nanoblogger/default/plugins/
+drwxr-xr-x root/root usr/share/nanoblogger/default/styles/
+-rw-r--r-- root/root usr/share/nanoblogger/default/styles/feed.css
+-rw-r--r-- root/root usr/share/nanoblogger/default/styles/nb_clean.css
+-rw-r--r-- root/root usr/share/nanoblogger/default/styles/nb_default.css
+-rw-r--r-- root/root usr/share/nanoblogger/default/styles/nb_rusted.css
+-rw-r--r-- root/root usr/share/nanoblogger/default/styles/nb_spring.css
+-rw-r--r-- root/root usr/share/nanoblogger/default/styles/nb_steelblue.css
+-rw-r--r-- root/root usr/share/nanoblogger/default/styles/print.css
+drwxr-xr-x root/root usr/share/nanoblogger/default/templates/
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/category_archive.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/category_entry.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/category_inc_archive.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/category_inc_entry.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/day_archive.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/entry.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/entry.metadata
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/file.metadata
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/main_index.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/main_links.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/makepage.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/month_archive.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/month_entry.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/permalink.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/permalink_entry.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/weblog_status.htm
+-rw-r--r-- root/root usr/share/nanoblogger/default/templates/year_archive.htm
+drwxr-xr-x root/root usr/share/nanoblogger/docs/
+drwxr-xr-x root/root usr/share/nanoblogger/docs/examples/
+-rw-r--r-- root/root usr/share/nanoblogger/docs/examples/nanoblogger.bash_completion
+-rw-r--r-- root/root usr/share/nanoblogger/docs/nanoblogger.html
+-rw-r--r-- root/root usr/share/nanoblogger/docs/nanoblogger_de.html
+-rw-r--r-- root/root usr/share/nanoblogger/docs/nanoblogger_fr.html
+drwxr-xr-x root/root usr/share/nanoblogger/lang/
+drwxr-xr-x root/root usr/share/nanoblogger/lang/de/
+-rw-r--r-- root/root usr/share/nanoblogger/lang/de/help.txt
+-rw-r--r-- root/root usr/share/nanoblogger/lang/de/messages.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/de/plugins.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/de/templates.lang
+drwxr-xr-x root/root usr/share/nanoblogger/lang/en/
+-rw-r--r-- root/root usr/share/nanoblogger/lang/en/help.txt
+-rw-r--r-- root/root usr/share/nanoblogger/lang/en/messages.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/en/plugins.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/en/templates.lang
+drwxr-xr-x root/root usr/share/nanoblogger/lang/es/
+-rw-r--r-- root/root usr/share/nanoblogger/lang/es/help.txt
+-rw-r--r-- root/root usr/share/nanoblogger/lang/es/messages.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/es/plugins.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/es/templates.lang
+drwxr-xr-x root/root usr/share/nanoblogger/lang/fr/
+-rw-r--r-- root/root usr/share/nanoblogger/lang/fr/help.txt
+-rw-r--r-- root/root usr/share/nanoblogger/lang/fr/messages.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/fr/plugins.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/fr/templates.lang
+drwxr-xr-x root/root usr/share/nanoblogger/lang/tr/
+-rw-r--r-- root/root usr/share/nanoblogger/lang/tr/help.txt
+-rw-r--r-- root/root usr/share/nanoblogger/lang/tr/messages.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/tr/plugins.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/tr/templates.lang
+drwxr-xr-x root/root usr/share/nanoblogger/lang/zh_TW/
+-rw-r--r-- root/root usr/share/nanoblogger/lang/zh_TW/help.txt
+-rw-r--r-- root/root usr/share/nanoblogger/lang/zh_TW/messages.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/zh_TW/plugins.lang
+-rw-r--r-- root/root usr/share/nanoblogger/lang/zh_TW/templates.lang
+drwxr-xr-x root/root usr/share/nanoblogger/lib/
+-rw-r--r-- root/root usr/share/nanoblogger/lib/archive.sh
+-rw-r--r-- root/root usr/share/nanoblogger/lib/config.sh
+-rw-r--r-- root/root usr/share/nanoblogger/lib/database.sh
+-rw-r--r-- root/root usr/share/nanoblogger/lib/error.sh
+-rw-r--r-- root/root usr/share/nanoblogger/lib/tools.sh
+drwxr-xr-x root/root usr/share/nanoblogger/moods/
+-rw-r--r-- root/root usr/share/nanoblogger/moods/moods.conf
+-rw-r--r-- root/root usr/share/nanoblogger/moods/mymood.txt
+drwxr-xr-x root/root usr/share/nanoblogger/moods/smilies/
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/angry.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/cheesy.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/cool.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/cry.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/embarassed.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/grin.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/huh.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/kiss.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/laugh.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/lipsrsealed.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/rolleyes.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/sad.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/shocked.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/smiley.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/tongue.gif
+-rw-r--r-- root/root usr/share/nanoblogger/moods/smilies/wink.gif
+-rwxr-xr-x root/root usr/share/nanoblogger/nb
+-rw-r--r-- root/root usr/share/nanoblogger/nb.conf
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/001_mymood.off
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/archive/
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/archive/category/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/archive/category/include_listings.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/archive/day/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/archive/day/day_archive.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/archive/master_fullindex.off
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/archive/master_index.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/archive/month/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/archive/month/month_archive.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/archive/year/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/archive/year/year_archive.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/atom.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/calendar.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/entry/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/entry/category_links.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/entry/format/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/entry/format/autobr.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/entry/format/autopbr.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/entry/format/markdown.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/entry/format/raw.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/entry/mod/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/entry/z0_excerpt.off
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/file_links.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/fortune.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/makepage/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/makepage/tidy.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/page/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/page/feed_links.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/page/format/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/page/format/autobr.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/page/format/autopbr.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/page/format/markdown.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/page/format/moods.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/page/format/raw.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/page/mod/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/page/page_links.off
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/post/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/post/clean_parts.off
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/recent_entries.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/rss.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/rss2.sh
+drwxr-xr-x root/root usr/share/nanoblogger/plugins/shortcode/
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/shortcode/baseurl.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/shortcode/moods.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/shortcode/yahoobuzz.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/shortcode/youtube.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/weblog_links.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/weblog_status.sh
+-rw-r--r-- root/root usr/share/nanoblogger/plugins/z001_articles_meta.sh
+-rw-r--r-- root/root usr/share/nanoblogger/welcome-to-nb.txt
diff --git a/base/nanoblogger/.md5sum b/base/nanoblogger/.md5sum
new file mode 100644
index 000000000..7088ce13a
--- /dev/null
+++ b/base/nanoblogger/.md5sum
@@ -0,0 +1,4 @@
+6162a3637ab22e98ac4267e0db687fe1 nanoblogger-3.4.tar.gz
+0c64600939a50faf67fb8ba1a6431ef1 nanoblogger-extra-3.4.tar.gz
+8957670addd077f799b703454fc2cc5d nb
+9c3142a525546618087b78f6ba131514 nb.conf
diff --git a/base/nanoblogger/Pkgfile b/base/nanoblogger/Pkgfile
new file mode 100644
index 000000000..543ed07b8
--- /dev/null
+++ b/base/nanoblogger/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Nanoblogger est un moteur de blog écrit en BASH. Il s'utilise en ligne de commande
+# URL: http://sourceforge.net/projects/nanoblogger/
+# Maintainer: Blankoworld
+# Packager: blankoworld at wanadoo dot fr
+# Depends on:
+
+name=nanoblogger
+version=3.4
+release=1
+group=app
+source=( http://nanoblogger.sourceforge.net/downloads/$name-$version.tar.gz \
+http://nanoblogger.sourceforge.net/downloads/$name-extra-$version.tar.gz \
+nb.conf \
+nb)
+
+build() {
+ cd $name-$version
+ cp -r $SRC/$name-extra-$version/* $SRC/$name-$version/
+ install -d $PKG/usr/share/$name/
+ cp -Rp $SRC/$name-$version/* $PKG/usr/share/$name/
+ cp -p ../nb.conf $PKG/usr/share/$name/nb.conf
+ install -d $PKG/usr/bin/
+ cp -p ../nb $PKG/usr/bin/nb
+ chown -R root:root $PKG
+}
+
diff --git a/base/nanoblogger/nb b/base/nanoblogger/nb
new file mode 100644
index 000000000..a2b19ec20
--- /dev/null
+++ b/base/nanoblogger/nb
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /usr/share/nanoblogger && exec ./nb $*
+
diff --git a/base/nanoblogger/nb.conf b/base/nanoblogger/nb.conf
new file mode 100644
index 000000000..f4211d86b
--- /dev/null
+++ b/base/nanoblogger/nb.conf
@@ -0,0 +1,42 @@
+# NanoBlogger Global Config File
+# Last modified: 2007-01-04T14:47:26-05:00
+
+# --- Misc. defaults ---
+#
+# Set the default language
+NB_LANG="fr"
+
+# Set the default blog directory
+#BLOG_DIR="/var/www/weblog"
+
+# --- Blog Templates ---
+#
+# ALL templates must reside in the weblog's "templates" directory
+# e.g. [blog_dir]/templates
+
+CATEGORY_TEMPLATE="category_archive.htm"
+MAIN_TEMPLATE="main_index.htm"
+MAKEPAGE_TEMPLATE="makepage.htm"
+YEAR_TEMPLATE="year_archive.htm"
+MONTH_TEMPLATE="month_archive.htm"
+DAY_TEMPLATE="day_archive.htm"
+PERMALINK_TEMPLATE="permalink.htm"
+MAINLINKS_TEMPLATE="main_links.htm"
+ENTRY_TEMPLATE="entry.htm"
+CATENTRY_TEMPLATE="category_entry.htm"
+MONTHENTRY_TEMPLATE="month_entry.htm"
+DAYENTRY_TEMPLATE="day_entry.htm"
+PERMALINKENTRY_TEMPLATE="permalink_entry.htm"
+METADATAFILE_TEMPLATE="file.metadata"
+METADATAENTRY_TEMPLATE="entry.metadata"
+
+# --- Data Files ---
+#
+# Set the default date command arguments used to create entry filenames
+#DB_DATEARGS="-u"
+
+# Set the default date format used to create and sort entry filenames
+# WARNING: do _not_ change unless you *know* what you're doing!
+# WARNING: changing this will probably break lib/database.sh
+DB_DATEFORMAT="%d/%m/%%Y %H_%M_%S"
+