|
Lines 34-40
Link Here
|
| 34 |
${SITE_PERL}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite \ |
34 |
${SITE_PERL}/OLE/Storage_Lite.pm:${PORTSDIR}/devel/p5-OLE-Storage_Lite \ |
| 35 |
${SITE_PERL}/Sys/SigAction.pm:${PORTSDIR}/devel/p5-Sys-SigAction |
35 |
${SITE_PERL}/Sys/SigAction.pm:${PORTSDIR}/devel/p5-Sys-SigAction |
| 36 |
|
36 |
|
| 37 |
RUN_DEPENDS+= ${BUILD_DEPENDS} \ |
37 |
RUN_DEPENDS:= ${BUILD_DEPENDS} \ |
| 38 |
bash:${PORTSDIR}/shells/bash \ |
38 |
bash:${PORTSDIR}/shells/bash \ |
| 39 |
tnef:${PORTSDIR}/converters/tnef \ |
39 |
tnef:${PORTSDIR}/converters/tnef \ |
| 40 |
wget:${PORTSDIR}/ftp/wget |
40 |
wget:${PORTSDIR}/ftp/wget |
|
Lines 152-170
Link Here
|
| 152 |
${PERL} -pi -e \ |
152 |
${PERL} -pi -e \ |
| 153 |
's,/opt/MailScanner/lib,${PREFIX}/libexec/MailScanner,g; \ |
153 |
's,/opt/MailScanner/lib,${PREFIX}/libexec/MailScanner,g; \ |
| 154 |
s,/bin/false,/usr/bin/false,;' ${WRKSRC}/etc/virus.scanners.conf |
154 |
s,/bin/false,/usr/bin/false,;' ${WRKSRC}/etc/virus.scanners.conf |
| 155 |
${PERL} -pi -e \ |
155 |
${REINPLACE_CMD} \ |
| 156 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
156 |
-e 's,/bin/bash,${LOCALBASE}/bin/bash,g' \ |
| 157 |
s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g; \ |
157 |
-e 's,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g' \ |
| 158 |
s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g;' \ |
158 |
-e 's,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g' \ |
| 159 |
${WRKSRC}/bin/update_virus_scanners |
159 |
${WRKSRC}/bin/update_virus_scanners \ |
| 160 |
${PERL} -pi -e \ |
160 |
${WRKSRC}/bin/cron/update_virus_scanners.cron \ |
| 161 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
|
|
| 162 |
s,/opt/MailScanner/bin,${PREFIX}/libexec/MailScanner,g; \ |
| 163 |
s,%%RC_SUBR%%,/etc/rc.subr,g;' \ |
| 164 |
${WRKSRC}/bin/cron/update_virus_scanners.cron |
| 165 |
${PERL} -pi -e \ |
| 166 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
| 167 |
s,/opt/MailScanner/etc,${PREFIX}/etc/MailScanner,g;' \ |
| 168 |
${WRKSRC}/bin/update_bad_phishing_emails |
161 |
${WRKSRC}/bin/update_bad_phishing_emails |
| 169 |
${PERL} -pi -e \ |
162 |
${PERL} -pi -e \ |
| 170 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
163 |
's,/bin/bash,${LOCALBASE}/bin/bash,g; \ |
|
Lines 229-235
Link Here
|
| 229 |
# Step 1: Install bin files |
222 |
# Step 1: Install bin files |
| 230 |
# |
223 |
# |
| 231 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/MailScanner ${PREFIX}/sbin/mailscanner |
224 |
${INSTALL_SCRIPT} ${WRKSRC}/bin/MailScanner ${PREFIX}/sbin/mailscanner |
| 232 |
${LN} -s ${LOCALBASE}/sbin/mailscanner ${PREFIX}/sbin/MailScanner |
225 |
${LN} -s ${PREFIX}/sbin/mailscanner ${PREFIX}/sbin/MailScanner |
| 233 |
# |
226 |
# |
| 234 |
# Step 2: Install libexec files |
227 |
# Step 2: Install libexec files |
| 235 |
# |
228 |
# |