Gentoo Archives: gentoo-commits

From: "Alex Legler (a3li)" <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/eggdrop: ChangeLog eggdrop-1.6.19.ebuild
Date: Sun, 02 Aug 2009 19:27:44
Message-Id: E1MXgiV-0003nD-5T@stork.gentoo.org
1 a3li 09/08/02 19:27:35
2
3 Modified: ChangeLog
4 Added: eggdrop-1.6.19.ebuild
5 Log:
6 Non-maintainer commit: Version bump for security bug 270221. Also closes bump request 222483.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.80 net-irc/eggdrop/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/eggdrop/ChangeLog?rev=1.80&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/eggdrop/ChangeLog?rev=1.80&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/eggdrop/ChangeLog?r1=1.79&r2=1.80
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v
19 retrieving revision 1.79
20 retrieving revision 1.80
21 diff -u -r1.79 -r1.80
22 --- ChangeLog 30 Jul 2009 17:09:31 -0000 1.79
23 +++ ChangeLog 2 Aug 2009 19:27:35 -0000 1.80
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-irc/eggdrop
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.79 2009/07/30 17:09:31 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.80 2009/08/02 19:27:35 a3li Exp $
29 +
30 +*eggdrop-1.6.19 (02 Aug 2009)
31 +
32 + 02 Aug 2009; Alex Legler <a3li@g.o> +eggdrop-1.6.19.ebuild:
33 + Non-maintainer commit: Version bump for security bug 270221. Also closes
34 + bump request 222483.
35
36 30 Jul 2009; Diego E. Pettenò <flameeyes@g.o>
37 eggdrop-1.6.18-r3.ebuild:
38
39
40
41 1.1 net-irc/eggdrop/eggdrop-1.6.19.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.19.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.19.ebuild?rev=1.1&content-type=text/plain
45
46 Index: eggdrop-1.6.19.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.19.ebuild,v 1.1 2009/08/02 19:27:35 a3li Exp $
51
52 inherit eutils
53
54 MY_P="eggdrop${PV}"
55 PATCHSET_V="1.0"
56
57 DESCRIPTION="An IRC bot extensible with C or Tcl."
58 HOMEPAGE="http://www.eggheads.org/"
59 SRC_URI="ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/${MY_P}.tar.bz2
60 mirror://gentoo/${P}-patches-${PATCHSET_V}.tar.bz2"
61 KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86"
62 LICENSE="GPL-2"
63 SLOT="0"
64 IUSE="debug static mysql postgres ssl vanilla"
65
66 DEPEND="dev-lang/tcl
67 !vanilla? (
68 mysql? ( virtual/mysql )
69 postgres? ( virtual/postgresql-server )
70 ssl? ( dev-libs/openssl )
71 )"
72
73 S="${WORKDIR}"/${MY_P}
74
75 src_unpack() {
76 unpack ${A}
77 cd "${S}"
78
79 if use vanilla
80 then
81 elog "Excluding patches, that install additional modules. This effectively"
82 elog "disables the mysql, postgres and ssl USE flags."
83 echo
84 rm -f "${WORKDIR}"/patch/[1-8]*.patch
85 fi
86
87 EPATCH_SUFFIX="patch" epatch || die "epatch failed"
88 }
89
90 src_compile() {
91 local target=""
92
93 use mysql || ( echo mysql ; echo mystats ) >>disabled_modules
94 use postgres || echo pgstats >>disabled_modules
95 use static && ( echo rijndael ; echo twofish ) >>disabled_modules
96
97 econf $(use_with ssl) || die "econf failed"
98
99 make config || die "module config failed"
100
101 if use static && use debug
102 then
103 target="sdebug"
104 elif use static
105 then
106 target="static"
107 elif use debug
108 then
109 target="debug"
110 fi
111
112 emake -j1 ${target} || die "emake ${target} failed"
113 }
114
115 src_install() {
116 local a b
117 emake -j1 DEST="${D}"/opt/eggdrop install || die "make install failed"
118
119 for a in doc/*
120 do
121 [ -f ${a} ] && dodoc ${a}
122 done
123
124 cd "${S}"/src/mod
125 for a in *.mod
126 do
127 for b in README UPDATES INSTALL TODO CONTENTS
128 do
129 [[ -f ${a}/${b} ]] && newdoc ${a}/${b} ${b}.${a}
130 done
131 done
132
133 cd "${S}"
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
155 elog "NOTE: IPV6 support has been dropped by upstream maintainers."
156 elog "Please run /usr/bin/eggdrop-installer to install your eggdrop bot."
157 elog
158 }