Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2018 00:05:09 +1000
From:      Dima Panov <fluffy@FreeBSD.org>
To:        Steve Wills <swills@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r487045 - head/security/clamav
Message-ID:  <c4b9b9a2-8b1f-b8ba-b30b-a5fef7bc5d78@FreeBSD.org>
In-Reply-To: <201812091322.wB9DMMuM071519@repo.freebsd.org>
References:  <201812091322.wB9DMMuM071519@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@EFNet, fluffykhv@FreeNode



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c4b9b9a2-8b1f-b8ba-b30b-a5fef7bc5d78>