From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 295921382C5 for ; Thu, 12 Apr 2018 12:50:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27FECE0845; Thu, 12 Apr 2018 12:50:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 01E9FE0845 for ; Thu, 12 Apr 2018 12:50:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 50259335C7B for ; Thu, 12 Apr 2018 12:50:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CA12278 for ; Thu, 12 Apr 2018 12:50:36 +0000 (UTC) From: "Thomas Raschbacher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Raschbacher" Message-ID: <1523537423.a40176b030a8970453da03f987a14b4b3053a1f3.lordvan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-antivirus/clamav/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-antivirus/clamav/clamav-0.100.0.ebuild X-VCS-Directories: app-antivirus/clamav/ X-VCS-Committer: lordvan X-VCS-Committer-Name: Thomas Raschbacher X-VCS-Revision: a40176b030a8970453da03f987a14b4b3053a1f3 X-VCS-Branch: master Date: Thu, 12 Apr 2018 12:50:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3273be43-9bc5-4893-8666-8e84139ef821 X-Archives-Hash: 44c87488e972aa8cbc0ac806e28bf9ea commit: a40176b030a8970453da03f987a14b4b3053a1f3 Author: Thomas Raschbacher gentoo org> AuthorDate: Thu Apr 12 12:44:08 2018 +0000 Commit: Thomas Raschbacher gentoo org> CommitDate: Thu Apr 12 12:50:23 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a40176b0 fixed doc install app-antivirus/clamav/clamav-0.100.0.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app-antivirus/clamav/clamav-0.100.0.ebuild b/app-antivirus/clamav/clamav-0.100.0.ebuild index 1abf0370982..fe1491e4d10 100644 --- a/app-antivirus/clamav/clamav-0.100.0.ebuild +++ b/app-antivirus/clamav/clamav-0.100.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="bzip2 clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs system-libmspack test uclibc" +IUSE="bzip2 doc clamdtop iconv ipv6 libressl milter metadata-analysis-api selinux static-libs system-libmspack test uclibc" CDEPEND="bzip2? ( app-arch/bzip2 ) clamdtop? ( sys-libs/ncurses:0 ) @@ -36,7 +36,9 @@ DEPEND="${CDEPEND} RDEPEND="${CDEPEND} selinux? ( sec-policy/selinux-clamav )" -DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE ) +DOCS=( docs/clamdoc.pdf docs/phishsigs_howto.pdf docs/signatures.pdf ) +HTML_DOCS=( docs/html ) + PATCHES=( "${FILESDIR}/${P}_autotools.patch" ) @@ -119,7 +121,7 @@ src_install() { if use milter ; then # MilterSocket one to include ' /' because there is a 2nd line for # inet: which we want to leave - dodoc "${FILESDIR}"/clamav-milter.README.gentoo + ##dodoc "${FILESDIR}"/clamav-milter.README.gentoo sed -i -e "s:^\(Example\):\# \1:" \ -e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \ -e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \ @@ -136,6 +138,11 @@ src_install() { systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service fi + if use doc; then + einstalldocs + doman docs/man/*.[1-8] + fi + for i in clamd freshclam clamav-milter do [[ -f "${D}"/etc/"${i}".conf.sample ]] && mv "${D}"/etc/"${i}".conf{.sample,}