aboutsummaryrefslogtreecommitdiffstats
path: root/security/samba-vscan/Makefile
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2004-02-29 01:48:28 +0800
committervanilla <vanilla@FreeBSD.org>2004-02-29 01:48:28 +0800
commit011fe9573682ee2b3b00f6254bdc43af44a055e8 (patch)
tree8334c5dd5dc6e7d4095511e2eedb77677a0d70fa /security/samba-vscan/Makefile
parent512d7294f9a422922fd7b569f6348cb33d766db5 (diff)
downloadfreebsd-ports-gnome-011fe9573682ee2b3b00f6254bdc43af44a055e8.tar.gz
freebsd-ports-gnome-011fe9573682ee2b3b00f6254bdc43af44a055e8.tar.zst
freebsd-ports-gnome-011fe9573682ee2b3b00f6254bdc43af44a055e8.zip
Add samba-vscan 0.3.4, on-access virus scanning with Samba.
While I am here, - make portlint happy, - use WRKSRC instead hardcode path. - use SAMBASRC instead wrong path if WRKDIRPREFIX env set. - remove PORTREVISION on new ports. PR: ports/63464 Submitted by: Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
Diffstat (limited to 'security/samba-vscan/Makefile')
-rw-r--r--security/samba-vscan/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/security/samba-vscan/Makefile b/security/samba-vscan/Makefile
new file mode 100644
index 000000000000..31ad756f204b
--- /dev/null
+++ b/security/samba-vscan/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: samba-vscan
+# Date created: 27 February 2004
+# Whom: Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
+#
+# $FreeBSD$
+#
+
+PORTNAME= samba-vscan
+PORTVERSION= 0.3.4
+CATEGORIES= security
+MASTER_SITES= http://heanet.dl.sourceforge.net/sourceforge/openantivirus/ \
+ http://easynews.dl.sourceforge.net/sourceforge/openantivirus/ \
+ http://flow.dl.sourceforge.net/sourceforge/openantivirus/
+
+MAINTAINER= jmelo@freebsdbrasil.com.br
+COMMENT= On-access virus scanning with Samba
+
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/net/samba:configure
+
+USE_BZIP2= yes
+SAMBA_WRKSRC= `cd ${PORTSDIR}/net/samba; make -V WRKSRC`
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+CONFIGURE_ARGS= --with-samba-source=${SAMBA_WRKSRC}
+ETCDIR= ${PREFIX}/etc/samba-vscan
+PKGMESSAGE= ${WRKDIR}/pkg-message
+
+post-install:
+ @${MKDIR} ${PREFIX}/etc/samba-vscan
+ @${INSTALL_DATA} ${WRKSRC}/clamav/vscan-clamav.conf ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/fprot/vscan-fprotd.conf ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/icap/vscan-icap.conf ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/kaspersky/vscan-kavp.conf ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/mks/vscan-mks32.conf ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/openantivirus/vscan-oav.conf ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/sophos/vscan-sophos.conf ${ETCDIR}
+ @${INSTALL_DATA} ${WRKSRC}/trend/vscan-trend.conf ${ETCDIR}
+ @${SED} "s|%%PREFIX%%|${PREFIX}|g;" ${.CURDIR}/pkg-message > ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>