diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2018-04-12 14:44:08 +0200 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2018-04-12 14:50:23 +0200 |
commit | a40176b030a8970453da03f987a14b4b3053a1f3 (patch) | |
tree | 413d0facb42535aad312c26970d20542bacd3f40 /app-antivirus/clamav | |
parent | sys-block/di: Bump to version 4.46 (diff) | |
download | gentoo-a40176b030a8970453da03f987a14b4b3053a1f3.tar.gz gentoo-a40176b030a8970453da03f987a14b4b3053a1f3.tar.bz2 gentoo-a40176b030a8970453da03f987a14b4b3053a1f3.zip |
fixed doc install
Diffstat (limited to 'app-antivirus/clamav')
-rw-r--r-- | app-antivirus/clamav/clamav-0.100.0.ebuild | 13 |
1 files 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 1abf03709823..fe1491e4d105 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,} |