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