1 |
lordvan 14/02/27 12:19:57 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dbmail-3.1.11.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key ) |
9 |
|
10 |
Revision Changes Path |
11 |
1.58 net-mail/dbmail/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.58&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/dbmail/ChangeLog?rev=1.58&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/dbmail/ChangeLog?r1=1.57&r2=1.58 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v |
20 |
retrieving revision 1.57 |
21 |
retrieving revision 1.58 |
22 |
diff -u -r1.57 -r1.58 |
23 |
--- ChangeLog 24 Feb 2014 00:40:03 -0000 1.57 |
24 |
+++ ChangeLog 27 Feb 2014 12:19:57 -0000 1.58 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-mail/dbmail |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.57 2014/02/24 00:40:03 phajdan.jr Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/ChangeLog,v 1.58 2014/02/27 12:19:57 lordvan Exp $ |
30 |
+ |
31 |
+*dbmail-3.1.11 (27 Feb 2014) |
32 |
+ |
33 |
+ 27 Feb 2014; Thomas Raschbacher <lordvan@g.o> +dbmail-3.1.11.ebuild: |
34 |
+ version bump |
35 |
|
36 |
23 Feb 2014; Pawel Hajdan jr <phajdan.jr@g.o> dbmail-3.1.9.ebuild: |
37 |
x86 stable wrt bug #498954 |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-mail/dbmail/dbmail-3.1.11.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/dbmail/dbmail-3.1.11.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/dbmail/dbmail-3.1.11.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: dbmail-3.1.11.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/dbmail/dbmail-3.1.11.ebuild,v 1.1 2014/02/27 12:19:57 lordvan Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
inherit eutils multilib versionator user |
54 |
|
55 |
DESCRIPTION="DBMail is an open-source project that enables storage of mail messages in a relational database." |
56 |
HOMEPAGE="http://www.dbmail.org/" |
57 |
SRC_URI="http://www.dbmail.org/download/$(get_version_component_range 1-2)/${P}.tar.gz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~x86" |
62 |
IUSE="ldap sieve +sqlite ssl static" |
63 |
|
64 |
DEPEND="dev-db/libzdb |
65 |
sieve? ( >=mail-filter/libsieve-2.2.1 ) |
66 |
ldap? ( >=net-nds/openldap-2.3.33 ) |
67 |
app-text/asciidoc |
68 |
app-text/xmlto |
69 |
app-crypt/mhash |
70 |
sys-libs/zlib |
71 |
>=dev-libs/gmime-2.4.6:2.4 |
72 |
>=dev-libs/glib-2.16 |
73 |
dev-libs/libevent |
74 |
ssl? ( dev-libs/openssl )" |
75 |
#asciidoc and xmlto needed? |
76 |
RDEPEND="${DEPEND}" |
77 |
|
78 |
pkg_setup() { |
79 |
enewgroup dbmail |
80 |
enewuser dbmail -1 -1 /var/lib/dbmail dbmail |
81 |
} |
82 |
|
83 |
src_configure() { |
84 |
local myconf="" |
85 |
use ldap && myconf=${myconf}" --with-auth-ldap" |
86 |
|
87 |
econf \ |
88 |
--sysconfdir=/etc/dbmail \ |
89 |
$(use_enable static) \ |
90 |
$(use_with sieve) \ |
91 |
${myconf} |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
emake || die "emake failed" |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
emake DESTDIR="${D}" install || die "emake install failed" |
100 |
|
101 |
dodoc AUTHORS BUGS ChangeLog README* INSTALL NEWS THANKS UPGRADING |
102 |
|
103 |
dodoc -r sql |
104 |
dodoc -r test-scripts |
105 |
dodoc -r contrib |
106 |
## TODO: install other contrib stuff |
107 |
|
108 |
sed -i -e "s:nobody:dbmail:" dbmail.conf |
109 |
sed -i -e "s:nogroup:dbmail:" dbmail.conf |
110 |
sed -i -e "s:/var/run:/var/run/dbmail:" dbmail.conf |
111 |
#sed -i -e "s:#library_directory:library_directory:" dbmail.conf |
112 |
|
113 |
insinto /etc/dbmail |
114 |
newins dbmail.conf dbmail.conf.dist |
115 |
|
116 |
# change config path to our default and use the conf.d and init.d files from the contrib dir |
117 |
sed -i -e "s:/etc/dbmail.conf:/etc/dbmail/dbmail.conf:" contrib/startup-scripts/gentoo/init.d-dbmail |
118 |
sed -i -e "s:exit 0:return 1:" contrib/startup-scripts/gentoo/init.d-dbmail |
119 |
sed -i -e "s:/var/run:/var/run/dbmail:" contrib/startup-scripts/gentoo/init.d-dbmail |
120 |
newconfd contrib/startup-scripts/gentoo/conf.d-dbmail dbmail |
121 |
newinitd contrib/startup-scripts/gentoo/init.d-dbmail dbmail |
122 |
|
123 |
dobin contrib/mailbox2dbmail/mailbox2dbmail |
124 |
doman contrib/mailbox2dbmail/mailbox2dbmail.1 |
125 |
#doman man/*.{1,5,8} |
126 |
|
127 |
# ldap schema |
128 |
if use ldap; then |
129 |
insinto /etc/openldap/schema |
130 |
doins "${S}/dbmail.schema" |
131 |
fi |
132 |
|
133 |
keepdir /var/lib/dbmail |
134 |
fperms 750 /var/lib/dbmail |
135 |
fowners dbmail:dbmail /var/lib/dbmail |
136 |
keepdir /var/run/dbmail |
137 |
fowners dbmail:dbmail /var/run/dbmail |
138 |
} |
139 |
|
140 |
pkg_postinst() { |
141 |
elog "Please read the INSTALL file in /usr/share/doc/${PF}/" |
142 |
elog "for remaining instructions on setting up dbmail users and " |
143 |
elog "for finishing configuration to connect to your MTA and " |
144 |
elog "to connect to your db." |
145 |
echo |
146 |
elog "DBMail requires either SQLite, PostgreSQL or MySQL." |
147 |
elog "Database schemes can be found in /usr/share/doc/${PF}/" |
148 |
elog "You will also want to follow the installation instructions" |
149 |
elog "on setting up the maintenance program to delete old messages." |
150 |
elog "Don't forget to edit /etc/dbmail/dbmail.conf as well." |
151 |
echo |
152 |
elog "For regular maintenance, add this to crontab:" |
153 |
elog "0 3 * * * /usr/bin/dbmail-util -cpdy >/dev/null 2>&1" |
154 |
echo |
155 |
elog "Please make sure to run etc-update." |
156 |
elog "If you get an error message about plugins not found" |
157 |
elog "please add the library_directory configuration switch to" |
158 |
elog "dbmail.conf and set it to the correct path" |
159 |
elog "(usually /usr/lib/dbmail or /usr/lib64/dbmail on amd64)" |
160 |
elog "A sample can be found in dbmail.conf.dist after etc-update." |
161 |
echo |
162 |
elog "We are now using the init script from upstream." |
163 |
elog "Please edit /etc/conf.d/dbmail to set which services to start" |
164 |
elog "and delete /etc/init.d/dbmail-* when you are done. (don't" |
165 |
elog "forget to rc-update del dbmail-* first)" |
166 |
echo |
167 |
elog "Changed pid directory to /var/run/dbmail (see" |
168 |
elog "http://www.dbmail.org/mantis/view.php?id=949 for details)" |
169 |
echo |
170 |
ewarn "The database config has changed to support libzdb db URI" |
171 |
ewarn "Please check the documentation (or Bug #479664)" |
172 |
echo |
173 |
ewarn "The database schema has changed since 3.0.x make sure" |
174 |
ewarn "to run the migration script" |
175 |
echo |
176 |
} |