aboutsummaryrefslogtreecommitdiff
path: root/security/clamav
diff options
context:
space:
mode:
authorLarry Rosenman <ler@FreeBSD.org>2018-11-30 10:53:39 +0000
committerLarry Rosenman <ler@FreeBSD.org>2018-11-30 10:53:39 +0000
commit54dfab6fa625dae375730f532f3738ba6a89acb0 (patch)
treeb1fe79dd608ddb241e60d8e5b0a3270c5503bec2 /security/clamav
parent604a0da7771991bdc2b35b74d1759d4954ad832b (diff)
downloadports-54dfab6fa625dae375730f532f3738ba6a89acb0.tar.gz
ports-54dfab6fa625dae375730f532f3738ba6a89acb0.zip
security/clamav: really do the right thing with the MSPACK option.
previous patch added the configure argument to find archivers/libmspack installed, but neglected to set USES+= pkgconfig to actually have the binary use that version. With it now properly finding libmspack.so, revert to not trying to install libclammspack* if the MSPACK option is set. PR: 233658
Notes
Notes: svn path=/head/; revision=486246
Diffstat (limited to 'security/clamav')
-rw-r--r--security/clamav/Makefile6
-rw-r--r--security/clamav/pkg-plist10
2 files changed, 8 insertions, 8 deletions
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 7a3dad060707..b936445345fd 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -2,7 +2,7 @@
PORTNAME= clamav
PORTVERSION= 0.100.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/downloads/production/
@@ -16,7 +16,7 @@ BUILD_DEPENDS= pkg-config:devel/pkgconf
LIB_DEPENDS= libltdl.so:devel/libltdl \
libcurl.so:ftp/curl
-USES= cpe gmake gnome libtool ncurses pathfix ssl
+USES= cpe gmake gnome libtool ncurses pathfix pkgconfig ssl
USE_RC_SUBR= clamav-clamd clamav-freshclam
USE_LDCONFIG= yes
@@ -97,7 +97,7 @@ LHA_RUN_DEPENDS= lha:archivers/lha
MILTER_CONFIGURE_WITH= sendmail=/usr/sbin/sendmail
MILTER_CONFIGURE_ENABLE=milter
MILTER_USE= RC_SUBR=clamav-milter
-MSPACK_CONFIGURE_WITH= system-libmspack=${LOCALBASE}/lib/libmspack.so
+MSPACK_CONFIGURE_WITH= system-libmspack=${LOCALBASE}/lib/libmspack.so
MSPACK_LIB_DEPENDS= libmspack.so:archivers/libmspack
PCRE_CONFIGURE_WITH= pcre
PCRE_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
diff --git a/security/clamav/pkg-plist b/security/clamav/pkg-plist
index f22176701618..9e94cb77da6c 100644
--- a/security/clamav/pkg-plist
+++ b/security/clamav/pkg-plist
@@ -2,6 +2,11 @@
%%JSON%%man/man1/clamsubmit.1.gz
%%MILTER%%@sample etc/clamav-milter.conf.sample
%%MILTER%%sbin/clamav-milter
+%%NO_MSPACK%%lib/libclammspack.a
+%%NO_MSPACK%%lib/libclammspack.so
+%%NO_MSPACK%%lib/libclammspack.so.0
+%%NO_MSPACK%%lib/libclammspack.so.0.1.0
+%%NO_MSPACK%%libdata/pkgconfig/libclammspack.pc
%%PORTDOCS%%%%DOCSDIR%%/html/clam.png
%%PORTDOCS%%%%DOCSDIR%%/html/clamdoc.css
%%PORTDOCS%%%%DOCSDIR%%/html/clamdoc.html
@@ -107,12 +112,7 @@ include/clamav.h
lib/libclamav.so
lib/libclamav.so.7
lib/libclamav.so.7.1.1
-lib/libclammspack.a
-lib/libclammspack.so
-lib/libclammspack.so.0
-lib/libclammspack.so.0.1.0
libdata/pkgconfig/libclamav.pc
-libdata/pkgconfig/libclammspack.pc
man/man1/clambc.1.gz
man/man1/clamconf.1.gz
man/man1/clamdscan.1.gz