mgorny      14/12/21 12:12:35

  Modified:             ChangeLog
  Added:                eggdrop-1.6.21-r1.ebuild
  Log:
  Revbump to make sure people do not end up with broken eggdrop-installer.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
EFB4464E!)

Revision  Changes    Path
1.95                 net-irc/eggdrop/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/ChangeLog?rev=1.95&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/ChangeLog?rev=1.95&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/ChangeLog?r1=1.94&r2=1.95

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- ChangeLog   21 Dec 2014 12:08:00 -0000      1.94
+++ ChangeLog   21 Dec 2014 12:12:35 -0000      1.95
@@ -1,6 +1,11 @@
 # ChangeLog for net-irc/eggdrop
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.94 2014/12/21 
12:08:00 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.95 2014/12/21 
12:12:35 mgorny Exp $
+
+*eggdrop-1.6.21-r1 (21 Dec 2014)
+
+  21 Dec 2014; Michał Górny <[email protected]> +eggdrop-1.6.21-r1.ebuild:
+  Revbump to make sure people do not end up with broken eggdrop-installer.
 
   21 Dec 2014; Michał Górny <[email protected]> eggdrop-1.6.21.ebuild,
   files/eggdrop-installer:



1.1                  net-irc/eggdrop/eggdrop-1.6.21-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.21-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.21-r1.ebuild?rev=1.1&content-type=text/plain

Index: eggdrop-1.6.21-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.21-r1.ebuild,v 
1.1 2014/12/21 12:12:35 mgorny Exp $

EAPI=4

inherit eutils

MY_P="eggdrop${PV}"
PATCHSET_V="1.0"

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
        
http://dev.gentoo.org/~binki/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCHSET_V}.tar.bz2";

KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
LICENSE="GPL-2"
SLOT="0"
IUSE="debug mysql postgres ssl static vanilla"
REQUIRED_USE="vanilla? ( !mysql !postgres !ssl )"

DEPEND="dev-lang/tcl
        sys-apps/gentoo-functions
        !vanilla? (
                mysql? ( virtual/mysql )
                postgres? ( virtual/postgresql[server] )
                ssl? ( dev-libs/openssl )
        )"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${MY_P}

src_prepare()  {
        if use vanilla; then
                rm -f "${WORKDIR}"/patch/[1-6]*.patch || die
        fi

        EPATCH_SUFFIX="patch" epatch

        # fix bug #335230
        sed -i \
                -e '/\$(LD)/s/-o/$(CFLAGS) $(LDFLAGS) &/' \
                src/mod/*.mod/Makefile* src/Makefile.in || die
}

src_configure() {
        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)

        emake config
}

src_compile() {
        local target=""

        if use static && use debug; then
                target="sdebug"
        elif use static; then
                target="static"
        elif use debug; then
                target="debug"
        fi

        emake ${target}
}

src_install() {
        local a b
        emake DEST="${D}"/opt/eggdrop install

        for a in doc/*; do
                [ -f ${a} ] && dodoc ${a}
        done

        for a in src/mod/*.mod; do
                for b in README UPDATES INSTALL TODO CONTENTS; do
                        [[ -f ${a}/${b} ]] && newdoc ${a}/${b} ${b}.${a##*/}
                done
        done

        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 "Please run /usr/bin/eggdrop-installer to install your eggdrop 
bot."
}




Reply via email to