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