svn commit: r487045 - head/security/clamav

Dima Panov fluffy at FreeBSD.org
Sun Dec 9 14:15:36 UTC 2018


Hello!

Steve Wills wrote on 09/12/2018 23:22:
> Author: swills
> Date: Sun Dec  9 13:22:22 2018
> New Revision: 487045
> URL: https://svnweb.freebsd.org/changeset/ports/487045
> 
> Log:
>    security/clamav: Install missing headers
>    
>    PR:		233879
>    Submitted by:	Yasuhiro KIMURA <yasu at utahime.org> (maintainer)
> 
> Modified:
>    head/security/clamav/Makefile   (contents, props changed)
>    head/security/clamav/pkg-plist   (contents, props changed)
> 
> Modified: head/security/clamav/Makefile
> ==============================================================================
> --- head/security/clamav/Makefile	Sun Dec  9 13:13:41 2018	(r487044)
> +++ head/security/clamav/Makefile	Sun Dec  9 13:22:22 2018	(r487045)
> @@ -2,7 +2,7 @@
>   
>   PORTNAME=	clamav
>   PORTVERSION=	0.101.0
> -PORTREVISION=	1
> +PORTREVISION=	2
>   CATEGORIES=	security
>   MASTER_SITES=	http://www.clamav.net/downloads/production/
>   
> @@ -174,7 +174,8 @@ post-build-TESTS-on:
>   	fi
>   
>   post-install:
> -	${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${STAGEDIR}${PREFIX}/include
> +	${INSTALL_DATA} ${WRKSRC}/clamav-config.h ${WRKSRC}/libclamav/cltypes.h ${WRKSRC}/platform.h \
> +		${STAGEDIR}${PREFIX}/include/
>   	@${MKDIR} ${STAGEDIR}${DOCSDIR}/html \
>   		  ${STAGEDIR}${DBDIR} \
>   		  ${STAGEDIR}${LOGDIR} \
> 
> Modified: head/security/clamav/pkg-plist
> ==============================================================================
> --- head/security/clamav/pkg-plist	Sun Dec  9 13:13:41 2018	(r487044)
> +++ head/security/clamav/pkg-plist	Sun Dec  9 13:22:22 2018	(r487045)
> @@ -58,6 +58,8 @@ bin/freshclam
>   bin/sigtool
>   include/clamav-config.h
>   include/clamav.h
> +include/cltypes.h
> +include/platform.h

include/platform.h is too common name and may cause breakage for dozens 
of other ports with own '#include <platform.h>' and
CGLAGS+= -I${prefix}/${package}/

Please adjust it as 'include/clamav/platform.h' and patch depended software.

>   lib/libclamav.so
>   lib/libclamav.so.9
>   lib/libclamav.so.9.0.0
> 


-- 
Dima Panov (fluffy at FreeBSD.org)
(X11, KDE, Office)@FreeBSD team

Facebook: http://www.facebook.com/fluffy.khv
twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov
IRC: fluffy at EFNet, fluffykhv at FreeNode


More information about the svn-ports-all mailing list