1 |
lordvan 08/11/06 15:02:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dbmail-2.2.11_rc3.ebuild |
5 |
Log: |
6 |
added 2.2.11-rc3 |
7 |
(Portage version: 2.2_rc6/cvs/Linux 2.6.24-gentoo-r3 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.31 net-mail/dbmail/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.31&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.31&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?r1=1.30&r2=1.31 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v |
19 |
retrieving revision 1.30 |
20 |
retrieving revision 1.31 |
21 |
diff -u -r1.30 -r1.31 |
22 |
--- ChangeLog 11 Oct 2008 23:07:47 -0000 1.30 |
23 |
+++ ChangeLog 6 Nov 2008 15:02:37 -0000 1.31 |
24 |
@@ -1,6 +1,9 @@ |
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.30 2008/10/11 23:07:47 eva Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.31 2008/11/06 15:02:37 lordvan Exp $ |
29 |
+ |
30 |
+ 06 Nov 2008; Thomas Raschbacher <lordvan@g.o> ChangeLog: |
31 |
+ added 2.2.11 rc3 |
32 |
|
33 |
11 Oct 2008; Gilles Dartiguelongue <eva@g.o> dbmail-2.2.7.ebuild, |
34 |
dbmail-2.2.8.ebuild, dbmail-2.2.9.ebuild, dbmail-2.2.10.ebuild, |
35 |
|
36 |
|
37 |
|
38 |
1.1 net-mail/dbmail/dbmail-2.2.11_rc3.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.11_rc3.ebuild?rev=1.1&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.11_rc3.ebuild?rev=1.1&content-type=text/plain |
42 |
|
43 |
Index: dbmail-2.2.11_rc3.ebuild |
44 |
=================================================================== |
45 |
# Copyright 1999-2008 Gentoo Foundation |
46 |
# Distributed under the terms of the GNU General Public License v2 |
47 |
# $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 $ |
48 |
|
49 |
inherit eutils |
50 |
|
51 |
MY_P="${P/_/-}" # for rcX was without the - for versions < 2.2.6 |
52 |
#MY_P="${P}" # releases |
53 |
DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store" |
54 |
HOMEPAGE="http://www.dbmail.org/" |
55 |
SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~amd64 ~x86" |
60 |
IUSE="ldap mysql postgres sieve sqlite3 ssl static" |
61 |
|
62 |
DEPEND="ssl? ( dev-libs/openssl ) |
63 |
postgres? ( >=virtual/postgresql-server-7.4 ) |
64 |
mysql? ( >=virtual/mysql-4.1 ) |
65 |
sqlite3? ( >=dev-db/sqlite-3.0 ) |
66 |
!mysql? ( !postgres? ( !sqlite3? ( >=dev-db/sqlite-3.0 ) ) ) |
67 |
sieve? ( >=mail-filter/libsieve-2.2.1 ) |
68 |
ldap? ( >=net-nds/openldap-2.3.33 ) |
69 |
app-text/asciidoc |
70 |
app-text/xmlto |
71 |
sys-libs/zlib |
72 |
=dev-libs/gmime-2.2* |
73 |
>=dev-libs/glib-2.8" |
74 |
|
75 |
S=${WORKDIR}/${P/_/-} |
76 |
|
77 |
pkg_setup() { |
78 |
enewgroup dbmail |
79 |
enewuser dbmail -1 -1 /var/lib/dbmail dbmail |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
use sqlite3 && myconf="--with-sqlite" |
84 |
use ldap && myconf=${myconf}" --with-auth-ldap" |
85 |
|
86 |
econf \ |
87 |
--sysconfdir=/etc/dbmail \ |
88 |
${myconf} \ |
89 |
$(use_enable static) \ |
90 |
$(use_with sieve) \ |
91 |
$(use_with ssl) \ |
92 |
$(use_with postgres pgsql) \ |
93 |
$(use_with mysql) \ |
94 |
|| die "econf failed" |
95 |
|
96 |
emake || die "emake failed" |
97 |
} |
98 |
|
99 |
src_install() { |
100 |
emake DESTDIR="${D}" install || die "emake install failed" |
101 |
|
102 |
dodoc AUTHORS BUGS UPGRADING ChangeLog README* INSTALL* NEWS THANKS |
103 |
dodoc sql/mysql/* |
104 |
dodoc sql/postgresql/* |
105 |
dodoc sql/sqlite/* |
106 |
|
107 |
cp dbmail.conf.dist dbmail.conf |
108 |
sed -i -e "s:nobody:dbmail:" dbmail.conf |
109 |
sed -i -e "s:nogroup:dbmail:" dbmail.conf |
110 |
#sed -i -e "s:#library_directory:library_directory:" dbmail.conf |
111 |
insinto /etc/dbmail |
112 |
newins dbmail.conf dbmail.conf.dist |
113 |
|
114 |
newinitd "${FILESDIR}"/dbmail-imapd.initd dbmail-imapd |
115 |
newinitd "${FILESDIR}"/dbmail-lmtpd.initd dbmail-lmtpd |
116 |
newinitd "${FILESDIR}"/dbmail-pop3d.initd dbmail-pop3d |
117 |
use sieve && newinitd "${FILESDIR}"/dbmail-timsieved.initd dbmail-timsieved |
118 |
|
119 |
dobin contrib/mailbox2dbmail/mailbox2dbmail |
120 |
doman contrib/mailbox2dbmail/mailbox2dbmail.1 |
121 |
|
122 |
keepdir /var/lib/dbmail |
123 |
fperms 750 /var/lib/dbmail |
124 |
|
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
elog "Please read /usr/share/doc/${PF}/INSTALL.gz" |
129 |
elog "for remaining instructions on setting up dbmail users and " |
130 |
elog "for finishing configuration to connect to your MTA and " |
131 |
elog "to connect to your db." |
132 |
echo |
133 |
elog "DBMail requires either SQLite3, PostgreSQL or MySQL." |
134 |
elog "If none of the use-flags are specified SQLite3 is" |
135 |
elog "used as default. To use another database please" |
136 |
elog "specify the appropriate use-flag and re-emerge dbmail." |
137 |
echo |
138 |
elog "Database schemes can be found in /usr/share/doc/${PF}/" |
139 |
elog "You will also want to follow the installation instructions" |
140 |
elog "on setting up the maintenance program to delete old messages." |
141 |
elog "Don't forget to edit /etc/dbmail/dbmail.conf as well." |
142 |
echo |
143 |
elog "For regular maintenance, add this to crontab:" |
144 |
elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" |
145 |
echo |
146 |
elog "Please make sure to run etc-update." |
147 |
elog "If you get an error message about plugins not found" |
148 |
elog "please add the library_directory configuration switch to" |
149 |
elog "dbmail.conf and set it to the correct path" |
150 |
elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" |
151 |
elog "A sample can be found in dbmail.conf.dist after etc-update." |
152 |
} |