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