summaryrefslogtreecommitdiff
path: root/www-apps/nanoblogger
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-12 12:25:39 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-12 12:25:39 +0100
commit37bccfe5e76c5740c4ef5ba1179e9488d8404075 (patch)
treec0c962a2e83c1f38816a021ecd34c2e8c80db528 /www-apps/nanoblogger
parent496ef6155c315ac3628b472dc9b4146fa2684286 (diff)
gentoo auto-resync : 12:07:2024 - 12:25:38
Diffstat (limited to 'www-apps/nanoblogger')
-rw-r--r--www-apps/nanoblogger/Manifest4
-rw-r--r--www-apps/nanoblogger/files/nb.bashcomp47
-rw-r--r--www-apps/nanoblogger/metadata.xml21
-rw-r--r--www-apps/nanoblogger/nanoblogger-3.5_rc1-r1.ebuild70
4 files changed, 0 insertions, 142 deletions
diff --git a/www-apps/nanoblogger/Manifest b/www-apps/nanoblogger/Manifest
deleted file mode 100644
index dd98785ecd6d..000000000000
--- a/www-apps/nanoblogger/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX nb.bashcomp 1275 BLAKE2B 0e6fefe950988c1f290f442781eb284f4c762365387cc58e67502558291e0ef77557adb7af57346ee5a1a0438c0307fa2c6956fb63a621f7bdb4b1c7684800c7 SHA512 004db772c4f97870ebdbe378adc26f70ce42f8f28b68bed53fcbe2df4d95ce38e4a2608fee94ae17b1f057c28859a321cceb6cdd4f849845b5902ad048541c8e
-DIST nanoblogger-3.5-rc1.tar.gz 131833 BLAKE2B d5918e406d0b5c6d82b466b43ed84b413fc539651baa568eacbd70b47eae4b382a4f621c8195631b47ef2039d6a4e0b569596a6d601881b195b1db5f7098d90c SHA512 03a590b1bdf3adb9969e2ce6fda89ece99f33def9f46e1028d2c0724a86f47696c703a5a3bb3c4b1c34418b841702a15bae527cc94eba377ee2003203582de2f
-EBUILD nanoblogger-3.5_rc1-r1.ebuild 2210 BLAKE2B a34979b8b15ba85faca4bffcaa46efa7a218efa7ff94c66215366cc08e74265668c82c6a1d0ff39d70e8221006be0055ee2a026ed80a4b7496d272716b0d5674 SHA512 1c5dbe0ec4927752f68c263bb2682d249ff0d43d6f527216aa25ccdc1fe400da0a2cb796f1a83fd24e60021dc7375d9a0989b6946db814b235c697e4729f6406
-MISC metadata.xml 1100 BLAKE2B 4d496a7116de655e5338b1da175cb4d74aa670fc3f9816d82c53b97afbb6556b4ad5987c81b4b54b76696d57bb5f9779e417e9a2ab95ff8b1a4307ec36433444 SHA512 ea8bc282da1fd0c0f2f62b9d7485d25171c99be4f404847b544a7f9d8695328518c82e8214616990737aeda461ae9f399aba98850c711bd0171ed24650859c19
diff --git a/www-apps/nanoblogger/files/nb.bashcomp b/www-apps/nanoblogger/files/nb.bashcomp
deleted file mode 100644
index 4e3c5606b1c0..000000000000
--- a/www-apps/nanoblogger/files/nb.bashcomp
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# nanoblogger completion
-# author: Aaron Walker <ka0ttic@gentoo.org>
-
-_nb()
-{
- local cur prev opts
- COMPREPLY=()
- cur="${COMP_WORDS[COMP_CWORD]}"
- prev="${COMP_WORDS[COMP_CWORD-1]}"
- opts="-a --add -b --blogdir -B --body -c --category --configure \
- --datadir -d --delete -D --desc -e --edit -f --blogconf -h --help \
- -l --list --makepage --manual -m --move -n --author -p --preview \
- -P --publish --template --templatedir -t --title -u --update \
- -v --verbose -V --version"
-
- if [[ "${cur}" == -* || ${COMP_CWORD} -eq 1 ]] ; then
- COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
- return 0
- fi
-
- case "${prev}" in
- -b|--*dir)
- COMPREPLY=($(compgen -d -S '/' -- ${cur}))
- ;;
- -f|--blogconf|--template)
- COMPREPLY=($(compgen -f -- ${cur}))
- ;;
- -l|--list)
- COMPREPLY=($(compgen -W "all cat current max" -- ${cur}))
- ;;
- -u|--update)
- COMPREPLY=($(compgen -W "all current main max" -- ${cur}))
- ;;
- ?(-)-@(B|body|c|category|d|delete|D|desc|m|move|n|author|t|title))
- COMPREPLY=()
- ;;
- *)
- COMPREPLY=($(compgen -W "${opts/${prev}}" -- ${cur}))
- ;;
- esac
-}
-complete -F _nb nb
-
-# vim: set ft=sh :
diff --git a/www-apps/nanoblogger/metadata.xml b/www-apps/nanoblogger/metadata.xml
deleted file mode 100644
index 4da5e4e1c955..000000000000
--- a/www-apps/nanoblogger/metadata.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <stabilize-allarches/>
- <longdescription lang="en">
-Nanoblogger is a small weblog engine written in Bash for the command line. It
-uses common UNIX tools such as cat, grep, and sed. Features include: support
-for multiple weblogs, support for multiple categories, archiving by category,
-entry, and month, pagination, permanent links, RSS syndication (1.0 and 2.0),
-Atom syndication (0.3), templates and CSS style sheets for full control over
-appearance, placeholders for easy template manipulation, plugins for calendar,
-recent entries, weblog status, fortunes, etc, auto-formatting of HTML, support
-for relative and absolute links, per-weblog configuration, simple cache system
-for faster content generation, auto-detection of weblog by current directory, no
-database dependencies (uses flat-file), and mutliplatform portability.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">nanoblogger</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/www-apps/nanoblogger/nanoblogger-3.5_rc1-r1.ebuild b/www-apps/nanoblogger/nanoblogger-3.5_rc1-r1.ebuild
deleted file mode 100644
index 4116a3b95219..000000000000
--- a/www-apps/nanoblogger/nanoblogger-3.5_rc1-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1
-
-MY_P="${P/_/-}"
-DESCRIPTION="Small and simple weblog engine written in Bash for the command-line"
-HOMEPAGE="http://nanoblogger.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ppc x86"
-
-RDEPEND="app-shells/bash"
-
-S="${WORKDIR}/${MY_P}"
-
-HTML_DOCS=( docs/nanoblogger.html )
-
-src_prepare() {
- default
- 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
- einstalldocs
- dobashcomp "${FILESDIR}"/nb.bashcomp
-}
-
-pkg_postinst() {
- elog
- 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."
- elog
-}