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: ChangeLog dbmail-2.2.7_rc2.ebuild dbmail-2.2.7_rc1.ebuild
Date: Sun, 30 Sep 2007 08:30:05
Message-Id: E1Ibu36-0000DI-04@stork.gentoo.org
1 lordvan 07/09/30 08:21:11
2
3 Modified: ChangeLog
4 Added: dbmail-2.2.7_rc2.ebuild dbmail-2.2.7_rc1.ebuild
5 Log:
6 added 2.2.7 rc1 and rc2
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.8 net-mail/dbmail/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 10 Sep 2007 18:14:20 -0000 1.7
23 +++ ChangeLog 30 Sep 2007 08:21:11 -0000 1.8
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-mail/dbmail
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.7 2007/09/10 18:14:20 lordvan Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.8 2007/09/30 08:21:11 lordvan Exp $
29 +
30 +*dbmail-2.2.7_rc2 (30 Sep 2007)
31 +*dbmail-2.2.7_rc1 (30 Sep 2007)
32 +
33 + 30 Sep 2007; Thomas Raschbacher <lordvan@g.o>
34 + +dbmail-2.2.7_rc1.ebuild, +dbmail-2.2.7_rc2.ebuild:
35 + added 2.2.7 rc1 and rc2 ebuilds
36
37 *dbmail-2.2.6_rc2 (10 Sep 2007)
38
39
40
41
42 1.1 net-mail/dbmail/dbmail-2.2.7_rc2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.7_rc2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.7_rc2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dbmail-2.2.7_rc2.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.7_rc2.ebuild,v 1.1 2007/09/30 08:21:11 lordvan Exp $
52
53 inherit eutils
54
55 MY_P="${P/_/-}" # for rcX
56 #MY_P="${P}" # releases
57 DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
58 HOMEPAGE="http://www.dbmail.org/"
59 SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="ldap mysql postgres sieve sqlite3 ssl static"
65
66 DEPEND="ssl? ( dev-libs/openssl )
67 postgres? ( >=dev-db/postgresql-7.4 )
68 mysql? ( >=virtual/mysql-4.1 )
69 sqlite3? ( >=dev-db/sqlite-3.0 )
70 sieve? ( >=mail-filter/libsieve-2.2.1 )
71 app-text/asciidoc
72 app-text/xmlto
73 sys-libs/zlib
74 >=dev-libs/gmime-2.1.18
75 >=dev-libs/glib-2.8"
76
77 S=${WORKDIR}/${P/_/-}
78
79 pkg_setup() {
80 enewgroup dbmail
81 enewuser dbmail -1 -1 /var/lib/dbmail dbmail
82 }
83
84 src_compile() {
85 use sqlite3 && myconf="--with-sqlite"
86 use ldap && myconf=${myconf}" --with-auth-ldap"
87
88 econf \
89 --sysconfdir=/etc/dbmail \
90 ${myconf} \
91 $(use_enable static) \
92 $(use_with sieve) \
93 $(use_with ssl) \
94 $(use_with postgres pgsql) \
95 $(use_with mysql) \
96 || die "econf failed"
97
98 emake || die "emake failed"
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die "emake install failed"
103
104 dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS
105 dodoc sql/mysql/*
106 dodoc sql/postgresql/*
107 dodoc sql/sqlite/*
108
109 cp dbmail.conf.dist dbmail.conf
110 sed -i -e "s:nobody:dbmail:" dbmail.conf
111 sed -i -e "s:nogroup:dbmail:" dbmail.conf
112 #sed -i -e "s:#library_directory:library_directory:" dbmail.conf
113 insinto /etc/dbmail
114 newins dbmail.conf dbmail.conf.dist
115
116 newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd
117 newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd
118 newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d
119 use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved
120
121 dobin contrib/mailbox2dbmail/mailbox2dbmail
122 doman contrib/mailbox2dbmail/mailbox2dbmail.1
123
124 keepdir /var/lib/dbmail
125 fperms 750 /var/lib/dbmail
126
127 }
128
129 pkg_postinst() {
130 elog "Please read /usr/share/doc/${PF}/INSTALL.gz"
131 elog "for remaining instructions on setting up dbmail users and "
132 elog "for finishing configuration to connect to your MTA and "
133 elog "to connect to your db."
134 echo
135 elog "Database schemes can be found in /usr/share/doc/${PF}/"
136 elog "You will also want to follow the installation instructions"
137 elog "on setting up the maintenance program to delete old messages."
138 elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
139 echo
140 elog "For regular maintenance, add this to crontab:"
141 elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
142 echo
143 elog "Please make sure to run etc-update."
144 elog "If you get an error message about plugins not found"
145 elog "please add the library_directory configuration switch to"
146 elog "dbmail.conf and set it to the correct path"
147 elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
148 elog "A sample can be found in dbmail.conf.dist after etc-update."
149 }
150
151
152
153 1.1 net-mail/dbmail/dbmail-2.2.7_rc1.ebuild
154
155 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.7_rc1.ebuild?rev=1.1&view=markup
156 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.7_rc1.ebuild?rev=1.1&content-type=text/plain
157
158 Index: dbmail-2.2.7_rc1.ebuild
159 ===================================================================
160 # Copyright 1999-2007 Gentoo Foundation
161 # Distributed under the terms of the GNU General Public License v2
162 # $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.7_rc1.ebuild,v 1.1 2007/09/30 08:21:11 lordvan Exp $
163
164 inherit eutils
165
166 MY_P="${P/_/-}" # for rcX
167 #MY_P="${P}" # releases
168 DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store"
169 HOMEPAGE="http://www.dbmail.org/"
170 SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz"
171
172 LICENSE="GPL-2"
173 SLOT="0"
174 KEYWORDS="~amd64 ~x86"
175 IUSE="ldap mysql postgres sieve sqlite3 ssl static"
176
177 DEPEND="ssl? ( dev-libs/openssl )
178 postgres? ( >=dev-db/postgresql-7.4 )
179 mysql? ( >=virtual/mysql-4.1 )
180 sqlite3? ( >=dev-db/sqlite-3.0 )
181 sieve? ( >=mail-filter/libsieve-2.2.1 )
182 app-text/asciidoc
183 app-text/xmlto
184 sys-libs/zlib
185 >=dev-libs/gmime-2.1.18
186 >=dev-libs/glib-2.8"
187
188 S=${WORKDIR}/${P/_/-}
189
190 pkg_setup() {
191 enewgroup dbmail
192 enewuser dbmail -1 -1 /var/lib/dbmail dbmail
193 }
194
195 src_compile() {
196 use sqlite3 && myconf="--with-sqlite"
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 "Database schemes can be found in /usr/share/doc/${PF}/"
247 elog "You will also want to follow the installation instructions"
248 elog "on setting up the maintenance program to delete old messages."
249 elog "Don't forget to edit /etc/dbmail/dbmail.conf as well."
250 echo
251 elog "For regular maintenance, add this to crontab:"
252 elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1"
253 echo
254 elog "Please make sure to run etc-update."
255 elog "If you get an error message about plugins not found"
256 elog "please add the library_directory configuration switch to"
257 elog "dbmail.conf and set it to the correct path"
258 elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)"
259 elog "A sample can be found in dbmail.conf.dist after etc-update."
260 }
261
262
263
264 --
265 gentoo-commits@g.o mailing list