From 79d4a7c79f7652ffbe2cadec397c26acdc6f033d Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 11 Jan 2018 16:06:50 +0100 Subject: [PATCH] www/i-icap: fix startup race with clamav; closes #276 --- www/c-icap/Makefile | 4 ++-- www/c-icap/pkg-descr | 5 ++--- www/c-icap/src/etc/rc.syshook.d/50-c-icap.start | 4 ++++ 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100755 www/c-icap/src/etc/rc.syshook.d/50-c-icap.start diff --git a/www/c-icap/Makefile b/www/c-icap/Makefile index e3b6c74ed..e82e7d69c 100644 --- a/www/c-icap/Makefile +++ b/www/c-icap/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= c-icap -PLUGIN_VERSION= 1.4 -PLUGIN_COMMENT= c-icap connects your Proxy with a virus scanner +PLUGIN_VERSION= 1.5 +PLUGIN_COMMENT= c-icap connects the web proxy with a virus scanner PLUGIN_DEPENDS= c-icap c-icap-modules PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/www/c-icap/pkg-descr b/www/c-icap/pkg-descr index 34e142c38..5ae299e86 100644 --- a/www/c-icap/pkg-descr +++ b/www/c-icap/pkg-descr @@ -1,6 +1,5 @@ -c-icap is an implementation of an ICAP server. -It can be used with HTTP proxies that support -the ICAP protocol to implement content adaptation +c-icap is an implementation of an ICAP server. It can be used with HTTP +proxies that support the ICAP protocol to implement content adaptation and filtering services. WWW: http://c-icap.sourceforge.net/ diff --git a/www/c-icap/src/etc/rc.syshook.d/50-c-icap.start b/www/c-icap/src/etc/rc.syshook.d/50-c-icap.start new file mode 100755 index 000000000..bb12c9133 --- /dev/null +++ b/www/c-icap/src/etc/rc.syshook.d/50-c-icap.start @@ -0,0 +1,4 @@ +#!/bin/sh + +# start again to fix race with clamav (no need to restart) +/usr/local/etc/rc.d/c-icap start