svn commit: r416997 - in head/security: . clamfs clamfs/files

Kurt Jaeger pi at FreeBSD.org
Fri Jun 17 06:36:05 UTC 2016


Author: pi
Date: Fri Jun 17 06:36:03 2016
New Revision: 416997
URL: https://svnweb.freebsd.org/changeset/ports/416997

Log:
  New port: security/clamfs
  
  ClamFS is a FUSE-based user-space file system for Linux with
  on-access anti-virus file scanning through clamd daemon
  
  Features
          - User-space file system
          - Configuration stored in XML files
          - FUSE used as file system back-end
          - Scan files using ClamAV
          - ScanCache speeds up file access
          - Sends mail to administrator when detect virus
  
  WWW: http://clamfs.sourceforge.net/
  
  PR:		201063
  Submitted by:	Mageirias Anastasios <anastmag at gmail.com>, lightside at gmx.com

Added:
  head/security/clamfs/
  head/security/clamfs/Makefile   (contents, props changed)
  head/security/clamfs/distinfo   (contents, props changed)
  head/security/clamfs/files/
  head/security/clamfs/files/patch-src_scancache.cxx   (contents, props changed)
  head/security/clamfs/pkg-descr   (contents, props changed)
  head/security/clamfs/pkg-message   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Fri Jun 17 05:27:31 2016	(r416996)
+++ head/security/Makefile	Fri Jun 17 06:36:03 2016	(r416997)
@@ -74,6 +74,7 @@
     SUBDIR += clambc
     SUBDIR += clamcour
     SUBDIR += clamd-stream-client
+    SUBDIR += clamfs
     SUBDIR += clamsmtp
     SUBDIR += clamtk
     SUBDIR += clusterssh

Added: head/security/clamfs/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/clamfs/Makefile	Fri Jun 17 06:36:03 2016	(r416997)
@@ -0,0 +1,40 @@
+# Created by: Mageirias Anastasios <anastmag at gmail.com>
+# $FreeBSD$
+
+PORTNAME=	clamfs
+PORTVERSION=	1.0.1
+CATEGORIES=	security
+MASTER_SITES=	SF
+
+MAINTAINER=	anastmag at gmail.com
+COMMENT=	User-space fs with on-access antivirus scanning
+
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libccgnu2.so:devel/commoncpp \
+		libPocoNet.so:devel/poco-ssl \
+		librlog.so:devel/rlog
+BUILD_DEPENDS=	boost-libs>=1.33:devel/boost-libs
+RUN_DEPENDS=	clamd:security/clamav
+
+GNU_CONFIGURE=	yes
+
+USES=		fuse
+
+CPPFLAGS+=	-I${LOCALBASE}/include/boost/tr1
+
+PLIST_FILES=	bin/clamfs \
+		man/man1/clamfs.1.gz
+
+OPTIONS_DEFINE=	DOCS
+DOCS_PORTDOCS=	*
+
+post-patch-DOCS-on:
+	@${REINPLACE_CMD} -e '/socket=/s/ctl/sock/' \
+		${WRKSRC}/doc/clamfs.xml
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/clamfs.xml ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/security/clamfs/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/clamfs/distinfo	Fri Jun 17 06:36:03 2016	(r416997)
@@ -0,0 +1,2 @@
+SHA256 (clamfs-1.0.1.tar.gz) = d4f8b0ce767fab3deeb356e8c7cd45a34b5e3de43177735b4f315fc16aa11d03
+SIZE (clamfs-1.0.1.tar.gz) = 142386

Added: head/security/clamfs/files/patch-src_scancache.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/clamfs/files/patch-src_scancache.cxx	Fri Jun 17 06:36:03 2016	(r416997)
@@ -0,0 +1,10 @@
+--- src/scancache.cxx.orig	2016-06-17 06:02:30 UTC
++++ src/scancache.cxx
+@@ -24,6 +24,7 @@
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+ 
++#include <sys/stat.h>
+ #include "scancache.hxx"
+ 
+ namespace clamfs {

Added: head/security/clamfs/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/clamfs/pkg-descr	Fri Jun 17 06:36:03 2016	(r416997)
@@ -0,0 +1,12 @@
+ClamFS is a FUSE-based user-space file system for Linux with
+on-access anti-virus file scanning through clamd daemon
+
+Features
+	- User-space file system
+	- Configuration stored in XML files
+	- FUSE used as file system back-end
+	- Scan files using ClamAV
+	- ScanCache speeds up file access
+	- Sends mail to administrator when detect virus
+
+WWW: http://clamfs.sourceforge.net/

Added: head/security/clamfs/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/clamfs/pkg-message	Fri Jun 17 06:36:03 2016	(r416997)
@@ -0,0 +1,7 @@
+**************************************************************************
+In order to use clamav, you should load fuse.ko module.
+
+Type "sudo kldload fuse.ko"
+
+For more info please visit http://clamfs.sourceforge.net
+**************************************************************************


More information about the svn-ports-head mailing list