Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/rsyslog: ChangeLog rsyslog-3.18.4.ebuild rsyslog-3.21.4.ebuild rsyslog-3.21.3.ebuild rsyslog-3.18.3.ebuild
Date: Mon, 29 Sep 2008 12:03:22
Message-Id: E1KkHTC-0007kO-TI@stork.gentoo.org
1 dev-zero 08/09/29 12:03:18
2
3 Modified: ChangeLog
4 Added: rsyslog-3.18.4.ebuild rsyslog-3.21.4.ebuild
5 Removed: rsyslog-3.21.3.ebuild rsyslog-3.18.3.ebuild
6 Log:
7 Version bump for stable and devel branch (changelog says we don't want 3.18.3 stable, so dropping it)
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc6 x86_64)
9
10 Revision Changes Path
11 1.15 app-admin/rsyslog/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/rsyslog/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/rsyslog/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/rsyslog/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 22 Aug 2008 17:09:17 -0000 1.14
24 +++ ChangeLog 29 Sep 2008 12:03:18 -0000 1.15
25 @@ -1,6 +1,14 @@
26 # ChangeLog for app-admin/rsyslog
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.14 2008/08/22 17:09:17 dev-zero Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/ChangeLog,v 1.15 2008/09/29 12:03:18 dev-zero Exp $
30 +
31 +*rsyslog-3.21.4 (29 Sep 2008)
32 +*rsyslog-3.18.4 (29 Sep 2008)
33 +
34 + 29 Sep 2008; Tiziano Müller <dev-zero@g.o> -rsyslog-3.18.3.ebuild,
35 + +rsyslog-3.18.4.ebuild, -rsyslog-3.21.3.ebuild, +rsyslog-3.21.4.ebuild:
36 + Version bump for stable and devel branch (changelog says we don't want
37 + 3.18.3 stable, so dropping it)
38
39 *rsyslog-3.21.3 (22 Aug 2008)
40 *rsyslog-3.18.3 (22 Aug 2008)
41
42
43
44 1.1 app-admin/rsyslog/rsyslog-3.18.4.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/rsyslog/rsyslog-3.18.4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/rsyslog/rsyslog-3.18.4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: rsyslog-3.18.4.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-3.18.4.ebuild,v 1.1 2008/09/29 12:03:18 dev-zero Exp $
54
55 inherit eutils versionator
56
57 DESCRIPTION="An enhanced multi-threaded syslogd with database support and more."
58 HOMEPAGE="http://www.rsyslog.com/"
59 SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
60 LICENSE="GPL-3 LGPL-3"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="debug kerberos dbi mysql postgres relp snmp zlib"
64
65 DEPEND="kerberos? ( virtual/krb5 )
66 dbi? ( dev-db/libdbi )
67 mysql? ( virtual/mysql )
68 postgres? ( virtual/postgresql-base )
69 relp? ( dev-libs/librelp )
70 snmp? ( net-analyzer/net-snmp )
71 zlib? ( sys-libs/zlib )"
72 RDEPEND="${DEPEND}"
73 PROVIDE="virtual/logger"
74
75 BRANCH="3-stable"
76
77 src_compile() {
78 # Maintainer notes:
79 # * rsyslog-3 doesn't support single threading anymore
80 # * rfc3195 needs a library and development of that library
81 # is suspended
82 econf \
83 --enable-largefile \
84 --enable-regexp \
85 $(use_enable zlib) \
86 $(use_enable kerberos gssapi-krb5) \
87 --enable-pthreads \
88 --enable-klog \
89 --enable-unix \
90 --enable-inet \
91 --enable-fsstnd \
92 $(use_enable debug) \
93 $(use_enable debug rtinst) \
94 $(use_enable debug valgrind) \
95 $(use_enable mysql) \
96 $(use_enable postgres pgsql) \
97 $(use_enable dbi libdbi) \
98 $(use_enable snmp) \
99 --enable-rsyslogd \
100 --enable-mail \
101 $(use_enable relp) \
102 --disable-rfc3195 \
103 --enable-imfile \
104 --disable-imtemplate
105 emake || die "emake failed"
106 }
107
108 src_install() {
109 emake DESTDIR="${D}" install || die "emake install failed"
110
111 insinto /usr/share/doc/${PF}/scripts/mysql
112 doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
113
114 insinto /usr/share/doc/${PF}/scripts/pgsql
115 doins plugins/ompgsql/createDB.sql
116
117 elog "SQL scripts to create the tables for MySQL or PostgreSQL have been installed to:"
118 elog " /usr/share/doc/${PF}/scripts"
119
120 dodoc AUTHORS ChangeLog doc/rsyslog-example.conf
121 dohtml doc/*
122
123 insinto /etc
124 newins "${FILESDIR}/${BRANCH}/rsyslog-gentoo.conf" rsyslog.conf
125
126 insinto /etc/logrotate.d/
127 newins "${FILESDIR}/${BRANCH}/rsyslog.logrotate" rsyslog
128
129 newconfd "${FILESDIR}/${BRANCH}/rsyslog.conf" rsyslog
130 newinitd "${FILESDIR}/${BRANCH}/rsyslog.init" rsyslog
131 }
132
133
134
135 1.1 app-admin/rsyslog/rsyslog-3.21.4.ebuild
136
137 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/rsyslog/rsyslog-3.21.4.ebuild?rev=1.1&view=markup
138 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/rsyslog/rsyslog-3.21.4.ebuild?rev=1.1&content-type=text/plain
139
140 Index: rsyslog-3.21.4.ebuild
141 ===================================================================
142 # Copyright 1999-2008 Gentoo Foundation
143 # Distributed under the terms of the GNU General Public License v2
144 # $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/rsyslog-3.21.4.ebuild,v 1.1 2008/09/29 12:03:18 dev-zero Exp $
145
146 inherit versionator
147
148 DESCRIPTION="An enhanced multi-threaded syslogd with database support and more."
149 HOMEPAGE="http://www.rsyslog.com/"
150 SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
151 LICENSE="GPL-3 LGPL-3"
152 SLOT="0"
153 KEYWORDS="~amd64 ~hppa ~x86"
154 IUSE="debug kerberos dbi gnutls mysql postgres relp snmp zlib"
155
156 DEPEND="kerberos? ( virtual/krb5 )
157 dbi? ( dev-db/libdbi )
158 gnutls? ( net-libs/gnutls )
159 mysql? ( virtual/mysql )
160 postgres? ( virtual/postgresql-base )
161 relp? ( >=dev-libs/librelp-0.1.1 )
162 snmp? ( net-analyzer/net-snmp )
163 zlib? ( sys-libs/zlib )"
164 RDEPEND="${DEPEND}"
165 PROVIDE="virtual/logger"
166
167 BRANCH="3-devel"
168
169 src_compile() {
170 # Maintainer notes:
171 # * rsyslog-3 doesn't support single threading anymore
172 # * rfc3195 needs a library
173 # * OpenSSL detection is present in ./configure but nothing
174 # in the code actually needs it
175 econf \
176 --enable-largefile \
177 --enable-regexp \
178 $(use_enable zlib) \
179 $(use_enable kerberos gssapi-krb5) \
180 --enable-pthreads \
181 --enable-klog \
182 --enable-unix \
183 --enable-inet \
184 --enable-fsstnd \
185 $(use_enable debug) \
186 $(use_enable debug rtinst) \
187 $(use_enable debug valgrind) \
188 $(use_enable debug diagtools) \
189 $(use_enable mysql) \
190 $(use_enable postgres pgsql) \
191 $(use_enable dbi libdbi) \
192 $(use_enable snmp) \
193 $(use_enable gnutls) \
194 --enable-rsyslogrt \
195 --enable-rsyslogd \
196 --enable-mail \
197 $(use_enable debug imdiag) \
198 $(use_enable relp) \
199 --disable-rfc3195 \
200 --enable-imfile \
201 --disable-imtemplate
202 emake || die "emake failed"
203 }
204
205 src_install() {
206 emake DESTDIR="${D}" install || die "emake install failed"
207
208 insinto /usr/share/doc/${PF}/scripts/mysql
209 doins plugins/ommysql/{createDB.sql,contrib/delete_mysql}
210
211 insinto /usr/share/doc/${PF}/scripts/pgsql
212 doins plugins/ompgsql/createDB.sql
213
214 elog "SQL scripts to create the tables for MySQL or PostgreSQL have been installed to:"
215 elog " /usr/share/doc/${PF}/scripts"
216
217 dodoc AUTHORS ChangeLog doc/rsyslog-example.conf
218 dohtml doc/*
219
220 insinto /etc
221 newins "${FILESDIR}/${BRANCH}/rsyslog-gentoo.conf" rsyslog.conf
222
223 insinto /etc/logrotate.d/
224 newins "${FILESDIR}/${BRANCH}/rsyslog.logrotate" rsyslog
225
226 newconfd "${FILESDIR}/${BRANCH}/rsyslog.conf" rsyslog
227 newinitd "${FILESDIR}/${BRANCH}/rsyslog.init" rsyslog
228 }