diff options
Diffstat (limited to 'filesystems/clamfs')
-rw-r--r-- | filesystems/clamfs/Makefile | 42 | ||||
-rw-r--r-- | filesystems/clamfs/distinfo | 3 | ||||
-rw-r--r-- | filesystems/clamfs/pkg-descr | 10 | ||||
-rw-r--r-- | filesystems/clamfs/pkg-message | 16 |
4 files changed, 71 insertions, 0 deletions
diff --git a/filesystems/clamfs/Makefile b/filesystems/clamfs/Makefile new file mode 100644 index 000000000000..bbd947525e7f --- /dev/null +++ b/filesystems/clamfs/Makefile @@ -0,0 +1,42 @@ +PORTNAME= clamfs +DISTVERSION= 1.2.0 +PORTREVISION= 5 +CATEGORIES= filesystems security +MASTER_SITES= https://github.com/burghardt/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/ + +MAINTAINER= anastasios@mageirias.com +COMMENT= User-space fs with on-access antivirus scanning +WWW= https://github.com/burghardt/clamfs + +LICENSE= GPLv2 + +BUILD_DEPENDS= boost-libs>=1.33:devel/boost-libs +LIB_DEPENDS= libPocoFoundation.so:devel/poco \ + libPocoNet.so:devel/poco \ + libPocoXML.so:devel/poco \ + librlog.so:devel/rlog +RUN_DEPENDS= clamd:security/clamav + +USES= autoreconf compiler:c++11-lib fuse:3 pkgconfig + +GNU_CONFIGURE= yes + +PLIST_FILES= bin/clamfs \ + share/man/man1/clamfs.1.gz + +PORTDOCS= * +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e 's|-Werror ||g' ${WRKSRC}/configure.ac + +post-patch-DOCS-on: + @${REINPLACE_CMD} -e '/socket=/s/ctl/sock/' \ + ${WRKSRC}/doc/clamfs.xml ${WRKSRC}/doc/debug.xml + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/clamfs.xml ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/debug.xml ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/filesystems/clamfs/distinfo b/filesystems/clamfs/distinfo new file mode 100644 index 000000000000..de1d9eab16af --- /dev/null +++ b/filesystems/clamfs/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1651043979 +SHA256 (clamfs-1.2.0.tar.gz) = d391afeedb4e5418f8a65c42598489f55047604c7e3eabf0ee2f44110899e42a +SIZE (clamfs-1.2.0.tar.gz) = 196903 diff --git a/filesystems/clamfs/pkg-descr b/filesystems/clamfs/pkg-descr new file mode 100644 index 000000000000..25c5ebda1e8d --- /dev/null +++ b/filesystems/clamfs/pkg-descr @@ -0,0 +1,10 @@ +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 diff --git a/filesystems/clamfs/pkg-message b/filesystems/clamfs/pkg-message new file mode 100644 index 000000000000..28c11e54ac06 --- /dev/null +++ b/filesystems/clamfs/pkg-message @@ -0,0 +1,16 @@ +[ +{ type: install + message: <<EOM +In order to use clamfs, you should load fusefs.ko module and start clamd. + +Type: + + sudo kldload fusefs.ko + sudo service clamav-freshclam onestart + sudo service clamav-daemon onestart + +For more info please visit: + https://github.com/burghardt/clamfs#additional-configuration-steps-for-freebsd +EOM +} +] |