mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
6d093c1b8e
Remove patch patch-services_virus__scan_clamav__mod.c fixed by upstream (Bug 121: https://sourceforge.net/p/c-icap/bugs/121) Changelog: * Bug 121: Support for Clamav-0.102.1 * Various issues reported by clang analyzer * Fix memory leak when clamd TCP server is used instead of unix pipes. PR: 242795 Submitted by: Franco Fichtner <franco@opnsense.org>
34 lines
757 B
Makefile
34 lines
757 B
Makefile
# Created by: Martin Matuska <mm@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= c-icap
|
|
PORTVERSION= 0.5.4
|
|
CATEGORIES= www security
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/0.5.x/
|
|
PKGNAMESUFFIX= -modules
|
|
DISTNAME= c_icap_modules-${PORTVERSION}
|
|
|
|
MAINTAINER= rodrigo@FreeBSD.org
|
|
COMMENT= Modules for c-icap: virus_scan and srv_url_check
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libicapapi.so:www/c-icap \
|
|
libclamav.so:security/clamav
|
|
|
|
USES= libtool
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-static \
|
|
--with-c-icap=${LOCALBASE} \
|
|
--with-clamav=${LOCALBASE}
|
|
INSTALL_TARGET= install-strip
|
|
DATADIR= ${PREFIX}/share/c_icap
|
|
|
|
CFLAGS+= -DHAVE_STRNSTR
|
|
|
|
pre-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/c-icap
|
|
|
|
.include <bsd.port.mk>
|