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