1 |
lordvan 08/05/05 17:57:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dbmail-2.2.10.ebuild |
5 |
Log: |
6 |
added 2.2.10 fixes bug #218136. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.27 net-mail/dbmail/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.27&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.27&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?r1=1.26&r2=1.27 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v |
19 |
retrieving revision 1.26 |
20 |
retrieving revision 1.27 |
21 |
diff -u -r1.26 -r1.27 |
22 |
--- ChangeLog 17 Apr 2008 21:45:54 -0000 1.26 |
23 |
+++ ChangeLog 5 May 2008 17:57:11 -0000 1.27 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for net-mail/dbmail |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.26 2008/04/17 21:45:54 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.27 2008/05/05 17:57:11 lordvan Exp $ |
29 |
+ |
30 |
+*dbmail-2.2.10 (05 May 2008) |
31 |
+ |
32 |
+ 05 May 2008; Thomas Raschbacher <lordvan@g.o> |
33 |
+ +dbmail-2.2.10.ebuild: |
34 |
+ added 2.2.10 fixes bug #218136. |
35 |
+ Thanks to svrmarty <svrmarty@×××.net> for pointing this out |
36 |
|
37 |
17 Apr 2008; Markus Meier <maekke@g.o> dbmail-2.2.9.ebuild: |
38 |
amd64/x86 stable, security bug #218154 |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-mail/dbmail/dbmail-2.2.10.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.10.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.10.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dbmail-2.2.10.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 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.10.ebuild,v 1.1 2008/05/05 17:57: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 |
!mysql? ( !postgres? ( !sqlite3? ( >=dev-db/sqlite-3.0 ) ) ) |
71 |
sieve? ( >=mail-filter/libsieve-2.2.1 ) |
72 |
ldap? ( >=net-nds/openldap-2.3.33 ) |
73 |
app-text/asciidoc |
74 |
app-text/xmlto |
75 |
sys-libs/zlib |
76 |
>=dev-libs/gmime-2.1.18 |
77 |
>=dev-libs/glib-2.8" |
78 |
|
79 |
S=${WORKDIR}/${P/_/-} |
80 |
|
81 |
pkg_setup() { |
82 |
enewgroup dbmail |
83 |
enewuser dbmail -1 -1 /var/lib/dbmail dbmail |
84 |
} |
85 |
|
86 |
src_compile() { |
87 |
use sqlite3 && myconf="--with-sqlite" |
88 |
use ldap && myconf=${myconf}" --with-auth-ldap" |
89 |
|
90 |
econf \ |
91 |
--sysconfdir=/etc/dbmail \ |
92 |
${myconf} \ |
93 |
$(use_enable static) \ |
94 |
$(use_with sieve) \ |
95 |
$(use_with ssl) \ |
96 |
$(use_with postgres pgsql) \ |
97 |
$(use_with mysql) \ |
98 |
|| die "econf failed" |
99 |
|
100 |
emake || die "emake failed" |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
emake DESTDIR="${D}" install || die "emake install failed" |
105 |
|
106 |
dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS |
107 |
dodoc sql/mysql/* |
108 |
dodoc sql/postgresql/* |
109 |
dodoc sql/sqlite/* |
110 |
|
111 |
cp dbmail.conf.dist dbmail.conf |
112 |
sed -i -e "s:nobody:dbmail:" dbmail.conf |
113 |
sed -i -e "s:nogroup:dbmail:" dbmail.conf |
114 |
#sed -i -e "s:#library_directory:library_directory:" dbmail.conf |
115 |
insinto /etc/dbmail |
116 |
newins dbmail.conf dbmail.conf.dist |
117 |
|
118 |
newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd |
119 |
newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd |
120 |
newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d |
121 |
use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved |
122 |
|
123 |
dobin contrib/mailbox2dbmail/mailbox2dbmail |
124 |
doman contrib/mailbox2dbmail/mailbox2dbmail.1 |
125 |
|
126 |
keepdir /var/lib/dbmail |
127 |
fperms 750 /var/lib/dbmail |
128 |
|
129 |
} |
130 |
|
131 |
pkg_postinst() { |
132 |
elog "Please read /usr/share/doc/${PF}/INSTALL.gz" |
133 |
elog "for remaining instructions on setting up dbmail users and " |
134 |
elog "for finishing configuration to connect to your MTA and " |
135 |
elog "to connect to your db." |
136 |
echo |
137 |
elog "DBMail requires either SQLite3, PostgreSQL or MySQL." |
138 |
elog "If none of the use-flags are specified SQLite3 is" |
139 |
elog "used as default. To use another database please" |
140 |
elog "specify the appropriate use-flag and re-emerge dbmail." |
141 |
echo |
142 |
elog "Database schemes can be found in /usr/share/doc/${PF}/" |
143 |
elog "You will also want to follow the installation instructions" |
144 |
elog "on setting up the maintenance program to delete old messages." |
145 |
elog "Don't forget to edit /etc/dbmail/dbmail.conf as well." |
146 |
echo |
147 |
elog "For regular maintenance, add this to crontab:" |
148 |
elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" |
149 |
echo |
150 |
elog "Please make sure to run etc-update." |
151 |
elog "If you get an error message about plugins not found" |
152 |
elog "please add the library_directory configuration switch to" |
153 |
elog "dbmail.conf and set it to the correct path" |
154 |
elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" |
155 |
elog "A sample can be found in dbmail.conf.dist after etc-update." |
156 |
} |
157 |
|
158 |
|
159 |
|
160 |
-- |
161 |
gentoo-commits@l.g.o mailing list |