From: | "Nathan Phillip Brink (binki)" <binki@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-irc/eggdrop: eggdrop-1.6.21.ebuild ChangeLog |
Date: | Sat, 31 Dec 2011 13:41:51 |
Message-Id: | 20111231134141.2BD7E2004B@flycatcher.gentoo.org |
1 | binki 11/12/31 13:41:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: eggdrop-1.6.21.ebuild |
5 | Log: |
6 | Bump to eggdrop-1.6.21 (bug #338211) including fixes for LDFLAGS (bug #335230) and most parallel make issues (bug #295302). Many thanks to Adam (from Anope) for updating the patches tarball and the SSL patch and adding fixes for bug #196337. |
7 | |
8 | (Portage version: 2.2.0_alpha82-r1/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.87 net-irc/eggdrop/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/ChangeLog?rev=1.87&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/ChangeLog?rev=1.87&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/ChangeLog?r1=1.86&r2=1.87 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v |
20 | retrieving revision 1.86 |
21 | retrieving revision 1.87 |
22 | diff -u -r1.86 -r1.87 |
23 | --- ChangeLog 17 Jun 2010 21:52:12 -0000 1.86 |
24 | +++ ChangeLog 31 Dec 2011 13:41:41 -0000 1.87 |
25 | @@ -1,6 +1,14 @@ |
26 | # ChangeLog for net-irc/eggdrop |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.86 2010/06/17 21:52:12 patrick Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.87 2011/12/31 13:41:41 binki Exp $ |
31 | + |
32 | +*eggdrop-1.6.21 (31 Dec 2011) |
33 | + |
34 | + 31 Dec 2011; Nathan Phillip Brink <binki@g.o> +eggdrop-1.6.21.ebuild: |
35 | + Bump to eggdrop-1.6.21 (bug #338211) including fixes for LDFLAGS (bug |
36 | + #335230) and most parallel make issues (bug #295302). Many thanks to Adam |
37 | + (from Anope) for updating the patches tarball and the SSL patch and adding |
38 | + fixes for bug #196337. |
39 | |
40 | 17 Jun 2010; Patrick Lauer <patrick@g.o> eggdrop-1.6.18-r3.ebuild, |
41 | eggdrop-1.6.19.ebuild: |
42 | |
43 | |
44 | |
45 | 1.1 net-irc/eggdrop/eggdrop-1.6.21.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.21.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.21.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: eggdrop-1.6.21.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2011 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.21.ebuild,v 1.1 2011/12/31 13:41:41 binki Exp $ |
55 | |
56 | EAPI=4 |
57 | |
58 | inherit eutils |
59 | |
60 | MY_P="eggdrop${PV}" |
61 | PATCHSET_V="1.0" |
62 | |
63 | DESCRIPTION="An IRC bot extensible with C or TCL" |
64 | HOMEPAGE="http://www.eggheads.org/" |
65 | SRC_URI="ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/${MY_P}.tar.bz2 |
66 | http://dev.gentoo.org/~binki/distfiles/${CATEGORY}/${PN}/${P}-patches-${PATCHSET_V}.tar.bz2" |
67 | |
68 | KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86" |
69 | LICENSE="GPL-2" |
70 | SLOT="0" |
71 | IUSE="debug mysql postgres ssl static vanilla" |
72 | REQUIRED_USE="vanilla? ( !mysql !postgres !ssl )" |
73 | |
74 | DEPEND="dev-lang/tcl |
75 | !vanilla? ( |
76 | mysql? ( virtual/mysql ) |
77 | postgres? ( dev-db/postgresql-server ) |
78 | ssl? ( dev-libs/openssl ) |
79 | )" |
80 | RDEPEND="${DEPEND}" |
81 | |
82 | S=${WORKDIR}/${MY_P} |
83 | |
84 | src_prepare() { |
85 | if use vanilla; then |
86 | rm -f "${WORKDIR}"/patch/[1-6]*.patch || die |
87 | fi |
88 | |
89 | EPATCH_SUFFIX="patch" epatch |
90 | |
91 | # fix bug #335230 |
92 | sed -i \ |
93 | -e '/\$(LD)/s/-o/$(CFLAGS) $(LDFLAGS) &/' \ |
94 | src/mod/*.mod/Makefile* src/Makefile.in || die |
95 | } |
96 | |
97 | src_configure() { |
98 | use mysql || ( echo mysql ; echo mystats ) >>disabled_modules |
99 | use postgres || echo pgstats >>disabled_modules |
100 | use static && ( echo rijndael ; echo twofish ) >>disabled_modules |
101 | |
102 | econf $(use_with ssl) |
103 | |
104 | emake config |
105 | } |
106 | |
107 | src_compile() { |
108 | local target="" |
109 | |
110 | if use static && use debug; then |
111 | target="sdebug" |
112 | elif use static; then |
113 | target="static" |
114 | elif use debug; then |
115 | target="debug" |
116 | fi |
117 | |
118 | emake ${target} |
119 | } |
120 | |
121 | src_install() { |
122 | local a b |
123 | emake DEST="${D}"/opt/eggdrop install |
124 | |
125 | for a in doc/*; do |
126 | [ -f ${a} ] && dodoc ${a} |
127 | done |
128 | |
129 | for a in src/mod/*.mod; do |
130 | for b in README UPDATES INSTALL TODO CONTENTS; do |
131 | [[ -f ${a}/${b} ]] && newdoc ${a}/${b} ${b}.${a##*/} |
132 | done |
133 | done |
134 | |
135 | dodoc text/motd.* |
136 | |
137 | use vanilla || dodoc \ |
138 | src/mod/botnetop.mod/botnetop.conf \ |
139 | src/mod/gseen.mod/gseen.conf \ |
140 | src/mod/mc_greet.mod/mc_greet.conf \ |
141 | src/mod/stats.mod/stats.conf \ |
142 | src/mod/away.mod/away.doc \ |
143 | src/mod/rcon.mod/matchbot.tcl \ |
144 | src/mod/mystats.mod/tools/mystats.{conf,sql} \ |
145 | src/mod/pgstats.mod/tools/{pgstats.conf,setup.sql} |
146 | |
147 | dohtml doc/html/*.html |
148 | |
149 | dobin "${FILESDIR}"/eggdrop-installer |
150 | doman doc/man1/eggdrop.1 |
151 | } |
152 | |
153 | pkg_postinst() { |
154 | elog "Please run /usr/bin/eggdrop-installer to install your eggdrop bot." |
155 | } |