From owner-svn-ports-all@freebsd.org Fri Jun 17 06:36:05 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C820DA7895B; Fri, 17 Jun 2016 06:36:05 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7D8001CDD; Fri, 17 Jun 2016 06:36:05 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5H6a4um059684; Fri, 17 Jun 2016 06:36:04 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5H6a4dh059677; Fri, 17 Jun 2016 06:36:04 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201606170636.u5H6a4dh059677@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Fri, 17 Jun 2016 06:36:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416997 - in head/security: . clamfs clamfs/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2016 06:36:05 -0000 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 , lightside@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 +# $FreeBSD$ + +PORTNAME= clamfs +PORTVERSION= 1.0.1 +CATEGORIES= security +MASTER_SITES= SF + +MAINTAINER= anastmag@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 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 + #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 +**************************************************************************