Portage is a package management system used by Gentoo Linux
# ChangeLog for net-irc/rbot
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/ChangeLog,v 1.39 2008/07/25 07:27:42 wormo Exp $
25 Jul 2008; Stephanie Lockwood-Childs
rbot-0.9.11_rc2.ebuild:
mark ~ppc (bug #230517)
14 Jul 2008; Diego Pettenò
-rbot-0.9.11_rc1.ebuild, rbot-0.9.11_rc2.ebuild, rbot-9999-r10.ebuild:
Add missing dependency over rake when nls USE flag is enabled. Thanks to
Chris Henhawke (bunder) for reporting. Remove rc1 ebuild.
*rbot-0.9.11_rc2 (14 Jul 2008)
14 Jul 2008; Diego Pettenò
+rbot-0.9.11_rc2.ebuild, rbot-9999-r10.ebuild:
Version bump to rc2, this re-integrates the nls support.
08 Jul 2008; Javier Villavicencio
rbot-0.9.11_rc1.ebuild:
Add ~x86-fbsd keyword, wrt #230517
07 Jul 2008; Friedrich Oslage
rbot-0.9.11_rc1.ebuild:
Re-Add ~sparc keyword, bug #230517
04 Jul 2008; Christian Faulhammer
rbot-0.9.11_rc1.ebuild:
keyworded ~arch for x86, bug 230517
*rbot-0.9.11_rc1 (02 Jul 2008)
02 Jul 2008; Diego Pettenò
+rbot-0.9.11_rc1.ebuild, rbot-9999-r10.ebuild:
Add an ebuild for the first release candidate of the new 0.9.11 rbot. As
the new version is long overdue, I'm not masking it for now, but I am
dropping all the keywords beside the one where I tested it. Note that this
RC does not contain nls support for a problem with packaging. Fixed up the
live ebuild so that it can be re-used for the next RC too.
*rbot-9999-r10 (30 Jun 2008)
30 Jun 2008; Diego Pettenò
-rbot-9999-r9.ebuild, +rbot-9999-r10.ebuild:
Updated live ebuild. Adds USE flags for toilet (figlet replacement) and
hunspell (through ispell-compatibility interface -- use rbot-hunspell if
you want full hunspell support). Configure the path to tools in the global
configuration file rather than editing the plugins themselves. Set to run
/bin/false when the tools are disabled.
*rbot-9999-r9 (23 Jun 2008)
23 Jun 2008; Diego Pettenò
+rbot-9999-r9.ebuild:
Install rbot without rubygems, don't build locale files if they are not
requested, remove mandatory dep over ruby-gettext at both build and
runtime.
23 Jun 2008; Diego Pettenò
Add new flags to IUSE.
23 Jun 2008; Diego Pettenò
rbot-9999-r8.ebuild:
Add a few more USE flags to enable/disable the plugins that use external
commands (and proper dependencies on them).
*rbot-9999-r8 (13 Feb 2008)
13 Feb 2008; Diego Pettenò
+rbot-9999-r8.ebuild:
Revision bump, rbot moved to GIT now rather than Subversion. Drop the
snapshot USE flag as there is no more a progressive number to be used.
28 Dec 2007; Diego Pettenò
Properly disable the time plugin if timezone USE flag is disabled.
*rbot-9999-r7 (27 Dec 2007)
27 Dec 2007; Diego Pettenò
-rbot-9999-r6.ebuild, +rbot-9999-r7.ebuild:
Always depend on ruby-gettext when building the gem, so that the data is
properly added to the gem. Add a dict USE flag for the dictclient plugin,
depending on the new ruby-dict ebuild.
*rbot-9999-r6 (26 Dec 2007)
26 Dec 2007; Diego Pettenò
+rbot-9999-r6.ebuild:
Bump revision to add proper support to nls: depend on ruby-gettext when
enabled and build the locale data.
*rbot-9999-r5 (17 Dec 2007)
17 Dec 2007; Diego Pettenò
-rbot-9999-r4.ebuild, +rbot-9999-r5.ebuild:
Add a new revision with USE flags for shorturl and translator plugins, with
their dependencies added.
23 Nov 2007; Diego Pettenò
Add documentation about the snapshot, timezone and aspell USE flags.
*rbot-9999-r4 (19 Nov 2007)
19 Nov 2007; Diego Pettenò
+rbot-9999-r4.ebuild:
Make the spell USE flag work, add an aspell USE flag and make tzinfo
optional by mean of timezone USE flag. Also allow to disable the languages.
19 Nov 2007; Diego Pettenò
Take maintainership again, and add the live SVN ebuild I had in my overlay.
More development will follow.
19 Mar 2007; Bryan Østergaard
Remove flameeyes from metadata.xml due to retirement.
20 Feb 2007; Raúl Porcel
-rbot-0.9.10.ebuild, rbot-0.9.10-r1.ebuild:
stable x86, remove old
05 Jan 2007; Diego Pettenò
rbot-0.9.10.ebuild, rbot-0.9.10-r1.ebuild:
Convert to use elog.
*rbot-0.9.10-r1 (23 Sep 2006)
23 Sep 2006; Diego Pettenò
+rbot-0.9.10-r1.ebuild:
Add new revision of rbot using the gem now, hopefully fixing bug #134987.
*rbot-0.9.10 (15 Sep 2006)
15 Sep 2006; Diego Pettenò
-rbot-0.9.10_pre20060801.ebuild, +rbot-0.9.10.ebuild:
Version bump.
*rbot-0.9.10_pre20060801 (31 Jul 2006)
31 Jul 2006; Diego Pettenò
+rbot-0.9.10_pre20060801.ebuild:
Snapshot version from current stable branch.
27 May 2006; Diego Pettenò
Add ~x86-fbsd keyword.
*rbot-0.9.9 (02 Jan 2006)
02 Jan 2006; Sven Wegener
Version bump, bug #117402.
06 Oct 2005; Caleb Tennis
Change dep to ruby 1.8
17 Sep 2005; Sven Wegener
Only install html API documentation with USE=doc
07 Jul 2005; Sven Wegener
Removed old ebuild.
03 May 2005; Sven Wegener
rbot-0.9.7.ebuild:
Adjusted dependencies to not pull in dev-ruby/rexml. Instead we depend (by
default) on >=virtual/ruby-1.8 that already includes rexml, but the
combination of =virtual/ruby-1.6* with dev-ruby/shim-ruby18 or
dev-ruby/rexml is also fine. Closes bug #89164.
22 Apr 2005; Sven Wegener
Marked stable on x86.
18 Apr 2005; Jan Brinkmann
added ~amd64 to KEYWORDS, fixes #89165
10 Oct 2004; Jason Wever
Added ~sparc keyword.
*rbot-0.9.7 (17 Jul 2004)
17 Jul 2004; Sven Wegener
+rbot-0.9.7.ebuild:
Version bump. Marked 0.9.6 stable on x86.
29 May 2004; Pieter Van den Abeele
Masked rbot-0.9.6.ebuild testing for ppc
12 Apr 2004; Mamoru KOMACHI
virtual/ruby fix
*rbot-0.9.6 (05 Oct 2003)
05 Oct 2003;
Added new ebuild by Matsuu Takuto
closes bug #27846.
AUX rbot.conf 944 RMD160 1926da2ac328f7a76dacc0ee3690f664a6419cfc SHA1 79c59f667599a92a88363338e12e42b22b574d32 SHA256 89ccc3e036414c2a4b1ba8338408cc9a5b89c3bfae4268a27fb9c6094bcc95f6
AUX rbot.init 1564 RMD160 75a73a12ee0b40fbdaaaf084504a5fe67bbb8770 SHA1 3ed3ba18f82d87d6dbc57c3d7b5f3525b74f9f33 SHA256 6755c99f34b679decace984c63d1c93f1f2d44cd73eab92ad0a225c5add5af57
DIST rbot-0.9.10.gem 387584 RMD160 a29dd55aa894fac89b2cc0a05f694df8c7e1489c SHA1 53c85bf45239fc572fcc6e4d68bb9601a0d5df6e SHA256 3433783e2be481d63072c5ef03dd4f61b09bee0520c306607ad1e0fa46b8a4b5
DIST rbot-0.9.11-rc2.tgz 623806 RMD160 8ff0521699a8170e2bfdcd4afdf2aaa751830e7f SHA1 8ad7e794916988ad30e56f72c96c6778df4e3ddb SHA256 0c26b97df9f79ea57478811fb360d9631b1cfbd22bb75337f1152296c528d1af
EBUILD rbot-0.9.10-r1.ebuild 641 RMD160 d27bacc724b57e685cc112efd8f5dfdf84431c04 SHA1 21cd8238ec956f1d1677db004ba7e85fcdbb8668 SHA256 7495b3782e13fe7ff39b4fd0fa52a6568c88cc3198ff995075251b82afa13597
EBUILD rbot-0.9.11_rc2.ebuild 4699 RMD160 5b93b5c96da5384048ae71d67d35e2f1ea92145d SHA1 05dd49e8b00f414203881cb519abf91669ab93c9 SHA256 54e9513e341614ef74eba6d846bb625519939591849e5aadee5896e0774526a1
EBUILD rbot-9999-r10.ebuild 4668 RMD160 bd829e0c9bd50ef8d3f6a436a16eebf428d6c386 SHA1 33682565f034e238d002b84e85a5cfc5945be289 SHA256 a2c9427e1f3d7f70ed871e7e18e4f235bb2c3a2b4040470e824f269844ec268c
MISC ChangeLog 7231 RMD160 281bd4058c024bfca655e1a9e1eef4a6ced878da SHA1 d4ed309521f876a5c7c5a01afc0114069deb5a8e SHA256 0aa85cb978465de73c931d2f2317332ec47b5086aa942e4e509dec322961f0da
MISC metadata.xml 3059 RMD160 6422e54762960f35af992d79a5bd55a8044a47fa SHA1 01d4124e25c079e813bd3992111b143e2629525d SHA256 a8872b7aab9ba8f8bcb35714d317becb42cd3cf14fc7a8d2b5ec911e72b2f988
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.10-r1.ebuild,v 1.3 2007/02/20 12:19:44 armin76 Exp $
inherit ruby gems
DESCRIPTION="rbot is a ruby IRC bot"
HOMEPAGE="http://www.linuxbrit.co.uk/rbot/"
SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.gem"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86 ~x86-fbsd"
IUSE="spell"
RDEPEND=">=virtual/ruby-1.8
dev-ruby/ruby-bdb"
DEPEND="${RDEPEND}"
pkg_postinst() {
elog
elog "Default configuration file location has changed from /etc/rbot to ~/.rbot"
elog
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-0.9.11_rc2.ebuild,v 1.3 2008/07/25 07:27:42 wormo Exp $
inherit ruby eutils
[[ ${PV} == *"9999" ]] && inherit git
DESCRIPTION="rbot is a ruby IRC bot"
HOMEPAGE="http://ruby-rbot.org/"
LICENSE="GPL-2 as-is"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="spell aspell timezone translator shorturl nls dict figlet
fortune cal host toilet hunspell"
ILINGUAS="zh_CN zh_TW ru nl de fr it ja"
for lang in $ILINGUAS; do
IUSE="${IUSE} linguas_${lang}"
done
RDEPEND=">=virtual/ruby-1.8
dev-ruby/ruby-bdb
timezone? ( dev-ruby/tzinfo )
spell? (
aspell? ( app-text/aspell )
!aspell? (
hunspell? ( app-text/hunspell )
!hunspell? ( app-text/ispell )
)
)
translator? ( dev-ruby/mechanize )
shorturl? ( dev-ruby/shorturl )
nls? ( dev-ruby/ruby-gettext )
dict? ( dev-ruby/ruby-dict )
figlet? ( app-misc/figlet )
toilet? ( app-misc/toilet )
fortune? ( games-misc/fortune-mod )
cal? ( || ( sys-apps/util-linux sys-freebsd/freebsd-ubin ) )
host? ( net-dns/bind-tools )"
DEPEND="
nls? (
dev-ruby/ruby-gettext
dev-ruby/rake
)"
if [[ ${PV} == *"9999" ]]; then
SRC_URI=""
EGIT_REPO_URI="git://ruby-rbot.org/rbot.git"
else
MY_P="${P/_/-}"
S="${WORKDIR}/${P%_*}"
SRC_URI="http://ruby-rbot.org/download/${MY_P}.tgz"
fi
pkg_setup() {
enewuser rbot -1 -1 /var/lib/rbot nobody
}
src_unpack() {
if [[ ${PV} == *"9999" ]]; then
git_src_unpack
cd "${S}"
sed -i -e '/\$version=/s:".\+":"'${PV}'":' bin/rbot \
|| die "Unable to fix rbot script version."
else
unpack ${A}
fi
}
src_compile() {
disable_rbot_plugin() {
mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
}
use_rbot_plugin() {
use $1 && return
disable_rbot_plugin "$2"
}
rbot_conf() {
echo "$1: $2" >> "${T}"/rbot.conf
}
use_rbot_conf_path() {
use "$1" \
&& rbot_conf "$2" "$3" \
|| rbot_conf "$2" /bin/false
}
local spell_program="/usr/bin/ispell"
if use !spell; then
disable_rbot_plugin spell
spell_program="/bin/false"
elif use aspell; then
spell_program="/usr/bin/ispell-aspell"
elif use hunspell; then
spell_program="/usr/bin/hunspell -i"
fi
rbot_conf spell.program "${spell_program}"
if use !figlet && use !toilet; then
disable_rbot_plugin figlet
fi
use_rbot_conf_path figlet figlet.path /usr/bin/figlet
use_rbot_conf_path toilet toilet.path /usr/bin/toilet
use_rbot_plugin timezone time
use_rbot_plugin translator translator
use_rbot_plugin shorturl shortenurls
use_rbot_plugin dict dictclient
use_rbot_plugin fortune fortune
use_rbot_conf_path fortune fortune.path /usr/bin/fortune
use_rbot_plugin cal cal
use_rbot_conf_path cal cal.path /usr/bin/cal
use_rbot_plugin host host
use_rbot_conf_path host host.path /usr/bin/host
local rbot_datadir="${D}"/usr/share/rbot
# This is unfortunately pretty manual at the moment, but it's just
# to avoid having to run special scripts to package new versions
# of rbot. The default if new languages are added that are not
# considered for an opt-out here is to install them, so you just
# need to add them later.
if use nls; then
strip-linguas ${ILINGUAS}
if [[ -n ${LINGUAS} ]]; then
# As the the language name used by the rbot data files does
# not correspond to the ISO codes we usually use for LINGUAS,
# the following list of local varables will work as a
# dictionary to get the name used by rbot from the ISO code.
local lang_rbot_zh_CN="traditional_chinese"
local lang_rbot_ru="russian"
local lang_rbot_nl="dutch"
local lang_rbot_de="german"
local lang_rbot_fr="french"
local lang_rbot_it="italian"
local lang_rbot_ja="japanese"
for lang in ${ILINGUAS}; do
use linguas_${lang} && continue
lang_varname="lang_rbot_${lang}"
lang_rbot=${!lang_varname}
rm -r \
"${S}"/data/rbot/languages/${lang_rbot}.lang \
"${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
"${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
"${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
"${S}"/po/${lang}
done
fi
rake makemo || die "locale generation failed"
fi
ruby_econf || die "ruby_econf failed"
}
src_install() {
${RUBY} setup.rb install --prefix="${D}" \
|| die "setup.rb install failed"
diropts -o rbot -g nobody -m 0700
keepdir /var/lib/rbot
insinto /etc
doins "${T}"/rbot.conf
newinitd "${FILESDIR}/rbot.init" rbot
newconfd "${FILESDIR}/rbot.conf" rbot
}
pkg_postinst() {
einfo
elog "rbot now can be started as a normal service."
elog "Check /etc/conf.d/rbot file for more information about this feature."
einfo
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/rbot/rbot-9999-r10.ebuild,v 1.4 2008/07/14 20:47:04 flameeyes Exp $
inherit ruby eutils
[[ ${PV} == *"9999" ]] && inherit git
DESCRIPTION="rbot is a ruby IRC bot"
HOMEPAGE="http://ruby-rbot.org/"
LICENSE="GPL-2 as-is"
SLOT="0"
KEYWORDS=""
IUSE="spell aspell timezone translator shorturl nls dict figlet
fortune cal host toilet hunspell"
ILINGUAS="zh_CN zh_TW ru nl de fr it ja"
for lang in $ILINGUAS; do
IUSE="${IUSE} linguas_${lang}"
done
RDEPEND=">=virtual/ruby-1.8
dev-ruby/ruby-bdb
timezone? ( dev-ruby/tzinfo )
spell? (
aspell? ( app-text/aspell )
!aspell? (
hunspell? ( app-text/hunspell )
!hunspell? ( app-text/ispell )
)
)
translator? ( dev-ruby/mechanize )
shorturl? ( dev-ruby/shorturl )
nls? ( dev-ruby/ruby-gettext )
dict? ( dev-ruby/ruby-dict )
figlet? ( app-misc/figlet )
toilet? ( app-misc/toilet )
fortune? ( games-misc/fortune-mod )
cal? ( || ( sys-apps/util-linux sys-freebsd/freebsd-ubin ) )
host? ( net-dns/bind-tools )"
DEPEND="
nls? (
dev-ruby/ruby-gettext
dev-ruby/rake
)"
if [[ ${PV} == *"9999" ]]; then
SRC_URI=""
EGIT_REPO_URI="git://ruby-rbot.org/rbot.git"
else
MY_P="${P/_/-}"
S="${WORKDIR}/${P%_*}"
SRC_URI="http://ruby-rbot.org/download/${MY_P}.tgz"
fi
pkg_setup() {
enewuser rbot -1 -1 /var/lib/rbot nobody
}
src_unpack() {
if [[ ${PV} == *"9999" ]]; then
git_src_unpack
cd "${S}"
sed -i -e '/\$version=/s:".\+":"'${PV}'":' bin/rbot \
|| die "Unable to fix rbot script version."
else
unpack ${A}
fi
}
src_compile() {
disable_rbot_plugin() {
mv "${S}"/data/rbot/plugins/$1.rb{,.disabled}
}
use_rbot_plugin() {
use $1 && return
disable_rbot_plugin "$2"
}
rbot_conf() {
echo "$1: $2" >> "${T}"/rbot.conf
}
use_rbot_conf_path() {
use "$1" \
&& rbot_conf "$2" "$3" \
|| rbot_conf "$2" /bin/false
}
local spell_program="/usr/bin/ispell"
if use !spell; then
disable_rbot_plugin spell
spell_program="/bin/false"
elif use aspell; then
spell_program="/usr/bin/ispell-aspell"
elif use hunspell; then
spell_program="/usr/bin/hunspell -i"
fi
rbot_conf spell.program "${spell_program}"
if use !figlet && use !toilet; then
disable_rbot_plugin figlet
fi
use_rbot_conf_path figlet figlet.path /usr/bin/figlet
use_rbot_conf_path toilet toilet.path /usr/bin/toilet
use_rbot_plugin timezone time
use_rbot_plugin translator translator
use_rbot_plugin shorturl shortenurls
use_rbot_plugin dict dictclient
use_rbot_plugin fortune fortune
use_rbot_conf_path fortune fortune.path /usr/bin/fortune
use_rbot_plugin cal cal
use_rbot_conf_path cal cal.path /usr/bin/cal
use_rbot_plugin host host
use_rbot_conf_path host host.path /usr/bin/host
local rbot_datadir="${D}"/usr/share/rbot
# This is unfortunately pretty manual at the moment, but it's just
# to avoid having to run special scripts to package new versions
# of rbot. The default if new languages are added that are not
# considered for an opt-out here is to install them, so you just
# need to add them later.
if use nls; then
strip-linguas ${ILINGUAS}
if [[ -n ${LINGUAS} ]]; then
# As the the language name used by the rbot data files does
# not correspond to the ISO codes we usually use for LINGUAS,
# the following list of local varables will work as a
# dictionary to get the name used by rbot from the ISO code.
local lang_rbot_zh_CN="traditional_chinese"
local lang_rbot_ru="russian"
local lang_rbot_nl="dutch"
local lang_rbot_de="german"
local lang_rbot_fr="french"
local lang_rbot_it="italian"
local lang_rbot_ja="japanese"
for lang in ${ILINGUAS}; do
use linguas_${lang} && continue
lang_varname="lang_rbot_${lang}"
lang_rbot=${!lang_varname}
rm -r \
"${S}"/data/rbot/languages/${lang_rbot}.lang \
"${S}"/data/rbot/templates/lart/larts-${lang_rbot} \
"${S}"/data/rbot/templates/lart/praises-${lang_rbot} \
"${S}"/data/rbot/templates/salut/salut-${lang_rbot} \
"${S}"/po/${lang}
done
fi
rake makemo || die "locale generation failed"
fi
ruby_econf || die "ruby_econf failed"
}
src_install() {
${RUBY} setup.rb install --prefix="${D}" \
|| die "setup.rb install failed"
diropts -o rbot -g nobody -m 0700
keepdir /var/lib/rbot
insinto /etc
doins "${T}"/rbot.conf
newinitd "${FILESDIR}/rbot.init" rbot
newconfd "${FILESDIR}/rbot.conf" rbot
}
pkg_postinst() {
einfo
elog "rbot now can be started as a normal service."
elog "Check /etc/conf.d/rbot file for more information about this feature."
einfo
}