diff options
author | Ned Ludd <solar@gentoo.org> | 2007-07-31 21:55:00 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2007-07-31 21:55:00 +0000 |
commit | 824ba8e2a81fc99537e1429782b394cdcb6bd58b (patch) | |
tree | 1f6b5e70d1c7c2cec9d48cbbb26aad81ca87b411 /net-irc/eggdrop | |
parent | Stable on sparc wrt #186657 (diff) | |
download | gentoo-2-824ba8e2a81fc99537e1429782b394cdcb6bd58b.tar.gz gentoo-2-824ba8e2a81fc99537e1429782b394cdcb6bd58b.tar.bz2 gentoo-2-824ba8e2a81fc99537e1429782b394cdcb6bd58b.zip |
- security bump for bug 179354
(Portage version: 2.1.2.9)
Diffstat (limited to 'net-irc/eggdrop')
-rw-r--r-- | net-irc/eggdrop/ChangeLog | 7 | ||||
-rw-r--r-- | net-irc/eggdrop/eggdrop-1.6.18-r2.ebuild | 112 | ||||
-rw-r--r-- | net-irc/eggdrop/files/digest-eggdrop-1.6.18-r2 | 6 |
3 files changed, 124 insertions, 1 deletions
diff --git a/net-irc/eggdrop/ChangeLog b/net-irc/eggdrop/ChangeLog index b0b08b024447..c565ab193a09 100644 --- a/net-irc/eggdrop/ChangeLog +++ b/net-irc/eggdrop/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-irc/eggdrop # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.61 2007/05/15 16:08:16 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.62 2007/07/31 21:55:00 solar Exp $ + +*eggdrop-1.6.18-r2 (31 Jul 2007) + + 31 Jul 2007; <solar@gentoo.org> +eggdrop-1.6.18-r2.ebuild: + - security bump for bug 179354 15 May 2007; Raúl Porcel <armin76@gentoo.org> -eggdrop-1.6.17.ebuild, -eggdrop-1.6.17-r2.ebuild, eggdrop-1.6.18-r1.ebuild: diff --git a/net-irc/eggdrop/eggdrop-1.6.18-r2.ebuild b/net-irc/eggdrop/eggdrop-1.6.18-r2.ebuild new file mode 100644 index 000000000000..360b7091dcd7 --- /dev/null +++ b/net-irc/eggdrop/eggdrop-1.6.18-r2.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2007 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-r2.ebuild,v 1.1 2007/07/31 21:55:00 solar Exp $ + +inherit eutils + +MY_P="eggdrop${PV}" +PATCHSET_V="1.2" + +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? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + ssl? ( dev-libs/openssl ) + )" + +S="${WORKDIR}"/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + + if use vanilla + then + elog "Excluding patches, that install additional modules. This effectively" + elog "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 + use static && ( echo rijndael ; echo twofish ) >>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() { + elog + elog "NOTE: IPV6 support has been dropped by upstream maintainers." + elog "Please run /usr/bin/eggdrop-installer to install your eggdrop bot." + elog +} diff --git a/net-irc/eggdrop/files/digest-eggdrop-1.6.18-r2 b/net-irc/eggdrop/files/digest-eggdrop-1.6.18-r2 new file mode 100644 index 000000000000..8426a119de4f --- /dev/null +++ b/net-irc/eggdrop/files/digest-eggdrop-1.6.18-r2 @@ -0,0 +1,6 @@ +MD5 2d95353f8209098f5bb24b8831e83e8c eggdrop-1.6.18-patches-1.2.tar.bz2 311643 +RMD160 f669a38087ac2753e02b3f247a1e0e38d0a39d9f eggdrop-1.6.18-patches-1.2.tar.bz2 311643 +SHA256 0d520b0e4c8fb2b5378a2708cb98e71d22b74be5ca6540e3994a33460fae02ca eggdrop-1.6.18-patches-1.2.tar.bz2 311643 +MD5 0cfc13dcc84cd4e9d4a23d23d9429ee7 eggdrop1.6.18.tar.bz2 783676 +RMD160 06480616c23bff2b1209e03b5e25b55818c4b195 eggdrop1.6.18.tar.bz2 783676 +SHA256 e5d0794ee7b819f8c12ff10f521e5cb453fc531ac990867c6bf228f018d38a9e eggdrop1.6.18.tar.bz2 783676 |