summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2019-03-03 10:27:34 -0500
committerMichael Orlitzky <mjo@gentoo.org>2019-03-03 10:29:28 -0500
commitd25e9ab93d797539b14c5394ddda5d7b850ed071 (patch)
tree7c0429aa5424a401139cd7ff70d90d650e9e016e /app-antivirus
parentdev-python/carbon: remove unused patch (diff)
downloadgentoo-d25e9ab93d797539b14c5394ddda5d7b850ed071.tar.gz
gentoo-d25e9ab93d797539b14c5394ddda5d7b850ed071.tar.bz2
gentoo-d25e9ab93d797539b14c5394ddda5d7b850ed071.zip
app-antivirus/clamav-unofficial-sigs: remove "unused" version 3.7.2.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav-unofficial-sigs/Manifest1
-rw-r--r--app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild89
2 files changed, 0 insertions, 90 deletions
diff --git a/app-antivirus/clamav-unofficial-sigs/Manifest b/app-antivirus/clamav-unofficial-sigs/Manifest
index 7b61422eb313..af52a5be8e26 100644
--- a/app-antivirus/clamav-unofficial-sigs/Manifest
+++ b/app-antivirus/clamav-unofficial-sigs/Manifest
@@ -1,2 +1 @@
-DIST clamav-unofficial-sigs-3.7.2.tar.gz 38549 BLAKE2B 2f00e9adf5f54e2b38c602da56a2daeb70618123ab4e59a74804885252f3cad2c23f7b9b10f4ec664c6977bca849947b83d0fc69f76669dbae58ebff54c6755b SHA512 ee07bf521cca229bc85acb887c8e520149955732797a9d220e24f09cb9e89f9bd189ad77dc781c03c60bdaaec2bfa91a6c96cf7a0b689759cddf3ff231b8b0a4
DIST clamav-unofficial-sigs-5.6.2.tar.gz 50931 BLAKE2B 6fea42f8f76ae5344c2b96c9203d2b09e755573d03f2b9d3d9ee2a488150fbb6f598e052b730daf12c551920a71fd8daad1dc10002fca12fa4a74554cf7d445e SHA512 79978db065a22d778490d0a2673f5a0bb7ab73e42de64563e7d26ac23459f7e5b2e73b0548e1ea6483e3c5f43eed65cdbc6814037cc0c46a339366a0150e5427
diff --git a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild b/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild
deleted file mode 100644
index 6eddf2b6683e..000000000000
--- a/app-antivirus/clamav-unofficial-sigs/clamav-unofficial-sigs-3.7.2.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-DESCRIPTION="Downloads and installs third-party clamav signatures"
-HOMEPAGE="https://sourceforge.net/projects/unofficial-sigs"
-SRC_URI="mirror://sourceforge/unofficial-sigs/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-# We need its user/group.
-DEPEND="app-antivirus/clamav"
-
-# The script relies on either net-misc/socat, or Perl's
-# IO::Socket::UNIX. We already depend on Perl, and Gentoo's Perl ships
-# with IO::Socket::UNIX, so we can leave out net-misc/socat here.
-RDEPEND="${DEPEND}
- app-crypt/gnupg
- dev-lang/perl
- net-dns/bind-tools
- net-misc/curl"
-
-src_prepare() {
- # First, fix the paths contained in the configuration file. Eventually
- # these should be moved under /run, but for now we keep them sync'ed
- # with the default clamd.conf.
- local pid_default="/var/run/clamd.pid"
- local pid_gentoo="/var/run/clamav/clamd.pid"
-
- # clamd listens on a local socket by default. The clamd_socket
- # setting needs to be uncommented in the configuration file for it
- # to take effect.
- local socket_default="#clamd_socket=\"/var/run/clamd.socket\""
- local socket_gentoo="clamd_socket=\"/var/run/clamav/clamd.sock\""
-
- sed -i -e '$a\pkg_mgr="emerge"' \
- -e "\$a\\pkg_rm=\"emerge -C ${PN}\"" \
- -e "s~${socket_default}~${socket_gentoo}~" \
- -e "s~${pid_default}~${pid_gentoo}~" \
- "${PN}.conf" \
- || die "failed to update paths in the ${PN}.conf file"
-
- # Now, change the script's working directory to point to
- # /var/lib/${PN}. We'll need to make this writable by the clamav
- # user during src_install.
- sed -i -e "s~/usr/unofficial-dbs~/var/lib/${PN}~" "${PN}.conf" \
- || die "failed to update the work_dir variable in ${PN}.conf"
-
- # Tell the script that it's been configured.
- local cfged_default='user_configuration_complete="no"'
- local cfged_gentoo='user_configuration_complete="yes"'
- sed -i "s/${cfged_default}/${cfged_gentoo}/" "${PN}.conf" \
- || die "failed to set user configuration completed in ${PN}.conf"
-}
-
-src_install() {
- dosbin "${PN}.sh"
-
- # We set the script's working directory to /var/lib/${PN} in
- # src_compile, so make sure that the permissions are set correctly
- # here. By default, it runs as clamav/clamav.
- diropts -m 0755 -o clamav -g clamav
- dodir "/var/lib/${PN}"
-
- insinto /etc/logrotate.d
- doins "${PN}-logrotate"
-
- insinto /etc
- doins "${PN}.conf"
-
- doman "${PN}.8"
- dodoc CHANGELOG INSTALL README
-}
-
-pkg_postinst() {
- elog ''
- elog "You will need to select databases in /etc/${PN}.conf."
- elog "For details, please see the ${PN}(8) manual page."
- elog ''
- elog 'An up-to-date description of the available Sanesecurity'
- elog 'databases is available at,'
- elog ''
- elog ' http://sanesecurity.com/usage/signatures/'
- elog ''
-}