d66238e14d
- fixes DoS with MailFollowURLs (CVE-2008-2713) - improves handling of PDF, CAB, RTF, OLE2 and HTML files and includes various bugfixes for 0.93 issues. "if it works" mbalmer@
65 lines
1.6 KiB
Makefile
65 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.38 2008/07/08 22:38:12 sthen Exp $
|
|
|
|
COMMENT= virus scanner
|
|
DISTNAME= clamav-0.93.3
|
|
CATEGORIES= security
|
|
SHARED_LIBS= clamav 8.0 \
|
|
clamunrar 0.0 \
|
|
clamunrar_iface 0.0
|
|
|
|
HOMEPAGE= http://www.clamav.net/
|
|
|
|
MAINTAINER= Marc Balmer <mbalmer@openbsd.org>
|
|
|
|
# GPLv2/LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c milter pthread wrap z
|
|
|
|
LIB_DEPENDS= gmp.>=6::devel/gmp \
|
|
bz2.>=10::archivers/bzip2 \
|
|
iconv.>=4::converters/libiconv
|
|
|
|
RUN_DEPENDS= :lha-*:archivers/lha \
|
|
:zoo-*:archivers/zoo \
|
|
:arc-*:archivers/arc \
|
|
:unzip-*:archivers/unzip
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=clamav/} \
|
|
${HOMEPAGE}
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
CONFIGURE_ARGS+= --disable-clamav \
|
|
--enable-dependency-tracking \
|
|
--disable-clamuko \
|
|
--enable-bigstack \
|
|
--enable-milter \
|
|
--with-user=_clamav \
|
|
--with-group=_clamav \
|
|
--disable-cr \
|
|
--with-dbdir=/var/db/clamav
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
CONFIGURE_ENV+= LDFLAGS="-pthread -L/usr/lib -L../libclamav/.libs -L${LOCALBASE}/lib" \
|
|
CPPFLAGS="-I/usr/include -I${LOCALBASE}/include"
|
|
|
|
DOCS= clamav-mirror-howto.pdf clamdoc.pdf signatures.pdf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clamav \
|
|
${PREFIX}/share/examples/clamav
|
|
cd ${WRKSRC}/docs; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/clamav
|
|
cd ${WRKSRC}/etc; ${INSTALL_DATA} clamd.conf \
|
|
freshclam.conf ${PREFIX}/share/examples/clamav
|
|
cd ${WRKSRC}/examples; ${INSTALL_DATA} ex1.c \
|
|
${PREFIX}/share/examples/clamav
|
|
|
|
.include <bsd.port.mk>
|