Gentoo Archives: gentoo-commits

From: "Thomas Raschbacher (lordvan)" <lordvan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/dbmail: dbmail-2.3.2.ebuild ChangeLog dbmail-2.3.3.ebuild dbmail-2.2.11_rc1.ebuild
Date: Wed, 06 Aug 2008 20:05:36
Message-Id: E1KQpGH-0001zU-6i@stork.gentoo.org
1 lordvan 08/08/06 20:05:33
2
3 Modified: dbmail-2.3.2.ebuild ChangeLog
4 Added: dbmail-2.3.3.ebuild dbmail-2.2.11_rc1.ebuild
5 Log:
6 added 2.2.11_rc1 (bug # 233708) and 2.3.3
7 fixed init script for openrc (bug #225427)
8 fixed download url for 2.3.x
9 (Portage version: 2.2_rc6/cvs/Linux 2.6.24-gentoo-r3 x86_64)
10
11 Revision Changes Path
12 1.7 net-mail/dbmail/dbmail-2.3.2.ebuild
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.3.2.ebuild?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.3.2.ebuild?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.3.2.ebuild?r1=1.6&r2=1.7
17
18 Index: dbmail-2.3.2.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.3.2.ebuild,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- dbmail-2.3.2.ebuild 21 May 2008 18:57:57 -0000 1.6
25 +++ dbmail-2.3.2.ebuild 6 Aug 2008 20:05:32 -0000 1.7
26 @@ -1,6 +1,6 @@
27 # Copyright 1999-2008 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.3.2.ebuild,v 1.6 2008/05/21 18:57:57 dev-zero Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.3.2.ebuild,v 1.7 2008/08/06 20:05:32 lordvan Exp $
31
32 inherit eutils
33
34 @@ -8,11 +8,11 @@
35 #MY_P="${P}" # releases
36 DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
37 HOMEPAGE="http://www.dbmail.org/"
38 -SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz"
39 +SRC_URI="http://www.dbmail.org/download/2.3/${MY_P}.tar.gz"
40
41 LICENSE="GPL-2"
42 SLOT="0"
43 -KEYWORDS="-amd64 -x86"
44 +KEYWORDS="-x86 -amd64"
45 IUSE="ldap mysql postgres sieve sqlite3 ssl static"
46
47 DEPEND="ssl? ( dev-libs/openssl )
48 @@ -106,4 +106,6 @@
49 elog "dbmail.conf and set it to the correct path"
50 elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
51 elog "A sample can be found in dbmail.conf.dist after etc-update."
52 +
53 + ewarn "This is a Development release. use at own risk."
54 }
55
56
57
58 1.29 net-mail/dbmail/ChangeLog
59
60 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.29&view=markup
61 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.29&content-type=text/plain
62 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?r1=1.28&r2=1.29
63
64 Index: ChangeLog
65 ===================================================================
66 RCS file: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v
67 retrieving revision 1.28
68 retrieving revision 1.29
69 diff -u -r1.28 -r1.29
70 --- ChangeLog 21 May 2008 18:57:57 -0000 1.28
71 +++ ChangeLog 6 Aug 2008 20:05:32 -0000 1.29
72 @@ -1,6 +1,17 @@
73 # ChangeLog for net-mail/dbmail
74 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
75 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.28 2008/05/21 18:57:57 dev-zero Exp $
76 +# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.29 2008/08/06 20:05:32 lordvan Exp $
77 +
78 +*dbmail-2.3.3 (06 Aug 2008)
79 +*dbmail-2.2.11_rc1 (06 Aug 2008)
80 +
81 + 06 Aug 2008; Thomas Raschbacher <lordvan@g.o>
82 + files/dbmail-timsieved.initd, +dbmail-2.2.11_rc1.ebuild,
83 + dbmail-2.3.2.ebuild, +dbmail-2.3.3.ebuild:
84 + Added 2.2.11 rc1 (Bug #233708 thanks to svrmarty <svrmarty@×××.net>)
85 + Added 2.3.3 devel release and fixed download url in 2.3.x
86 + Fixed init script (Bug #225427 thanks to Chris Mayo
87 + <mayo@××××××××.uk>)
88
89 21 May 2008; Tiziano Müller <dev-zero@g.o> dbmail-2.2.7.ebuild,
90 dbmail-2.2.8.ebuild, dbmail-2.2.9.ebuild, dbmail-2.2.10.ebuild,
91
92
93
94 1.1 net-mail/dbmail/dbmail-2.3.3.ebuild
95
96 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.3.3.ebuild?rev=1.1&view=markup
97 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.3.3.ebuild?rev=1.1&content-type=text/plain
98
99 Index: dbmail-2.3.3.ebuild
100 ===================================================================
101 # Copyright 1999-2008 Gentoo Foundation
102 # Distributed under the terms of the GNU General Public License v2
103 # $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.3.3.ebuild,v 1.1 2008/08/06 20:05:32 lordvan Exp $
104
105 inherit eutils
106
107 MY_P="${P/_/}" # for rcX
108 #MY_P="${P}" # releases
109 DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
110 HOMEPAGE="http://www.dbmail.org/"
111 SRC_URI="http://www.dbmail.org/download/2.3/${MY_P}.tar.gz"
112
113 LICENSE="GPL-2"
114 SLOT="0"
115 KEYWORDS="-x86 -amd64"
116 IUSE="ldap mysql postgres sieve sqlite3 ssl static"
117
118 DEPEND="ssl? ( dev-libs/openssl )
119 postgres? ( >=virtual/postgresql-server-7.4 )
120 mysql? ( >=virtual/mysql-4.1 )
121 sqlite3? ( >=dev-db/sqlite-3.0 )
122 !mysql? ( !postgres? ( !sqlite3? ( >=dev-db/sqlite-3.0 ) ) )
123 sieve? ( >=mail-filter/libsieve-2.2.1 )
124 ldap? ( >=net-nds/openldap-2.3.33 )
125 app-text/asciidoc
126 app-text/xmlto
127 sys-libs/zlib
128 >=dev-libs/gmime-2.1.18
129 >=dev-libs/glib-2.8
130 >=app-crypt/mhash-0.9.9-r1"
131
132 S=${WORKDIR}/${P/_/-}
133
134 pkg_setup() {
135 enewgroup dbmail
136 enewuser dbmail -1 -1 /var/lib/dbmail dbmail
137 }
138
139 src_compile() {
140 use sqlite3 && myconf="--with-sqlite"
141 use ldap && myconf=${myconf}" --with-auth-ldap"
142
143 econf \
144 --sysconfdir=/etc/dbmail \
145 ${myconf} \
146 $(use_enable static) \
147 $(use_with sieve) \
148 $(use_with ssl) \
149 $(use_with postgres pgsql) \
150 $(use_with mysql) \
151 || die "econf failed"
152
153 emake || die "emake failed"
154 }
155
156 src_install() {
157 emake DESTDIR="${D}" install || die "emake install failed"
158
159 dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS
160 dodoc sql/mysql/*
161 dodoc sql/postgresql/*
162 dodoc sql/sqlite/*
163
164 cp dbmail.conf.dist dbmail.conf
165 sed -i -e "s:nobody:dbmail:" dbmail.conf
166 sed -i -e "s:nogroup:dbmail:" dbmail.conf
167 #sed -i -e "s:#library_directory:library_directory:" dbmail.conf
168 insinto /etc/dbmail
169 newins dbmail.conf dbmail.conf.dist
170
171 newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd
172 newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd
173 newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d
174 use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved
175
176 dobin contrib/mailbox2dbmail/mailbox2dbmail
177 doman contrib/mailbox2dbmail/mailbox2dbmail.1
178
179 keepdir /var/lib/dbmail
180 fperms 750 /var/lib/dbmail
181
182 }
183
184 pkg_postinst() {
185 elog "Please read /usr/share/doc/${PF}/INSTALL.gz"
186 elog "for remaining instructions on setting up dbmail users and "
187 elog "for finishing configuration to connect to your MTA and "
188 elog "to connect to your db."
189 echo
190 elog "DBMail requires either SQLite3, PostgreSQL or MySQL."
191 elog "If none of the use-flags are specified SQLite3 is"
192 elog "used as default. To use another database please"
193 elog "specify the appropriate use-flag and re-emerge dbmail."
194 echo
195 elog "Database schemes can be found in /usr/share/doc/${PF}/"
196 elog "You will also want to follow the installation instructions"
197 elog "on setting up the maintenance program to delete old messages."
198 elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
199 echo
200 elog "For regular maintenance, add this to crontab:"
201 elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
202 echo
203 elog "Please make sure to run etc-update."
204 elog "If you get an error message about plugins not found"
205 elog "please add the library_directory configuration switch to"
206 elog "dbmail.conf and set it to the correct path"
207 elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
208 elog "A sample can be found in dbmail.conf.dist after etc-update."
209
210 ewarn "This is a Development release. use at own risk."
211 }
212
213
214
215 1.1 net-mail/dbmail/dbmail-2.2.11_rc1.ebuild
216
217 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.11_rc1.ebuild?rev=1.1&view=markup
218 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.11_rc1.ebuild?rev=1.1&content-type=text/plain
219
220 Index: dbmail-2.2.11_rc1.ebuild
221 ===================================================================
222 # Copyright 1999-2008 Gentoo Foundation
223 # Distributed under the terms of the GNU General Public License v2
224 # $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.11_rc1.ebuild,v 1.1 2008/08/06 20:05:32 lordvan Exp $
225
226 inherit eutils
227
228 MY_P="${P/_/-}" # for rcX was without the - for versions < 2.2.6
229 #MY_P="${P}" # releases
230 DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
231 HOMEPAGE="http://www.dbmail.org/"
232 SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz"
233
234 LICENSE="GPL-2"
235 SLOT="0"
236 KEYWORDS="~amd64 ~x86"
237 IUSE="ldap mysql postgres sieve sqlite3 ssl static"
238
239 DEPEND="ssl? ( dev-libs/openssl )
240 postgres? ( >=virtual/postgresql-server-7.4 )
241 mysql? ( >=virtual/mysql-4.1 )
242 sqlite3? ( >=dev-db/sqlite-3.0 )
243 !mysql? ( !postgres? ( !sqlite3? ( >=dev-db/sqlite-3.0 ) ) )
244 sieve? ( >=mail-filter/libsieve-2.2.1 )
245 ldap? ( >=net-nds/openldap-2.3.33 )
246 app-text/asciidoc
247 app-text/xmlto
248 sys-libs/zlib
249 >=dev-libs/gmime-2.1.18
250 >=dev-libs/glib-2.8"
251
252 S=${WORKDIR}/${P/_/-}
253
254 pkg_setup() {
255 enewgroup dbmail
256 enewuser dbmail -1 -1 /var/lib/dbmail dbmail
257 }
258
259 src_compile() {
260 use sqlite3 && myconf="--with-sqlite"
261 use ldap && myconf=${myconf}" --with-auth-ldap"
262
263 econf \
264 --sysconfdir=/etc/dbmail \
265 ${myconf} \
266 $(use_enable static) \
267 $(use_with sieve) \
268 $(use_with ssl) \
269 $(use_with postgres pgsql) \
270 $(use_with mysql) \
271 || die "econf failed"
272
273 emake || die "emake failed"
274 }
275
276 src_install() {
277 emake DESTDIR="${D}" install || die "emake install failed"
278
279 dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS
280 dodoc sql/mysql/*
281 dodoc sql/postgresql/*
282 dodoc sql/sqlite/*
283
284 cp dbmail.conf.dist dbmail.conf
285 sed -i -e "s:nobody:dbmail:" dbmail.conf
286 sed -i -e "s:nogroup:dbmail:" dbmail.conf
287 #sed -i -e "s:#library_directory:library_directory:" dbmail.conf
288 insinto /etc/dbmail
289 newins dbmail.conf dbmail.conf.dist
290
291 newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd
292 newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd
293 newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d
294 use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved
295
296 dobin contrib/mailbox2dbmail/mailbox2dbmail
297 doman contrib/mailbox2dbmail/mailbox2dbmail.1
298
299 keepdir /var/lib/dbmail
300 fperms 750 /var/lib/dbmail
301
302 }
303
304 pkg_postinst() {
305 elog "Please read /usr/share/doc/${PF}/INSTALL.gz"
306 elog "for remaining instructions on setting up dbmail users and "
307 elog "for finishing configuration to connect to your MTA and "
308 elog "to connect to your db."
309 echo
310 elog "DBMail requires either SQLite3, PostgreSQL or MySQL."
311 elog "If none of the use-flags are specified SQLite3 is"
312 elog "used as default. To use another database please"
313 elog "specify the appropriate use-flag and re-emerge dbmail."
314 echo
315 elog "Database schemes can be found in /usr/share/doc/${PF}/"
316 elog "You will also want to follow the installation instructions"
317 elog "on setting up the maintenance program to delete old messages."
318 elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
319 echo
320 elog "For regular maintenance, add this to crontab:"
321 elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
322 echo
323 elog "Please make sure to run etc-update."
324 elog "If you get an error message about plugins not found"
325 elog "please add the library_directory configuration switch to"
326 elog "dbmail.conf and set it to the correct path"
327 elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
328 elog "A sample can be found in dbmail.conf.dist after etc-update."
329 }