diff options
author | Sven Wegener <swegener@gentoo.org> | 2006-08-04 16:51:55 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2006-08-04 16:51:55 +0000 |
commit | 5e26fdb88e8726c97299a488604fc2b0fa7859e1 (patch) | |
tree | eadd9d086ba5d98899f1ab6bb88dfc119e8ddf53 /net-irc/eggdrop | |
parent | Stable on amd64 wrt security Bug #142429. (diff) | |
download | historical-5e26fdb88e8726c97299a488604fc2b0fa7859e1.tar.gz historical-5e26fdb88e8726c97299a488604fc2b0fa7859e1.tar.bz2 historical-5e26fdb88e8726c97299a488604fc2b0fa7859e1.zip |
Revision bump to include new megahal version, bug #140868. Thanks to Pavel Shirov!
Package-Manager: portage-2.1.1_pre4-r2
Diffstat (limited to 'net-irc/eggdrop')
-rw-r--r-- | net-irc/eggdrop/ChangeLog | 9 | ||||
-rw-r--r-- | net-irc/eggdrop/eggdrop-1.6.18-r1.ebuild | 111 | ||||
-rw-r--r-- | net-irc/eggdrop/files/digest-eggdrop-1.6.18-r1 | 6 |
3 files changed, 125 insertions, 1 deletions
diff --git a/net-irc/eggdrop/ChangeLog b/net-irc/eggdrop/ChangeLog index 447b667cf562..55828c70b846 100644 --- a/net-irc/eggdrop/ChangeLog +++ b/net-irc/eggdrop/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-irc/eggdrop # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.49 2006/08/01 21:27:58 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.50 2006/08/04 16:51:54 swegener Exp $ + +*eggdrop-1.6.18-r1 (04 Aug 2006) + + 04 Aug 2006; Sven Wegener <swegener@gentoo.org> -eggdrop-1.6.18.ebuild, + +eggdrop-1.6.18-r1.ebuild: + Revision bump to include new megahal version, bug #140868. Thanks to Pavel + Shirov! *eggdrop-1.6.18 (01 Aug 2006) diff --git a/net-irc/eggdrop/eggdrop-1.6.18-r1.ebuild b/net-irc/eggdrop/eggdrop-1.6.18-r1.ebuild new file mode 100644 index 000000000000..af92ef03816f --- /dev/null +++ b/net-irc/eggdrop/eggdrop-1.6.18-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.18-r1.ebuild,v 1.1 2006/08/04 16:51:54 swegener Exp $ + +inherit eutils + +MY_P="eggdrop${PV}" +PATCHSET_V="1.1" + +DESCRIPTION="An IRC bot extensible with C or Tcl." +HOMEPAGE="http://www.eggheads.org/" +SRC_URI="ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/${MY_P}.tar.bz2 + mirror://gentoo/${P}-patches-${PATCHSET_V}.tar.bz2 + http://dev.gentoo.org/~swegener/distfiles/${P}-patches-${PATCHSET_V}.tar.bz2" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="debug static mysql postgres ssl vanilla" + +DEPEND="dev-lang/tcl + !vanilla? ( + mysql? ( dev-db/mysql ) + postgres? ( dev-db/postgresql ) + ssl? ( dev-libs/openssl ) + )" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + if use vanilla + then + einfo "Excluding patches that install additional modules, this effectively" + einfo "disables the mysql, postgres and ssl USE flags." + echo + rm "${WORKDIR}"/patch/[1-8]*.patch + fi + + EPATCH_SUFFIX="patch" epatch || die "epatch failed" +} + +src_compile() { + local target="" + + use mysql || ( echo mysql ; echo mystats ) >>disabled_modules + use postgres || echo pgstats >>disabled_modules + + econf $(use_with ssl) || die "econf failed" + + make config || die "module config failed" + + if use static && use debug + then + target="sdebug" + elif use static + then + target="static" + elif use debug + then + target="debug" + fi + + emake -j1 ${target} || die "emake ${target} failed" +} + +src_install() { + local a b + make DEST="${D}"/opt/eggdrop install || die "make install failed" + + for a in doc/* + do + [ -f ${a} ] && dodoc ${a} + done + + cd "${S}"/src/mod + for a in *.mod + do + for b in README UPDATES INSTALL TODO CONTENTS + do + [[ -f ${a}/${b} ]] && newdoc ${a}/${b} ${b}.${a} + done + done + + cd "${S}" + + dodoc text/motd.* + + use vanilla || dodoc \ + src/mod/botnetop.mod/botnetop.conf \ + src/mod/gseen.mod/gseen.conf \ + src/mod/mc_greet.mod/mc_greet.conf \ + src/mod/stats.mod/stats.conf \ + src/mod/away.mod/away.doc \ + src/mod/rcon.mod/matchbot.tcl \ + src/mod/mystats.mod/tools/mystats.{conf,sql} \ + src/mod/pgstats.mod/tools/{pgstats.conf,setup.sql} + + dohtml doc/html/*.html + + dobin "${FILESDIR}"/eggdrop-installer + doman doc/man1/eggdrop.1 +} + +pkg_postinst() { + einfo + einfo "NOTE: IPV6 support has been dropped by upstream maintainers." + einfo "Please run /usr/bin/eggdrop-installer to install your eggdrop bot." + einfo +} diff --git a/net-irc/eggdrop/files/digest-eggdrop-1.6.18-r1 b/net-irc/eggdrop/files/digest-eggdrop-1.6.18-r1 new file mode 100644 index 000000000000..b8a551f3bd74 --- /dev/null +++ b/net-irc/eggdrop/files/digest-eggdrop-1.6.18-r1 @@ -0,0 +1,6 @@ +MD5 7345d6615dda7e57405c804b39034db1 eggdrop-1.6.18-patches-1.1.tar.bz2 318020 +RMD160 9bb8cb2de90657b0ff915a05f02bac072102e6af eggdrop-1.6.18-patches-1.1.tar.bz2 318020 +SHA256 b5f3c860a047bf016d32d5db0b7ad4ba5e8b2b9eaec709fff9c6da4d0c1791cd eggdrop-1.6.18-patches-1.1.tar.bz2 318020 +MD5 0cfc13dcc84cd4e9d4a23d23d9429ee7 eggdrop1.6.18.tar.bz2 783676 +RMD160 06480616c23bff2b1209e03b5e25b55818c4b195 eggdrop1.6.18.tar.bz2 783676 +SHA256 e5d0794ee7b819f8c12ff10f521e5cb453fc531ac990867c6bf228f018d38a9e eggdrop1.6.18.tar.bz2 783676 |