Lines 7-20
Link Here
|
7 |
# Based on amavisd ports makefile. |
7 |
# Based on amavisd ports makefile. |
8 |
|
8 |
|
9 |
PORTNAME= amavisd-new |
9 |
PORTNAME= amavisd-new |
10 |
PORTVERSION= 2.4.5 |
10 |
PORTVERSION= 2.5.0 |
11 |
PORTREVISION= 2 |
|
|
12 |
PORTEPOCH= 1 |
11 |
PORTEPOCH= 1 |
13 |
CATEGORIES= security |
12 |
CATEGORIES= security |
14 |
MASTER_SITES= http://www.ijs.si/software/amavisd/ \ |
13 |
MASTER_SITES= http://www.ijs.si/software/amavisd/ \ |
15 |
http://mirrors.catpipe.net/amavisd-new/ \ |
14 |
http://mirrors.catpipe.net/amavisd-new/ \ |
16 |
http://mirror.mainloop.se/amavisd/ |
15 |
http://mirror.mainloop.se/amavisd/ |
17 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/-p/} |
|
|
18 |
|
16 |
|
19 |
MAINTAINER= gabor@FreeBSD.org |
17 |
MAINTAINER= gabor@FreeBSD.org |
20 |
COMMENT= Performance-enhanced daemonized version of amavis-perl |
18 |
COMMENT= Performance-enhanced daemonized version of amavis-perl |
Lines 23-37
Link Here
|
23 |
|
21 |
|
24 |
|
22 |
|
25 |
|
23 |
|
26 |
|
24 |
|
27 |
|
25 |
|
28 |
|
|
|
29 |
|
26 |
|
30 |
|
27 |
|
31 |
|
28 |
|
32 |
${SITE_PERL}/IO/Wrap.pm:${PORTSDIR}/devel/p5-IO-stringy |
29 |
${SITE_PERL}/IO/Wrap.pm:${PORTSDIR}/devel/p5-IO-stringy |
33 |
${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \ |
30 |
|
34 |
${SITE_PERL}/Net/Server.pm:${PORTSDIR}/net/p5-Net-Server |
31 |
p5-Net-Server>=0.93:${PORTSDIR}/net/p5-Net-Server |
35 |
|
32 |
|
36 |
USE_PERL5_RUN= yes |
33 |
USE_PERL5_RUN= yes |
37 |
GNU_CONFIGURE= yes |
34 |
GNU_CONFIGURE= yes |
Lines 45-52
Link Here
|
45 |
AMAVISQUARANTINE?= /var/virusmails |
42 |
AMAVISQUARANTINE?= /var/virusmails |
46 |
DAEMON?= /usr/sbin/daemon -p |
43 |
DAEMON?= /usr/sbin/daemon -p |
47 |
|
44 |
|
48 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.p.+//} |
|
|
49 |
|
50 |
OPTIONS= BDB "Use BerkeleyDB for nanny/cache/snmp" on \ |
45 |
OPTIONS= BDB "Use BerkeleyDB for nanny/cache/snmp" on \ |
51 |
SQLITE "Use SQLite for lookups" off \ |
46 |
SQLITE "Use SQLite for lookups" off \ |
52 |
MYSQL "Use MySQL for lookups/logging/quarantine" |
47 |
MYSQL "Use MySQL for lookups/logging/quarantine" |
Lines 56-61
Link Here
|
56 |
MILTER "Sendmail milter support" on \ |
51 |
MILTER "Sendmail milter support" on \ |
57 |
SPAMASSASSIN "Use mail/p5-Mail-SpamAssassin" on \ |
52 |
SPAMASSASSIN "Use mail/p5-Mail-SpamAssassin" on \ |
58 |
P0F "Passive operating system fingerprinting" |
53 |
P0F "Passive operating system fingerprinting" |
|
|
54 |
ALTERMIME "Use AlterMime for |
59 |
FILE "Use newer file(1) utility from ports" on \ |
55 |
FILE "Use newer file(1) utility from ports" on \ |
60 |
RAR "RAR support with archivers/rar" off \ |
56 |
RAR "RAR support with archivers/rar" off \ |
61 |
UNRAR "RAR support with archivers/unrar" on \ |
57 |
UNRAR "RAR support with archivers/unrar" on \ |
Lines 70-75
Link Here
|
70 |
UNZOO "ZOO support with archivers/unzoo" off \ |
66 |
UNZOO "ZOO support with archivers/unzoo" off \ |
71 |
LZOP "LZOP support with archivers/lzop" on \ |
67 |
LZOP "LZOP support with archivers/lzop" on \ |
72 |
FREEZE "FREEZE support with archivers/freeze" on \ |
68 |
FREEZE "FREEZE support with archivers/freeze" on \ |
|
|
69 |
P7ZIP "P7ZIP support with archivers/p7zip" on \ |
73 |
TNEF "Add external tnef decoder converters/tnef" |
70 |
TNEF "Add external tnef decoder converters/tnef" |
74 |
|
71 |
|
75 |
SUB_FILES= pkg-install pkg-deinstall pkg-message |
72 |
SUB_FILES= pkg-install pkg-deinstall pkg-message |
Lines 193-198
Link Here
|
193 |
RUN_DEPENDS+= ${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef |
190 |
RUN_DEPENDS+= ${LOCALBASE}/bin/tnef:${PORTSDIR}/converters/tnef |
194 |
.endif |
191 |
.endif |
195 |
|
192 |
|
|
|
193 |
.if defined(WITH_P7ZIP) |
194 |
RUN_DEPENDS+= ${LOCALBASE}/bin/7zr:${PORTSDIR}/archivers/p7zip |
195 |
.endif |
196 |
|
197 |
.if defined(WITH_ALTERMIME) |
198 |
RUN_DEPENDS+= ${LOCALBASE}/bin/altermime:${PORTSDIR}/mail/altermime |
199 |
.endif |
200 |
|
196 |
post-patch: |
201 |
post-patch: |
197 |
.for f in amavisd.conf amavisd.conf-sample amavisd amavisd-agent |
202 |
.for f in amavisd.conf amavisd.conf-sample amavisd amavisd-agent |
198 |
@${REINPLACE_CMD} "s@'zoo'\]@['zoo','unzoo'] ]@" ${WRKSRC}/${f} |
203 |
@${REINPLACE_CMD} "s@'zoo'\]@['zoo','unzoo'] ]@" ${WRKSRC}/${f} |
Lines 238-243
Link Here
|
238 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf |
243 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf |
239 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf-sample |
244 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf-sample |
240 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf-default |
245 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf-default |
|
|
246 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd-custom.conf |
247 |
|
241 |
.if !exists(${PREFIX}/etc/amavisd.conf) |
248 |
.if !exists(${PREFIX}/etc/amavisd.conf) |
242 |
# |
249 |
# |
243 |
# This can contain sensitive information, e.g. SQL passwords, so it |
250 |
# This can contain sensitive information, e.g. SQL passwords, so it |
Lines 245-255
Link Here
|
245 |
# |
252 |
# |
246 |
${INSTALL} -o root -g ${AMAVISGROUP} -m 640 |
253 |
${INSTALL} -o root -g ${AMAVISGROUP} -m 640 |
247 |
.endif |
254 |
.endif |
|
|
255 |
.if !exists(${PREFIX}/etc/amavisd-custom.conf) |
256 |
${INSTALL} -o root -g ${AMAVISGROUP} -m 640 |
257 |
.endif |
248 |
.if !defined(NOPORTDOCS) |
258 |
.if !defined(NOPORTDOCS) |
249 |
@${MKDIR} ${DOCSDIR} |
259 |
@${MKDIR} -p ${DOCSDIR}/images |
250 |
.for i in AAAREADME.first INSTALL LDAP.schema LICENSE RELEASE_NOTES |
260 |
.for i in AAAREADME.first INSTALL LDAP.schema LICENSE RELEASE_NOTES \ |
|
|
261 |
README_FILES/README.* README_FILES/screen.css |
262 |
README_FILES/TODO-SNMP-AGENT |
251 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
263 |
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} |
252 |
.endfor |
264 |
.endfor |
|
|
265 |
@${CP} -pr ${WRKSRC}/README_FILES/images/ ${DOCSDIR}/images |
253 |
.endif |
266 |
.endif |
254 |
|
267 |
|
255 |
post-install: |
268 |
post-install: |