Lines 7-13
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.5.0 |
10 |
PORTVERSION= 2.5.1 |
11 |
PORTEPOCH= 1 |
11 |
PORTEPOCH= 1 |
12 |
CATEGORIES= security |
12 |
CATEGORIES= security |
13 |
MASTER_SITES= http://www.ijs.si/software/amavisd/ \ |
13 |
MASTER_SITES= http://www.ijs.si/software/amavisd/ \ |
Lines 22-28
Link Here
|
22 |
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ |
22 |
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 \ |
23 |
${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \ |
23 |
${SITE_PERL}/Convert/TNEF.pm:${PORTSDIR}/converters/p5-Convert-TNEF \ |
24 |
p5-Convert-UUlib>=1.08,1:${PORTSDIR}/converters/p5-Convert-UUlib \ |
24 |
p5-Convert-UUlib>=1.08,1:${PORTSDIR}/converters/p5-Convert-UUlib \ |
25 |
p5-Compress-Zlib>=1.04:${PORTSDIR}/archivers/p5-Compress-Zlib \ |
25 |
p5-Compress-Zlib>=2.04:${PORTSDIR}/archivers/p5-Compress-Zlib \ |
26 |
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \ |
26 |
${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \ |
27 |
${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ |
27 |
${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ |
28 |
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ |
28 |
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ |
Lines 67-73
Link Here
|
67 |
NOMARCH "ARC support with archivers/nomarch" off \ |
67 |
NOMARCH "ARC support with archivers/nomarch" off \ |
68 |
CAB "CAB support with archivers/cabextract" on \ |
68 |
CAB "CAB support with archivers/cabextract" on \ |
69 |
RPM "RPM support with archivers/rpm2cpio" on \ |
69 |
RPM "RPM support with archivers/rpm2cpio" on \ |
70 |
ZOO "ZOO support with archivers/zoo" on \ |
70 |
ZOO "ZOO support with archivers/zoo" off \ |
71 |
UNZOO "ZOO support with archivers/unzoo" off \ |
71 |
UNZOO "ZOO support with archivers/unzoo" off \ |
72 |
LZOP "LZOP support with archivers/lzop" on \ |
72 |
LZOP "LZOP support with archivers/lzop" on \ |
73 |
FREEZE "FREEZE support with archivers/freeze" on \ |
73 |
FREEZE "FREEZE support with archivers/freeze" on \ |
Lines 140-146
Link Here
|
140 |
.endif |
140 |
.endif |
141 |
|
141 |
|
142 |
.if defined(WITH_FILE) |
142 |
.if defined(WITH_FILE) |
143 |
RUN_DEPENDS+= ${LOCALBASE}/bin/file:${PORTSDIR}/sysutils/file |
143 |
# security fix, file > 4.2.1 needed |
|
|
144 |
RUN_DEPENDS+= file>=4.2.1:${PORTSDIR}/sysutils/file |
144 |
.endif |
145 |
.endif |
145 |
|
146 |
|
146 |
.if defined(WITH_RAR) |
147 |
.if defined(WITH_RAR) |
Lines 180-189
Link Here
|
180 |
.endif |
181 |
.endif |
181 |
|
182 |
|
182 |
.if defined(WITH_ZOO) |
183 |
.if defined(WITH_ZOO) |
183 |
RUN_DEPENDS+= ${LOCALBASE}/bin/zoo:${PORTSDIR}/archivers/zoo |
184 |
# DOS condition in 2.10.1_2 |
|
|
185 |
RUN_DEPENDS+= zoo>=2.10.1_3:${PORTSDIR}/archivers/zoo |
184 |
.endif |
186 |
.endif |
185 |
|
187 |
|
186 |
.if defined(WITH_UNZOO) |
188 |
.if defined(WITH_UNZOO) |
|
|
189 |
IGNORE= UNZOO Broken with DOS attack conditions. Not maintained. No patches |
187 |
RUN_DEPENDS+= ${LOCALBASE}/bin/unzoo:${PORTSDIR}/archivers/unzoo |
190 |
RUN_DEPENDS+= ${LOCALBASE}/bin/unzoo:${PORTSDIR}/archivers/unzoo |
188 |
.endif |
191 |
.endif |
189 |
|
192 |
|
Lines 204-212
Link Here
|
204 |
.endif |
207 |
.endif |
205 |
|
208 |
|
206 |
post-patch: |
209 |
post-patch: |
207 |
.for f in amavisd.conf amavisd.conf-sample amavisd amavisd-agent amavisd-nanny amavisd-release |
|
|
208 |
@${REINPLACE_CMD} "s@'zoo'\]@['zoo','unzoo'] ]@" ${WRKSRC}/${f} |
209 |
.endfor |
210 |
.for i in amavisd.conf amavisd.conf-sample |
210 |
.for i in amavisd.conf amavisd.conf-sample |
211 |
@${REINPLACE_CMD} -e "s|$daemon_user = \'vscan\';|$daemon_user = \'${AMAVISUSER}\';|" \ |
211 |
@${REINPLACE_CMD} -e "s|$daemon_user = \'vscan\';|$daemon_user = \'${AMAVISUSER}\';|" \ |
212 |
-e "s|$daemon_group = \'vscan\';|$daemon_group = \'${AMAVISGROUP}\';|" \ |
212 |
-e "s|$daemon_group = \'vscan\';|$daemon_group = \'${AMAVISGROUP}\';|" \ |
Lines 245-250
Link Here
|
245 |
.for i in amavisd amavisd-agent amavisd-nanny amavisd-release |
245 |
.for i in amavisd amavisd-agent amavisd-nanny amavisd-release |
246 |
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/sbin |
246 |
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${PREFIX}/sbin |
247 |
.endfor |
247 |
.endfor |
|
|
248 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd-release ${PREFIX}/sbin/amavisd-requeue |
248 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf ${PREFIX}/etc/amavisd.conf-dist |
249 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf ${PREFIX}/etc/amavisd.conf-dist |
249 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf-sample ${PREFIX}/etc/amavisd.conf-sample |
250 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf-sample ${PREFIX}/etc/amavisd.conf-sample |
250 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf-default ${PREFIX}/etc/amavisd.conf-default |
251 |
${INSTALL_SCRIPT} ${WRKSRC}/amavisd.conf-default ${PREFIX}/etc/amavisd.conf-default |