Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112655 Details for
Bug 170046
www-apps/nanoblogger-3.3 (Update)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nanoblogger-3.3.ebuild
nanoblogger-3.3.ebuild (text/plain), 2.28 KB, created by
Devin Heckman
on 2007-03-09 01:34:35 UTC
(
hide
)
Description:
nanoblogger-3.3.ebuild
Filename:
MIME Type:
Creator:
Devin Heckman
Created:
2007-03-09 01:34:35 UTC
Size:
2.28 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/www-apps/nanoblogger/nanoblogger-3.2.3.ebuild,v 1.7 2007/01/25 21:28:52 eroyf Exp $ > >inherit bash-completion > >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="alpha ~amd64 ~hppa ia64 mips ppc ~x86" >IUSE="" > >RDEPEND="app-shells/bash" > >src_unpack() { > unpack ${A} > cd ${S} > sed -i \ > -e 's|^\(NB_BASE_DIR=\).*$|\1"/usr/share/nanoblogger"|' \ > -e 's|^\(NB_CFG_DIR=\).*$|\1"/etc"|' \ > -e "s|\$NB_BASE_DIR.*\(nano.*html\)|/usr/share/doc/${PF}/html/\1|" \ > nb || die "sed nb failed" >} > >src_install() { > dobin nb > insinto /usr/share/nanoblogger > doins -r default moods plugins lib lang docs welcome-to-nb.txt > insinto /etc > doins nb.conf > dodoc ChangeLog > dohtml docs/nanoblogger.html > dobashcompletion ${FILESDIR}/nb.bashcomp >} > >pkg_postinst() { > echo > elog "Documentation for getting started with nanoblogger may be found at" > elog "/usr/share/doc/${PF}/html/nanoblogger.html or by running 'nb --manual;." > elog > elog "To create and configure a new weblog, run the following as your user:" > elog " nb -b /some/dir -a" > elog "where /some/dir is a directory that DOES NOT exist." > elog > elog "To prevent having to specify your blog directory every time you use" > elog "nanoblogger (with the -b switch), you can set a default value in your" > elog "~/.nb.conf. For example:" > elog ' BLOG_DIR="$HOME/public_html/blog"' > elog > elog "If you are upgrading nanoblogger from a previous version, follow" > elog "these directions (as stated in the manual):" > elog " 1. create a new weblog directory using nanoblogger (skip configuration):" > elog " nb [-b blog_dir] -a" > elog " 2. copy old data directry to new weblog:" > elog " cp -r [old_blog_dir]/data [newblog_dir]" > elog " 3. edit new blog.conf to your liking and rebuild weblog:" > elog " nb [-b blog_dir] --configure -u all" > elog > elog "You also should remove your [newblog_dir]/data/cat_1.db and run:" > elog " nb -u all" > elog "after copying your old entries from [oldblog_dir]/data to" > elog "[newblog_dir]/data." > echo > bash-completion_pkg_postinst >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 170046
: 112655