summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-01-24 11:03:41 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-01-24 11:03:41 +0000
commitff05293f70c67f7fdd25fef79fe322faf786b3d9 (patch)
treeb98c838bebeffba96087daa346f2fbd8e01ac950 /www-apps/nanoblogger
parentAdded a patch that fixes compilation on hardened systems. Closes bug #73383. (diff)
downloadgentoo-2-ff05293f70c67f7fdd25fef79fe322faf786b3d9.tar.gz
gentoo-2-ff05293f70c67f7fdd25fef79fe322faf786b3d9.tar.bz2
gentoo-2-ff05293f70c67f7fdd25fef79fe322faf786b3d9.zip
Initial commit; ebuild by me.
(Portage version: 2.0.51-r14)
Diffstat (limited to 'www-apps/nanoblogger')
-rw-r--r--www-apps/nanoblogger/ChangeLog10
-rw-r--r--www-apps/nanoblogger/Manifest4
-rw-r--r--www-apps/nanoblogger/files/digest-nanoblogger-3.11
-rw-r--r--www-apps/nanoblogger/metadata.xml9
-rw-r--r--www-apps/nanoblogger/nanoblogger-3.1.ebuild49
5 files changed, 73 insertions, 0 deletions
diff --git a/www-apps/nanoblogger/ChangeLog b/www-apps/nanoblogger/ChangeLog
new file mode 100644
index 000000000000..222f831b10df
--- /dev/null
+++ b/www-apps/nanoblogger/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/nanoblogger
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoblogger/ChangeLog,v 1.1 2005/01/24 11:03:41 ka0ttic Exp $
+
+*nanoblogger-3.1 (24 Jan 2005)
+
+ 24 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml,
+ +nanoblogger-3.1.ebuild:
+ Initial commit; ebuild by me.
+
diff --git a/www-apps/nanoblogger/Manifest b/www-apps/nanoblogger/Manifest
new file mode 100644
index 000000000000..0616d9c3520b
--- /dev/null
+++ b/www-apps/nanoblogger/Manifest
@@ -0,0 +1,4 @@
+MD5 03437794b4a304c8de42d4f4431fb239 ChangeLog 277
+MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
+MD5 13b42c5bb6f9ee8d13c374299d296481 nanoblogger-3.1.ebuild 1309
+MD5 1ab32e1e0e5fef5232ec0b69d002f8eb files/digest-nanoblogger-3.1 66
diff --git a/www-apps/nanoblogger/files/digest-nanoblogger-3.1 b/www-apps/nanoblogger/files/digest-nanoblogger-3.1
new file mode 100644
index 000000000000..193625ddb031
--- /dev/null
+++ b/www-apps/nanoblogger/files/digest-nanoblogger-3.1
@@ -0,0 +1 @@
+MD5 7b8eba52ded4849953c88f1747b97f9d nanoblogger-3.1.tar.gz 51293
diff --git a/www-apps/nanoblogger/metadata.xml b/www-apps/nanoblogger/metadata.xml
new file mode 100644
index 000000000000..d31152aca840
--- /dev/null
+++ b/www-apps/nanoblogger/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ka0ttic@gentoo.org</email>
+ <name>Aaron Walker</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/nanoblogger/nanoblogger-3.1.ebuild b/www-apps/nanoblogger/nanoblogger-3.1.ebuild
new file mode 100644
index 000000000000..5739fe351981
--- /dev/null
+++ b/www-apps/nanoblogger/nanoblogger-3.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoblogger/nanoblogger-3.1.ebuild,v 1.1 2005/01/24 11:03:41 ka0ttic Exp $
+
+DESCRIPTION="Small and simple weblog engine written in Bash for the command-line"
+HOMEPAGE="http://nanoblogger.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="app-shells/bash"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i \
+ -e 's|^\(BASE_DIR=\).*$|\1"/usr/share/nanoblogger"|' \
+ -e 's|"$BASE_DIR"/\(nb\.conf\)|/etc/\1|' \
+ nb || die "sed nb failed"
+}
+
+src_install() {
+ dobin nb
+ insinto /usr/share/nanoblogger
+ doins -r default moods plugins
+ insinto /etc
+ doins nb.conf
+ dodoc ChangeLog
+ dohtml docs/nanoblogger.html
+}
+
+pkg_postinst() {
+ echo
+ einfo "Documentation for getting started with nanoblogger may be found at"
+ einfo "/usr/share/doc/${PF}/html/nanoblogger.html."
+ einfo
+ einfo "To create and configure a new weblog, run the following as your user:"
+ einfo " nb -b /some/dir -a"
+ einfo "where /some/dir is a directory that DOES NOT exist."
+ einfo
+ einfo "To prevent having to specify your blog directory every time you use"
+ einfo "nanoblogger (with the -b switch), you can set a default value in your"
+ einfo "~/.nb.conf. For example:"
+ einfo ' BLOG_DIR="$HOME/public_html/blog"'
+ echo
+}