1 |
lordvan 07/12/09 21:11:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dbmail-2.2.8_rc1.ebuild |
5 |
Log: |
6 |
added 2.2.8 rc1 |
7 |
(Portage version: 2.1.4_rc9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.17 net-mail/dbmail/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.17&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.17&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/ChangeLog?r1=1.16&r2=1.17 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v |
19 |
retrieving revision 1.16 |
20 |
retrieving revision 1.17 |
21 |
diff -u -r1.16 -r1.17 |
22 |
--- ChangeLog 14 Nov 2007 04:15:17 -0000 1.16 |
23 |
+++ ChangeLog 9 Dec 2007 21:11:35 -0000 1.17 |
24 |
@@ -1,6 +1,12 @@ |
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.16 2007/11/14 04:15:17 beandog Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.17 2007/12/09 21:11:35 lordvan Exp $ |
29 |
+ |
30 |
+*dbmail-2.2.8_rc1 (09 Dec 2007) |
31 |
+ |
32 |
+ 09 Dec 2007; Thomas Raschbacher <lordvan@g.o> |
33 |
+ +dbmail-2.2.8_rc1.ebuild: |
34 |
+ added 2.2.8 rc1 |
35 |
|
36 |
14 Nov 2007; Steve Dibb <beandog@g.o> dbmail-2.2.7.ebuild: |
37 |
amd64 stable, bug 198858 |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-mail/dbmail/dbmail-2.2.8_rc1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.8_rc1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dbmail/dbmail-2.2.8_rc1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: dbmail-2.2.8_rc1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-2.2.8_rc1.ebuild,v 1.1 2007/12/09 21:11:35 lordvan Exp $ |
51 |
|
52 |
inherit eutils |
53 |
|
54 |
MY_P="${P/_/}" # for rcX |
55 |
#MY_P="${P}" # releases |
56 |
DESCRIPTION="A mail storage and retrieval daemon that uses MySQL or PostgreSQL as its data store" |
57 |
HOMEPAGE="http://www.dbmail.org/" |
58 |
SRC_URI="http://www.dbmail.org/download/2.2/${MY_P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~x86" |
63 |
IUSE="ldap mysql postgres sieve sqlite3 ssl static" |
64 |
|
65 |
DEPEND="ssl? ( dev-libs/openssl ) |
66 |
postgres? ( >=dev-db/postgresql-7.4 ) |
67 |
mysql? ( >=virtual/mysql-4.1 ) |
68 |
sqlite3? ( >=dev-db/sqlite-3.0 ) |
69 |
sieve? ( >=mail-filter/libsieve-2.2.1 ) |
70 |
ldap? ( >=net-nds/openldap-2.3.33 ) |
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 |
-- |
154 |
gentoo-commits@g.o mailing list |