Lines 7-24
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= exim |
8 |
PORTNAME= exim |
9 |
PORTVERSION= ${EXIM_VERSION} |
9 |
PORTVERSION= ${EXIM_VERSION} |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= mail |
10 |
CATEGORIES= mail |
12 |
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/exim4/ \ |
11 |
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/%SUBDIR%/ \ |
13 |
http://www.exim.org/ftp/exim4/ \ |
12 |
ftp://gd.tuwien.ac.at/infosys/mail/exim/%SUBDIR%/ \ |
14 |
ftp://ftp.is.co.za/networking/mail/transport/exim/exim4/ |
13 |
ftp://ftp.easynet.be/exim/%SUBDIR%/ \ |
15 |
.if !defined(WITHOUT_EXISCAN) |
14 |
ftp://mirror.direct.ca/pub/exim/%SUBDIR%/ \ |
16 |
MASTER_SITES+= http://duncanthrax.net/exiscan/ |
15 |
ftp://mirror.kn.vutbr.cz/pub/ftp.exim.org/%SUBDIR%/ \ |
17 |
.endif |
16 |
ftp://sunsite.auc.dk/pub/mail/exim/%SUBDIR%/ \ |
18 |
DISTFILES= exim-${EXIM_VERSION}.tar.bz2 \ |
17 |
ftp://ftp.doc.cs.univ-paris8.fr/mirrors/ftp.exim.org/%SUBDIR%/ \ |
19 |
exim-texinfo-${EXIM_DOCVERSION}.tar.bz2 |
18 |
ftp://ftp.fu-berlin.de/unix/mail/exim/%SUBDIR%/ \ |
20 |
.if !defined(WITHOUT_EXISCAN) |
19 |
ftp://ftp.tin.org/pub/mail/exim/%SUBDIR%/ \ |
21 |
DISTFILES+= exiscan-${EXISCAN_VERSION}.tar.bz2 |
20 |
ftp://ftp.freenet.de/pub/ftp.csx.cam.ac.uk/pub/software/email/exim/%SUBDIR%/ \ |
|
|
21 |
ftp://ftp.esat.net/pub/networking/mail/mta/exim/%SUBDIR%/ \ |
22 |
ftp://nagoya.linux.or.jp/mirror/exim/%SUBDIR%/ \ |
23 |
http://exim.psshee.com/ftp/%SUBDIR%/ \ |
24 |
ftp://ftp.nl.uu.net/pub/unix/mail/exim/%SUBDIR%/ \ |
25 |
ftp://ftp.demon.nl/pub/mirrors/exim/%SUBDIR%/ \ |
26 |
ftp://ftp.easynet.nl/mirror/exim/%SUBDIR%/ \ |
27 |
ftp://sunsite.uio.no/pub/mail/exim/%SUBDIR%/ \ |
28 |
http://sunsite.icm.edu.pl/pub/unix/mail/exim/%SUBDIR%/ \ |
29 |
ftp://ftp.smux.net/pub/exim/%SUBDIR%/ \ |
30 |
ftp://ftp.is.co.za/networking/mail/mta/exim/%SUBDIR%/ \ |
31 |
ftp://sunsite.cnlab-switch.ch/mirror/exim/%SUBDIR%/ \ |
32 |
ftp://ftp.exim.org/pub/exim/%SUBDIR%/ \ |
33 |
http://www.us.exim.org/ftp/%SUBDIR%/ \ |
34 |
http://exim.stanford.edu/ftp/pub/exim/%SUBDIR%/ \ |
35 |
ftp://ftp.fsckit.net/pub/exim/%SUBDIR%/ \ |
36 |
http://duncanthrax.net/%SUBDIR%/:exiscan,exiscan_acl |
37 |
MASTER_SITE_SUBDIR= exim4 exiscan/:exiscan exiscan-acl/:exiscan_acl |
38 |
DISTFILES= exim-${EXIM_VERSION}${EXTRACT_SUFX} \ |
39 |
exim-texinfo-${EXIM_DOCVERSION}${EXTRACT_SUFX} |
40 |
.if defined(WITH_EXISCAN_ACL) |
41 |
DISTFILES+= exiscan-acl-${EXISCAN_ACL_VERSION}.patch:exiscan_acl |
42 |
.elif !defined(WITHOUT_EXISCAN) |
43 |
DISTFILES+= exiscan-${EXISCAN_VERSION}${EXTRACT_SUFX}:exiscan |
44 |
.endif |
45 |
DIST_SUBDIR= exim |
46 |
|
47 |
EXTRACT_ONLY= exim-${EXIM_VERSION}${EXTRACT_SUFX} \ |
48 |
exim-texinfo-${EXIM_DOCVERSION}${EXTRACT_SUFX} |
49 |
.if !defined(WITH_EXISCAN_ACL) && !defined(WITHOUT_EXISCAN) |
50 |
EXTRACT_ONLY+= exiscan-${EXISCAN_VERSION}${EXTRACT_SUFX} |
22 |
.endif |
51 |
.endif |
23 |
|
52 |
|
24 |
MAINTAINER= sheldonh@FreeBSD.org |
53 |
MAINTAINER= sheldonh@FreeBSD.org |
Lines 28-35
Link Here
|
28 |
USE_PERL5= yes |
57 |
USE_PERL5= yes |
29 |
MAN8= exim.8 |
58 |
MAN8= exim.8 |
30 |
|
59 |
|
31 |
EXIM_VERSION= 4.14 |
60 |
EXIM_VERSION= 4.20 |
32 |
EXIM_DOCVERSION= 4.10 |
61 |
EXIM_DOCVERSION= 4.20 |
|
|
62 |
EXISCAN_ACL_VERSION= ${EXIM_VERSION}-02 |
33 |
EXISCAN_VERSION= ${EXIM_VERSION}-26 |
63 |
EXISCAN_VERSION= ${EXIM_VERSION}-26 |
34 |
|
64 |
|
35 |
PLIST_SUB+= EXIM_VERSION="${EXIM_VERSION}" |
65 |
PLIST_SUB+= EXIM_VERSION="${EXIM_VERSION}" |
Lines 47-54
Link Here
|
47 |
# XFree86 to be installed if it is not present. |
77 |
# XFree86 to be installed if it is not present. |
48 |
#WITH_EXIMON= yes |
78 |
#WITH_EXIMON= yes |
49 |
|
79 |
|
50 |
# If WITHOUT_EXISCAN is defined, exim will be built without exiscan |
80 |
# If WITH_EXISCAN_ACL is defined, exim will be build with the newer |
51 |
# email content scanner support. |
81 |
# exiscan acl support. Otherwise if WITHOUT_EXISCAN is defined, |
|
|
82 |
# exim will be built without exiscan email content scanner support. |
83 |
#WITH_EXISCAN_ACL= yes |
52 |
#WITHOUT_EXISCAN= yes |
84 |
#WITHOUT_EXISCAN= yes |
53 |
|
85 |
|
54 |
# Define WITH_TCP_WRAPPERS, WITH_MYSQL, and WITH_PGSQL to link against |
86 |
# Define WITH_TCP_WRAPPERS, WITH_MYSQL, and WITH_PGSQL to link against |
Lines 121-130
Link Here
|
121 |
PORTDOC_FILES= Exim3.upgrade Exim4.upgrade OptionLists.txt README \ |
153 |
PORTDOC_FILES= Exim3.upgrade Exim4.upgrade OptionLists.txt README \ |
122 |
dbm.discuss.txt filter.txt pcrepattern.txt pcretest.txt \ |
154 |
dbm.discuss.txt filter.txt pcrepattern.txt pcretest.txt \ |
123 |
spec.txt |
155 |
spec.txt |
124 |
.if !defined(WITHOUT_EXISCAN) |
156 |
.if defined(WITH_EXISCAN_ACL) |
|
|
157 |
PORTDOC_FILES+= exiscan-acl-spec.txt |
158 |
PLIST_SUB+= EXISCAN_ACL="" |
159 |
PLIST_SUB+= EXISCAN="@comment " |
160 |
.elif !defined(WITHOUT_EXISCAN) |
125 |
PORTDOC_FILES+= exiscan-readme.txt |
161 |
PORTDOC_FILES+= exiscan-readme.txt |
|
|
162 |
PLIST_SUB+= EXISCAN_ACL="@comment " |
126 |
PLIST_SUB+= EXISCAN="" |
163 |
PLIST_SUB+= EXISCAN="" |
127 |
.else |
164 |
.else |
|
|
165 |
PLIST_SUB+= EXISCAN_ACL="@comment " |
128 |
PLIST_SUB+= EXISCAN="@comment " |
166 |
PLIST_SUB+= EXISCAN="@comment " |
129 |
.endif |
167 |
.endif |
130 |
|
168 |
|
Lines 288-294
Link Here
|
288 |
.endif |
326 |
.endif |
289 |
|
327 |
|
290 |
post-patch: |
328 |
post-patch: |
291 |
.if !defined(WITHOUT_EXISCAN) |
329 |
.if defined(WITH_EXISCAN_ACL) |
|
|
330 |
cd ${WRKSRC} && ${PATCH} -p1 \ |
331 |
< ${DISTDIR}/${DIST_SUBDIR}/exiscan-acl-${EXISCAN_ACL_VERSION}.patch \ |
332 |
> ${WRKDIR}/patch-exiscan-acl.log 2>&1 |
333 |
@${CAT} ${FILESDIR}/POST-INSTALL-NOTES.exiscan-acl \ |
334 |
${FILESDIR}/POST-INSTALL-NOTES > ${WRKDIR}/POST-INSTALL-NOTES |
335 |
.elif !defined(WITHOUT_EXISCAN) |
292 |
cd ${WRKSRC} && ${PATCH} -p1 \ |
336 |
cd ${WRKSRC} && ${PATCH} -p1 \ |
293 |
< ../exiscan-${EXISCAN_VERSION}/exiscan-${EXISCAN_VERSION}.patch \ |
337 |
< ../exiscan-${EXISCAN_VERSION}/exiscan-${EXISCAN_VERSION}.patch \ |
294 |
> ${WRKDIR}/patch-exiscan.log 2>&1 |
338 |
> ${WRKDIR}/patch-exiscan.log 2>&1 |