1 |
grobian 13/09/30 19:33:08 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: exim-4.82_rc1.ebuild |
5 |
Log: |
6 |
First release candidate for Exim 4.82 with DMARC support |
7 |
|
8 |
(Portage version: 2.2.6/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.15 mail-mta/exim/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/metadata.xml?rev=1.15&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/metadata.xml?rev=1.15&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/metadata.xml?r1=1.14&r2=1.15 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/mail-mta/exim/metadata.xml,v |
20 |
retrieving revision 1.14 |
21 |
retrieving revision 1.15 |
22 |
diff -u -r1.14 -r1.15 |
23 |
--- metadata.xml 22 Jul 2013 19:00:53 -0000 1.14 |
24 |
+++ metadata.xml 30 Sep 2013 19:33:08 -0000 1.15 |
25 |
@@ -26,6 +26,7 @@ |
26 |
authentication</flag> |
27 |
<flag name='dlfunc'>Install local_scan.h header to compile separate |
28 |
dlfunc libraries</flag> |
29 |
+ <flag name='dmarc'>Adds support for DMARC</flag> |
30 |
<flag name='dsn'>Adds support for Delivery Status Notifications |
31 |
(DSN)</flag> |
32 |
<flag name='exiscan-acl'>Patch providing support for content |
33 |
|
34 |
|
35 |
|
36 |
1.259 mail-mta/exim/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/ChangeLog?rev=1.259&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/ChangeLog?rev=1.259&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/ChangeLog?r1=1.258&r2=1.259 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v |
45 |
retrieving revision 1.258 |
46 |
retrieving revision 1.259 |
47 |
diff -u -r1.258 -r1.259 |
48 |
--- ChangeLog 25 Sep 2013 17:23:55 -0000 1.258 |
49 |
+++ ChangeLog 30 Sep 2013 19:33:08 -0000 1.259 |
50 |
@@ -1,6 +1,12 @@ |
51 |
# ChangeLog for mail-mta/exim |
52 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.258 2013/09/25 17:23:55 ago Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.259 2013/09/30 19:33:08 grobian Exp $ |
55 |
+ |
56 |
+*exim-4.82_rc1 (30 Sep 2013) |
57 |
+ |
58 |
+ 30 Sep 2013; Fabian Groffen <grobian@g.o> +exim-4.82_rc1.ebuild, |
59 |
+ +files/exim-4.82-makefile-freebsd.patch, metadata.xml: |
60 |
+ First release candidate for Exim 4.82 with DMARC support |
61 |
|
62 |
25 Sep 2013; Agostino Sarubbo <ago@g.o> exim-4.80.1-r2.ebuild: |
63 |
Stable for ppc, wrt bug #480058 |
64 |
|
65 |
|
66 |
|
67 |
1.1 mail-mta/exim/exim-4.82_rc1.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/exim-4.82_rc1.ebuild?rev=1.1&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-mta/exim/exim-4.82_rc1.ebuild?rev=1.1&content-type=text/plain |
71 |
|
72 |
Index: exim-4.82_rc1.ebuild |
73 |
=================================================================== |
74 |
# Copyright 1999-2013 Gentoo Foundation |
75 |
# Distributed under the terms of the GNU General Public License v2 |
76 |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.82_rc1.ebuild,v 1.1 2013/09/30 19:33:08 grobian Exp $ |
77 |
|
78 |
EAPI="4" |
79 |
|
80 |
inherit eutils toolchain-funcs multilib pam systemd |
81 |
|
82 |
IUSE="tcpd ssl postgres mysql ldap pam exiscan-acl lmtp ipv6 sasl dnsdb perl mbx X nis selinux syslog spf srs gnutls sqlite doc dovecot-sasl radius maildir +dkim dcc dsn dlfunc dmarc" |
83 |
REQUIRED_USE="spf? ( exiscan-acl ) srs? ( exiscan-acl ) dmarc? ( spf dkim )" |
84 |
|
85 |
DSN_EXIM_V=469 |
86 |
DSN_V=1_3 |
87 |
COMM_URI="ftp://ftp.exim.org/pub/exim/exim4$([[ ${PV} == *_rc* ]] && echo /test)" |
88 |
|
89 |
DESCRIPTION="A highly configurable, drop-in replacement for sendmail" |
90 |
SRC_URI="${COMM_URI}/${P//rc/RC}.tar.bz2 |
91 |
mirror://gentoo/system_filter.exim.gz |
92 |
dsn? ( mirror://sourceforge/eximdsn/eximdsn-patch-1.3/exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch ) |
93 |
doc? ( ${COMM_URI}/${PN}-pdf-${PV//rc/RC}.tar.bz2 )" |
94 |
HOMEPAGE="http://www.exim.org/" |
95 |
|
96 |
SLOT="0" |
97 |
LICENSE="GPL-2" |
98 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-solaris" |
99 |
|
100 |
COMMON_DEPEND=">=sys-apps/sed-4.0.5 |
101 |
>=sys-libs/db-3.2 |
102 |
dev-libs/libpcre |
103 |
perl? ( sys-devel/libperl ) |
104 |
pam? ( virtual/pam ) |
105 |
tcpd? ( sys-apps/tcp-wrappers ) |
106 |
ssl? ( dev-libs/openssl ) |
107 |
gnutls? ( net-libs/gnutls |
108 |
dev-libs/libtasn1 ) |
109 |
ldap? ( >=net-nds/openldap-2.0.7 ) |
110 |
mysql? ( virtual/mysql ) |
111 |
postgres? ( dev-db/postgresql-base ) |
112 |
sasl? ( >=dev-libs/cyrus-sasl-2.1.26-r2 ) |
113 |
selinux? ( sec-policy/selinux-exim ) |
114 |
spf? ( >=mail-filter/libspf2-1.2.5-r1 ) |
115 |
dmarc? ( mail-filter/opendmarc ) |
116 |
srs? ( mail-filter/libsrs_alt ) |
117 |
X? ( x11-proto/xproto |
118 |
x11-libs/libX11 |
119 |
x11-libs/libXmu |
120 |
x11-libs/libXt |
121 |
x11-libs/libXaw |
122 |
) |
123 |
sqlite? ( dev-db/sqlite ) |
124 |
radius? ( net-dialup/radiusclient ) |
125 |
virtual/libiconv |
126 |
" |
127 |
# added X check for #57206 |
128 |
DEPEND="${COMMON_DEPEND} |
129 |
virtual/pkgconfig" |
130 |
RDEPEND="${COMMON_DEPEND} |
131 |
!mail-mta/courier |
132 |
!mail-mta/esmtp |
133 |
!mail-mta/mini-qmail |
134 |
!<mail-mta/msmtp-1.4.19-r1 |
135 |
!>=mail-mta/msmtp-1.4.19-r1[mta] |
136 |
!mail-mta/netqmail |
137 |
!mail-mta/nullmailer |
138 |
!mail-mta/postfix |
139 |
!mail-mta/qmail-ldap |
140 |
!mail-mta/sendmail |
141 |
!mail-mta/opensmtpd |
142 |
!<mail-mta/ssmtp-2.64-r2 |
143 |
!>=mail-mta/ssmtp-2.64-r2[mta] |
144 |
!net-mail/mailwrapper |
145 |
>=net-mail/mailbase-0.00-r5 |
146 |
virtual/logger |
147 |
dcc? ( mail-filter/dcc ) |
148 |
" |
149 |
|
150 |
S=${WORKDIR}/${P//rc/RC} |
151 |
|
152 |
src_prepare() { |
153 |
epatch "${FILESDIR}"/exim-4.14-tail.patch |
154 |
epatch "${FILESDIR}"/exim-4.74-localscan_dlopen.patch |
155 |
epatch "${FILESDIR}"/exim-4.69-r1.27021.patch |
156 |
epatch "${FILESDIR}"/exim-4.74-radius-db-ENV-clash.patch # 287426 |
157 |
epatch "${FILESDIR}"/exim-4.82-makefile-freebsd.patch # 235785 |
158 |
epatch "${FILESDIR}"/exim-4.77-as-needed-ldflags.patch # 352265, 391279 |
159 |
epatch "${FILESDIR}"/exim-4.76-crosscompile.patch # 266591 |
160 |
|
161 |
if use maildir ; then |
162 |
epatch "${FILESDIR}"/exim-4.20-maildir.patch |
163 |
else |
164 |
epatch "${FILESDIR}"/exim-4.80-spool-mail-group.patch # 438606 |
165 |
fi |
166 |
|
167 |
if use dsn ; then |
168 |
cp "${DISTDIR}"/exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch . || die |
169 |
epatch "${FILESDIR}"/${PN}-4.76-dsn.patch |
170 |
epatch exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch |
171 |
fi |
172 |
|
173 |
if use ipv6 ; then |
174 |
# set a sensible default, bug #448314 |
175 |
sed -i \ |
176 |
-e '/^hostlist\s\+relay_from_hosts/s/\(127.0.0.1\)/\1 : ::::1/' \ |
177 |
src/configure.default || die |
178 |
fi |
179 |
|
180 |
# user Exim believes it should be |
181 |
MAILUSER=mail |
182 |
MAILGROUP=mail |
183 |
if use prefix && [[ ${EUID} != 0 ]] ; then |
184 |
MAILUSER=$(id -un) |
185 |
MAILGROUP=$(id -gn) |
186 |
fi |
187 |
|
188 |
# input isn't sorted, so don't verify it is (at least with GNU sort) |
189 |
sed -i -e 's/sort -c/sort/' scripts/source_checks || die |
190 |
} |
191 |
|
192 |
src_configure() { |
193 |
local myconf |
194 |
|
195 |
sed -i "/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'${EPREFIX}/etc/mail/aliases'" "${S}"/src/configure.default |
196 |
cp "${S}"/src/configure.default "${S}"/src/configure.default.orig |
197 |
|
198 |
sed -i -e 's/^buildname=.*/buildname=exim-gentoo/g' Makefile |
199 |
|
200 |
sed -e "48i\CFLAGS=${CFLAGS}" \ |
201 |
-e "s:BIN_DIRECTORY=/usr/exim/bin:BIN_DIRECTORY=${EPREFIX}/usr/sbin:" \ |
202 |
-e "s:CONFIGURE_FILE=/usr/exim/configure:CONFIGURE_FILE=${EPREFIX}/etc/exim/exim.conf:" \ |
203 |
-e "s:# INFO_DIRECTORY=/usr/local/info:INFO_DIRECTORY=${EPREFIX}/usr/share/info:" \ |
204 |
-e "s:# LOG_FILE_PATH=/var/log/exim_%slog:LOG_FILE_PATH=${EPREFIX}/var/log/exim/exim_%s.log:" \ |
205 |
-e "s:# PID_FILE_PATH=/var/lock/exim.pid:PID_FILE_PATH=${EPREFIX}/run/exim.pid:" \ |
206 |
-e "s:# SPOOL_DIRECTORY=/var/spool/exim:SPOOL_DIRECTORY=${EPREFIX}/var/spool/exim:" \ |
207 |
-e "s:# SUPPORT_MAILDIR=yes:SUPPORT_MAILDIR=yes:" \ |
208 |
-e "s:# SUPPORT_MAILSTORE=yes:SUPPORT_MAILSTORE=yes:" \ |
209 |
-e "s:EXIM_USER=:EXIM_USER=${MAILUSER}:" \ |
210 |
-e "s:# AUTH_SPA=yes:AUTH_SPA=yes:" \ |
211 |
-e "s:# AUTH_CRAM_MD5=yes:AUTH_CRAM_MD5=yes:" \ |
212 |
-e "s:# AUTH_PLAINTEXT=yes:AUTH_PLAINTEXT=yes:" \ |
213 |
-e "s:# LOOKUP_PASSWD=yes:LOOKUP_PASSWD=yes:" \ |
214 |
-e "s:EXIM_MONITOR=eximon.bin:# EXIM_MONITOR=eximon.bin:" \ |
215 |
-e "s:ZCAT_COMMAND=.*$:ZCAT_COMMAND=${EPREFIX}/bin/zcat:" \ |
216 |
-e "s:COMPRESS_COMMAND=.*$:COMPRESS_COMMAND=${EPREFIX}/bin/gzip:" \ |
217 |
src/EDITME > Local/Makefile |
218 |
|
219 |
cd Local |
220 |
|
221 |
# exiscan-acl is now integrated - enable it when use-flag set |
222 |
if use exiscan-acl; then |
223 |
sed -i "s:# WITH_CONTENT_SCAN=yes:WITH_CONTENT_SCAN=yes:" Makefile |
224 |
sed -i "s:# WITH_OLD_DEMIME=yes:WITH_OLD_DEMIME=yes:" Makefile |
225 |
fi |
226 |
|
227 |
if use spf; then |
228 |
myconf="${myconf} -lspf2" |
229 |
sed -i "s:# EXPERIMENTAL_SPF=yes:EXPERIMENTAL_SPF=yes:" Makefile |
230 |
mycflags="${mycflags} -DEXPERIMENTAL_SPF" |
231 |
fi |
232 |
if use dmarc; then |
233 |
myconf="${myconf} -lopendmarc" |
234 |
sed -i "s:# EXPERIMENTAL_DMARC=yes:EXPERIMENTAL_DMARC=yes:" Makefile |
235 |
mycflags="${mycflags} -DEXPERIMENTAL_DMARC" |
236 |
fi |
237 |
if use srs; then |
238 |
myconf="${myconf} -lsrs_alt" |
239 |
sed -i "s:# EXPERIMENTAL_SRS=yes:EXPERIMENTAL_SRS=yes:" Makefile |
240 |
fi |
241 |
|
242 |
# enable optional exim_monitor support via X use flag bug #46778 |
243 |
if use X; then |
244 |
einfo "Configuring eximon" |
245 |
cp ../exim_monitor/EDITME eximon.conf |
246 |
sed -i "s:# EXIM_MONITOR=eximon.bin:EXIM_MONITOR=eximon.bin:" Makefile |
247 |
fi |
248 |
if use perl; then |
249 |
sed -i "s:# EXIM_PERL=perl.o:EXIM_PERL=perl.o:" Makefile |
250 |
fi |
251 |
# mbox useflag renamed, see bug #110741 |
252 |
if use mbx; then |
253 |
sed -i "s:# SUPPORT_MBX=yes:SUPPORT_MBX=yes:" Makefile |
254 |
fi |
255 |
if use pam; then |
256 |
sed -i "s:# \(SUPPORT_PAM=yes\):\1:" Makefile |
257 |
myconf="${myconf} -lpam" |
258 |
fi |
259 |
if use sasl; then |
260 |
sed -i "s:# CYRUS_SASLAUTHD_SOCKET=${EPREFIX}/var/state/saslauthd/mux:CYRUS_SASLAUTHD_SOCKET=${EPREFIX}/run/saslauthd/mux:" Makefile |
261 |
sed -i "s:# AUTH_CYRUS_SASL=yes:AUTH_CYRUS_SASL=yes:" Makefile |
262 |
myconf="${myconf} -lsasl2" |
263 |
fi |
264 |
if use tcpd; then |
265 |
sed -i "s:# \(USE_TCP_WRAPPERS=yes\):\1:" Makefile |
266 |
myconf="${myconf} -lwrap" |
267 |
fi |
268 |
if use lmtp; then |
269 |
sed -i "s:# TRANSPORT_LMTP=yes:TRANSPORT_LMTP=yes:" Makefile |
270 |
fi |
271 |
if use ipv6; then |
272 |
echo "HAVE_IPV6=YES" >> Makefile |
273 |
# to fix bug #41196 |
274 |
echo "IPV6_USE_INET_PTON=yes" >> Makefile |
275 |
fi |
276 |
if use dovecot-sasl; then |
277 |
sed -i "s:# AUTH_DOVECOT=yes:AUTH_DOVECOT=yes:" Makefile |
278 |
fi |
279 |
if use radius; then |
280 |
myconf="${myconf} -lradiusclient" |
281 |
sed -i "s:# RADIUS_CONFIG_FILE=/etc/radiusclient/radiusclient.conf:RADIUS_CONFIG_FILE=${EPREFIX}/etc/radiusclient/radiusclient.conf:" Makefile |
282 |
sed -i "s:# RADIUS_LIB_TYPE=RADIUSCLIENT$:RADIUS_LIB_TYPE=RADIUSCLIENT:" Makefile |
283 |
fi |
284 |
echo "EXTRALIBS=${myconf}" >> Makefile |
285 |
|
286 |
# make iconv usage explicit |
287 |
echo "HAVE_ICONV=yes" >> Makefile |
288 |
# if we use libiconv, now is the time to tell so |
289 |
use !elibc_glibc && echo "EXTRALIBS_EXIM=-liconv" >> Makefile |
290 |
|
291 |
if use ssl; then |
292 |
echo "SUPPORT_TLS=yes" >> Makefile |
293 |
if use gnutls; then |
294 |
echo "USE_GNUTLS=yes" >> Makefile |
295 |
echo "USE_GNUTLS_PC=gnutls" >> Makefile |
296 |
else |
297 |
echo "USE_OPENSSL_PC=openssl" >> Makefile |
298 |
fi |
299 |
fi |
300 |
|
301 |
LOOKUP_INCLUDE= |
302 |
LOOKUP_LIBS= |
303 |
|
304 |
if use ldap; then |
305 |
sed -i \ |
306 |
-e "s:# \(LOOKUP_LDAP=yes\):\1:" \ |
307 |
-e "s:# \(LDAP_LIB_TYPE=OPENLDAP2\):\1:" Makefile |
308 |
LOOKUP_INCLUDE="-I${EROOT}usr/include/ldap" |
309 |
LOOKUP_LIBS="-lldap -llber" |
310 |
fi |
311 |
|
312 |
if use mysql; then |
313 |
sed -i "s:# LOOKUP_MYSQL=yes:LOOKUP_MYSQL=yes:" Makefile |
314 |
LOOKUP_INCLUDE="$LOOKUP_INCLUDE $(mysql_config --include)" |
315 |
LOOKUP_LIBS="$LOOKUP_LIBS $(mysql_config --libs)" |
316 |
fi |
317 |
|
318 |
if use postgres; then |
319 |
sed -i "s:# LOOKUP_PGSQL=yes:LOOKUP_PGSQL=yes:" Makefile |
320 |
LOOKUP_INCLUDE="$LOOKUP_INCLUDE -I$(pg_config --includedir)" |
321 |
LOOKUP_LIBS="$LOOKUP_LIBS -L$(pg_config --libdir) -lpq" |
322 |
fi |
323 |
|
324 |
if use sqlite; then |
325 |
echo "LOOKUP_SQLITE=yes" >> Makefile |
326 |
echo "LOOKUP_SQLITE_PC=sqlite3" >> Makefile |
327 |
fi |
328 |
|
329 |
if [[ -n ${LOOKUP_INCLUDE} ]]; then |
330 |
sed -i "s:# LOOKUP_INCLUDE=-I /usr/local/ldap/include -I /usr/local/mysql/include -I /usr/local/pgsql/include:LOOKUP_INCLUDE=$LOOKUP_INCLUDE:" \ |
331 |
Makefile |
332 |
fi |
333 |
|
334 |
if [[ -n ${LOOKUP_LIBS} ]]; then |
335 |
sed -i "s:# LOOKUP_LIBS=-L/usr/local/lib -lldap -llber -lmysqlclient -lpq -lgds -lsqlite3:LOOKUP_LIBS=$LOOKUP_LIBS:" \ |
336 |
Makefile |
337 |
fi |
338 |
|
339 |
sed -i "s:# LOOKUP_DSEARCH=yes:LOOKUP_DSEARCH=yes:" Makefile |
340 |
|
341 |
if use dnsdb; then |
342 |
sed -i "s:# LOOKUP_DNSDB=yes:LOOKUP_DNSDB=yes:" Makefile |
343 |
fi |
344 |
sed -i "s:# LOOKUP_CDB=yes:LOOKUP_CDB=yes:" Makefile |
345 |
|
346 |
if use nis; then |
347 |
sed -i -e "s:# LOOKUP_NIS=yes:LOOKUP_NIS=yes:" \ |
348 |
-e "s:# LOOKUP_NISPLUS=yes:LOOKUP_NISPLUS=yes:" Makefile |
349 |
fi |
350 |
if use syslog; then |
351 |
sed -i "s:LOG_FILE_PATH=/var/log/exim/exim_%s.log:LOG_FILE_PATH=syslog:" Makefile |
352 |
fi |
353 |
if ! use dkim; then |
354 |
# DKIM is enabled by default. We have to explicitly disable it. |
355 |
echo "DISABLE_DKIM=yes">> Makefile |
356 |
fi |
357 |
if use dcc; then |
358 |
echo "EXPERIMENTAL_DCC=yes">> Makefile |
359 |
fi |
360 |
if use dsn; then |
361 |
sed -i -e "s:#define SUPPORT_DSN:define SUPPORT_DSN:" Makefile |
362 |
fi |
363 |
if use dlfunc; then |
364 |
sed -i -e "/^# EXPAND_DLFUNC=yes/s/^# //" Makefile |
365 |
fi |
366 |
|
367 |
# use the "native" interface to the DBM library |
368 |
echo "USE_DB=yes" >> Makefile |
369 |
echo "DBMLIB=-ldb" >> Makefile |
370 |
} |
371 |
|
372 |
src_compile() { |
373 |
emake -j1 CC="$(tc-getCC)" HOSTCC="$(tc-getCC $CBUILD)" \ |
374 |
AR="$(tc-getAR) cq" RANLIB="$(tc-getRANLIB)" FULLECHO='' \ |
375 |
|| die "make failed" |
376 |
} |
377 |
|
378 |
src_install () { |
379 |
cd "${S}"/build-exim-gentoo |
380 |
exeinto /usr/sbin |
381 |
doexe exim |
382 |
if use X; then |
383 |
doexe eximon.bin |
384 |
doexe eximon |
385 |
fi |
386 |
fperms 4755 /usr/sbin/exim |
387 |
|
388 |
dodir /usr/bin /usr/sbin /usr/lib |
389 |
|
390 |
dosym exim /usr/sbin/sendmail |
391 |
dosym exim /usr/sbin/rsmtp |
392 |
dosym exim /usr/sbin/rmail |
393 |
dosym /usr/sbin/exim /usr/bin/mailq |
394 |
dosym /usr/sbin/exim /usr/bin/newaliases |
395 |
dosym /usr/sbin/sendmail /usr/lib/sendmail |
396 |
|
397 |
exeinto /usr/sbin |
398 |
for i in exicyclog exim_dbmbuild exim_dumpdb exim_fixdb exim_lock \ |
399 |
exim_tidydb exinext exiwhat exigrep eximstats exiqsumm exiqgrep \ |
400 |
convert4r3 convert4r4 exipick |
401 |
do |
402 |
doexe $i |
403 |
done |
404 |
|
405 |
dodoc "${S}"/doc/* |
406 |
doman "${S}"/doc/exim.8 |
407 |
use dsn && dodoc "${S}"/README.DSN |
408 |
use doc && dodoc "${WORKDIR}"/${PN}-pdf-${PV//rc/RC}/doc/*.pdf |
409 |
|
410 |
# conf files |
411 |
insinto /etc/exim |
412 |
newins "${S}"/src/configure.default.orig exim.conf.dist |
413 |
if use exiscan-acl; then |
414 |
newins "${S}"/src/configure.default exim.conf.exiscan-acl |
415 |
fi |
416 |
doins "${WORKDIR}"/system_filter.exim |
417 |
doins "${FILESDIR}"/auth_conf.sub |
418 |
|
419 |
pamd_mimic system-auth exim auth account |
420 |
|
421 |
# headers, #436406 |
422 |
if use dlfunc ; then |
423 |
# fixup includes so they actually can be found when including |
424 |
sed -i \ |
425 |
-e '/#include "\(config\|store\|mytypes\).h"/s:"\(.\+\)":<exim/\1>:' \ |
426 |
local_scan.h || die |
427 |
insinto /usr/include/exim |
428 |
doins {config,local_scan}.h ../src/{mytypes,store}.h |
429 |
fi |
430 |
|
431 |
insinto /etc/logrotate.d |
432 |
newins "${FILESDIR}/exim.logrotate" exim |
433 |
|
434 |
newinitd "${FILESDIR}"/exim.rc7 exim |
435 |
newconfd "${FILESDIR}"/exim.confd exim |
436 |
|
437 |
systemd_dounit "${FILESDIR}"/{exim.service,exim.socket,exim-submission.socket} |
438 |
systemd_newunit "${FILESDIR}"/exim_at.service 'exim@.service' |
439 |
systemd_newunit "${FILESDIR}"/exim-submission_at.service 'exim-submission@.service' |
440 |
|
441 |
DIROPTIONS="--mode=0750 --owner=${MAILUSER} --group=${MAILGROUP}" |
442 |
dodir /var/log/${PN} |
443 |
} |
444 |
|
445 |
pkg_postinst() { |
446 |
if [[ ! -f ${EROOT}etc/exim/exim.conf ]] ; then |
447 |
einfo "${EROOT}etc/exim/system_filter.exim is a sample system_filter." |
448 |
einfo "${EROOT}etc/exim/auth_conf.sub contains the configuration sub for using smtp auth." |
449 |
einfo "Please create ${EROOT}etc/exim/exim.conf from ${EROOT}etc/exim/exim.conf.dist." |
450 |
fi |
451 |
if use dcc ; then |
452 |
einfo "DCC support is experimental, you can find some limited" |
453 |
einfo "documentation at the bottom of this prerelease message:" |
454 |
einfo "http://article.gmane.org/gmane.mail.exim.devel/3579" |
455 |
fi |
456 |
if use dmarc ; then |
457 |
einfo "DMARC support is experimental. About global settings to configure DMARC" |
458 |
einfo "and usage see documentation at experimental-spec.txt" |
459 |
fi |
460 |
einfo "Exim maintains some db files under its spool directory that need" |
461 |
einfo "cleaning from time to time. (${EROOT}var/spool/exim/db)" |
462 |
einfo "Please use the exim_tidydb tool as documented in the Exim manual:" |
463 |
einfo "http://www.exim.org/exim-html-current/doc/html/spec_html/ch-exim_utilities.html#SECThindatmai" |
464 |
} |