1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

F-Prot Antivirus BSD Mail Servers utilizes the renowned F-Prot Antivirus

scanning engine for primary scan but has in addition to that a system of
system of internal heuristics devised to search for unknown viruses.

Please note that the license explicitly permits that F-Prot Antivirus BSD
Mail Servers be used for evaluation purposes only, without charge for a
period of no more than 60 days.  If you use this software after the 60 day
evaluation period, then you must register and pay a license fee.

WWW: http://www.f-prot.com/

PR:		ports/110107
Submitted by:	Scot W. Hetzel <swhetzel at gmail.com>
This commit is contained in:
Martin Wilke 2007-03-09 10:20:17 +00:00
parent 1df487937d
commit e66a031a4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=186982
7 changed files with 179 additions and 0 deletions

View File

@ -116,6 +116,7 @@
SUBDIR += expiretable
SUBDIR += f-prot
SUBDIR += f-prot-sig
SUBDIR += f-protd
SUBDIR += fakebo
SUBDIR += fakeident
SUBDIR += fakeroot

47
security/f-protd/Makefile Normal file
View File

@ -0,0 +1,47 @@
# New ports collection makefile for: f-protd
# Date created: 8 March 2007
# Whom: Scot W. Hetzel <swhetzel@gmail.com>
#
# $FreeBSD$
#
PORTNAME= f-protd
PORTVERSION= 4.6.7
CATEGORIES= security
MASTER_SITES= http://files.f-prot.com/files/bsd-x86/trial/
DISTNAME= fp-freebsd-ms.trial
MAINTAINER= swhetzel@gmail.com
COMMENT= F-Prot Antivirus for BSD Mail Server
RUN_DEPENDS= ${LOCALBASE}/f-prot/f-prot:${PORTSDIR}/security/f-prot \
${SITE_PERL}/Anomy/Sanitizer/FProt.pm:${PORTSDIR}/mail/anomy-sanitizer
RESTRICTED= Restrictive 60 day evaluation license
WRKSRC= ${WRKDIR}/f-prot
NO_BUILD= yes
USE_RC_SUBR= fprotd.sh fprotd_scanmail.sh
MAN8= f-prot-milter.8 f-prot-qmail.8 f-protd.8 scan-mail.pl.8
ONLY_FOR_ARCHS= i386 amd64
do-install:
${MKDIR} ${PREFIX}/f-prot/backups
${CP} ${WRKSRC}/LICENSE-FPAV ${PREFIX}/f-prot/LICENSE-FPAV.f-protd
${INSTALL_PROGRAM} ${WRKSRC}/f-protd ${PREFIX}/f-prot/
${INSTALL_PROGRAM} ${WRKSRC}/tools/f-prot-milter ${PREFIX}/f-prot/tools/
${INSTALL_PROGRAM} ${WRKSRC}/tools/f-prot-qmail ${PREFIX}/f-prot/tools/
${INSTALL_SCRIPT} ${WRKSRC}/tools/scan-mail.pl ${PREFIX}/f-prot/tools/
.for manpage in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/man_pages/${manpage} ${MANPREFIX}/man/man8/
.endfor
post-install:
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} -Rp ${WRKSRC}/doc_ms/* ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (fp-freebsd-ms.trial.tar.gz) = 506c86cf00c06335c673bec74b95e394
SHA256 (fp-freebsd-ms.trial.tar.gz) = 9fddb783fef6c2050dd3fd309393fcbbe2226cf4035ea1b0727081745145a6f6
SIZE (fp-freebsd-ms.trial.tar.gz) = 7391083

View File

@ -0,0 +1,36 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: fprotd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# fprotd_enable="YES"
#
prefix=%%PREFIX%%
. /etc/rc.subr
name=fprotd
rcvar=`set_rcvar`
start_precmd="fprotd_precmd"
command="${prefix}/f-prot/f-protd"
command_args="> /dev/null 2>&1"
required_files="/etc/f-prot.conf"
load_rc_config ${name}
: ${fprotd_enable=NO}
: ${fprotd_virus_defs=${prefix}/f-prot}
fprotd_precmd()
{
rc_flags="--background --defpath ${fprotd_virus_defs} ${fprotd_flags}"
}
run_rc_command "$1"

View File

@ -0,0 +1,32 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: fprotd_scanmail
# REQUIRE: fprotd
# KEYWORD: shutdown
#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# fprotd_scanmail_enable="YES"
#
prefix=%%PREFIX%%
. /etc/rc.subr
name=fprotd_scanmail
rcvar=`set_rcvar`
pidfile="/var/run/scanmail.pid"
command="${prefix}/f-prot/tools/scan-mail.pl"
command_args="> /dev/null 2>&1"
command_interpreter="/usr/bin/perl"
required_files="/etc/f-prot.conf"
load_rc_config ${name}
: ${fprotd_scanmail_enable=NO}
: ${fprotd_scanmail_flags="--daemon --milter inet:12200@127.0.0.1"}
run_rc_command "$1"

View File

@ -0,0 +1,10 @@
F-Prot Antivirus BSD Mail Servers utilizes the renowned F-Prot Antivirus
scanning engine for primary scan but has in addition to that a system of
system of internal heuristics devised to search for unknown viruses.
Please note that the license explicitly permits that F-Prot Antivirus BSD
Mail Servers be used for evaluation purposes only, without charge for a
period of no more than 60 days. If you use this software after the 60 day
evaluation period, then you must register and pay a license fee.
WWW: http://www.f-prot.com/

View File

@ -0,0 +1,50 @@
f-prot/LICENSE-FPAV.f-protd
f-prot/f-protd
f-prot/tools/f-prot-milter
f-prot/tools/f-prot-qmail
f-prot/tools/scan-mail.pl
%%PORTDOCS%%%%DOCSDIR%%/add_info.html
%%PORTDOCS%%%%DOCSDIR%%/appendix_a.html
%%PORTDOCS%%%%DOCSDIR%%/auto_updt.html
%%PORTDOCS%%%%DOCSDIR%%/comm_scan.html
%%PORTDOCS%%%%DOCSDIR%%/conf_fprotd.html
%%PORTDOCS%%%%DOCSDIR%%/conf_scanmail_bootup.html
%%PORTDOCS%%%%DOCSDIR%%/d_scan_options.html
%%PORTDOCS%%%%DOCSDIR%%/d_startup_options.html
%%PORTDOCS%%%%DOCSDIR%%/daemon_scan.html
%%PORTDOCS%%%%DOCSDIR%%/fprots.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/inf_eicar.gif
%%PORTDOCS%%%%DOCSDIR%%/info_options.html
%%PORTDOCS%%%%DOCSDIR%%/inst_pro.html
%%PORTDOCS%%%%DOCSDIR%%/loc_files.html
%%PORTDOCS%%%%DOCSDIR%%/loglevel.html
%%PORTDOCS%%%%DOCSDIR%%/macro_scanning_options.html
%%PORTDOCS%%%%DOCSDIR%%/mailscanner.html
%%PORTDOCS%%%%DOCSDIR%%/main_feat.html
%%PORTDOCS%%%%DOCSDIR%%/man_updt.html
%%PORTDOCS%%%%DOCSDIR%%/milter_scan.html
%%PORTDOCS%%%%DOCSDIR%%/notusing_fprot.so.gif
%%PORTDOCS%%%%DOCSDIR%%/per_scan.html
%%PORTDOCS%%%%DOCSDIR%%/postfix_scan.html
%%PORTDOCS%%%%DOCSDIR%%/prot_samba.html
%%PORTDOCS%%%%DOCSDIR%%/qmail_scan.html
%%PORTDOCS%%%%DOCSDIR%%/reporting_options.html
%%PORTDOCS%%%%DOCSDIR%%/scan_with_mailscanner.html
%%PORTDOCS%%%%DOCSDIR%%/scanning_options.html
%%PORTDOCS%%%%DOCSDIR%%/screenshot.jpg
%%PORTDOCS%%%%DOCSDIR%%/sys_req.html
%%PORTDOCS%%%%DOCSDIR%%/test_eicar.html
%%PORTDOCS%%%%DOCSDIR%%/test_inst.html
%%PORTDOCS%%%%DOCSDIR%%/updater.html
%%PORTDOCS%%%%DOCSDIR%%/updater_req.html
%%PORTDOCS%%%%DOCSDIR%%/updt_macro.gif
%%PORTDOCS%%%%DOCSDIR%%/updt_noneed.gif
%%PORTDOCS%%%%DOCSDIR%%/updt_sign.gif
%%PORTDOCS%%%%DOCSDIR%%/updt_signature.gif
%%PORTDOCS%%%%DOCSDIR%%/using_fprot.so.gif
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec install -d -m 755 -o root -g wheel %D/f-prot/backups
@dirrmtry f-prot/backups
@dirrmtry f-prot/tools
@dirrmtry f-prot